Skip to content

2.6.0

Choose a tag to compare

@3m1n3nc3 3m1n3nc3 released this 09 May 04:40
· 96 commits to main since this release

Added

  • Named routes via Router.get(...).name(...)
  • Named route lookup with Router.route(name) and Router.allRoutes('name')
  • URL generation with Router.url(name, params)
  • Laravel-style route parameters:
    • /books/{book}
    • /books/{book?}
    • /books/{book:profile}
  • Plugin argument resolvers for replacing controller method arguments
  • Better Response initialization from native response-like objects

Improved

  • Adapter route registration now expands optional parameters across Express, Fastify, H3, Hono, and Koa
  • Core request/response objects are bound into the container during request handling
  • Route metadata now includes registration paths, parameter metadata, and route names

Fixed

  • Simplified handler resolution condition in CoreRouter
  • Removed debug output from container bindings

Full Changelog: 2.5.8...2.6.0