TypeORM

Frameworks & Libraries

An ORM for TypeScript and JavaScript supporting both Active Record and Data Mapper.

Latest 0.3.31 · by TypeORMWebsitetypeorm/typeorm

Release activity

Release activity — 8 releases across 7 days in the last year. Each cell is one day; darker means more releases that day. Older weeks are hidden at this screen width.
MayJunJulAug
SundayNo releases on Apr 26, 2026No releases on May 3, 2026No releases on May 10, 2026No releases on May 17, 2026No releases on May 24, 2026No releases on May 31, 2026No releases on Jun 7, 2026No releases on Jun 14, 2026No releases on Jun 21, 2026No releases on Jun 28, 2026No releases on Jul 5, 2026No releases on Jul 12, 2026No releases on Jul 19, 2026No releases on Jul 26, 2026No releases on Aug 2, 2026No releases on Aug 9, 2026
MondayNo releases on Apr 27, 2026No releases on May 4, 2026No releases on May 11, 20261 release on May 18, 2026No releases on May 25, 2026No releases on Jun 1, 2026No releases on Jun 8, 2026No releases on Jun 15, 2026No releases on Jun 22, 2026No releases on Jun 29, 2026No releases on Jul 6, 20262 releases on Jul 13, 2026No releases on Jul 20, 2026No releases on Jul 27, 2026No releases on Aug 3, 2026No releases on Aug 10, 2026
TuesdayNo releases on Apr 28, 2026No releases on May 5, 2026No releases on May 12, 20261 release on May 19, 2026No releases on May 26, 2026No releases on Jun 2, 2026No releases on Jun 9, 2026No releases on Jun 16, 2026No releases on Jun 23, 2026No releases on Jun 30, 2026No releases on Jul 7, 2026No releases on Jul 14, 2026No releases on Jul 21, 2026No releases on Jul 28, 2026No releases on Aug 4, 2026No releases on Aug 11, 2026
WednesdayNo releases on Apr 29, 2026No releases on May 6, 2026No releases on May 13, 2026No releases on May 20, 2026No releases on May 27, 2026No releases on Jun 3, 2026No releases on Jun 10, 2026No releases on Jun 17, 2026No releases on Jun 24, 2026No releases on Jul 1, 2026No releases on Jul 8, 2026No releases on Jul 15, 2026No releases on Jul 22, 2026No releases on Jul 29, 2026No releases on Aug 5, 2026No releases on Aug 12, 2026
ThursdayNo releases on Apr 30, 2026No releases on May 7, 2026No releases on May 14, 2026No releases on May 21, 2026No releases on May 28, 2026No releases on Jun 4, 2026No releases on Jun 11, 2026No releases on Jun 18, 2026No releases on Jun 25, 2026No releases on Jul 2, 2026No releases on Jul 9, 2026No releases on Jul 16, 2026No releases on Jul 23, 2026No releases on Jul 30, 2026No releases on Aug 6, 2026
FridayNo releases on May 1, 20261 release on May 8, 2026No releases on May 15, 2026No releases on May 22, 2026No releases on May 29, 2026No releases on Jun 5, 2026No releases on Jun 12, 2026No releases on Jun 19, 2026No releases on Jun 26, 2026No releases on Jul 3, 2026No releases on Jul 10, 2026No releases on Jul 17, 2026No releases on Jul 24, 2026No releases on Jul 31, 2026No releases on Aug 7, 2026
SaturdayNo releases on May 2, 2026No releases on May 9, 2026No releases on May 16, 2026No releases on May 23, 2026No releases on May 30, 2026No releases on Jun 6, 2026No releases on Jun 13, 2026No releases on Jun 20, 2026No releases on Jun 27, 2026No releases on Jul 4, 2026No releases on Jul 11, 2026No releases on Jul 18, 2026No releases on Jul 25, 2026No releases on Aug 1, 2026No releases on Aug 8, 2026

8 releases in the last year, busiest day 2

Changelog

0.3.31

Fixed 14
  • Release query runner on error in storeInCache
  • Correct grammar in AlreadyHasActiveConnectionError message
  • Default invalidWhereValuesBehavior to throw on the write path in entity-manager
  • Validate where criteria in increment/decrement operations
  • Use cursor.transform for doc to entity transformation in MongoDB and skip load broadcast in next if toArray
  • Move hashing function to PlatformTools
