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

Releases: serhiisol/node-decorators

Server-1.0.0-beta.18

31 Aug 22:43
3423907
Compare
Choose a tag to compare

Core

  • Fixed Decorate replacing class parameter

Http

  • Added getAdapter to HttpModule

Sockets

  • Removed @Disconnecting event
  • Added getAdapter to SocketsModule
  • Added adapter.disconnect if error occurs on connection

Server-1.0.0-beta.17

30 Aug 22:29
eca468a
Compare
Choose a tag to compare
  • Sockets swagger support
  • Fixed ApiOperation usage

Server-1.0.0-beta.16

30 Aug 19:57
c49b967
Compare
Choose a tag to compare

Core

  • Changed param metadata source - changed it to method
  • paramDecoratorFactory adds callIndex to the param, in case if few decorators are used for the same method
  • Added base HandlerCreator abstract class
  • MetadataScanner moved to the core

Http

  • Reused HandlerCreator class for handlers
  • Fixed applying all the namespace urls to the routes
  • adapter.close method updated for all the adapters

Sockets

  • Reused HandlerCreator class for handlers

Server-1.0.0-beta.15

27 Aug 20:35
221d433
Compare
Choose a tag to compare
  • Added web sockets module
  • Socket.io adapter

Server-1.0.0-beta.14

26 Aug 16:16
9e34341
Compare
Choose a tag to compare
  • Existing server instance can be now provided to the application:
const app = await Application.create(AppModule, server);
  • Adds ability to instantiate an adapter with custom application (express, fastify or koa):
HttpModule.create(new ExpressAdapter(app));
  • adapter.listen no longer receives port:number param, port will be forwarded to the server.listen instance.

Server-1.0.0-beta.13

26 Aug 10:59
d983552
Compare
Choose a tag to compare
  • updated handling of missing views in koa and fastify adapters

Server-1.0.0-beta.12

24 Aug 21:31
1dc26bd
Compare
Choose a tag to compare
  • Koa adapter was added
  • Adjustments to support koa
  • adapter.route was removed in favor of adapter.routes, adapters can now register all routes at once (for example using routers) instead of one at a time.

Server-1.0.0-beta.11

24 Aug 13:19
4928d6e
Compare
Choose a tag to compare
  • Fastify adapter was added
  • Adjustments to support fastify
  • createParamDecorator and adapter.getParam factory will return function instead, promise-like params are causing delays in execution while awaiting for them in the handler.

Server-1.0.0-beta.9

09 Aug 20:47
b317266
Compare
Choose a tag to compare
  • Initial release of Swagger Platform

Server-1.0.0-beta.8

09 Aug 18:44
886eee3
Compare
Choose a tag to compare
  • Removes standard type validation
  • Adds custom param validators:
post(@Params('id', (id) => !IsNaN(Number(id))) id: number) {}

Resolves #183