# TypeORM 0.3.31 - Product: TypeORM (https://whatsnew.fyi/product/typeorm) - Vendor: TypeORM - 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 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'. --- - **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