Skip to content

Commit

Permalink
Merge pull request #514 from elthrasher/0.8.0-CHANGELOG
Browse files Browse the repository at this point in the history
update changelog
  • Loading branch information
jotamorais authored Oct 1, 2019
2 parents 73e63cb + 01bb438 commit e1eab48
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@

### 0.8.0 [BREAKING CHANGES]

- [class-transformer](https://github.com/typestack/class-transformer) and [class-validator](https://github.com/typestack/class-validator) are now peer dependencies.

#### Features

- extract generic `@Session()` deocorator into `@SessionParam()` and `@Session()` (ref [#335][#348][#407])
- restore/introduce `@QueryParams()` and `@Params()` missing decorators options (ref [#289][#289])
- normalize param object properties (for "queries", "headers", "params" and "cookies"), with this change you can easily validate query/path params using `class-validator` (ref [#289][#289])
- improved params normalization, converting to primitive types is now more strict and can throw ParamNormalizationError (e.g. when number is expected but an invalid string (NaN) has been received) (ref [#289][#289])

### 0.7.7 (to be released)
### 0.7.7

#### Features

Expand Down Expand Up @@ -134,4 +136,4 @@
[#276]: https://github.com/pleerock/routing-controllers/pull/276
[#251]: https://github.com/pleerock/routing-controllers/pull/251
[#240]: https://github.com/pleerock/routing-controllers/pull/240
[#233]: https://github.com/pleerock/routing-controllers/pull/233
[#233]: https://github.com/pleerock/routing-controllers/pull/233

0 comments on commit e1eab48

Please sign in to comment.