Skip to content

Releases: izzyjs/route

Release 2.1.14

17 Dec 00:35

Choose a tag to compare

Release Notes

Configuration & Infrastructure

Migration to release-it

  • Replaced np with release-it for automated releases with improved control and configuration
  • Added .release-it.json configuration file with:
    • Standardized commit message and tag format
    • Automated hooks for linting, testing, and building before release
    • GitHub Releases integration
    • Automatic npm publishing

Package Exports Configuration

  • Added exports field to package.json to explicitly define public entry points
  • Improves compatibility with modern Node.js and enables better tree-shaking
  • All entry points are now properly mapped and accessible through the package exports

Improvements

  • Enhanced release workflow with automated quality checks
  • Better developer experience with standardized release process
  • Improved package structure for consumers with explicit exports mapping

Technical Details

Release Configuration

The release process now includes:

  • Pre-release checks: lint and test execution
  • Post-bump build: automatic build after version bump
  • Git requirements: clean working directory and main branch requirement
  • NPM publishing: automatic publish with public access
  • GitHub integration: automatic release creation

Package Exports

The following entry points are now available through package exports:

  • Main entry: @izzyjs/route
  • Types: @izzyjs/route/types
  • Development hook: @izzyjs/route/dev_hook
  • Plugins: @izzyjs/route/plugins/edge, @izzyjs/route/plugins/japa
  • Client utilities: @izzyjs/route/client, @izzyjs/route/routes
  • Builder: @izzyjs/route/builder
  • Provider: @izzyjs/route/izzy_provider
  • Commands: @izzyjs/route/commands
  • Middleware: @izzyjs/route/izzy_middleware

v2.1.7

10 Sep 04:24

Choose a tag to compare

  • feat: added support for optional parameters in routes 60b0bd0
  • feat: adjust parameter types in routes 194ec8f
  • feat: add new routes and update the package.json structure 123ba26
  • feat: improve parameter extraction in routes 3ff3c28
  • feat: added support for expectation types in tests 727914b
  • feat: optimize parameter extraction in namedRoutes 61933d6
  • feat: refine the parameter structure in routes 547d4cc
  • feat: update definitionContent to structure route parameters 6d6e58f
  • feat: update route tests to handle required and optional parameters 4466210
  • feat: refine parameter extraction in serializeRoute bdd89d0
  • feat: improve route parameter handling e3ce7d8
  • feat: enhance route parameter handling b8846dc
  • fix: adjust Params type to include optional parameters 74fe59a
  • feat: update SerializedRoute type to support optional and required parameters 7137fcd

v2.1.7-1...v2.1.7

Full Changelog: v2.1.6...v2.1.7

v2.1.7-1

08 Sep 20:16

Choose a tag to compare

v2.1.7-1 Pre-release
Pre-release
  • fix: allow numbers as parameters in routes fa5546f

v2.1.7-0...v2.1.7-1

Full Changelog: v2.1.7-0...v2.1.7-1

v2.1.7-0

08 Sep 19:57

Choose a tag to compare

v2.1.7-0 Pre-release
Pre-release
  • feat: reorganize Route type export 787a4ae

v2.1.6...v2.1.7-0

Full Changelog: v2.1.6...v2.1.7-0

v2.1.6

08 Sep 19:42

Choose a tag to compare

  • feat: export Route type as IzzyRoute e28f434

v2.1.5...v2.1.6

Full Changelog: v2.1.5...v2.1.6

v2.1.5

08 Sep 12:54

Choose a tag to compare

  • fix: correct path references to URL in RequestBuilder dd677cd

v2.1.4...v2.1.5

Full Changelog: v2.1.4...v2.1.5

v2.1.4

08 Sep 06:43

Choose a tag to compare

  • feat: added support for hash fragments and improved documentation 32ea3e1
  • feat: implement the request builder and API builder 86c356e
  • refactor: adjust ExcludeName type to include only the 'name' property f9d587d
  • feat: implement HTTP client with support for interceptors and retry configuration c9a0681

v2.1.3...v2.1.4

v2.1.3 - Hash Fragment Support and Test Improvements

08 Sep 05:03

Choose a tag to compare

  • fix: correct URL generation in tests and add support for hash fragments f1ca0cb
  • feat: added support for hash fragments in the Route class 75c5104
  • chore: remove examples of complete URL usage and route filtering 5bcc83d

v2.1.2...v2.1.3

Full Changelog: v2.1.2...v2.1.3

v2.1.2

08 Sep 04:45

Choose a tag to compare

  • fix: correct URL generation in the Route class 78c2325
  • fix: correct URL generation in full route tests 2588531
  • feat: added test for port preservation in routes with custom domains 0249f1d

v2.1.1...v2.1.2

v2.1.1

03 Sep 19:15

Choose a tag to compare

  • feat: improve the functionality of checking current routes 2ce61b4

v2.1.0...v2.1.1