Skip to content

Commit f91d392

Browse files
committed
Update changelog
1 parent dd4f710 commit f91d392

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog and release notes
22

3+
### 0.8.0
4+
5+
- rename `@Param` and `@Params` decorators to `@PathParam` and `@PathParams` (#289)
6+
- restore/introduce `@QueryParams()` and `@PathParams()` 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)
8+
- enhance params normalization - converting from string to primitive types is now more strict and can throw ParamNormalizationError,
9+
e.g. when number is expected but the invalid string (NaN) has been received (#289)
10+
311
### 0.7.2
412

513
- FIXED: Using `@Authorization` decorator with Koa caused 404 responses (ref [#240](https://github.com/pleerock/routing-controllers/pull/240))

0 commit comments

Comments
 (0)