Create structured, declarative and beautifully organized class-based controllers with heavy decorators usage in Express / Koa using TypeScript and Routing Controllers Framework.
This is a release candidate containing several PRs merges with bug fixes, performance improvements, and new features. Please, help with tests, leave comments and feedback on the respective issues, or open new ones if you find new issues. This is alpha.3 for v0.9.0 and it updates all the dependencies to latest version.
# | Change Type | Change Description |
---|---|---|
#550 | Enhancement | Update all dependencies and changed it to use npm auto-update patches and minor versions (ex.: "class-validator": "^0.12.2" , instead of "class-validator": "0.12.2" |
This is a release candidate containing several PRs merges with bug fixes, performance improvements, and new features. Please, help with tests, leave comments and feedback on the respective issues, or open new ones if you find new issues. This is alpha.2 for v0.9.0 and adds a few more PRs with bug fixes, enhancements and test coverage on top of the other fixes of alpha.1.
# | Change Type | Change Description |
---|---|---|
#536 | Feature | Added support for wildcard all routes |
#568 | Fix | Fixed issue that would cause multiple route executions per request |
#526 | Fix | Fixed export of SessionParam at index |
#547 | Fix | Through #536, it should now prevent conflicts in routes names |
#491 | Fix | Through #568, it should now prevent a single request triggering multiple route executions that would cause Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client issue. |
This is a release candidate containing several PRs merges with bug fixes, performance improvements, and new features. Please, help with tests, leave comments and feedback on the respective issues, or open new ones if you find new issues. We appreciate all the contributions and patience & understanding for the time it took to review issues/PRs and finally get the RC out.
# | Change Type | Change Description |
---|---|---|
#546 | Documentation | Add another example for using the response directly |
#329 | Feature | Added a useResponseClassTransformer global option |
#536 | Feature | Added support for wildcard all routes |
#179 | Feature | Through #329, it should now be possible to use classTransformer only for input |
#147 | Feature | Added support for controller inheritance |
#543 | Fix | Fixed order of global interceptors |
#438 | Fix | Fixed incorrect handling of rejected promises from Middleware.use() |
#226 | Fix | Through #329, it should fix performance issue with big json result |
#149 | Fix | Through #329, it should fix problem with mongoose model serialization |
@Session()
decorator into @SessionParam()
and @Session()
(ref [#335][#348][#407])@QueryParams()
and @Params()
missing decorators options (ref [#289])class-validator
(ref [#289])ParamNormalizationError
(e.g. when number is expected but an invalid string (NaN) has been received) (ref [#289])