Releases: nestjs/nest
Releases · nestjs/nest
v7.0.0
Features
- common: automatically transform primitives (number, bool) with
ValidationPipe
#4110 - common add
ParseArrayPipe
andParseBoolPipe
#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
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
v6.9.0
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
v6.8.0
v6.7.0
v6.6.6
v6.6.3
Bug Fixes
- core: invert middleware execution order (apply middleware registered closer to the root module first)
v6.6.2
v6.6.0
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 toHttpException
#2796 - core: allow
NestModule.configure()
method to beasync
#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
ifnull
#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 inmulter
configuration #2800
Other:
- ci: migrate towards CircleCI #2720