0.8.0 [BREAKING CHANGES]
- class-transformer and class-validator are now peer dependencies.
Features #### Features
- Extract generic
@Session()
decorator into@SessionParam()
and@Session()
(ref [#335][#348][#407]) - Restore/introduce
@QueryParams()
and@Params()
missing decorators options (ref [#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]) - 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])