What typeorm/typeorm shipped
Written by FoxPlug from the repository's own releases; not affiliated with Typeorm. Paste your own repository in the box below and FoxPlug writes the same weekly update for your product. This page is an automatic summary of the releases, pull requests and commits in github.com/typeorm/typeorm; Typeorm did not write it and does not use or endorse FoxPlug. Every line links to the change it describes.
Get a weekly update like this for your product, free
Week of October 19, 2026
What shipped
- OrderBy object shorthand no longer writes a literal undefined token into the generated SQL when no nulls property is given. Pull request #12706
- Building the entity id map no longer loads lazy relations for entities created with new Entity(). Pull request #12985
- The database query result cache now releases its query runner when a deletion rejects, instead of skipping the cleanup. Pull request #12938
- QueryRunner.query now measures execution time with performance.now() instead of Date.now(). Pull request #12750
- The entity docs now document the simple-enum column type alongside simple-array and simple-json. Pull request #12981
- The Postgres driver docs page now notes that Appwrite Managed PostgreSQL works through the postgres data source type. Pull request #12859
Why it matters
This week brings two fixes that affect query results directly: a broken orderBy shorthand on every driver and lazy relations loading while the entity id map is built. It also tightens cache runner cleanup and makes query timing monotonic, plus fills two documentation gaps around simple-enum and managed Postgres.
Changelog entry
- Fix(query-builder): guard nulls in orderBy object shorthand so no literal undefined is generated Pull request #12706
- Fix: do not load lazy relations when building the entity id map Pull request #12985
- Fix: release database cache runners after failed removals Pull request #12938
- Perf: use performance.now() for query execution timing Pull request #12750
- Docs: document the simple-enum column type Pull request #12981
- Docs: note Appwrite managed PostgreSQL on the Postgres driver page Pull request #12859
This week in TypeORM: orderBy object shorthand no longer emits a literal undefined, and building the entity id map no longer loads lazy relations on new Entity(). Query timing now uses performance.now(), cache runners are released after failed removals, and simple-enum is finally
This week's changes in TypeORM: orderBy with the object shorthand no longer generates SQL containing a literal undefined token when no nulls property is given, which previously caused a syntax error on all drivers. Building the entity id map no longer loads lazy relations for entities created with new Entity(). DbQueryResultCache now releases its query runner when a deletion rejects instead of skipping cleanup, and QueryRunner.query measures execution time with performance.now() so clock changes cannot produce negative or inflated durations. On the docs side, simple-enum is now documented next to simple-array and simple-json, and the Postgres driver page notes Appwrite Managed PostgreSQL.
Week of October 5, 2026
What shipped
- Version 1.1.2 was released with dependency updates, a fix keeping the STI discriminator index on entities with embeddeds, and a consolidated pnpm workspace layout. Release
- DataSource.initialize() no longer leaks connections when called concurrently or when driver connection fails. Pull request #12704
- Date columns declared with the utc flag now detect changes correctly when the process runs west of UTC, so save() no longer drops edits. Pull request #12949
- SQL Server queries using setLock() with a two-level-deep relation chain now place the table lock hint inside the nested join parentheses, producing valid T-SQL. Pull request #12765
- SQL Server query locks are now released when beforeQuery or afterQuery subscriber hooks throw or reject, so later queries no longer wait. Pull request #12939
- Closure-table reparenting now reads primary values through column metadata, so moves across roots no longer leave stale ancestor links. Pull request #12907
- DataSource.destroy() on CockroachDB no longer hangs with multiple connected query runners because all runners are released before the pool closes. Pull request #12891
- Spatial columns declared without a feature type or SRID are now compared against Geometry and SRID 0 by default, matching what PostGIS and CockroachDB report. Pull request #12812
- Release jobs are unblocked and the Sonar scan is skipped on Dependabot pull requests. Pull request #12948
- The legacy-naming-strategies and lint jobs now reuse the build artifact instead of rebuilding the core package. Pull request #12893
Why it matters
This week brought a 1.1.2 release and a set of fixes for everyday problems: connection leaks in DataSource.initialize(), hangs on CockroachDB shutdown, dropped date edits under the utc flag, and invalid SQL Server lock hints. Users on SQL Server, Postgres, CockroachDB and closure-table entities should see fewer stuck queries and stale data after saving.
Changelog entry
- Release: version 1.1.2 with dependency updates, an STI discriminator index fix and a pnpm workspace layout. Release
- Fix(data-source): prevent connection leaks in DataSource.initialize(). Pull request #12704
- Fix(persistence): honour the utc flag when detecting changed date columns. Pull request #12949
- Fix(mssql): place table lock hint inside nested join parentheses. Pull request #12765
- Fix: release SQL Server query locks after subscriber errors. Pull request #12939
- Fix: read closure-table primary values through column metadata. Pull request #12907
- Fix(cockroachdb): release all query runners before closing pool. Pull request #12891
- Fix(postgres,cockroachdb): compare spatial columns against their default feature type and SRID. Pull request #12812
- Ci: unblock releases and skip the sonar scan on dependabot pull requests. Pull request #12948
- Ci: reuse the build artifact instead of rebuilding the core package. Pull request #12893
- Chore: release 1.1.2. Pull request #12944
1.1.2 is out. Fixes this week: DataSource.initialize() connection leaks, CockroachDB destroy hangs, utc date column edits dropped west of UTC, SQL Server lock hints in nested joins, and locks held after subscriber errors.
TypeORM 1.1.2 is now released. Alongside the release, this week's changes fix several issues that affected everyday use. DataSource.initialize() no longer leaks connections under concurrent calls or failed driver connects, and DataSource.destroy() no longer hangs on CockroachDB with multiple connected query runners. Date columns declared with utc: true now detect changes correctly when the process runs west of UTC, SQL Server setLock() queries with two-level relation chains generate valid T-SQL, and SQL Server query locks are released when subscriber hooks throw. Closure-table reparenting reads primary values through column metadata so cross-root moves stay consistent, and spatial columns without an explicit feature type or SRID are compared against the reported defaults.
Week of September 28, 2026
What shipped
- Fixed composite primary key collisions during hydration where keys like (
"a_b", "c") and ("a","b_c") would incorrectly merge into the same grouping key, causing data loss and entity combination errors. Pull request #12905 - Fixed generated columns metadata to correctly store user-defined schemas instead of always writing to the public schema in the metadata table. Pull request #12423
- Fixed documentation deployment failures for the master branch that occurred after the repository became a pnpm workspace. Pull request #12917
- Fixed Cloudflare Pages build for v0 documentation by installing dependencies from a lockfile to prevent version mismatches. Pull request #12920
- Fixed CI configuration for the pnpm workspace setup by adding ignore-workspace input to the setup-node action. Pull request #12911
- Enabled the Kapa MCP server in the main documentation widget to provide better integration with the TypeORM MCP server. Pull request #12915
- Backported the Kapa MCP server configuration to the v0.3.x documentation. Pull request #12918
Why it matters
This week focused on bug fixes for data integrity and deployment reliability. The composite primary key fix addresses a critical issue that could cause data loss in hydration, while schema metadata and CI fixes ensure the project builds and deploys correctly across its workspace setup.
Changelog entry
- Fix: prevent composite primary key collisions during hydration by encoding normalized values as JSON tuples Pull request #12905
- Fix: handle schema and table name correctly in generated columns metadata table for user-defined schemas Pull request #12423
- Ci: fix docs deployment failures under pnpm workspace layout by handling workspace configuration Pull request #12917
- Ci: install docs from pnpm lockfile to prevent docusaurus plugin version mismatches Pull request #12920
- Ci: add ignore-workspace input to setup-node action for pnpm workspace compatibility Pull request #12911
- Docs: enable Kapa MCP server in documentation widget on master branch Pull request #12915
- Docs: backport Kapa MCP server configuration to v0.3.x documentation Pull request #12918
TypeORM updates: fixed composite primary key hydration collisions that caused data loss, corrected schema metadata handling, and resolved documentation deployment issues.
TypeORM shipped critical fixes this week: composite primary keys no longer collide during hydration (preventing data loss), user-defined schemas are correctly stored in metadata, and documentation builds are now stable with the new pnpm workspace layout. These improvements enhance data reliability and project maintainability.
More from typeorm/typeorm on GitHub
Merged pull requests
- ci: stamp nightly versions before building the package (#12880, merged September 21, 2026 by michaelbromley) (source)
- chore: consolidate the repository into a pnpm workspace and move typeorm into packages (#12854, merged September 18, 2026 by michaelbromley) (source)
- fix(metadata-builder): keep the STI discriminator index on entities with embeddeds (#12841, merged September 9, 2026 by brmk) (source)
- chore: update dependencies to minor versions (#12821, merged September 2, 2026 by alumni) (source)
- chore(release): v1.1.1 (#12819, merged September 1, 2026 by alumni) (source)
- fix(query-builder): nest child joins only when outer join semantics require it (#12793, merged September 1, 2026 by lazerg) (source)
- perf: avoid quadratic grouping of raw results selected without primary keys (#12802, merged August 27, 2026 by akdfkeks) (source)
- fix(postgres): read
coord_dimensionwhen loading spatial columns (#12749, merged August 27, 2026 by samuelmbabhazi) (source) - fix(better-sqlite3): await query event subscribers and report failed queries (#12752, merged August 26, 2026 by kyungseopk1m) (source)
- fix(sqljs): measure query execution time after the statement runs (#12759, merged August 26, 2026 by kyungseopk1m) (source)
- fix: export DateUtils from the package entry point (#12566, merged August 26, 2026 by MahinAnowar) (source)
- docs: add rapiq to the extensions list in the README (#12779, merged August 26, 2026 by tada5hi) (source)