Skip to content

@reflet/express@2.0.0

Latest
Compare
Choose a tag to compare
@jeremyben jeremyben released this 01 Aug 11:17
· 21 commits to master since this release

@reflet/express 2.0 : The Maturation πŸš€

A few breaking changes to make reflet even more flexible:

  • a configurable final handler instead of a default global error handler.
  • a more programmable Send decorator.

A few ones to make reflet more maintainable:

  • Router decorator is now mandatory on registered classes (global routes can still be added within the child Application class).
  • New reflet package with HTTP primitives is required as peer dependency: @reflet/http.

And a few other features to improve your dev experience:

  • New ScopedMiddlewares decorator to isolate same path router middlewares.
    ...

Migration Guide: https://github.com/jeremyben/reflet/blob/master/express/MIGRATION.md

Documentation: https://github.com/jeremyben/reflet/blob/master/express/README.MD

Full Changelog: https://github.com/jeremyben/reflet/blob/master/express/CHANGELOG.md