Releases: L2jLiga/fastify-decorators
Releases · L2jLiga/fastify-decorators
v4.0.0-next.5
Added
- ECMAScript Decorators support
- CommonJS build
Changed
- [BREAKING] Minimal TypeScript version is 5.2.0
- [BREAKING] Minimal Node.js version is 18.12.0 LTS
v3.15.1
v3.15.0
Added
- Injectables holder object in order to provide own classes/singletons at startup (issue #835)
Fixed
- Initializer was called multiple times (issue #834)
- Proxy mess up objects which are not services (issue #834 (comment))
- Service destructor is called when service is imported but not initialized (issue #786)
v3.14.1
v4.0.0-next.4
Added
- FastifyInstance available for all initialization hooks
Fixed
- Parent controller routes mutation
v4.0.0-next.3
Added
- [core] option to specify controller tags (#759)
- [simple-di] option to provide custom FastifyInstance in tests (#800, #801)
- [simple-di] overall DI plugin improvements
Fixed
- [core] properly handle controllers with inherited handlers (#802)
- [simple-di] properly handle
useDefineForClassFields
TypeScript flag - [simple-di] inability to access primitive property from service when service has Request or Reply injected
v3.14.0
v3.13.1
v3.13.0
Added
- new option
classLoader
, allows to implement own DI logic instead of fastify-decorators provides. See Using custom class loader for more details. - new Controllers option
tags
, allows to specify set of tags for all methods in controller, useful for grouping methods in swagger