npm / @nestjs/mongoose
@nestjs/mongoose
What changed in @nestjs/mongoose 12, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.
3 breaking
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@nestjs/mongoose 123 changes
Breaking changes 3
The package is published as pure ESM; import its APIs from the package root.
Deep imports into build internals are no longer resolvable; import from the package root instead.
CommonJS loading through require(esm) requires Node.js 20.19+ or 22.12+; on older versions, load the package with dynamic import().