-
Notifications
You must be signed in to change notification settings - Fork 392
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #119 from pleerock/0.7.0
0.7.0
- Loading branch information
Showing
183 changed files
with
4,096 additions
and
3,740 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
build/ | ||
node_modules/ | ||
typings/ | ||
coverage/ | ||
npm-debug.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Changelog and release notes | ||
|
||
**0.7.0** *[BREAKING CHANGES]* | ||
|
||
* some routing-controllers options has been changed and renamed | ||
* returned validation error value signature has changed | ||
* removed `Interceptor` functionality | ||
* controllers and middlewares now can be specified in routing-controllers options | ||
* `MiddlewareInterface` was removed and instead `ExpressMiddlewareInterface` or `KoaMiddlewareInterface` should be used | ||
* `ExpressErrorMiddlewareInterface` was renamed into `ErrorMiddlewareInterface` | ||
* per-controller and per-action middlewares used in `@UseBefore` and `@UseAfter` now should not be marked with `@Middleware` decorator | ||
* `@MiddlewareGlobalBefore()` and `@MiddlewareGlobalAfter()` were removed and instead new signatures should be used: `@Middleware({ type: "before" })` | ||
and `@Middleware({ type: "after" })` | ||
* named some decorator parameter names | ||
* added few new decorators to get all parameters like `@QueryParams`, `@Params`, `@HeaderParams` etc. | ||
* added `@Authorized` and `@CurrentUser` decorators | ||
* added new `@Ctx` decorator to use context with koa | ||
* `@NullResultCode` has been renamed to `@OnNull`, now supports error classes | ||
* `@UndefinedResultCode` has been renamed to `@OnUndefined`, now supports error classes | ||
* `@EmptyResultCode` has been removed. Use `@OnUndefined` decorator instead and return concrete types in your controllers. | ||
* added ability to create custom decorators | ||
* enabled validation by default | ||
* multiple bug fixes | ||
* codebase refactoring | ||
|
||
**0.6.10** | ||
|
||
* added integration with `class-transform-validator` for deserialization and auto validation request parameters | ||
|
||
**0.6.2** | ||
|
||
* made interceptors to support promises | ||
|
||
**0.6.1** | ||
|
||
* added interceptors support | ||
|
||
**0.6.0** *[BREAKING CHANGES]* | ||
|
||
* middleware and error handlers support | ||
* everything packed into "routing-controllers" main export | ||
* removed parseJson from @Body decorator | ||
* removed ActionOptions | ||
* removed responseType from action options and added @JsonResponse and @TextResponse decorators | ||
* added few more new decorators | ||
* fixed multiple issues with param decorators | ||
* fixed multiple bugs | ||
* refactored core | ||
|
||
**0.5.0** | ||
|
||
* renamed package from `controllers.ts` to `routing-controllers` | ||
* added integration with `constructor-utils` for serialization and deserialization |
Oops, something went wrong.