Release Notes
Configuration & Infrastructure
Migration to release-it
- Replaced
npwithrelease-itfor automated releases with improved control and configuration - Added
.release-it.jsonconfiguration 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
exportsfield topackage.jsonto 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