Skip to content

Commit d2b3a4d

Browse files
chore: update changelog
1 parent ab6fb70 commit d2b3a4d

File tree

1 file changed

+37
-16
lines changed

1 file changed

+37
-16
lines changed

CHANGELOG.md

Lines changed: 37 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,54 @@
11
# Changelog and release notes
22

33
### 0.7.7 (to be released)
4-
- fixed inconsistent roles in authorizationChecker depending on where `@Authorized` decorator is placed - #308
5-
- ErrorHandler: invoke class specific toJSON transformation - #325
4+
5+
#### Features
6+
7+
- feat(ErrorHandling): add support for custom toJSON method in errors (ref [#325](#325))
8+
9+
#### Fixes
10+
11+
- fixed inconsistent roles in authorizationChecker depending on where `@Authorized` decorator is placed (ref [#308](#308))
612

713
### 0.7.6
14+
15+
#### Fixes
16+
817
- fixed bugs with undefined result code behaviour
918

1019
### 0.7.5
20+
21+
#### Fixes
22+
1123
- fixed bugs with undefined result code behaviour
1224

1325
### 0.7.4
26+
27+
#### Fixes
28+
1429
- fixed bugs with undefined result code behaviour
1530

1631
### 0.7.3
1732

18-
- FIXED: Directly calling response bug - #286
19-
- FIXED: Missing parameter in @BodyParam error message - #284
20-
- FIXED: Sync and async auth checker bug - #283
21-
- FIXED: Handling different content-type responses in JsonController - #277
22-
- ADDED: Support for returning Buffer and streams from action handler (controller's method) - #285
23-
- ADDED: Custom driver support - #276
33+
#### Features
34+
35+
- Support for returning Buffer and streams from action handler (controller's method) (ref [#285](#285))
36+
- Custom driver support (ref [#276](#276))
37+
38+
#### Fixes
39+
40+
- Directly calling response bug (ref [#286](#286))
41+
- Missing parameter in @BodyParam error message (ref [#284](#284))
42+
- Sync and async auth checker bug (ref [#283](#283))
43+
- Handling different content-type responses in JsonController (ref [#277](#277))
2444

2545
### 0.7.2
2646

27-
- FIXED: Using `@Authorization` decorator with Koa caused 404 responses (ref [#240](https://github.com/pleerock/routing-controllers/pull/240))
28-
- 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))
29-
- FIXED: check auth permissions before accepting files for upload (ref [#251](https://github.com/pleerock/routing-controllers/pull/240))
47+
#### Fixes
48+
49+
- Using `@Authorization` decorator with Koa caused 404 responses (ref [#240](#240))
50+
- Allow throwing custom errors in `authorizationChecker` (ref [#233](#233), ref [#247](#247))
51+
- check auth permissions before accepting files for upload (ref [#251](#240))
3052

3153
### 0.7.1
3254

@@ -38,8 +60,7 @@
3860
- `MiddlewareInterface` was removed and instead `ExpressMiddlewareInterface` or `KoaMiddlewareInterface` should be used
3961
- `ExpressErrorMiddlewareInterface` was renamed into `ErrorMiddlewareInterface`
4062
- per-controller and per-action middlewares used in `@UseBefore` and `@UseAfter` now should not be marked with `@Middleware` decorator
41-
- `@MiddlewareGlobalBefore()` and `@MiddlewareGlobalAfter()` were removed and instead new signatures should be used: `@Middleware({ type: "before" })`
42-
and `@Middleware({ type: "after" })`
63+
- `@MiddlewareGlobalBefore()` and `@MiddlewareGlobalAfter()` were removed and instead new signatures should be used: `@Middleware({ type: "before" })` and `@Middleware({ type: "after" })`
4364
- named some decorator parameter names
4465
- added few new decorators to get all parameters like `@QueryParams`, `@Params`, `@HeaderParams` etc.
4566
- added `@Authorized` and `@CurrentUser` decorators
@@ -55,11 +76,11 @@ and `@Middleware({ type: "after" })`
5576

5677
### 0.6.10
5778

58-
* added integration with `class-transform-validator` for deserialization and auto validation request parameters
79+
- added integration with `class-transform-validator` for deserialization and auto validation request parameters
5980

6081
### 0.6.2
6182

62-
* made interceptors to support promises
83+
- made interceptors to support promises
6384

6485
### 0.6.1
6586

@@ -80,4 +101,4 @@ and `@Middleware({ type: "after" })`
80101
### 0.5.0
81102

82103
- renamed package from `controllers.ts` to `routing-controllers`
83-
- added integration with `constructor-utils` for serialization and deserialization
104+
- added integration with `constructor-utils` for serialization and deserialization

0 commit comments

Comments
 (0)