Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Releases: serhiisol/node-decorators

[email protected]

30 Jan 13:18
7985649
Compare
Choose a tag to compare
  • Updated di version to 2.0.0

[email protected]

30 Jan 09:08
87d8c72
Compare
Choose a tag to compare
  • added fix to handle arrow functions as middlewares (fixes #131)

[email protected]

30 Jan 13:16
781a488
Compare
Choose a tag to compare
  • Added async providers support
  • Added eslint to the project
  • Cleaned up old legacy typedocs

BREAKING CHANGE

  • Container.get now returns a promise. Requirements for async providers.

[email protected]

21 Jan 13:45
Compare
Choose a tag to compare
  • fixed Openapi package caused by express 2.8.0 update

[email protected]

18 Jan 21:47
3b6fb84
Compare
Choose a tag to compare
  • Fixed type definitions
  • IO_MIDDLEWARE as optional middleware (fixes #119)
  • Function as middleware

[email protected]

18 Jan 19:40
4fae80e
Compare
Choose a tag to compare

Features:

  • Added support of return value (closes #120)
  • Added support of simple functions as middlewares (closes #118)
  • Added @Status decorator to send specific status code for routes that don't use @Res but use returned value instead
  • Removed default args for routes that won't provide any param decorators

Fixes:

  • Defining multiple routes for the same method won't merge middlewares, each route will now have own middleware list

[email protected]

19 Dec 17:58
Compare
Choose a tag to compare
  • Added Req and Res aliases for Request and Response param decorators respectively (#117)

[email protected]

19 Dec 17:42
81c9bac
Compare
Choose a tag to compare
  • Initial release of express openapi package (#114)

[email protected]

20 Jun 12:12
Compare
Choose a tag to compare
  • Allow having multiple route decorators per method (#113)

[email protected]

08 Apr 16:50
Compare
Choose a tag to compare
  • Keep middlewares in controllers and routes meta if already set (#107)