TypeORM 0.3.26

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 original

Upgraded? How did it go?

Discussion