@nestjs/core@12.0.0
Skip this version — install 12.4.2 instead.
Followed by 12.0.1 within 1 h, faster than this project's usual cadence — likely a hotfix.
Why this verdict
- Followed by 12.0.1 within 1 h, faster than this project's usual cadence — likely a hotfix.Evidence
- New major version after 11.2.11: expect breaking changes.Evidence
- Release notes list 8 breaking changes: All core Nest packages now ship as ESM, which may require changes to bootstrapping or tooling.Evidence
Confidence 100% · algorithm v1 · computed 2026-11-22. How verdicts work
Supply chain and security
- Malware reports
- None known (OSV)
- Known advisories
- None known (OSV)
- License
- MIT
- Install scripts
- None
- Build provenance
- No provenance
- Weekly downloads
- 200
Compatibility
New major version after 11.2.11: expect breaking changes.
Breaking changes in the release notes
- All core Nest packages now ship as ESM, which may require changes to bootstrapping or tooling.“All core Nest packages now ship as ESM.”
- Node.js minimum version is raised to v20.19+ or v22.12+, dropping support for the 21.x line.“Node.js: v12 requires Node.js v20.19+ or v22.12+ .”
- The NATS package is replaced by @nats/io/transport‑node and message payloads are now JSON strings.“NATS v3 — the nats package is replaced by @nats io/transport node npm uninstall nats && npm install @nats io/transport node; update direct imports.”
- GraphQL subscriptions transport ws support is removed; users must switch to graphql‑ws which is wire‑incompatible.“GraphQL subscriptions — subscriptions transport ws support removed Switch to graphql ws; the protocols are wire incompatible, so clients must be updated.”
- GraphiQL replaces GraphQL Playground as the default IDE, requiring configuration changes for custom options.“GraphiQL is the default GraphQL IDE Replace playground with graphiql; pass an options object to customize.”
- Pipe transform signatures are refined; ArgumentMetadata is now generic, which may break custom pipe implementations.“Pipe transform signatures refined; ArgumentMetadata is now generic Adjust hand written custom pipe signatures if the compiler complains.”
- Webpack‑related CLI flags are deprecated in favor of the new builder rspack, requiring migration of build scripts.“Webpack CLI workflows deprecated Migrate to builder rspack.”
- Lifecycle hooks are now invoked according to component hierarchy level, affecting ordering assumptions.“Lifecycle hooks are now invoked by component hierarchy level Review ordering assumptions between related providers/modules in init, teardown, and tests.”
AI-extracted from the official release notes and checked against the quoted text. Read the source
4 issues mention this version in nestjs/nest within 14 days of release. See them on GitHub
Check the official release notes below for behaviour changes before merging.
Release notes
Read the NestJS changelog on Changes.Watch or the package page on npm for this version’s features and fixes.
New in this release
- All core Nest packages are now shipped as ESM.“All core Nest packages now ship as ESM.”
- NestJS 12 adds first‑class Standard Schema support for validation and serialization.“first class Standard Schema support for validation and serialization”
- The Nest CLI has been rebuilt and now includes new commands such as nest upgrade and nest deploy.“New commands nest upgrade (alias update) — upgrades a v11 project to v12 and applies the migration steps described above. nest deploy — deploys your application to the cloud via Mau, installing @nestjs/mau on first use and forwarding every argument straight through.”
- A native observability SDK (@nestjs/observe) is introduced.“Native observability — @nestjs/observe The official NestJS Observe SDK plugs into Nest's own request lifecycle through the instrument application option, rather than patching the HTTP server like a generic APM agent.”
- Rspack is now the default bundler for monorepo projects.“Rspack is the new default bundler for monorepos.”
- oxlint replaces ESLint in newly generated projects.“oxlint replaces ESLint in generated projects.”
- Vitest becomes the default test runner for ESM projects.“Vitest is the default test runner for ESM projects; CommonJS projects continue with Jest.”
- bun is added as a supported package manager alongside npm, yarn and pnpm.“bun is now a supported package manager, alongside npm, yarn, and pnpm.”
AI-extracted from the official release notes and checked against the quoted text. Read the source
Deprecations and deadlines
The maintainer has not deprecated this version on npm.
Deprecations announced in this release
- The webpack / webpackPath (and related webpackConfigPath) flags are deprecated in favor of builder rspack.“The webpack / webpackPath flags (and their webpack / webpackConfigPath counterparts in nest cli.json) are deprecated in favor of builder rspack.”
AI-extracted from the official release notes and checked against the quoted text. Read the source
Did upgrading to 12.0.0 work for you?
Results appear once three developers have voted.