unstale

npm / @nestjs/typeorm

@nestjs/typeorm

What changed in @nestjs/typeorm 11 to 12, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.

5 breaking1 behavior and defaults2 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@nestjs/typeorm 127 changes

Breaking changes 4

  • Throws when an EntitySchema has no target or name, making the missing repository token information explicit.

    12.0.2release notes

  • Deep imports into build internals are no longer resolvable; import from the package root instead.

    12.0.0release notes

  • Node.js >=20.19.0 is now required to run the package.

    12.0.0release notes

  • @nestjs/typeorm is published as pure ESM behind an exports map; import from the package root.

    12.0.0release notes

Behavior and default changes 1

  • CommonJS applications still work through Node's require(esm) support; converting an app to ESM is not required.

    12.0.0release notes

Fixes and other changes 2

  • Resolves the named data source on shutdown for async registrations.

    12.0.2release notes

  • Adds a default condition to package exports so CJS can resolve the package.

    12.0.1release notes

@nestjs/typeorm 111 changes

Breaking changes 1

  • The deprecated keepConnectionAlive option was removed.

    11.0.0release notes