Back to Explore

nestjs/typeorm

GitHub
4 updates · last 90 days1 watchersOpen source

Last release:

TypeORM module for the Nest framework (Node.js). It provides integration between Nest and TypeORM so you can build server-side applications using SQL or NoSQL with TypeORM. Useful for developers working in TypeScript/JavaScript who want database access in a Nest app.

Project status

  • Actively maintained: Recent updates are coming in active 2026 (e.g., 12.0.1 on 2026-08-28, 12.0.0 on 2026-08-27, and an upstream push on 2026-09-02), indicating ongoing development rather than dormancy.
  • Apparent cadence: Several changes cluster in short windows in late August 2026 (two releases back to back, plus another commit soon after), with the previous minor line change occurring in June 2026 (11.0.3), suggesting an evolving but not constant weekly cadence.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • 12.0.1

    Release 12.0.1 updates the package entrypoint resolution to better support CommonJS consumers by adding a default export condition to the package exports map. The changeset also bumps CI Node and several dev dependency versions, with corresponding updates in package-lock.json.

  • 12.0.0

    Release 12.0.0 converts @nestjs/typeorm to a native ESM package, aligned with the Nest 12 line, and removes the legacy root index shims. The release notes document the high-level ESM migration steps, including the Node.js minimum version requirement and the expectation that deep imports into build internals are no longer resolvable.

    Breaking
  • 11.0.3

    Release 11.0.3 changes how Nest TypeORM handles duplicate data source names at runtime. Instead of throwing a DuplicateDataSourceException, the code now logs a warning and allows the registration to proceed.

    Breaking
  • 11.0.2

    This release updates @nestjs/typeorm to improve runtime compatibility with TypeORM v1, adds support for configuring a TypeORM data source name via TypeOrmModule.forRoot second argument, and introduces runtime validation to reject duplicate data source names. It also contains substantial repository-level tooling and CI changes (Vitest, oxlint, CI workflow, updated build/test scripts).

    BreakingFeatures
  • 11.0.1

    Release 11.0.1 adds initial support for TypeORM v1.0, primarily by adjusting TypeORM module internals and Nest injection token/type definitions to align with the v1 API surface. Most release notes are limited to a single feature statement, while the code diff includes additional behavioral and compatibility changes.

    BreakingFeatures
  • 11.0.0

    Release 11.0.0 removes the deprecated keepConnectionAlive option from the TypeORM module options types, and switches UUID generation from the uuid package to Node's crypto.randomUUID(). It also bumps the Nest monorepo dependencies to the v11 line.

    Breaking
  • 10.0.2

    Release 10.0.2 primarily contains dependency and tooling updates, including bumps to Nest 10.3.x, TypeScript tooling, and several dev dependencies (lint-staged, prettier, husky, etc.). The only actual application code change shown in the diff is a typo fix in the TypeORM provider factory logic.

  • 10.0.1

    Release 10.0.1 primarily upgrades the repository toolchain and test/runtime dependencies (Node, Nest, TypeScript, linting, formatting). It also adds a new TypeORM module option related to manual initialization, changing the module startup behavior when that option is enabled.

    Features
  • 10.0.0

    Release 10.0.0 is primarily a major dependency and tooling update, including upgrading the Nest monorepo to v10, bumping TypeScript, linting, and CI Node versions. The release notes are largely a long list of chore-style dependency updates, plus minor repo maintenance like CI config and Husky/commitlint scripts.

  • 9.0.1

    Release 9.0.1 is primarily a patch release with multiple development dependency upgrades and CI image tweaks. It also includes a provider fix related to returning the correct repository implementation for TypeORM tree entities.

  • 9.0.0

    Release 9.0.0 updates this @nestjs/typeorm package to align with the NestJS v9 monorepo and refreshes a large set of dev dependency versions. Changes are primarily dependency bumps plus a small docker-compose update for the Postgres version used in tests. No application code changes are shown in the diff beyond dependency and configuration updates.

  • 8.1.4

    Release 8.1.4 is primarily a maintenance update. It marks the TypeORM module option keepConnectionAlive as deprecated, and bumps the Nest monorepo dependencies to 8.4.7 plus prettier to 2.7.0.