Skip to content

Releases: nestjs/nest

v5.7.1

08 Feb 17:02
Compare
Choose a tag to compare

Bug Fixes

  • core interceptors issue (hanging request) #1536

v5.7.0

05 Feb 13:14
Compare
Choose a tag to compare

Features

  • common: allow array in request mapping decorators (@Get([]), @Post([]), etc) #1343
  • core: allow for multiple view dirs in Express adapter #1514

Bug Fixes

  • microservices: fix load proto definition file (deep definition issue) #1469

v5.6.1

16 Jan 20:58
Compare
Choose a tag to compare

Features

  • common: add options support to ValidationPipe in the transformation phase #1374
  • core: support abstract classes in INestApplicationContext #1452
  • websockets: support RegExp in namespaces #1431
  • websockets: pass down more options to the underlying gRPC instance #1388

Bug Fixes

  • common: fix configurable axios instance in async HttpModule #1257
  • core: fix error message in case of circular dependency (wrong url) #1441
  • microservices: support proto namespaces in gRPC #1371

v5.5.0

09 Dec 13:49
Compare
Choose a tag to compare

Features

  • common: add registerAsync to HttpModule #1257
  • common: add exceptionFactory option to ValidationPipe #1267
  • microservices: add protoLoader option for gRPC transport #1269

Bug Fixes

  • core: custom HTTP exceptions body #1339
  • core: invalid injection metadata inheritance #1338
  • websockets: catch stream (throwError) exceptions #1285
  • microservices: catch stream (throwError) exceptions #1285

v5.4.1

30 Nov 12:02
Compare
Choose a tag to compare

Bug Fixes

  • core: e2e tests are failing due to HTTP_SERVER_REF #1160
  • core: support using direct injectable instance #928
  • core: symbol in the module exports array causes fatal error #1246

v.5.4.0

19 Oct 12:29
Compare
Choose a tag to compare

Features

  • common: update axios to latest version #1152
  • core: add module context name to UnknownDependenciesMessage #1143
  • core: property-based injection support #1172
  • core: dynamical providers feature ModuleRef.create() #1172
  • microservices: RabbitMQ support #1170
  • microservices: support queues in Nats transport #1175

Bug Fixes

  • core: allow exporting abstract providers #1208

v5.3.12

17 Oct 20:43
Compare
Choose a tag to compare

Bug Fixes

  • core: change context initial arguments #1188
  • core: DI symbol as token #1177
  • websockets: WsAdapter close function error #1156
  • websockets: send a message only to a client in open state (WsAdapter) #1183

v5.3.11

05 Oct 13:10
Compare
Choose a tag to compare

Bug Fixes

  • core: make use of default assignments (DI) #1151
  • core: circular structures for dynamic modules #1142
  • websockets: handle unexpected WS client exception #1144

v5.3.0

31 Aug 11:16
Compare
Choose a tag to compare

Features

  • common: caching mechanism - add CacheModule module #695
  • common: serialization - add ClassSerializerInterceptor interceptor
  • common: add MulterModule module
  • core: ExternalContextCreator now supports pipes
  • websockets: support acknowledgments in socketio IoAdapter #982

Bug Fixes

  • core: expose valid HttpServer within ExpressAdapter #1017

Improvements

  • core: injector improvements (mainly circular dependencies)
  • websockets: improve adapters (WsAdapter and IoAdapter)

v5.2.0

22 Aug 14:29
Compare
Choose a tag to compare

Features

  • common: provide global config for axios instance HttpModule.register() #846
  • core: use default exception filter handler on condition (extend core class) #860
  • core: add @Optional() decorator #847
  • core: enhance ExternalContextCreator (for 3rd-party libraries purposes)
  • core: allow ModuleRef to get imported providers (strict/non-strict mode) #832
  • core: support DynamicModule in NestFactory.create[..]() #671

Bug Fixes

  • common: multiple FileInterceptor interceptors per class #935
  • common: custom decorators shouldn't require "data" parameter #892
  • core: fastify & middleware wildcards bug #972
  • core: innherited guards not being applied #879
  • microservices: NATS subject wrapping no longer messing wildcards up #948

Improvements

  • core: allow using single Logger instance #926
  • core: hierarchical module resolution #938
  • microservices: use @grpc-loader withing gRPC transport #980
  • testing: recursively trigger OnModuleDestroy hook for testing module #899