Skip to content

chore(deps): bump @nestjs/cache-manager from 3.1.3 to 12.0.0 - #699

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/nestjs/cache-manager-12.0.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/nestjs/cache-manager-12.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 9, 2026

Copy link
Copy Markdown
Contributor

Bumps @nestjs/cache-manager from 3.1.3 to 12.0.0.

Release notes

Sourced from @​nestjs/cache-manager's releases.

Release 12.0.0

What's Changed

@nestjs/cache-manager is now a native ES module, and the major version is aligned with the Nest 12 release line (there is no 4.x — 3.1.3 goes straight to 12.0.0).

ESM migration

The package is published as pure ESM ("type": "module", compiled with NodeNext) behind a proper exports map. The legacy root index.js / index.d.ts / index.ts shims are gone, and deep imports into build internals are no longer resolvable — import from the package root:

import { CacheModule, CacheInterceptor, CacheKey, CacheTTL } from '@nestjs/cache-manager';

require(esm) — CommonJS still works

You do not need to convert your app to ESM. Thanks to Node's require(esm) support, CommonJS consumers can keep using require('@nestjs/cache-manager') unchanged — the exports map points both import and require at the same ESM build, and Node loads it natively.

This is why the supported Node range is now enforced via engines:

"engines": {
  "node": "^20.19.0 || ^22.12.0 || >=24.0.0"
}

Those are the Node versions where require(esm) is available unflagged. On older Node versions, requiring this package from CommonJS will fail with ERR_REQUIRE_ESM.

Upgrading

npm i @nestjs/cache-manager@12

Checklist:

  • Ensure you're on Node ^20.19.0, ^22.12.0, or >=24.0.0.
  • Replace any deep imports (e.g. @nestjs/cache-manager/dist/...) with root imports.
  • No changes needed to CacheModule.register() / registerAsync(), interceptors, or decorators.
Commits
  • 661bc00 chore(): release v12.0.0
  • 085ae1a chore: upgrade to v12
  • 3a07e0b chore(deps): update dependency oxlint to v1.80.0 (#1152)
  • 5f1ad64 chore(deps): update nest monorepo to v11.2.3 (#1151)
  • f34fe5a chore(deps): update dependency vite to v8.2.2 (#1150)
  • 288ea83 Merge pull request #1149 from miso-kyoungminkim/cachettl-ms-comment
  • 9c08ea6 chore(deps): update dependency oxlint to v1.79.0 (#1148)
  • f2b60ee docs(cache-ttl): clarify that ttl is in milliseconds
  • f12d697 chore(deps): update dependency vitest to v4.1.11 (#1147)
  • d0030ab Merge pull request #1067 from nestjs/chore/esm-migration
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 9, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner September 9, 2026 17:06
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 9, 2026
@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown

📊 Bilingual Coverage Impact

PR Changes

  • Paired EN/ES files modified: 0
  • New EN files needing ES translation: 0

Repository Coverage

Metric Value
Total EN files 527
Total ES files 497
Paired files 0
Coverage 0%

Good: All EN changes have ES counterparts.


Generated by GitHub Actions

@beyondnetPeru

Copy link
Copy Markdown
Contributor

@dependabot rebase

Bumps [@nestjs/cache-manager](https://github.com/nestjs/cache-manager) from 3.1.3 to 12.0.0.
- [Release notes](https://github.com/nestjs/cache-manager/releases)
- [Commits](nestjs/cache-manager@3.1.3...12.0.0)

---
updated-dependencies:
- dependency-name: "@nestjs/cache-manager"
  dependency-version: 12.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/nestjs/cache-manager-12.0.0 branch from 3528a8a to 382fb53 Compare September 14, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant