npm routing-controllers 0.8.0

latest releases: 0.10.4, 0.10.3, 0.10.2...
5 years ago

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

Don't miss a new routing-controllers release

NewReleases is sending notifications on new releases.