Node Decorators Versions Save

node-decorators

server-1.0.0-beta.18

8 months ago

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

8 months ago
  • Sockets swagger support
  • Fixed ApiOperation usage

server-1.0.0-beta.16

8 months ago

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

8 months ago
  • Added web sockets module
  • Socket.io adapter

server-1.0.0-beta.14

8 months ago
  • 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

8 months ago
  • updated handling of missing views in koa and fastify adapters

server-1.0.0-beta.12

8 months ago
  • 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

8 months ago
  • 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.10

8 months ago
  • Added missing imports in swagger

server-1.0.0-beta.9

9 months ago
  • Initial release of Swagger Platform