# TypeORM changelog > An ORM for TypeScript and JavaScript supporting both Active Record and Data Mapper. - Vendor: TypeORM - Category: Frameworks & Libraries - Official site: https://typeorm.io - Tracked by: What's New (https://whatsnew.fyi/product/typeorm) - Harvested from: GitHub (typeorm/typeorm) - Entries below: 10 (newest first) What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. ## Releases ### 0.3.31 - Date: 2026-07-13 - Version: 0.3.31 - Original notes: https://github.com/typeorm/typeorm/releases/tag/0.3.31 - Permalink: https://whatsnew.fyi/product/typeorm/releases/0.3.31 - **fixed** — Release query runner on error in storeInCache - **fixed** — Correct grammar in AlreadyHasActiveConnectionError message - **fixed** — Default invalidWhereValuesBehavior to throw on the write path in entity-manager - **fixed** — Validate where criteria in increment/decrement operations - **fixed** — Use cursor.transform for doc to entity transformation in MongoDB and skip load broadcast in next if toArray - **fixed** — Move hashing function to PlatformTools - **fixed** — Fix multiple recursive CTE problems - **fixed** — Fix normalization of FindOptionsWhere for arrays and Buffers - **fixed** — Preserve select false columns on the in-memory entity after save() - **fixed** — Improve normalizeDatetimeFunction for tstzrange data type in PostgreSQL - **fixed** — Reject empty where criteria on update and delete operations in query-builder - **fixed** — Wrap inner joins under left joins correctly - **fixed** — Remove require() calls that break bundlers - **fixed** — Fix tree entity schema propagation in internal TreeRepository methods ###### Bug Fixes - **cache:** release query runner on error in storeInCache ([#12545](https://github.com/typeorm/typeorm/issues/12545)) ([a84b9b3](https://github.com/typeorm/typeorm/commit/a84b9b3d39c44cc0e5809b4680a5f046bda602cd)) - correct grammar in AlreadyHasActiveConnectionError message ([#12554](https://github.com/typeorm/typeorm/issues/12554)) ([304d129](https://github.com/typeorm/typeorm/commit/304d1290a4b6bd47d7d38269bae6a8514f378c9c)) - **entity-manager:** default invalidWhereValuesBehavior to throw on the write path ([#12690](https://github.com/typeorm/typeorm/issues/12690)) ([44d8052](https://github.com/typeorm/typeorm/commit/44d8052ba4d226364c26e722826340d4ceb1419b)) - **entity-manager:** validate where criteria in increment/decrement ([#12692](https://github.com/typeorm/typeorm/issues/12692)) ([8a51b75](https://github.com/typeorm/typeorm/commit/8a51b756bf31c885da1e1d92cb17d94819c7040a)) - **mongodb:** use cursor.transform for doc to entity transformation and skip load broadcast in next if toArray ([#11926](https://github.com/typeorm/typeorm/issues/11926)) ([0bbefc9](https://github.com/typeorm/typeorm/commit/0bbefc914ef69b3826a4a2075b0b008c9a02e807)) - move hashing function to PlatformTools ([#12648](https://github.com/typeorm/typeorm/issues/12648)) ([c456cbd](https://github.com/typeorm/typeorm/commit/c456cbd5d40aa2e797314bd202956449f64efbac)) - multiple recursive cte problems ([#12490](https://github.com/typeorm/typeorm/issues/12490)) ([7c26654](https://github.com/typeorm/typeorm/commit/7c26654f430a7190c331242d68e75111fb334ea3)) - normalization of FindOptionsWhere for arrays and Buffers ([#12577](https://github.com/typeorm/typeorm/issues/12577)) ([a8173fc](https://github.com/typeorm/typeorm/commit/a8173fcdf325c44bf3eb2101c6318b45c573102b)) - **persistence:** preserve select false columns on the in-memory entity after save() ([#12501](https://github.com/typeorm/typeorm/issues/12501)) ([324c46c](https://github.com/typeorm/typeorm/commit/324c46cd8669270dd5f22173cd78a7cab591349c)) - **postgres:** improve normalizeDatetimeFunction for tstzrange data type ([#12182](https://github.com/typeorm/typeorm/issues/12182)) ([bf47c9f](https://github.com/typeorm/typeorm/commit/bf47c9f1171b15523292e8914cfbdcfee542ef07)) - **query-builder:** reject empty where criteria on update and delete operations ([#12629](https://github.com/typeorm/typeorm/issues/12629)) ([81b9466](https://github.com/typeorm/typeorm/commit/81b946625d84bcf3ce720fea7d406003270169ee)) - **query-builder:** wrap inner joins under left joins correctly ([#11137](https://github.com/typeorm/typeorm/issues/11137)) ([d5f4b9d](https://github.com/typeorm/typeorm/commit/d5f4b9d7e0f0aca63a9dd66e7ae26a15f7e8eee0)) - remove `require()` calls that break bundlers ([#12647](https://github.com/typeorm/typeorm/issues/12647)) ([30f9fc7](https://github.com/typeorm/typeorm/commit/30f9fc717bcfaa472d56680437105a6b9581014d)) - **tree-entity:** tree entity schema propagation in internal TreeRepository methods ([#12590](https://github.com/typeorm/typeorm/issues/12590)) ([7fb7c2c](https://github.com/typeorm/typeorm/commit/7fb7c2c7c30d57489921eed458dfb97a5d08d4b8)) **Full Changelog**: https://github.com/typeorm/typeorm/compare/0.3.30...0.3.31 ### 1.1.0 - Date: 2026-07-13 - Version: 1.1.0 - Original notes: https://github.com/typeorm/typeorm/releases/tag/1.1.0 - Permalink: https://whatsnew.fyi/product/typeorm/releases/1.1.0 - **fixed** — Preserve select false columns on the in-memory entity after save() - **fixed** — Release query runner on error in storeInCache - **fixed** — Multiple recursive CTE problems - **fixed** — Correct grammar in AlreadyHasActiveConnectionError message - **fixed** — Normalization of FindOptionsWhere for arrays and Buffers - **fixed** — Improve normalizeDatetimeFunction for tstzrange data type in PostgreSQL - **fixed** — Use cursor.transform for doc to entity transformation and skip load broadcast in next if toArray in MongoDB - **fixed** — Wrap inner joins under left joins correctly in query builder - **fixed** — Tree entity schema propagation in internal TreeRepository methods - **added** — Support distinct count - **fixed** — Move hashing function to PlatformTools - **fixed** — Remove require() calls that break bundlers - **fixed** — Reject empty where criteria on update and delete operations in query builder - **fixed** — Default invalidWhereValuesBehavior to throw on the write path in entity manager - **fixed** — Validate where criteria in increment/decrement in entity manager - **changed** — Clarify extra option as driver-native escape hatch in data source documentation ##### What's Changed * chore(legacy-naming-strategies): bump to 1.0.0 by @michaelbromley in https://github.com/typeorm/typeorm/pull/12518 * docs(blog): create v1 post by @naorpeled in https://github.com/typeorm/typeorm/pull/12364 * docs(data-source): clarify extra option as driver-native escape hatch by @naorpeled in https://github.com/typeorm/typeorm/pull/12368 * chore(deps): bump github/codeql-action from 4.35.4 to 4.35.5 in the github-actions-official group by @dependabot[bot] in https://github.com/typeorm/typeorm/pull/12528 * chore(deps): bump ws from 8.20.0 to 8.20.1 in /docs by @dependabot[bot] in https://github.com/typeorm/typeorm/pull/12515 * chore(deps): bump webpack-dev-server from 5.2.3 to 5.2.4 in /docs by @dependabot[bot] in https://github.com/typeorm/typeorm/pull/12516 * chore(deps): bump the github-actions-third-party group across 1 directory with 2 updates by @dependabot[bot] in https://github.com/typeorm/typeorm/pull/12529 * test: make Postgres custom extension installation test reusable locally by @OSA413 in https://github.com/typeorm/typeorm/pull/12538 * chore(deps): bump uuid from 10.0.0 to 11.1.1 by @dependabot[bot] in https://github.com/typeorm/typeorm/pull/12536 * chore(deps): bump github/codeql-action from 4.35.5 to 4.36.0 in the github-actions-official group by @dependabot[bot] in https://github.com/typeorm/typeorm/pull/12550 * fix(persistence): preserve select false columns on the in-memory entity after save() by @tada5hi in https://github.com/typeorm/typeorm/pull/12501 * chore(deps): bump the github-actions-official group with 2 updates by @dependabot[bot] in https://github.com/typeorm/typeorm/pull/12561 * fix(cache): release query runner on error in storeInCache by @francisjohnjohnston-web in https://github.com/typeorm/typeorm/pull/12545 * ci: add PR triage workflow for issue linkage and duplicate detection by @smith-xyz in https://github.com/typeorm/typeorm/pull/12469 * fix: multiple recursive cte problems by @twooster in https://github.com/typeorm/typeorm/pull/12490 * fix: correct grammar in AlreadyHasActiveConnectionError message by @DucMinhNe in https://github.com/typeorm/typeorm/pull/12554 * fix: normalization of FindOptionsWhere for arrays and Buffers by @alumni in https://github.com/typeorm/typeorm/pull/12577 * chore(deps): bump github/codeql-action from 4.36.1 to 4.36.2 in the github-actions-official group across 1 directory by @dependabot[bot] in https://github.com/typeorm/typeorm/pull/12572 * test: rename github-issue 7558 test file name by @Cprakhar in https://github.com/typeorm/typeorm/pull/12581 * fix(postgres): improve normalizeDatetimeFunction for tstzrange data type by @Cprakhar in https://github.com/typeorm/typeorm/pull/12182 * fix(mongodb): use cursor.transform for doc to entity transformation and skip load broadcast in next if toArray by @Cprakhar in https://github.com/typeorm/typeorm/pull/11926 * fix(query-builder): wrap inner joins under left joins correctly by @harm-less in https://github.com/typeorm/typeorm/pull/11137 * ci: add healthcheck for oracle by @Cprakhar in https://github.com/typeorm/typeorm/pull/12591 * fix(tree-entity): tree entity schema propagation in internal TreeRepository methods by @xEverth in https://github.com/typeorm/typeorm/pull/12590 * chore(deps): bump the github-actions-third-party group across 1 directory with 2 updates by @dependabot[bot] in https://github.com/typeorm/typeorm/pull/12589 * feat: support distinct count by @Cprakhar in https://github.com/typeorm/typeorm/pull/11965 * chore(deps): bump serialize-javascript from 6.0.2 to 7.0.5 (via audit fix) in /packages/codemod by @dependabot[bot] in https://github.com/typeorm/typeorm/pull/12534 * fix: move hashing function to PlatformTools by @alumni in https://github.com/typeorm/typeorm/pull/12648 * fix: remove require() calls that break bundlers by @alumni in https://github.com/typeorm/typeorm/pull/12647 * fix(query-builder): reject empty where criteria on update and dele _[Truncated at 4000 characters — full notes: https://github.com/typeorm/typeorm/releases/tag/1.1.0]_ ### 1.0.0 - Date: 2026-05-19 - Version: 1.0.0 - Original notes: https://github.com/typeorm/typeorm/releases/tag/1.0.0 - Permalink: https://whatsnew.fyi/product/typeorm/releases/1.0.0 - **added** — Support for PostgreSQL indices - **added** — Error handling and log warning for ormconfig loading failures - **added** — Better typing for conditions in increment and decrement of EntityManager - **added** — Support for installing additional postgres extensions - **added** — Deferrable support to exclusion decorator to mirror unique and index decorators - **added** — Support for INSERT INTO ... SELECT FROM ... in QueryBuilder - **changed** — PostgreSQL enum value changes now use ADD VALUE when possible - **changed** — Replace uuid with native Crypto API - **fixed** — Include joined entity primary keys in pagination subquery - **fixed** — Preserve structured query results during transaction retry replay in CockroachDB - **fixed** — getPendingMigrations unnecessarily creating migrations table - **fixed** — Copy cordova query rows affected into query result - **fixed** — Resolve nameless TableForeignKey on drop foreign key - **fixed** — Virtual property handling in schema builder - **fixed** — Correctly process embedded arrays of nested documents in MongoDB - **fixed** — Fix working with tables with quotes in the names for PostgreSQL and CockroachDB - **fixed** — getVersion returning undefined for PolarDB-X 2.0 - **fixed** — Raw select query with correctly ordered selected columns - **fixed** — Update child's mpath - **fixed** — Merging into an entity now respects null values - **removed** — Legacy expo driver TypeORM v1.0 is here! 🥳 > **👉 For a structured walk-through of the changes in v1.0 — breaking changes, new features, security fixes, and the upgrade path from 0.3.x — see the [v1.0 Release Notes](https://typeorm.io/docs/releases/1.0/release-notes).** > **This release includes breaking changes. See the [v1.0 Upgrade Guide](https://typeorm.io/docs/releases/1.0/upgrading-from-0.3)** ##### What's Changed * fix: include joined entity primary keys in pagination subquery by @mag123c in https://github.com/typeorm/typeorm/pull/11669 * feat(postgres): add support for PostgreSQL indices by @freePixel in https://github.com/typeorm/typeorm/pull/11318 * refactor!: remove legacy expo driver by @G0maa in https://github.com/typeorm/typeorm/pull/11860 * fix(cockroachdb): preserve structured query results during txn retry replay by @naorpeled in https://github.com/typeorm/typeorm/pull/11861 * docs: add version dropdown (stable/dev) to master by @naorpeled in https://github.com/typeorm/typeorm/pull/11862 * docs: link to queryrunner api docs from top level queryrunner page by @hughrawlinson in https://github.com/typeorm/typeorm/pull/11869 * feat: add error handling and log warning for ormconfig loading failures by @Cprakhar in https://github.com/typeorm/typeorm/pull/11871 * refactor: remove shajs by @G0maa in https://github.com/typeorm/typeorm/pull/11864 * ci: setup pnpm by @alumni in https://github.com/typeorm/typeorm/pull/11881 * chore(docs): move to PNPM by @naorpeled in https://github.com/typeorm/typeorm/pull/11884 * feat: add better typing for conditions in `increment` and `decrement` of `EntityManager` by @OSA413 in https://github.com/typeorm/typeorm/pull/11294 * fix: getPendingMigrations unnecessarily creating migrations table by @pkuczynski in https://github.com/typeorm/typeorm/pull/11672 * fix: copy cordova query rows affected into query result by @jacobg in https://github.com/typeorm/typeorm/pull/10873 * fix: resolve nameless TableForeignKey on drop foreign key by @taichunmin in https://github.com/typeorm/typeorm/pull/10744 * feat(docs): add Kapa.ai widget for AI-powered documentation assistance by @dlhck in https://github.com/typeorm/typeorm/pull/11891 * fix: virtual property handling in schema builder by @skyran1278 in https://github.com/typeorm/typeorm/pull/11000 * fix(mongo): correctly process embedded arrays of nested documents by @mciuchitu in https://github.com/typeorm/typeorm/pull/10940 * feat(postgres): use `ADD VALUE` when changing enum values if possible by @janzipek in https://github.com/typeorm/typeorm/pull/10956 * test: add mutation testing and mutation score badge by @OSA413 in https://github.com/typeorm/typeorm/pull/11253 * fix: change import for process dependency by @yohannpoli in https://github.com/typeorm/typeorm/pull/11248 * chore(tests): adapt Stryker mutator to pnpm and fix markup in README for badges by @OSA413 in https://github.com/typeorm/typeorm/pull/11893 * chore(tests): send only mutation score to the Stryker dashboard by @OSA413 in https://github.com/typeorm/typeorm/pull/11895 * fix: fix working with tables with quotes in the names for postgres and cockroachdb by @iskalyakin in https://github.com/typeorm/typeorm/pull/10993 * refactor: replace uuid with native Crypto API by @mag123c in https://github.com/typeorm/typeorm/pull/11769 * fix(mysql): getVersion returning undefined for PolarDB-X 2.0 by @Missna in https://github.com/typeorm/typeorm/pull/11837 * test: align file names by @gioboa in https://github.com/typeorm/typeorm/pull/11898 * ci: ensure pull request follow conventional commits spec by @pkuczynski in https://github.com/typeorm/typeorm/pull/11840 * feat(qodo): enable new review experience by @naorpeled in https://github.com/typeorm/typeorm/pull/11909 * test: modify tests to confirm `ON CONFLICT ON CONSTRAINT` on PostgreSQL/CockroachDB by @Cprakhar in https://github.com/typeorm/typeorm/pull/11908 * feat: add support for installing additional postgres extensio _[Truncated at 4000 characters — full notes: https://github.com/typeorm/typeorm/releases/tag/1.0.0]_ ### 0.3.30 - Date: 2026-05-18 - Version: 0.3.30 - Original notes: https://github.com/typeorm/typeorm/releases/tag/0.3.30 - Permalink: https://whatsnew.fyi/product/typeorm/releases/0.3.30 - **fixed** — Scope invalidWhereValuesBehavior to high-level abstractions only - **fixed** — Scope computed-columns join to correct table in MSSQL schema query - **fixed** — Preserve user-defined shared join columns in change set - **fixed** — Allow array values in JsonContains - **fixed** — Adjust join in loadTables to load correct table columns in CockroachDB ##### What's Changed * fix: scope invalidWhereValuesBehavior to high-level abstractions only by @naorpeled in https://github.com/typeorm/typeorm/pull/11878 * fix: scope computed-columns join to correct table in MSSQL schema query by @PreAgile in https://github.com/typeorm/typeorm/pull/12288 * fix: preserve user-defined shared join columns in change set by @PreAgile in https://github.com/typeorm/typeorm/pull/12354 * revert: fix up limit with joins by @alumni * fix(find-options): allow array values in JsonContains by @kyungseopk1m in https://github.com/typeorm/typeorm/pull/12420 * fix(cockroachdb): adjust join in loadTables to load correct table columns by @Cprakhar in https://github.com/typeorm/typeorm/pull/12413 * ci: use the v0.3 branch as base for detect-changes by @alumni * chore(release): release 0.3.30 by @alumni in https://github.com/typeorm/typeorm/pull/12511 **Full Changelog**: https://github.com/typeorm/typeorm/compare/0.3.29...0.3.30 ### 0.3.29 - Date: 2026-05-08 - Version: 0.3.29 - Original notes: https://github.com/typeorm/typeorm/releases/tag/0.3.29 - Permalink: https://whatsnew.fyi/product/typeorm/releases/0.3.29 - **fixed** — Fix aggregate methods ambiguous column issue - **fixed** — Prevent eager-loaded entities from overwriting manual relations - **fixed** — Release query runner when there is no migration to revert - **fixed** — Add async to the method using setFindOptions() - **fixed** — QueryBuilder parameter of type JS Date not escaped correctly in SAP - **fixed** — Redis cache version detection - **security** — Validate limit() in Update/SoftDelete query builders - **added** — Add pool timeout for SAP - **added** — Add returning option to update/upsert operations ##### What's Changed * fix: fix up aggregate methods ambiguous column by @Cprakhar in https://github.com/typeorm/typeorm/pull/11822 * fix: prevent eager-loaded entities from overwriting manual relations by @LeviHeber in https://github.com/typeorm/typeorm/pull/11267 * fix: release query runner when there is no migration to revert by @mjr128 in https://github.com/typeorm/typeorm/pull/11232 * fix: add async to the method using setFindOptions() by @bindon in https://github.com/typeorm/typeorm/pull/10787 * chore: disable eslint errors for chai assertions by @alumni in https://github.com/typeorm/typeorm/pull/11833 * ci(tests): Remove limitation of branches to run on by @OSA413 in https://github.com/typeorm/typeorm/pull/11794 * ci: upgrade actions to v6 by @pkuczynski in https://github.com/typeorm/typeorm/pull/11844 * docs(v0.3): add version dropdown (stable/dev) by @naorpeled in https://github.com/typeorm/typeorm/pull/11863 * fix(sap): `QueryBuilder` parameter of type JS `Date` not escaped correctly by @alumni in https://github.com/typeorm/typeorm/pull/11867 * feat(sap): add pool timeout by @alumni in https://github.com/typeorm/typeorm/pull/11868 * feat(qodo): enable new review experience in v0.3 by @naorpeled in https://github.com/typeorm/typeorm/pull/11910 * feat: add `returning` option to update/upsert operations by @naorpeled in https://github.com/typeorm/typeorm/pull/11782 * test: enable repository-returning test by @gioboa in https://github.com/typeorm/typeorm/pull/11913 * chore(qodo): disable in progress notification in v0.3 by @naorpeled in https://github.com/typeorm/typeorm/pull/11928 * ci(docs): add deploy Github Action to v0.3 branch by @naorpeled in https://github.com/typeorm/typeorm/pull/11929 * chore(qodo): disable persistent comments and inline code suggestions in v0.3 by @naorpeled in https://github.com/typeorm/typeorm/pull/11989 * chore(deps): update all dependencies to the latest minor version by @alumni in https://github.com/typeorm/typeorm/pull/12015 * fix(redis): redis cache version detection by @mguida22 in https://github.com/typeorm/typeorm/pull/11936 * ci: remove summary comments location policy by @naorpeled in https://github.com/typeorm/typeorm/pull/12117 * ci(qodo): remove /improve from pr and push commands by @naorpeled in https://github.com/typeorm/typeorm/pull/12129 * ci: migrate from npm to pnpm by @pkuczynski in https://github.com/typeorm/typeorm/pull/12193 * ci(qodo): sync qodo pr agent config from master by @naorpeled in https://github.com/typeorm/typeorm/pull/12265 * ci: remove docs indexing by @alumni in https://github.com/typeorm/typeorm/pull/12435 * fix(security): validate limit() in Update/SoftDelete query builders by @smith-xyz in https://github.com/typeorm/typeorm/pull/12437 * chore(deps): update all minor by @alumni in https://github.com/typeorm/typeorm/pull/12443 * chore(release): release 0.3.29 by @michaelbromley in https://github.com/typeorm/typeorm/pull/12442 ##### New Contributors * @LeviHeber made their first contribution in https://github.com/typeorm/typeorm/pull/11267 * @mjr128 made their first contribution in https://github.com/typeorm/typeorm/pull/11232 * @bindon made their first contribution in https://github.com/typeorm/typeorm/pull/10787 **Full Changelog**: https://github.com/typeorm/typeorm/compare/0.3.28...0.3.29 ### 0.3.28 - Date: 2025-12-03 - Version: 0.3.28 - Original notes: https://github.com/typeorm/typeorm/releases/tag/0.3.28 - Permalink: https://whatsnew.fyi/product/typeorm/releases/0.3.28 - **added** — Support for jsonpath column type in PostgreSQL - **added** — Entity schema support for trees - **added** — CLI init command now picks dependency versions from TypeORM's own package.json - **added** — Vector type support for MS SQL Server - **added** — Export QueryPartialEntity and QueryDeepPartialEntity types - **added** — MongoDB connector now includes SOCKS5 proxy settings - **added** — Vector column support on MariaDB and MySQL - **added** — Initialize version in PostgreSQL driver only if not already set - **fixed** — Add multiSubnetFailover to MSSQL driver option types - **fixed** — Circular import in SapDriver.ts - **fixed** — CLI init command reading package.json from two folders up - **fixed** — Upgrade glob to fix CVE-2025-64756 - **fixed** — Typesense doc sync - **changed** — Migrate code coverage from nyc to c8 ##### What's Changed * build(deps): bump brace-expansion from 2.0.1 to 2.0.2 in /sample/playground by @dependabot[bot] in https://github.com/typeorm/typeorm/pull/11522 * chore: update dependencies by @alumni in https://github.com/typeorm/typeorm/pull/11666 * chore: fix package preview by @alumni in https://github.com/typeorm/typeorm/pull/11542 * fix: add multiSubnetFailover to mssql driver option types by @isaru66 in https://github.com/typeorm/typeorm/pull/10804 * ci: introduce jsdoc eslint plugin (warnings only) by @pkuczynski in https://github.com/typeorm/typeorm/pull/11681 * feat: add support for `jsonpath` column type in PostgreSQL by @pkuczynski in https://github.com/typeorm/typeorm/pull/11684 * feat: entity schema support trees by @wszgrcy in https://github.com/typeorm/typeorm/pull/11606 * ci: remove close stale issues GH action by @gioboa in https://github.com/typeorm/typeorm/pull/11696 * docs: remove unused docs example file by @pkuczynski in https://github.com/typeorm/typeorm/pull/11675 * docs: updated jsdoc link to PostgreSQL documentation for data types by @pkuczynski in https://github.com/typeorm/typeorm/pull/11680 * ci: bump actions/setup-node to v5 and benefit from automatic caching by @pkuczynski in https://github.com/typeorm/typeorm/pull/11709 * feat(cli/init): pick dependencies versions from our own package.json by @pkuczynski in https://github.com/typeorm/typeorm/pull/11705 * chore(lint/jsdoc): enable jsdoc/valid-types rule and fix offenses by @pkuczynski in https://github.com/typeorm/typeorm/pull/11706 * chore(docs): ehnance llms.txt by @naorpeled in https://github.com/typeorm/typeorm/pull/11711 * ci: bump actions/checkout version by @gioboa in https://github.com/typeorm/typeorm/pull/11712 * ci: harmonize MongoDB version used in CI, local development environment and `init` command and bump to v8 by @pkuczynski in https://github.com/typeorm/typeorm/pull/11704 * docs: remove contradictory statement in Active Record/Data Mapper guide by @ericmorand in https://github.com/typeorm/typeorm/pull/11722 * Fix typos in documentation / hacktoberfest by @survivant in https://github.com/typeorm/typeorm/pull/11713 * MongoDB connector now includes SOCKS5 proxy settings by @Kumar-Kishan in https://github.com/typeorm/typeorm/pull/11731 * docs: fix link to email, when vulnerability found by @pkuczynski in https://github.com/typeorm/typeorm/pull/11667 * style: remove commented out code in FindOptionsUtils by @DeeprajPandey in https://github.com/typeorm/typeorm/pull/11721 * docs: collect all migrations documentation in one place by @pkuczynski in https://github.com/typeorm/typeorm/pull/11674 * lint: fix offenses for @typescript-eslint/no-unused-vars rule in samples folder by @pkuczynski in https://github.com/typeorm/typeorm/pull/11757 * lint: fix offenses for @typescript-eslint/no-unused-vars rule in tests folder by @pkuczynski in https://github.com/typeorm/typeorm/pull/11755 * docs: fix typos in the js documentation by @pkuczynski in https://github.com/typeorm/typeorm/pull/11754 * fix: circular import in SapDriver.ts by @abendi in https://github.com/typeorm/typeorm/pull/11750 * chore(dev-deps): bump eslint and update config by @pkuczynski in https://github.com/typeorm/typeorm/pull/11756 * docs: fix broken migration links by @mguida22 in https://github.com/typeorm/typeorm/pull/11760 * ci: test if docs build and run task depending on the changes from PR by @pkuczynski in https://github.com/typeorm/typeorm/pull/11761 * ci: control development and CI version of Node.js via .nvmrc by @pkuczynski in https://github.com/typeorm/typeorm/pull/11708 * ci: add single step to validate if all tests passed by @pkuczynski in https://github.com/typeorm/typeorm/pull/11763 * ci: prevent running docs index on forks by @pkuczynski in https://github.com/typeorm/typeorm/pull/11762 * feat(mssql): support 'vector' type for MS SQL Server by @artiz in https://github.com/typeorm/typeorm/pull/11732 * docs: expand sponsors _[Truncated at 4000 characters — full notes: https://github.com/typeorm/typeorm/releases/tag/0.3.28]_ ### 0.3.27 - Date: 2025-09-19 - Version: 0.3.27 - Original notes: https://github.com/typeorm/typeorm/releases/tag/0.3.27 - Permalink: https://whatsnew.fyi/product/typeorm/releases/0.3.27 - **changed** — Cache package.json location between getNearestPackageJson invocations - **added** — Allow VirtualColumns to be initially non-selectable - **fixed** — Add package.json exports for react-native - **fixed** — Don't use lazy count when offset exceeds total in getManyAndCount - **security** — Bump sha.js from 2.4.11 to 2.4.12 to fix CVE-2025-9288 - **added** — Improve JSDoc types in generated migration templates - **added** — Add support for MySQL 9 and MariaDB 12 - **added** — Add new undefined and null behavior flags - **added** — Support vector and halfvec data types for PostgreSQL - **fixed** — Fix JSON parsing for mysql2 client library - **changed** — Revert fix from 0.3.26 that created junction table metadata when it already exists due to regression Note: This release reverts a fix from 0.3.26 (#11114) because it introduced a regression in certain cases. Once a fix can be provided which does not have this regression, it will be released in a future patch. ##### What's Changed * perf: Cache package.json location between getNearestPackageJson invocations by @rutkowskib in https://github.com/typeorm/typeorm/pull/11580 * feat: allow `VirtualColumn`s to be initially non-selectable by @alumni in https://github.com/typeorm/typeorm/pull/11586 * build(deps): bump sha.js from 2.4.11 to 2.4.12 in /sample/playground by @dependabot[bot] in https://github.com/typeorm/typeorm/pull/11617 * Add @signalwire/docusaurus-plugin-llms-txt to TypeORM documentation by @Copilot in https://github.com/typeorm/typeorm/pull/11622 * fix: Add package.json exports for react-native by @macksal in https://github.com/typeorm/typeorm/pull/11623 * fix(query-builder): don't use lazy count when offset exceeds total in getManyAndCount by @jeremyteyssedre in https://github.com/typeorm/typeorm/pull/11634 * chore: bump sha.js from 2.4.11 to 2.4.12 (fix security issue: CVE-2025-9288) by @prateek-hegde in https://github.com/typeorm/typeorm/pull/11639 * docs: fix docs for UpdateDateColumn by @madhugb in https://github.com/typeorm/typeorm/pull/11572 * build(deps): bump axios from 1.11.0 to 1.12.1 in /docs by @dependabot[bot] in https://github.com/typeorm/typeorm/pull/11649 * feat(migration): improve JSDoc types in generated migration templates by @gwythyr in https://github.com/typeorm/typeorm/pull/11490 * fix: update tests to reflect migration template changes by @sgarner in https://github.com/typeorm/typeorm/pull/11653 * feat(mysql): add support for MySQL 9 / MariaDB 12 by @alumni in https://github.com/typeorm/typeorm/pull/11575 * ci: add close stale issues GH action by @gioboa in https://github.com/typeorm/typeorm/pull/11651 * feat: add new undefined and null behavior flags by @naorpeled in https://github.com/typeorm/typeorm/pull/11332 * feat(postgres): support vector/halfvec data types by @naorpeled in https://github.com/typeorm/typeorm/pull/11437 * fix: JSON parsing for mysql2 client library (#8319) by @dlhck in https://github.com/typeorm/typeorm/pull/11659 * Revert #11114 do not create junction table metadata when it already exists by @michaelbromley in https://github.com/typeorm/typeorm/pull/11660 * chore: Release v0.3.27 by @michaelbromley in https://github.com/typeorm/typeorm/pull/11661 ##### New Contributors * @Copilot made their first contribution in https://github.com/typeorm/typeorm/pull/11622 * @macksal made their first contribution in https://github.com/typeorm/typeorm/pull/11623 * @jeremyteyssedre made their first contribution in https://github.com/typeorm/typeorm/pull/11634 * @prateek-hegde made their first contribution in https://github.com/typeorm/typeorm/pull/11639 * @madhugb made their first contribution in https://github.com/typeorm/typeorm/pull/11572 * @gwythyr made their first contribution in https://github.com/typeorm/typeorm/pull/11490 **Full Changelog**: https://github.com/typeorm/typeorm/compare/0.3.26...0.3.27 ### 0.3.26 - Date: 2025-08-18 - Version: 0.3.26 - Original notes: https://github.com/typeorm/typeorm/releases/tag/0.3.26 - Permalink: https://whatsnew.fyi/product/typeorm/releases/0.3.26 - **security** — When using MySQL, TypeORM now connects using stringifyObjects: true to avoid a potential security vulnerability in the mysql/mysql2 client libraries - **changed** — When using SAP HANA, TypeORM now uses the built-in pool from the @sap/hana-client library instead of the deprecated hdb-pool - **fixed** — Pass duplicated parameters correctly to the Oracle client when executing a query - **added** — Add support for REAL_VECTOR and HALF_VECTOR data types in SAP HANA Cloud - **fixed** — Add stricter type-checking and improve event loop handling - **changed** — Avoid unnecessary count on getManyAndCount - **fixed** — Support for better-sqlite3 v12 - **fixed** — Preserve useIndex when cloning a QueryExpressionMap or QueryBuilder - **fixed** — Do not create junction table metadata when it already exists - **fixed** — Support AnalyticDB returning version() column name in getVersion() - **fixed** — Resolve array modification bug in QueryRunner drop methods - **added** — Add Redis 5.x support with backward compatibility via peer dependency - **fixed** — Fix regtype is not supported in aurora serverless v2 - **fixed** — Improve globalThis variable retrieval for web worker platform - **added** — Add entity mode virtual-property **Notes:** - When using MySQL, TypeORM now connects using `stringifyObjects: true`, in order to avoid a potential security vulnerability in the mysql/mysql2 client libraries. You can revert to the old behavior by setting `connectionOptions.extra.stringifyObjects = false`. - When using SAP HANA, TypeORM now uses the built-in pool from the `@sap/hana-client` library. The deprecated `hdb-pool` is no longer necessary and can be removed. See https://typeorm.io/docs/drivers/sap/#data-source-options for the new pool options. ##### What's Changed * chore: Remove manual trigger on publish workflow by @michaelbromley in https://github.com/typeorm/typeorm/pull/11536 * test(ci): force mocha to exit on stuck process by @OSA413 in https://github.com/typeorm/typeorm/pull/11538 * fix(oracle): pass duplicated parameters correctly to the client when executing a query by @alumni in https://github.com/typeorm/typeorm/pull/11537 * feat(sap): add support for REAL_VECTOR and HALF_VECTOR data types in SAP HANA Cloud by @alumni in https://github.com/typeorm/typeorm/pull/11526 * fix: add stricter type-checking and improve event loop handling by @alumni in https://github.com/typeorm/typeorm/pull/11540 * perf: avoid unnecessary count on getManyAndCount by @EQuincerot in https://github.com/typeorm/typeorm/pull/11524 * feat(sap): use the native driver for connection pooling by @alumni in https://github.com/typeorm/typeorm/pull/11520 * fix: support for better-sqlite3 v12 by @mohd-akram in https://github.com/typeorm/typeorm/pull/11557 * fix: preserve `useIndex` when cloning a QueryExpressionMap (or a QueryBuilder) by @kettui in https://github.com/typeorm/typeorm/pull/10679 * chore: change test badge from `test.yml` to `commit-validation.yml` by @albasyir in https://github.com/typeorm/typeorm/pull/11560 * fix: do not create junction table metadata when it already exists by @ragrag in https://github.com/typeorm/typeorm/pull/11114 * fix(mysql): support AnalyticDB returning version() column name in getVersion() by @rhydian0x in https://github.com/typeorm/typeorm/pull/11555 * fix: resolve array modification bug in QueryRunner drop methods #11563 by @taina0407 in https://github.com/typeorm/typeorm/pull/11564 * fix(mysql): set `stringifyObjects` implicitly by @alumni in https://github.com/typeorm/typeorm/pull/11574 * docs: separate driver-specific documentation by @alumni in https://github.com/typeorm/typeorm/pull/11581 * docs: fix redirect to mongodb page by @alumni in https://github.com/typeorm/typeorm/pull/11584 * feat(11528): add Redis 5.x support with backward compatibility wite peer dependency to allow by @par333k in https://github.com/typeorm/typeorm/pull/11585 * fix: regtype is not supported in aurora serverless v2 by @ArsenyYankovsky in https://github.com/typeorm/typeorm/pull/11568 * fix(platform[web worker]): improve globalThis variable retrieval for … by @dasoncheng in https://github.com/typeorm/typeorm/pull/11495 * docs: added `@piying/orm` extension to readme by @wszgrcy in https://github.com/typeorm/typeorm/pull/11596 * docs: Fix `reload` option typo by @radovanovic-stevan in https://github.com/typeorm/typeorm/pull/11601 * feat: add entity mode virtual-property by @wszgrcy in https://github.com/typeorm/typeorm/pull/11597 * chore: Release v0.3.26 by @michaelbromley in https://github.com/typeorm/typeorm/pull/11602 ##### New Contributors * @EQuincerot made their first contribution in https://github.com/typeorm/typeorm/pull/11524 * @kettui made their first contribution in https://github.com/typeorm/typeorm/pull/10679 * @ragrag made their first contribution in https://github.com/typeorm/typeorm/pull/11114 * @rhydian0x made their first contribution in https://github.com/typeorm/typeorm/pull/11555 * @taina0407 made their first contribution in https://github.com/typeorm/typeorm/pull/11564 * @par333k made their first contribution in https://github.com/typeorm/typeorm/pull/11585 * @dasoncheng made their first _[Truncated at 4000 characters — full notes: https://github.com/typeorm/typeorm/releases/tag/0.3.26]_ ### 0.3.25 - Date: 2025-06-19 - Version: 0.3.25 - Original notes: https://github.com/typeorm/typeorm/releases/tag/0.3.25 - Permalink: https://whatsnew.fyi/product/typeorm/releases/0.3.25 - **fixed** — Resolve alias or table name in upsert and orUpdate for PostgreSQL driver conditionally - **added** — Add upsert support for Oracle, SQLServer and SAP HANA - **added** — Use credentials from connection options in Spanner driver - **fixed** — Handle limit(0) and offset(0) correctly in SelectQueryBuilder - **fixed** — Add collation update detection in PostgresDriver - **fixed** — Closure junction table primary key definition should match parent table in tree entities - **fixed** — Multiple relations with same columns cause invalid SQL to be generated - **fixed** — Fix null pointer exception on date array column comparison - **fixed** — Improve async calls on disconnect ##### What's Changed * docs: use correct SQL statements in softDelete/restore comments by @sgarner in https://github.com/typeorm/typeorm/pull/11489 * fix: resolve alias or table name in upsert and orUpdate for PostgreSQL driver conditionally by @mmarifat in https://github.com/typeorm/typeorm/pull/11452 * feat(spanner): use credentials from connection options by @denes in https://github.com/typeorm/typeorm/pull/11492 * feat: add upsert support for Oracle, SQLServer and SAP HANA by @Yuuki-Sakura in https://github.com/typeorm/typeorm/pull/10974 * fix: handle limit(0) and offset(0) correctly in SelectQueryBuilder by @yeonghun104 in https://github.com/typeorm/typeorm/pull/11507 * fix: add collation update detection in PostgresDriver by @asn6878 in https://github.com/typeorm/typeorm/pull/11441 * feat: add typesense/docsearch-scraper by @gioboa in https://github.com/typeorm/typeorm/pull/11424 * chore: improve linting by @alumni in https://github.com/typeorm/typeorm/pull/11510 * chore: improve linting (fixup) by @alumni in https://github.com/typeorm/typeorm/pull/11511 * docs: new website initial commit by @naorpeled in https://github.com/typeorm/typeorm/pull/11408 * fix: fix up doc search workflow by @gioboa in https://github.com/typeorm/typeorm/pull/11513 * chore: update workflows to ignore changes in docs directory by @dlhck in https://github.com/typeorm/typeorm/pull/11518 * feat(docs): add Plausible analytics script to Docusaurus config by @dlhck in https://github.com/typeorm/typeorm/pull/11517 * docs: add note about using YugabyteDB by @mguida22 in https://github.com/typeorm/typeorm/pull/11521 * chore(docs): improve website generation config by @alumni in https://github.com/typeorm/typeorm/pull/11527 * fix(tree-entity): closure junction table primary key definition should match parent table by @gongAll in https://github.com/typeorm/typeorm/pull/11422 * docs: add heading to Getting Started page by @sgarner in https://github.com/typeorm/typeorm/pull/11531 * fix: Multiple relations with same columns cause invalid SQL to be generated by @yevhen-komarov in https://github.com/typeorm/typeorm/pull/11400 * fix: fix null pointer exception on date array column comparison by @mnbaccari in https://github.com/typeorm/typeorm/pull/11532 * chore(ci): simplify workflows by @alumni in https://github.com/typeorm/typeorm/pull/11530 * fix: improve async calls on disconnect by @alumni in https://github.com/typeorm/typeorm/pull/11523 ##### New Contributors * @mmarifat made their first contribution in https://github.com/typeorm/typeorm/pull/11452 * @yeonghun104 made their first contribution in https://github.com/typeorm/typeorm/pull/11507 * @asn6878 made their first contribution in https://github.com/typeorm/typeorm/pull/11441 * @gongAll made their first contribution in https://github.com/typeorm/typeorm/pull/11422 **Full Changelog**: https://github.com/typeorm/typeorm/compare/0.3.24...0.3.25 ### 0.3.24 - Date: 2025-05-14 - Version: 0.3.24 - Original notes: https://github.com/typeorm/typeorm/releases/tag/0.3.24 - Permalink: https://whatsnew.fyi/product/typeorm/releases/0.3.24 - **added** — Add tagged template for executing raw SQL queries - **added** — Add updateAll and deleteAll methods to EntityManager and Repository APIs - **added** — Support insert returning for Spanner driver - **fixed** — Resolve pkg.pr.new issue - **fixed** — Fix MSSQL find operator - **fixed** — Avoid mutating input parameter array values in MSSQL - **fixed** — Fix capacitor driver PRAGMA bug - **changed** — Improve save performance during entities update - **removed** — Remove unused NamingStrategyNotFoundError ##### What's Changed * feat: add tagged template for executing raw SQL queries by @Newbie012 in https://github.com/typeorm/typeorm/pull/11432 * chore: Add husky and lint-staged by @maxbronnikov10 in https://github.com/typeorm/typeorm/pull/11448 * fix: resolve pkg.pr.new issue by @naorpeled in https://github.com/typeorm/typeorm/pull/11463 * perf: improve save performance during entities update by @lotczyk in https://github.com/typeorm/typeorm/pull/11456 * refactor: remove unused NamingStrategyNotFoundError by @mguida22 in https://github.com/typeorm/typeorm/pull/11462 * chore: add note about breaking change in 0.3.23 by @mguida22 in https://github.com/typeorm/typeorm/pull/11469 * build: include db version in coveralls flag-name by @mguida22 in https://github.com/typeorm/typeorm/pull/11461 * chore: include warning about update({}) in changelog by @sgarner in https://github.com/typeorm/typeorm/pull/11471 * feat: add updateAll and deleteAll methods to EntityManager and Repository APIs by @sgarner in https://github.com/typeorm/typeorm/pull/11459 * Fix/11466 mssql find operator by @christian-forgacs in https://github.com/typeorm/typeorm/pull/11468 * feat(spanner): support insert returning by @denes in https://github.com/typeorm/typeorm/pull/11460 * chore: clarify commit practices by @mguida22 in https://github.com/typeorm/typeorm/pull/11472 * fix(mssql): avoid mutating input parameter array values by @sgarner in https://github.com/typeorm/typeorm/pull/11476 * fix: capacitor driver PRAGMA bug by @AlexAzartsev in https://github.com/typeorm/typeorm/pull/11467 * chore: version 0.3.24 by @mguida22 in https://github.com/typeorm/typeorm/pull/11478 ##### New Contributors * @denes made their first contribution in https://github.com/typeorm/typeorm/pull/11460 * @AlexAzartsev made their first contribution in https://github.com/typeorm/typeorm/pull/11467 **Full Changelog**: https://github.com/typeorm/typeorm/compare/0.3.23...0.3.24