This repository has been archived by the owner on Aug 16, 2024. It is now read-only.
Releases: serhiisol/node-decorators
Releases · serhiisol/node-decorators
Common#1.0.0
Express#1.2.0
Express#1.2.0
- Added controller-based middleware - @controller(baseUrl: string, [middleware]?)
- moved route-based middleware to route definition decorator - @get(url: string, [middleware]?)
- renamed bootstrapControllers to attachControllers
- @Middleware moved to deprecated, will be removed in 2.0.0
- bootstrapControllers moved to deprecated, will be removed in 2.0.0
Socket#1.3.2
- Added wrap option for @socket(WrapperClass?) decorator, now you can pass wrapper class in it, to get extended functionality over the socket, optional parameter, e.g.:
class SocketWrapper {
constructor(private socket: SocketIO.Socket) {}
}