Skip to content

fix(deps): update nest monorepo to v12 - #84

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-nest-monorepo
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-nest-monorepo

Conversation

@renovate

@renovate renovate Bot commented May 17, 2025 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@nestjs/cli 10.4.4 → 12.0.10 age confidence
@nestjs/common (source) 10.4.16 → 12.2.0 age confidence
@nestjs/config 3.2.3 → 12.0.1 age confidence
@nestjs/passport 10.0.3 → 12.0.0 age confidence
@nestjs/platform-express (source) 10.4.1 → 12.2.0 age confidence
@nestjs/schematics 10.1.3 → 12.0.10 age confidence
@nestjs/testing (source) 10.4.1 → 12.2.0 age confidence

Release Notes

nestjs/nest-cli (@​nestjs/cli)

v12.0.10

Compare Source

  • feat(upgrade): offer to link the project to nestjs observe (#​3637) (c3afbba)

v12.0.9

Compare Source

What's Changed

New Contributors

Full Changelog: nestjs/nest-cli@12.0.8...12.0.9

v12.0.8

Compare Source

What's Changed

  • fix(compiler): preserve CommonJS entry exports in rspack and webpack builds by @​KAPUIST in #​3599
  • fix(compiler): preserve parent links for aliased re-exports by @​KAPUIST in #​3601

Full Changelog: nestjs/nest-cli@12.0.7...12.0.8

v12.0.7

Compare Source

What's Changed

New Contributors

Full Changelog: nestjs/nest-cli@12.0.6...12.0.7

v12.0.6

Compare Source

What's Changed

New Contributors

Full Changelog: nestjs/nest-cli@12.0.5...12.0.6

v12.0.5

Compare Source

What's Changed

New Contributors

Full Changelog: nestjs/nest-cli@12.0.4...12.0.5

v12.0.4

Compare Source

v12.0.3

Compare Source

  • chore: flip the default (f194021)

v12.0.2

Compare Source

  • chore: observe prompt changes (3a2773d)

v12.0.1

Compare Source

What's Changed

New Contributors

Full Changelog: nestjs/nest-cli@12.0.0...12.0.1

v12.0.0

Compare Source

What's Changed

@nestjs/cli is now a native ES module, and the major version is aligned with the Nest 12 release line. Alongside the ESM move, the CLI no longer bundles webpack: every bundler-related package is an optional peer dependency now, so a default install is substantially smaller and you pull in only the builder you actually use. There are also two new commands — nest upgrade and nest deploy.

ESM migration

The package is published as pure ESM ("type": "module", compiled with NodeNext). All internal imports carry explicit .js extensions and the build output is ESM-only.

For the common case this is invisible — nest is a binary, and it keeps running your CJS and ESM projects alike. It matters if you import the CLI's internals programmatically (custom builders, plugin harnesses, scripts that drive @nestjs/cli/lib/...): those imports now resolve to ESM.

webpack is no longer a dependency

webpack, fork-ts-checker-webpack-plugin, tsconfig-paths-webpack-plugin, and webpack-node-externals moved from dependencies to optional peer dependencies, joining @swc/cli and @swc/core.

If you build with tsc (the default) or with SWC, nothing changes. If you use --builder webpack (or "webpack": true in nest-cli.json), install the bundler yourself:

npm i -D webpack webpack-node-externals fork-ts-checker-webpack-plugin tsconfig-paths-webpack-plugin

When a builder's peer dependency is missing, the CLI now reports the actual missing package name instead of surfacing the raw resolution error.

Rspack support

@rspack/core is supported as an optional peer dependency (^1.7.7 || ^2.1.10) and is the builder that nest new scaffolds into nest-cli.json for new projects.

  • --builder rspack on nest build and nest start
  • --rspackPath [path] to point at a custom Rspack config, mirroring --webpackPath
  • Source maps are enabled in the Rspack defaults

New: nest upgrade

A new command (aliased nest update) that runs the upgrade schematic to migrate a Nest v11 project to v12 — dependency bumps, tsconfig and nest-cli.json migrations, and codemods for @nestjs/config, GraphQL, and NATS. See the @nestjs/schematics release notes for what the migration itself does.

nest upgrade

Options: -d, --dry-run, -s, --skip-install, -t, --tag [tag] (use a dist-tag such as next instead of the default version ranges), -c, --collection [name], and --observe / --no-observe to answer the @nestjs/observe prompt up front.

New: nest deploy

Deploy an application to the cloud, powered by Mau. Every option is forwarded verbatim to mau deploy, so the command claims no flags of its own.

nest deploy

Path confinement for build output

Build output and clean-up paths are now confined to the project directory by default. Symlinks are resolved before writing, so a dist that is itself a symlink pointing outside the project no longer lets a write escape.

Monorepo layouts that legitimately emit outside the project root can opt back out:

{
  "compilerOptions": {
    "allowOutsidePaths": true
  }
}

Monorepo and asset handling

  • Parallel builds — nest build --all --parallel [concurrency] builds monorepo projects concurrently, with an optional concurrency limit.
  • Library assets — compilerOptions.includeLibraryAssets pulls assets from libraries into an application build.
  • Watch-mode restarts — asset changes restart the application in watch mode, debounced so a burst of writes triggers one restart. The build now awaits watcher close, so it no longer races shutdown.
  • Asset path stripping is aligned with the effective TypeScript rootDir.

Compiler internals

  • glob is gone. It is replaced by an internal fs-based helper built on minimatch, which is now a direct dependency. Symlink traversal depth matches the previous behaviour.
  • A recursive fs watcher replaces chokidar in the SWC watch path.
  • SWC respects tsconfig excludes — excluded files are skipped both on build and in watch mode, and newly added files no longer inherit watch mode when transpiled.
  • --emit-declarations emits .d.ts files under the SWC builder; --no-type-check overrides the config-level setting.
  • --silent suppresses informational compiler logs.

Other improvements

  • Bun is supported as a package manager and runner, detected from bun.lock / bun.lockb.
  • nest new --skip-tests scaffolds a project without testing files, and --observe / --no-observe answers the @nestjs/observe prompt.
  • nest generate --format formats generated files with Prettier; the resource schematic accepts --type <rest|graphql|microservice> and --crud [value].
  • Clearer failures: a non-zero exit on an invalid --builder, a readable error for malformed nest-cli.json, a --parallel value that is validated instead of looping forever, and an explicit message from nest info when no @nestjs/* dependencies are declared.
  • nest info and terminal-width detection prefer process.stdout.columns over shelling out to tput.
  • Plugin metadata emits .js extensions on dynamic imports under nodenext resolution.
  • .tsbuildinfo is removed when deleteOutDir is set.

Toolchain

TypeScript 6 (~6.0.2), @angular-devkit/* 22, commander 15, @inquirer/prompts 8, ora 9, node-emoji 2, and chokidar 5. Internally the CLI moved from Jest to Vitest and from ESLint to oxlint. engines.node stays at >= 20.11.


See the migration guide for the full picture.

v11.0.24

Compare Source

  • fix(compiler): fail fast when typescript lacks the programmatic api (3c6b4ac)
  • refactor: move available languages closer to first usage (1697b7f)
  • refactor: delete unused gulp tool utility helper file (75b57c4)
  • fix(runners): remove duplicated binary in failed command message (54b08ae)

v11.0.23

Compare Source

  • Revert "fix(compiler): validate delete out dir paths before rm" (0dd0e3e)
  • Revert "fix(compiler): validate asset output paths" (728f80c)

v11.0.22

Compare Source

  • fix(cli): resolve Windows path separator bug in plugin loader (9e502bd)
  • fix(compiler): validate asset output paths (c4342b2)
  • fix: Update CRUD option to accept a value for generating entry points (4c0e2ca)
  • feat: Add type and CRUD options in generate command (b19856a)

v11.0.21

Compare Source

v11.0.20

Compare Source

v11.0.19

Compare Source

What's Changed

Full Changelog: nestjs/nest-cli@11.0.18...11.0.19

v11.0.18

Compare Source

What's Changed

New Contributors

Full Changelog: nestjs/nest-cli@11.0.17...11.0.18

v11.0.17

Compare Source

What's Changed

Full Changelog: nestjs/nest-cli@11.0.16...11.0.17

v11.0.16

Compare Source

v11.0.15

Compare Source

What's Changed

New Contributors

Full Changelog: nestjs/nest-cli@11.0.14...11.0.15

v11.0.14

Compare Source

What's Changed

New Contributors

Full Changelog: nestjs/nest-cli@11.0.13...11.0.14

v11.0.13

Compare Source

  • chore(deps): update dependency @​swc/core to v1.15.3 (#​3196) (361d050)
  • fix(deps): update dependency glob to v13 (e7e254c)
  • fix: Node v24 DEP0190 warning by removing args for shell: true (367c29b)
  • fix(deps): update dependency webpack to v5.103.0 (dcca650)

v11.0.12

Compare Source

What's Changed

Full Changelog: nestjs/nest-cli@11.0.11...11.0.12

v11.0.11

Compare Source

What's Changed

Full Changelog: nestjs/nest-cli@11.0.10...11.0.11

v11.0.10

Compare Source

What's Changed

Full Changelog: nestjs/nest-cli@11.0.9...11.0.10

v11.0.9

Compare Source

v11.0.8

Compare Source

What's Changed

Full Changelog: nestjs/nest-cli@11.0.7...11.0.8

v11.0.7

Compare Source

What's Changed

Full Changelog: nestjs/nest-cli@11.0.6...11.0.7

v11.0.6

Compare Source

What's Changed

New Contributors

Full Changelog: nestjs/nest-cli@11.0.5...11.0.6

v11.0.5

Compare Source

  • feat(swc): add reload application when compiling to mjs (d866d77)

v11.0.4

Compare Source

  • chore(deps): allow any schematics package newer or eq to v11 (5d79adf)
  • chore(deps): update dependency @​swc/core to v1.10.17 (887fa7d)

v11.0.3

Compare Source

  • fix(deps): update angular-cli monorepo to v19.1.7 (c8c8904)
  • fix(deps): update dependency ansis to v3.15.0 (72d59e1)
  • fix(deps): update dependency @​inquirer/prompts to v7.3.2 (ea34a79)
  • fix(deps): update dependency webpack to v5.98.0 (24014fc)

v11.0.2

Compare Source

  • fix: swc compiler does not watch files (8aaa9df)

v11.0.1

Compare Source

v11.0.0

Compare Source

Migration guide: https://docs.nestjs.com/migration-guide

Features and improvements
  • feat(schematics): list schematics from extended collections #​2096
  • feat: nest build --all flag #​2312
  • feat: add flag to disable shell mode for nest start --watch #​2522
  • feat!: drop uncommon variants of nest cli config file name #​2769
  • feat: add support for --env-file flag #​2818
Dependencies
  • fix(deps): update dependency glob to v11 #​2788
  • chore/upgrade inquirer package #​2718
  • fix(deps): update dependency chokidar to v4 #​2734
  • fix(deps): update angular-cli monorepo to v19 #​2811

v10.4.9

Compare Source

  • Merge pull request #​2838 from yifanwww/fix/webpack-ignore-lazy-imports (3d0fe0b)
  • fix: add missing class-transformer/storage in lazy import list (a1cc6cf)
  • Merge pull request #​2815 from nestjs/renovate/typescript-5.x (4af113e)

v10.4.8

Compare Source

  • Merge pull request #​2792 from nestjs/fix/type-check-error-2791 (5be20eb)
  • Merge pull request #​2797 from nestjs/renovate/tsconfig-paths-webpack-plugin-4.x (6d77fd3)
  • Merge pull request #​2800 from caucik/webpack-fix-branch (9ec2d5e)
  • fix: webpack default config - IgnorePlugin (83c5cfc)
  • fix(deps): update dependency tsconfig-paths-webpack-plugin to v4.2.0 (ebdfb32)
  • chore(deps): update dependency @​swc/core to v1.9.2 (#​2794) (ed9d8b8)
  • fix: show type check warning only when builder is not swc #​2791 (2e23003)
  • fix(deps): update dependency glob to v10.4.5 (7aba481)

v10.4.7

Compare Source

  • Merge pull request #​2786 from nestjs/revert-2642-renovate/glob-11.x (0ff0a01)
  • Revert "fix(deps): update dependency glob to v11" (7af719e)

v10.4.6

Compare Source

  • build: allow js, clean artificats in ci (7bc0b3f)
  • chore(deps): update dependency ts-jest to v29.2.5 (41ce50b)
  • fix(deps): update dependency typescript to v5.6.3 (067a119)
  • Merge pull request #​2784 from nestjs/renovate/node-22.x (f3bd8b0)
  • Merge pull request #​2778 from nestjs/renovate/swc-monorepo (008ab68)
  • Merge pull request #​2780 from nestjs/renovate/webpack-5.x (d708ea9)
  • Merge pull request #​2764 from nestjs/renovate/angular-cli-monorepo (d8ae02b)
  • fix: add missing type argument (df91c49)
  • Merge branch 'addun-fix-issue-2653' (041a184)
  • chore: resolve conflicts (486ac60)
  • Merge pull request #​2415 from yigitkurtcu/feat/generate-options-base-url (537dfa7)
  • Merge pull request #​2716 from nestjs/renovate/angular-cli-monorepo (ef0ff51)
  • Merge pull request #​2642 from nestjs/renovate/glob-11.x (c7e2e01)
  • fix(deps): update angular-cli monorepo to v17.3.10 (960e65f)
  • Merge pull request #​2743 from nestjs/renovate/webpack-5.x (b750ead)
  • Merge pull request #​2754 from nestjs/renovate/nest-monorepo (603721e)
  • fix(deps): update dependency @​nestjs/schematics to v10.2.2 (f062e99)
  • fix: unification copy behavior between watched and not watched assets (3664ed0)
  • fix(deps): update dependency glob to v11 (fc6e7a1)
  • feat: basedir option added to configuration for generate command (877b6bd)

v10.4.5

Compare Source

nestjs/nest (@​nestjs/common)

v12.2.0

Compare Source

v12.2.0 (2026-10-19)
Notable changes

New options

  • @Sse({ maxPendingDataLength }) sets how many characters of event data may wait for a client that is not reading its events (4M by default; 0 or Infinity lifts the limit) – 2f05ad954e
  • IoAdapter and WsAdapter take maxConcurrentMessages, the number of a client's messages handled at once (1000 by default; Infinity lifts it) – 0bd0810ed7
  • ValidationPipe takes maxErrorMessagesLength (1,000,000 characters by default); messages past it are replaced by a "Further validation errors were omitted" entry – 086c1c514f
  • Kafka: parser.maxMessageSize (16 MiB after decompression by default); larger messages are logged and skipped – 9bdf844fca
  • TCP server: drainTimeout (30 s by default, 0 disables) disconnects a peer that leaves its responses unread – 583d6077ad
  • MQTT server: reconnectOnConnackError is now enabled by default, so a refused connection attempt is retried; set it to false for the previous behaviour – a63cea600a
  • HttpServer.getRouteMatchingOptions(), an optional adapter hook that tells core how the router matches paths (see "Middleware exclusions" below) – 08d8677c8d

New defaults and behaviour changes

  • @nestjs/platform-express, @nestjs/platform-fastify: fieldNestingDepth and fieldArrayIndexLimit (#​18074) now default to 32 and 1000; set them to Infinity to lift the limits – 94fcc93770
  • ValidationPipe validates with validationError.target: false unless the options set it, so an exceptionFactory that reads error.target gets undefined; set validationError.target to true for the old errors – 8c5a59bf63
  • ValidationPipe answers an array or a primitive sent for a validated class with a 400 – 197371c1f3
  • FileTypeValidator matches a string fileType up to the end of a name (e.g. font/woff no longer accepts font/woff2; use a RegExp for that) – 770c6f1a19
  • @SerializeOptions({}) on a handler no longer turns off the class schema – d27cb7017f
  • BaseExceptionFilter answers http-errors errors created with expose: false (the default from 500) with the standard reason phrase instead of their message – 9ed572f853
  • A StreamableFile error still gets a 400, but the body no longer carries the error message – [2f28d91afb](https://redirect.github.com/nestjs/nest/commit/2f28d91afb743e9475de72521cb87cf8c

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented May 17, 2025 •

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: museum-api@1.2.0
npm error Found: @nestjs/common@12.2.0
npm error node_modules/@nestjs/common
npm error   @nestjs/common@"12.2.0" from the root project
npm error   peer @nestjs/common@"^12.0.0" from @nestjs/platform-express@12.2.0
npm error   node_modules/@nestjs/platform-express
npm error     @nestjs/platform-express@"12.2.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @nestjs/common@"^10.0.0" from @nestjs/core@10.4.1
npm error node_modules/@nestjs/core
npm error   @nestjs/core@"10.4.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2026-10-22T13_22_20_521Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2026-10-22T13_22_20_521Z-debug-0.log

@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from a720117 to a848385 Compare May 26, 2025 06:36
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from a848385 to 1a57328 Compare June 6, 2025 20:53
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from 1a57328 to ad1a319 Compare July 5, 2025 16:50
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 2 times, most recently from 552cdd8 to aaa6b1e Compare July 18, 2025 10:03
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 3 times, most recently from f7494fb to 7393c52 Compare July 31, 2025 11:59
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from 7393c52 to 3cf2970 Compare August 7, 2025 09:51
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from 3cf2970 to a5359bf Compare October 3, 2025 12:52
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from a5359bf to 20f45e6 Compare October 10, 2025 18:34
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 2 times, most recently from 2aa84be to cdeae7a Compare October 27, 2025 12:52
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 2 times, most recently from 39a1593 to 9bb81c1 Compare November 14, 2025 16:11
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 2 times, most recently from 6d922bc to fa53554 Compare November 19, 2025 09:37
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 4 times, most recently from bd2fcfa to f8dff84 Compare December 3, 2025 19:49
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from f8dff84 to 9c95a70 Compare December 22, 2025 12:42
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from 9c95a70 to 9f8c06b Compare December 29, 2025 16:31
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 2 times, most recently from 11daee7 to 3142a40 Compare January 15, 2026 20:37
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 2 times, most recently from 54f5f97 to ac89004 Compare February 4, 2026 12:40
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from ac89004 to a177456 Compare February 17, 2026 19:38
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from a177456 to 68d15ab Compare March 3, 2026 14:41
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 2 times, most recently from 93998d6 to ff20c9a Compare May 14, 2026 10:17
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 3 times, most recently from 1658329 to a257d95 Compare May 25, 2026 09:39
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 3 times, most recently from 60781ed to b835b7f Compare June 9, 2026 09:32
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from b835b7f to b6fec6a Compare June 15, 2026 10:07
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 2 times, most recently from e549a09 to 2abda82 Compare July 10, 2026 18:57
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 2 times, most recently from 7cabbd6 to 67a4fe3 Compare August 14, 2026 19:52
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 2 times, most recently from dc8aa22 to 42dd4b3 Compare August 27, 2026 12:51
@renovate renovate Bot changed the title fix(deps): update nest monorepo (major) fix(deps): update nest monorepo to v12 Aug 27, 2026
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 5 times, most recently from 6e0bafd to b9a50da Compare September 16, 2026 20:09
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 5 times, most recently from 51c2c19 to 3a5e7b1 Compare September 25, 2026 12:19
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 2 times, most recently from 54848ff to 7e50baf Compare October 1, 2026 11:04
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from 7e50baf to 40c312d Compare October 12, 2026 10:11

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants