Releases: L2jLiga/fastify-decorators
Releases · L2jLiga/fastify-decorators
v3.2.2
v3.2.1
v3.2.0
v3.1.1
v3.1.0
v3.0.0
v3.0.0-1
v2.0.1
Fixed
package.json
was missed infastify-decorators/testing
configureControllerTest
does not work properly due fastify#2344
v3.0.0-0
v2.0.0
Added
- Dependency injection
- APIs and documentation for testing
- New bootstrap options
directory
,mask
- common replacement for old bootsrap optionscontrollers
- used to specify list of controllers to bootstrap
- Overloads to controller and requests handlers, now they can accept string instead of configuration object
- Controller can accept configuration in two different ways
- As a single object describing controller configuration
- As a string with route
- Request handlers can accept configuration in three different ways
- As a single object describing controller configuration
- As a string with route
- As a string with route and route options
- Plugin for JetBrains IDE (WebStorm, IDEA, ...)
- Option to skip broken modules from attempts to bootstrap
Changed
- BREAKING CHANGE: symbols not exported anymore
- BREAKING CHANGE: minimal supported version of node is 10.14
- Throw human-friendly error when errors happened due initialization
- Specify module type in package.json
Fixed
- Correctly handle all arguments passed to handler (#9)
- Incorrect links in the README.md when publish on NPM
- Typos in documentation
Removed
controllersDirectory
,controllersMask
,handlersDirectory
andhandlersMask
bootstrap optionsAbstractController
in favor of Dependency Injection- hooks initialization in
REQUESTS
controller type