Bug Fixes
  • cache: release query runner on error in storeInCache (#12545) (a84b9b3)
  • correct grammar in AlreadyHasActiveConnectionError message (#12554) (304d129)
  • entity-manager: default invalidWhereValuesBehavior to throw on the write path (#12690) (44d8052)
  • entity-manager: validate where criteria in increment/decrement (#12692) (8a51b75)
  • mongodb: use cursor.transform for doc to entity transformation and skip load broadcast in next if toArray (#11926) (0bbefc9)
  • move hashing function to PlatformTools (#12648) (c456cbd)
  • multiple recursive cte problems (#12490) (7c26654)
  • normalization of FindOptionsWhere for arrays and Buffers (#12577) (a8173fc)
  • persistence: preserve select false columns on the in-memory entity after save() (#12501) (324c46c)
  • postgres: improve normalizeDatetimeFunction for tstzrange data type (#12182) (bf47c9f)
  • query-builder: reject empty where criteria on update and delete operations (#12629) (81b9466)
  • query-builder: wrap inner joins under left joins correctly (#11137) (d5f4b9d)
  • remove require() calls that break bundlers (#12647) (30f9fc7)
  • tree-entity: tree entity schema propagation in internal TreeRepository methods (#12590) (7fb7c2c)

Full Changelog: https://github.com/typeorm/typeorm/compare/0.3.30...0.3.31

View originalPermalink
How 0.3.31 went

1.1.0

Added 1
  • Support distinct count
Changed 1
  • Clarify extra option as driver-native escape hatch in data source documentation
Fixed 14
  • Preserve select false columns on the in-memory entity after save()
  • Release query runner on error in storeInCache
  • Multiple recursive CTE problems
  • Correct grammar in AlreadyHasActiveConnectionError message
  • Normalization of FindOptionsWhere for arrays and Buffers
  • Improve normalizeDatetimeFunction for tstzrange data type in PostgreSQL
What's Changed
New Contributors

Full Changelog: https://github.com/typeorm/typeorm/compare/1.0.0...1.1.0

View originalPermalink
How 1.1.0 went

1.0.0

Added 6
  • Support for PostgreSQL indices
  • Error handling and log warning for ormconfig loading failures
  • Better typing for conditions in increment and decrement of EntityManager
  • Support for installing additional postgres extensions
  • Deferrable support to exclusion decorator to mirror unique and index decorators
  • Support for INSERT INTO ... SELECT FROM ... in QueryBuilder
Changed 2
  • PostgreSQL enum value changes now use ADD VALUE when possible
  • Replace uuid with native Crypto API
Fixed 12
  • Include joined entity primary keys in pagination subquery
  • Preserve structured query results during transaction retry replay in CockroachDB
  • getPendingMigrations unnecessarily creating migrations table
  • Copy cordova query rows affected into query result
  • Resolve nameless TableForeignKey on drop foreign key
  • Virtual property handling in schema builder
Removed 1
  • 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.

This release includes breaking changes. See the v1.0 Upgrade Guide

What's Changed
New Contributors

Full Changelog: https://github.com/typeorm/typeorm/compare/0.3.30...1.0.0

View originalPermalink
How 1.0.0 went

0.3.30

Fixed 5
  • Scope invalidWhereValuesBehavior to high-level abstractions only
  • Scope computed-columns join to correct table in MSSQL schema query
  • Preserve user-defined shared join columns in change set
  • Allow array values in JsonContains
  • Adjust join in loadTables to load correct table columns in CockroachDB
What's Changed

Full Changelog: https://github.com/typeorm/typeorm/compare/0.3.29...0.3.30

View originalPermalink
How 0.3.30 went

0.3.29

Added 2
  • Add pool timeout for SAP
  • Add returning option to update/upsert operations
Fixed 6
  • Fix aggregate methods ambiguous column issue
  • Prevent eager-loaded entities from overwriting manual relations
  • Release query runner when there is no migration to revert
  • Add async to the method using setFindOptions()
  • QueryBuilder parameter of type JS Date not escaped correctly in SAP
  • Redis cache version detection
Security 1
  • Validate limit() in Update/SoftDelete query builders
What's Changed
New Contributors

Full Changelog: https://github.com/typeorm/typeorm/compare/0.3.28...0.3.29

View originalPermalink
How 0.3.29 went

0.3.28

Added 8
  • Support for jsonpath column type in PostgreSQL
  • Entity schema support for trees
  • CLI init command now picks dependency versions from TypeORM's own package.json
  • Vector type support for MS SQL Server
  • Export QueryPartialEntity and QueryDeepPartialEntity types
  • MongoDB connector now includes SOCKS5 proxy settings
  • Vector column support on MariaDB and MySQL
  • Initialize version in PostgreSQL driver only if not already set
Changed 1
  • Migrate code coverage from nyc to c8
Fixed 5
  • Add multiSubnetFailover to MSSQL driver option types
  • Circular import in SapDriver.ts
  • CLI init command reading package.json from two folders up
  • Upgrade glob to fix CVE-2025-64756
  • Typesense doc sync
What's Changed
New Contributors

Full Changelog: https://github.com/typeorm/typeorm/compare/0.3.27...0.3.28

View originalPermalink
How 0.3.28 went

0.3.27

Added 5
  • Allow VirtualColumns to be initially non-selectable
  • Improve JSDoc types in generated migration templates
  • Add support for MySQL 9 and MariaDB 12
  • Add new undefined and null behavior flags
  • Support vector and halfvec data types for PostgreSQL
Changed 2
  • Cache package.json location between getNearestPackageJson invocations
  • Revert fix from 0.3.26 that created junction table metadata when it already exists due to regression
Fixed 3
  • Add package.json exports for react-native
  • Don't use lazy count when offset exceeds total in getManyAndCount
  • Fix JSON parsing for mysql2 client library
Security 1
  • Bump sha.js from 2.4.11 to 2.4.12 to fix CVE-2025-9288

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
New Contributors

Full Changelog: https://github.com/typeorm/typeorm/compare/0.3.26...0.3.27

View originalPermalink
How 0.3.27 went

0.3.26

Added 3
  • Add support for REAL_VECTOR and HALF_VECTOR data types in SAP HANA Cloud
  • Add Redis 5.x support with backward compatibility via peer dependency
  • Add entity mode virtual-property
Changed 2
  • When using SAP HANA, TypeORM now uses the built-in pool from the @sap/hana-client library instead of the deprecated hdb-pool
  • Avoid unnecessary count on getManyAndCount
Fixed 9
  • Pass duplicated parameters correctly to the Oracle client when executing a query
  • Add stricter type-checking and improve event loop handling
  • Support for better-sqlite3 v12
  • Preserve useIndex when cloning a QueryExpressionMap or QueryBuilder
  • Do not create junction table metadata when it already exists
  • Support AnalyticDB returning version() column name in getVersion()
Security 1
  • When using MySQL, TypeORM now connects using stringifyObjects: true to avoid a potential security vulnerability in the mysql/mysql2 client libraries

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
New Contributors

Full Changelog: https://github.com/typeorm/typeorm/compare/0.3.25...0.3.26

View originalPermalink
How 0.3.26 went

0.3.25

Added 2
  • Add upsert support for Oracle, SQLServer and SAP HANA
  • Use credentials from connection options in Spanner driver
Fixed 7
  • Resolve alias or table name in upsert and orUpdate for PostgreSQL driver conditionally
  • Handle limit(0) and offset(0) correctly in SelectQueryBuilder
  • Add collation update detection in PostgresDriver
  • Closure junction table primary key definition should match parent table in tree entities
  • Multiple relations with same columns cause invalid SQL to be generated
  • Fix null pointer exception on date array column comparison
  • Improve async calls on disconnect
What's Changed
New Contributors

Full Changelog: https://github.com/typeorm/typeorm/compare/0.3.24...0.3.25

View originalPermalink
How 0.3.25 went

0.3.24

Added 3
  • Add tagged template for executing raw SQL queries
  • Add updateAll and deleteAll methods to EntityManager and Repository APIs
  • Support insert returning for Spanner driver
Changed 1
  • Improve save performance during entities update
Fixed 4
  • Resolve pkg.pr.new issue
  • Fix MSSQL find operator
  • Avoid mutating input parameter array values in MSSQL
  • Fix capacitor driver PRAGMA bug
Removed 1
  • Remove unused NamingStrategyNotFoundError
What's Changed
New Contributors

Full Changelog: https://github.com/typeorm/typeorm/compare/0.3.23...0.3.24

View originalPermalink
How 0.3.24 went
View all

Discussion