You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,11 @@
2
2
3
3
### 0.8.0
4
4
5
-
- restore/introduce `@QueryParams()` and `@Params()` missing decorators options (they are needed for validation purposes) (#289)
6
-
- normalize param object properties (for "queries", "headers", "params" and "cookies") - now you can easily validate query/path params using `class-validator` (#289)
5
+
- extract generic `@Session()` deocorator into `@SessionParam()` and `@Session()`
6
+
- restore/introduce `@QueryParams()` and `@Params()` missing decorators options (they are needed for validation purposes) - #289
7
+
- normalize param object properties (for "queries", "headers", "params" and "cookies") - now you can easily validate query/path params using `class-validator` - #289
7
8
- enhance params normalization - converting from string to primitive types is now more strict and can throw ParamNormalizationError,
8
-
e.g. when number is expected but the invalid string (NaN) has been received (#289)
9
+
e.g. when number is expected but the invalid string (NaN) has been received - #289
Express uses [express-session][5] / Koa uses [koa-session][6] or [koa-generic-session][7] to handle session, so firstly you have to install it manually to use `@Session` decorator.
@@ -1430,14 +1432,15 @@ export class QuestionController {
0 commit comments