Skip to content

Releases: nestjs/nest

v7.0.0

13 Mar 14:23
96ad025
Compare
Choose a tag to compare

Features

  • common: automatically transform primitives (number, bool) with ValidationPipe #4110
  • common add ParseArrayPipe and ParseBoolPipe #4113
  • core: exclude middleware by path #3042
  • core: pass ExecutionContext to custom decorators #3070

Improvements

  • core: make built-in exceptions serializable #3053
  • core: standardize http exception schema #4045
  • microservices: introduce more descriptive microservices channels #3040
  • microservices: more lighweight packets (request/response) #3071

Other

  • common: remove deprecated @ReflectMetadata decorator
  • graphql: built-in code-first support + CLI plugin nestjs/graphql#634

BREAKING CHANGES

Read more here https://docs.nestjs.com/migration-guide

v6.11.0

24 Jan 13:51
0afeab0
Compare
Choose a tag to compare

Features

  • all: add tslib #3748
  • common: strongly type custom decorators (createParamDecorator) #3356
  • common: add static KEY property to decorators created through @SetMetadata()
  • common: add request cancelation (axios + HttpModule) #3777
  • core: add hostname matching (HTTP) #2980
  • microservices: support multiple gRPC packages at once #3418
  • platform: add description to the listen method #3786

Bug Fixes

  • core: run lifecycle hooks for middleware and injectables #3870
  • platform: add application's global prefix to error handlers and global middlewares #3656
  • deps: update to [email protected] #3765

v6.10.0

15 Nov 14:25
95381bd
Compare
Choose a tag to compare

Features

  • core: add transient inquirer injection #1637

Bug Fixes

  • common: single stdout.write() call per logging in default Logger #3350
  • core: use module class to generate hash #3363

v6.9.0

03 Nov 20:38
25e11ed
Compare
Choose a tag to compare

Features

  • common: add class-transformer excludeExtraneousValues flag #3278
  • common: add applyDecorators function #3113
  • common: add CacheTTL() decorator #2943
  • core: add @Ip() decorator #3249
  • core: add getUrl() method #3147
  • microservices/websockets: support createParamDecorator (custom decorators)

Bug Fixes

  • core: fix transient providers in request-scoped chain #3303
  • microservices: fix applying falsy options (e.g. noAck for RMQ) #3119

v6.8.0

10 Oct 08:54
ed7f652
Compare
Choose a tag to compare

Features

  • common: add more utility methods to Reflector class #3043
  • all: add RPC and WS decorators #3039

Improvements

  • common: update class-validator external interface #3059
  • core: improve error messages (more descriptive) #3001
  • core: remove optional package from dependencies #3041

v6.7.0

16 Sep 09:01
c40f1ff
Compare
Choose a tag to compare

Features

  • core: add getType() to both ExecutionContext and ArgumentsHost #1581
  • microservices: add getClientByServiceName to ClientGrpc 73c1cf3
  • microservices: Kafka support #2361

Bug Fixes

  • common: fix CacheStore.get() return type edc7bd0
  • common: added return types to Controller decorator overloads 6d90053
  • common: export NestApplicationOptions interface from the root e062a1b
  • core: exclude duplicated methods #2557

v6.6.6

03 Sep 08:13
f8088a0
Compare
Choose a tag to compare

Bug Fixes:

  • core: improve performance of distance calculation (middleware) #2865

v6.6.3

29 Aug 07:14
f0d0ded
Compare
Choose a tag to compare

Bug Fixes

  • core: invert middleware execution order (apply middleware registered closer to the root module first)

v6.6.2

28 Aug 13:12
7516de1
Compare
Choose a tag to compare

Bug Fixes

  • core: maximum call stack size exceeded for circular deps #2834
  • platform-fastify: unhandled exception when throwing an error in the middleware #2640

v6.6.0

28 Aug 07:34
16ae140
Compare
Choose a tag to compare

Features:

  • all: add API docs (better DX) #2688
  • common: add log levels (Logger) #2813
  • common: add seconds to Logger timestamp #2770
  • common: add @Redirect() decorator #2632
  • core: move createResponseBody function to HttpException #2796
  • core: allow NestModule.configure() method to be async #2767
  • core: provide more descriptive error for unknown element exception #2725
  • core: add beforeApplicationShutdown hook #2567
  • core: execute middleware of dependent modules first #2406
  • core: add resolve() method to load scoped (either request or transient) providers #2682
  • microservices: use hot observables for emit() (ClientProxy) #2814
  • microservices: improve microservices performance by scheduling emission on nextTick() #2653
  • microservices: add serializers/deserializers feature to allow adapting external services #2653

Bug Fixes:

  • core: do not call onModuleInit if null #2790
  • core: fix request-scoped middleware #2648
  • core: method handler is interfering with another handler #2663
  • microservices: pass all arguments to request-scoped proxies #2805
  • microservices: update isTermined value when manually closed #2708
  • platform-express: fix PreservePath boolean property location in multer configuration #2800

Other:

  • ci: migrate towards CircleCI #2720