Releases: nestjs/nest
Releases · nestjs/nest
v8.2.6
v8.2.6 (2022-01-20)
Dependencies
- Other
- #8937 chore(deps): bump follow-redirects from 1.14.6 to 1.14.7 in /sample/07-sequelize (@dependabot[bot])
- #8930 chore(deps): bump follow-redirects from 1.14.5 to 1.14.7 in /sample/17-mvc-fastify (@dependabot[bot])
- #8951 chore(deps): update dependency eslint-plugin-import to v2.25.4 (@renovate[bot])
- #8967 chore(deps-dev): bump @types/sinon from 10.0.6 to 10.0.7 (@dependabot[bot])
- #8969 chore(deps-dev): bump lint-staged from 12.1.7 to 12.2.1 (@dependabot[bot])
- #8966 chore(deps): update babel monorepo to v7.16.10 (@renovate[bot])
- #8961 fix(deps): update apollo graphql packages to v3.6.2 (@renovate[bot])
- #8945 chore(deps-dev): bump mocha from 9.1.3 to 9.1.4 (@dependabot[bot])
- #8958 chore(deps-dev): bump core-js from 3.19.3 to 3.20.3 (@dependabot[bot])
- #8960 chore(deps-dev): bump mqtt from 4.2.8 to 4.3.4 (@dependabot[bot])
- #8943 chore(deps-dev): bump lint-staged from 12.1.3 to 12.1.7 (@dependabot[bot])
- #8940 chore(deps): update dependency @types/node to v16.11.20 (@renovate[bot])
- #8946 chore(deps-dev): bump @nestjs/typeorm from 8.0.2 to 8.0.3 (@dependabot[bot])
- #8947 chore(deps-dev): bump mongoose from 6.1.6 to 6.1.7 (@dependabot[bot])
- #8944 chore(deps): bump fast-json-stringify from 2.7.12 to 3.0.1 (@dependabot[bot])
- #8938 chore(deps): update dependency conventional-changelog to v3.1.25 (@renovate[bot])
- #8759 chore(deps-dev): bump @types/ws from 8.2.0 to 8.2.2 (@dependabot[bot])
- #8926 chore(deps): bump follow-redirects from 1.14.5 to 1.14.7 in /sample/09-babel-example (@dependabot[bot])
- #8927 chore(deps): bump follow-redirects from 1.14.6 to 1.14.7 in /sample/06-mongoose (@dependabot[bot])
- #8928 chore(deps): bump follow-redirects from 1.14.5 to 1.14.7 in /sample/10-fastify (@dependabot[bot])
- #8929 chore(deps): bump follow-redirects from 1.14.5 to 1.14.7 in /sample/08-webpack (@dependabot[bot])
- #8921 chore(deps): update dependency @types/http-errors to v1.8.2 (@renovate[bot])
- #8923 chore(deps): update dependency shelljs to 0.8.5 [security] (@renovate[bot])
- #8922 fix(deps): update apollo graphql packages (@renovate[bot])
- #8935 chore(deps-dev): bump @commitlint/config-angular from 15.0.0 to 16.0.0 (@dependabot[bot])
- #8920 chore(deps): update dependency @grpc/proto-loader to v0.6.9 (@renovate[bot])
- #8919 chore(deps): update dependency engine.io to 6.1.1 [security] (@renovate[bot])
- #8918 chore(deps): bump engine.io from 6.1.0 to 6.1.1 (@dependabot[bot])
- #8897 chore(deps-dev): bump @grpc/grpc-js from 1.4.4 to 1.5.0 (@dependabot[bot])
- #8911 chore(deps): update dependency follow-redirects to 1.14.7 [security] (@renovate[bot])
- #8899 chore(deps-dev): bump mongoose from 6.1.5 to 6.1.6 (@dependabot[bot])
- #8910 chore(deps): update babel monorepo (@renovate[bot])
- #8892 chore(deps): update dependency @types/node to v16.11.19 (@renovate[bot])
platform-fastify
- #8970 chore(deps): bump fastify from 3.24.1 to 3.27.0 (@dependabot[bot])
platform-express
- #8957 chore(deps): bump express from 4.17.1 to 4.17.2 (@dependabot[bot])
platform-socket.io
- #8959 chore(deps): bump socket.io from 4.4.0 to 4.4.1 (@dependabot[bot])
Committers: 1
- Tony (@Tony133)
v8.2.5
v8.2.5 (2022-01-12)
Bug fixes
microservices
- #8895 fix(microservices): fix amqp v4 incompatibility issue (@kamilmysliwiec)
Enhancements
common
,core
,microservices
,platform-express
,platform-ws
,websockets
- #8851 Use
isObervable
fromrxjs
instead of our own implementation. Drop few deprecated APIs from 3rd-party libs. And other minor refactorings (@micalevisk)
- #8851 Use
Dependencies
- Other
- #8896 chore(deps-dev): bump http-errors from 1.8.1 to 2.0.0 (@dependabot[bot])
- #8768 chore(deps-dev): bump @types/redis from 2.8.32 to 4.0.11 (@dependabot[bot])
- #8847 chore(deps-dev): bump point-of-view from 4.15.3 to 5.0.0 (@dependabot[bot])
- #8856 chore(deps): update dependency @types/sequelize to v4.28.11 (@renovate[bot])
- #8873 build(deps-dev): bump mongoose from 6.0.15 to 6.1.5 (@dependabot[bot])
- #8890 chore(deps): bump copy-props from 2.0.4 to 2.0.5 (@dependabot[bot])
- #8848 chore(deps): update dependency @types/node to v16.11.17 (@renovate[bot])
- #8841 chore(deps): update dependency @types/node to v16.11.15 (@renovate[bot])
- #8810 chore(deps): update dependency lint-staged to v12.1.3 (@renovate[bot])
- #8803 chore(deps): update dependency @types/node to v16.11.14 (@renovate[bot])
platform-express
- #8778 chore(deps): bump body-parser from 1.19.0 to 1.19.1 (@dependabot[bot])
Committers: 4
- Kamil Mysliwiec (@kamilmysliwiec)
- Micael Levi L. Cavalcante (@micalevisk)
- Thiago Valentim (@thiagomini)
- Tony (@Tony133)
v8.2.4
v8.2.4 (2021-12-17)
Bug fixes
common
,core
- #8738 fix(common,core): auto flush logs after
useLogger
call (@micalevisk)
- #8738 fix(common,core): auto flush logs after
core
- #8782 fix(core):
getInstanceName
wrong return when passing a dynamic module (@micalevisk) - #8729 fix(core): apply existing headers to sse responses (@wSedlacek)
- #8782 fix(core):
Enhancements
core
- #8740 feat(core): handle errors in observable streams (@wSedlacek)
common
,core
- #8735 feat(core,common): fix ignore duplicated versions and support an array containing VERSION_NEUTRAL (@micalevisk)
- #8787 feat(core,common): raise warnings when an injectable/controller/filter is imported as a module (@micalevisk)
common
,core
,microservices
,platform-fastify
- #8797 refactor(common,core): use shared utils whenever possible (@micalevisk)
Code style tweaks
common
,microservices
- #8784 refactor(): replace
indexOf
withincludes
(@ZanMinKian)
- #8784 refactor(): replace
Dependencies
- Other
- #8791 chore(deps): update confluentinc/cp-zookeeper docker tag to v7.0.1 (@renovate[bot])
- #8783 chore(deps): update babel monorepo to v7.16.5 (@renovate[bot])
- #8779 chore(deps): update confluentinc/cp-kafka docker tag to v7.0.1 (@renovate[bot])
- #8720 chore(deps): update dependency json-schema to 0.4.0 [security] (@renovate[bot])
- #8751 fix(deps): update dependency mongoose to v6.0.15 (@renovate[bot])
- #8753 chore(deps): update dependency @types/node to v16.11.12 (@renovate[bot])
- #8755 chore(deps): update dependency @types/chai to v4.3.0 (@renovate[bot])
- #8762 chore(deps): update dependency fastify-multipart to v5.2.1 (@renovate[bot])
- #8763 chore(deps): update dependency @types/bull to v3.15.7 (@renovate[bot])
- #8739 chore(deps): update dependency prettier to v2.5.1 (@renovate[bot])
- #8743 chore(deps): update dependency fastify-multipart to v5.2.0 (@renovate[bot])
- #8748 chore(deps): update dependency core-js to v3.19.3 (@renovate[bot])
- #8728 chore(deps): update dependency @types/node to v16.11.11 (@renovate[bot])
- #8723 fix(deps): update dependency mongoose to v6.0.14 (@renovate[bot])
- #8722 chore(deps): update dependency core-js to v3.19.2 (@renovate[bot])
- #8705 chore(deps): update dependency prettier to v2.5.0 (@renovate[bot])
- #8706 chore(deps): update dependency webpack to v5.64.4 (@renovate[bot])
- #8701 fix(deps): update nest monorepo to v8.2.3 (@renovate[bot])
- #8627 chore(deps-dev): bump socket.io-client from 4.3.2 to 4.4.0 (@dependabot[bot])
- #8648 chore(deps): bump path-parse from 1.0.6 to 1.0.7 in /sample/05-sql-typeorm (@dependabot[bot])
- #8647 chore(deps): bump ansi-regex from 5.0.0 to 5.0.1 in /sample/04-grpc (@dependabot[bot])
- #8646 chore(deps): bump path-parse from 1.0.6 to 1.0.7 in /sample/04-grpc (@dependabot[bot])
- #8651 chore(deps): bump ansi-regex from 5.0.0 to 5.0.1 in /sample/05-sql-typeorm (@dependabot[bot])
- #8674 chore(deps): bump path-parse from 1.0.6 to 1.0.7 in /sample/03-microservices (@dependabot[bot])
- #8676 chore(deps): bump ansi-regex from 5.0.0 to 5.0.1 in /sample/02-gateways (@dependabot[bot])
- #8677 chore(deps): bump ansi-regex from 5.0.0 to 5.0.1 in /sample/03-microservices (@dependabot[bot])
- #8679 chore(deps): bump path-parse from 1.0.6 to 1.0.7 in /sample/02-gateways (@dependabot[bot])
- #8693 chore(deps): update dependency webpack to v5.64.3 (@renovate[bot])
- #8697 fix(deps): update dependency @nestjs/graphql to v9.1.2 (@renovate[bot])
- #8691 chore(deps-dev): bump ts-morph from 12.2.0 to 13.0.2 (@dependabot[bot])
- #8680 chore(deps): bump path-parse from 1.0.6 to 1.0.7 (@dependabot[bot])
- #8614 fix(deps): update dependency hbs to v4.2.0 (@renovate[bot])
- #8681 chore(deps): update dependency @types/bull to v3.15.6 (@renovate[bot])
- #8682 fix(deps): update apollo graphql packages (@renovate[bot])
- #8684 chore(deps): update dependency @types/node to v16.11.10 (@renovate[bot])
- #8685 fix(deps): update dependency point-of-view to v4.15.3 (@renovate[bot])
- #8496 chore(deps): update confluentinc/cp-zookeeper docker tag to v7 (@renovate[bot])
- #8665 chore(deps): update dependency url-parse to 1.5.2 [security] (@renovate[bot])
- #8667 chore(deps): update dependency y18n to 3.2.2 [security] (@renovate[bot])
- #8666 chore(deps): update dependency ws to 7.4.6 [security] (@renovate[bot])
- #8663 chore(deps): update dependency postcss to 7.0.36 [security] (@renovate[bot])
- #8664 chore(deps): update dependency set-value to 2.0.1 [security] (@renovate[bot])
- #8661 chore(deps): update dependency lodash.template to 4.5.0 [security] (@renovate[bot])
- #8662 chore(deps): update dependency minimist to 0.2.1 [security] (@renovate[bot])
- #8660 chore(deps): update dependency lodash to 4.17.21 [security] (@renovate[bot])
- #8659 chore(deps): update dependency kind-of to 6.0.3 [security] (@renovate[bot])
- #8658 chore(deps): update dependency ini to 1.3.6 [security] (@renovate[bot])
- #8657 chore(deps): update dependency hosted-git-info to 2.8.9 [security] (@renovate[bot])
- #8656 chore(deps): update dependency handlebars to 4.7.7 [security] (@renovate[bot])
- #8654 fix(deps): update dependency class-validator to v0.13.2 (@renovate[bot])
- [#8655](https://github.com/nestjs/nest/p...
v8.2.3
v8.2.3 (2021-11-22)
Dependencies
- #8635 chore(deps): update dependency webpack to v5.64.2 (@renovate[bot])
- #8633 fix(deps): update dependency typeorm to v0.2.41 (@renovate[bot])
- #8632 fix(deps): update dependency @nestjs/swagger to v5.1.5 (@renovate[bot])
- #8623 chore(deps): update dependency @types/jest to v27.0.3 (@renovate[bot])
- #8611 fix(deps): update apollo graphql packages (@renovate[bot])
- #8609 fix(deps): update dependency @nestjs/schedule to v1.0.2 (@renovate[bot])
- #8624 chore(deps): update dependency @types/node to v16.11.8 (@renovate[bot])
- #8631 chore(deps): update dependency lint-staged to v12.0.3 (@renovate[bot])
- #8622 chore(deps): update nest monorepo (@renovate[bot])
- #8610 chore(deps): update dependency @grpc/proto-loader to v0.6.7 (@renovate[bot])
- #8608 chore(deps): update dependency @nestjs/schematics to v8.0.5 (@renovate[bot])
- #8616 chore(deps): update commitlint monorepo to v15 (major) (@renovate[bot])
- #8612 chore(deps): update babel monorepo to v7.16.4 (@renovate[bot])
- #8607 fix(deps): update nest monorepo to v8.2.1 (@renovate[bot])
Committers: 2
v8.2.0
v8.2.0 (2021-11-08)
Dependencies
- Other
- #8511 chore(deps): update dependency validator to 13.7.0 [security] (@renovate[bot])
- #8509 chore(deps): update dependency sinon to v12 (@renovate[bot])
- #8508 fix(deps): update dependency fastify-static to v4.5.0 (@renovate[bot])
- #8515 chore(deps): update dependency @types/jest to v27.0.2 (@renovate[bot])
- #8516 fix(deps): update apollo graphql packages to v3.5.0 (@renovate[bot])
- #8522 chore(deps): update dependency clang-format to v1.6.0 (@renovate[bot])
- #8527 fix(deps): update dependency @grpc/grpc-js to v1.4.3 (@renovate[bot])
- #8524 chore(deps): update dependency webpack to v5.62.1 (@renovate[bot])
- #8493 fix(deps): update dependency ts-morph to v12.2.0 (@renovate[bot])
- #8495 chore(deps): update confluentinc/cp-kafka docker tag to v7 (@renovate[bot])
- #8497 chore(deps): update dependency core-js to v3.19.1 (@renovate[bot])
- #8498 fix(deps): update apollo graphql packages (@renovate[bot])
- #8499 chore(deps): update dependency nats to v2.3.0 (@renovate[bot])
- #8504 chore(deps): update dependency subscriptions-transport-ws to v0.11.0 (@renovate[bot])
- #8464 fix(deps): update dependency graphql to v15.7.2 (@renovate[bot])
- #8468 fix(deps): update dependency graphql-query-complexity to v0.10.0 (@renovate[bot])
- #8470 chore(deps): update dependency webpack to v5.61.0 (@renovate[bot])
- #8473 chore(deps): update babel monorepo to v7.16.0 (@renovate[bot])
- #8476 fix(deps): update dependency ts-morph to v12.1.0 (@renovate[bot])
- #8479 chore(deps): update commitlint monorepo to v14 (major) (@renovate[bot])
- #8482 chore(deps): update dependency imports-loader to v3.1.1 (@renovate[bot])
- #8483 chore(deps): update dependency fastify-multipart to v5.1.0 (@renovate[bot])
- #8484 fix(deps): update dependency sequelize to v6.9.0 (@renovate[bot])
- #8458 fix(deps): update dependency graphql to v15.7.1 (@renovate[bot])
- #8448 chore(deps): update dependency lint-staged to v11.2.6 (@renovate[bot])
- #8449 fix(deps): update dependency graphql to v15.7.0 (@renovate[bot])
- #8450 fix(deps): update dependency @grpc/grpc-js to v1.4.2 (@renovate[bot])
- #8439 chore(deps): update dependency webpack to v5.60.0 (@renovate[bot])
- #8445 chore(deps): update dependency @types/sinon to v10.0.6 (@renovate[bot])
- #8447 chore(deps): update dependency @types/node to v16.11.6 (@renovate[bot])
- #8435 fix(deps): update nest monorepo to v8.1.2 (@renovate[bot])
platform-fastify
- #8517 fix(deps): update dependency fastify to v3.23.1 (@renovate[bot])
common
- #8440 fix(deps): update dependency axios to v0.24.0 (@renovate[bot])
Committers: 5
- Aaron Schweig (@aaronschweig)
- Andrii (@aaabramov)
- Francesco Soncina (@phra)
- Sebastian Schmid (@sjkummer)
- Tony (@Tony133)
v8.0.0
Features
- common: refactor the built-in console logger class #6142 #5353, separate out
Logger
wrapper class andConsoleLogger
class, add buffering logs feature (buffer init logs and flush them out when a custom logger is assigned), add log level output #6172, support log levels feature nestjs/docs.nestjs.com#1613 - common: add
StreamableFile
class for streaming files from controller routes (cross-platform) #5278 - common: add
ParseFloatPipe
andParseEnumPipe
classes #6232 - core: add lazy module loader class #6386
- core: add
RouterModule
for defining per-module controller prefixes - core: add the ability to exclude certain routes from the global prefix #5291
- core: API versioning feature #6278
- microservices: support multiple event subscribers (
@EventPattern()
can be applied to multiple methods) #6334 - microservices: support passing a property key to the
@Payload()
decorator #5975 - websockets: support passing a property key to the
@MessageBody()
decorator - websockets: (
WsAdapter
) support registering gateways on different paths and let them share the same HTTP server #6321
Improvements
- core: sort modules topologically when invoking lifecycle hooks #6236
- core: use class references as providers/controllers/injectables keys instead of their names
- #6141 fixes #5591 and #789
- core:
BaseExceptionFilter
supportshttp-errors
(and any other error objects that have thestatusCode
property specified) out of the box now cdd51b0 - core: set
Error.name
property to the name of the class (all exceptions that inherit from the built-inHttpException
) #5859
Bug fixes
- common: add a missing type argument to
mixin()
function #6216 - core: use
router.all()
method for routes annotated with the@All()
decorator (instead ofrouter.use()
) #6237 - core: reject on server bind failures (
listen()
) #3360 - websockets: specify
@nestjs/platform-socket.io
as an optional peer dependency to support PnP mode #6217
Dependencies
- microservices: update to use
@grpc/grpc-js
package (instead ofgrpc
) #4806 - microservices: upgrade NATS to v2 🙌
- platform-socket.io: upgrade Socket.io to v4 🙌
Deprecations
- common: deprecate
HttpModule
to remove hard dependency on theaxios
library.HttpModule
is published as a new@nestjs/axios
package now - core: deprecate the
listenAsync()
(uselisten()
) andstartAllMicroservicesAsync()
(usestartAllMicroservices()
) methods - microservices: deprecate the
listenAsync()
method (uselisten()
instead)
v7.5.0
Features
- common: support conditional cache TTL value (support async factories) #5366
- core: add Server-Sent Events (SSE) support #4842
- core: add
abortOnError
option. When enabled, Nest will rethrow the exception instead of killing the process #5327 - microservices: pass
GrpcCall
reference to call handlers #5143
Improvements
- microservices: update Kafka configuration interfaces, add missing options #5443 #5634 #5638
- microservices: add
persistent
option #5597 and supporturls
object #5609 (RabbitMQ)
Bug fixes
- common:
expectedType
should take precedence overmetatype
in theValidationPipe
#5605 - core: use
.toString()
as functions representation when serialising dynamic modules metadata #5189 - core: fix invalid middleware execution order when request-scoped dependencies are being used by a host middleware #5623
- microservices: await consumer and producer disconnect operations #5422
- microservices: check
replyTo
channel presence (NATS) #5530 - platform-fastify: add missing chaining API to the
inject()
method #5628
v7.4.0
v7.3.0
Features
- core: add the
introspect()
method toModuleRef
andNestApplicationContext
classes - core: add the
registerRequestByContextId()
method toModuleRef
andNestApplicationContext
classes
Improvements
- core: user
InstanceLinksHost
to speed-upget()
andresolve()
methods