|
1 | 1 | # Changelog and release notes
|
2 | 2 |
|
3 |
| -**0.7.2** |
4 |
| -- FIXED: Using `@Authorization` decorator with Koa caused 404 responses (ref #240) |
| 3 | +### 0.7.2 |
5 | 4 |
|
6 |
| -**0.7.1** |
| 5 | +- FIXED: Using `@Authorization` decorator with Koa caused 404 responses (ref [#240](https://github.com/pleerock/routing-controllers/pull/240)) |
| 6 | +- FIXED: Allow throwing custom errors in `authorizationChecker` (ref [#233](https://github.com/pleerock/routing-controllers/pull/233), ref [#247](https://github.com/pleerock/routing-controllers/pull/247)) |
| 7 | +- FIXED: check auth permissions before accepting files for upload (ref [#251](https://github.com/pleerock/routing-controllers/pull/240)) |
7 | 8 |
|
8 |
| -**0.7.0** *[BREAKING CHANGES]* |
| 9 | +### 0.7.1 |
9 | 10 |
|
10 |
| -* some routing-controllers options has been changed and renamed |
11 |
| -* returned validation error value signature has changed |
12 |
| -* controllers and middlewares now can be specified in routing-controllers options |
13 |
| -* `MiddlewareInterface` was removed and instead `ExpressMiddlewareInterface` or `KoaMiddlewareInterface` should be used |
14 |
| -* `ExpressErrorMiddlewareInterface` was renamed into `ErrorMiddlewareInterface` |
15 |
| -* per-controller and per-action middlewares used in `@UseBefore` and `@UseAfter` now should not be marked with `@Middleware` decorator |
16 |
| -* `@MiddlewareGlobalBefore()` and `@MiddlewareGlobalAfter()` were removed and instead new signatures should be used: `@Middleware({ type: "before" })` |
| 11 | +### 0.7.0 [BREAKING CHANGES] |
| 12 | + |
| 13 | +- some routing-controllers options has been changed and renamed |
| 14 | +- returned validation error value signature has changed |
| 15 | +- controllers and middlewares now can be specified in routing-controllers options |
| 16 | +- `MiddlewareInterface` was removed and instead `ExpressMiddlewareInterface` or `KoaMiddlewareInterface` should be used |
| 17 | +- `ExpressErrorMiddlewareInterface` was renamed into `ErrorMiddlewareInterface` |
| 18 | +- per-controller and per-action middlewares used in `@UseBefore` and `@UseAfter` now should not be marked with `@Middleware` decorator |
| 19 | +- `@MiddlewareGlobalBefore()` and `@MiddlewareGlobalAfter()` were removed and instead new signatures should be used: `@Middleware({ type: "before" })` |
17 | 20 | and `@Middleware({ type: "after" })`
|
18 |
| -* named some decorator parameter names |
19 |
| -* added few new decorators to get all parameters like `@QueryParams`, `@Params`, `@HeaderParams` etc. |
20 |
| -* added `@Authorized` and `@CurrentUser` decorators |
21 |
| -* added new `@Ctx` decorator to use context with koa |
22 |
| -* `@NullResultCode` has been renamed to `@OnNull`, now supports error classes |
23 |
| -* `@UndefinedResultCode` has been renamed to `@OnUndefined`, now supports error classes |
24 |
| -* `@EmptyResultCode` has been removed. Use `@OnUndefined` decorator instead and return concrete types in your controllers. |
25 |
| -* added ability to create custom decorators |
26 |
| -* enabled validation by default |
27 |
| -* multiple bug fixes |
28 |
| -* codebase refactoring |
29 |
| -* removed `JsonResponse` and `TextResponse` decorators |
30 |
| - |
31 |
| -**0.6.10** |
| 21 | +- named some decorator parameter names |
| 22 | +- added few new decorators to get all parameters like `@QueryParams`, `@Params`, `@HeaderParams` etc. |
| 23 | +- added `@Authorized` and `@CurrentUser` decorators |
| 24 | +- added new `@Ctx` decorator to use context with koa |
| 25 | +- `@NullResultCode` has been renamed to `@OnNull`, now supports error classes |
| 26 | +- `@UndefinedResultCode` has been renamed to `@OnUndefined`, now supports error classes |
| 27 | +- `@EmptyResultCode` has been removed. Use `@OnUndefined` decorator instead and return concrete types in your controllers. |
| 28 | +- added ability to create custom decorators |
| 29 | +- enabled validation by default |
| 30 | +- multiple bug fixes |
| 31 | +- codebase refactoring |
| 32 | +- removed `JsonResponse` and `TextResponse` decorators |
| 33 | + |
| 34 | +### 0.6.10 |
32 | 35 |
|
33 | 36 | * added integration with `class-transform-validator` for deserialization and auto validation request parameters
|
34 | 37 |
|
35 |
| -**0.6.2** |
| 38 | +### 0.6.2 |
36 | 39 |
|
37 | 40 | * made interceptors to support promises
|
38 | 41 |
|
39 |
| -**0.6.1** |
| 42 | +### 0.6.1 |
40 | 43 |
|
41 |
| -* added interceptors support |
| 44 | +- added interceptors support |
42 | 45 |
|
43 |
| -**0.6.0** *[BREAKING CHANGES]* |
| 46 | +### 0.6.0 [BREAKING CHANGES] |
44 | 47 |
|
45 |
| -* middleware and error handlers support |
46 |
| -* everything packed into "routing-controllers" main export |
47 |
| -* removed parseJson from @Body decorator |
48 |
| -* removed ActionOptions |
49 |
| -* removed responseType from action options and added @JsonResponse and @TextResponse decorators |
50 |
| -* added few more new decorators |
51 |
| -* fixed multiple issues with param decorators |
52 |
| -* fixed multiple bugs |
53 |
| -* refactored core |
| 48 | +- middleware and error handlers support |
| 49 | +- everything packed into "routing-controllers" main export |
| 50 | +- removed parseJson from @Body decorator |
| 51 | +- removed ActionOptions |
| 52 | +- removed responseType from action options and added @JsonResponse and @TextResponse decorators |
| 53 | +- added few more new decorators |
| 54 | +- fixed multiple issues with param decorators |
| 55 | +- fixed multiple bugs |
| 56 | +- refactored core |
54 | 57 |
|
55 |
| -**0.5.0** |
| 58 | +### 0.5.0 |
56 | 59 |
|
57 |
| -* renamed package from `controllers.ts` to `routing-controllers` |
58 |
| -* added integration with `constructor-utils` for serialization and deserialization |
| 60 | +- renamed package from `controllers.ts` to `routing-controllers` |
| 61 | +- added integration with `constructor-utils` for serialization and deserialization |
0 commit comments