Skip to content

Releases: typestack/routing-controllers

0.8.0

01 Oct 19:36
e1eab48
Compare
Choose a tag to compare

0.8.0 [BREAKING CHANGES]

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])