TypeORM v0.2.25 Release Notes

Release Date: 2020-05-19 // almost 4 years ago
  • ๐Ÿ› Bug Fixes

    • 'in' clause case for ORACLE (#5345) (8977365)
    • calling EntityManager.insert() with an empty array of entities (#5745) (f8c52f3), closes #5734 #5734 #5734
    • โšก๏ธ columns with transformer should be normalized for update (#5700) (4ef6b65), closes #2703
    • escape column comment in mysql driver (#6056) (5fc802d)
    • expo sqlite driver disconnect() (#6027) (61d59ca)
    • HANA - SSL options, column delta detection mechanism (#5938) (2fd0a8a)
    • ๐Ÿ– handle URL objects as column field values (#5771) (50a0641), closes #5762 #5762
    • โšก๏ธ insert and update query builder to handle mssql geometry column correctly (#5947) (87cc6f4)
    • migrations being generated for FK even if there are no changes (#5869) (416e419)
    • โšก๏ธ multiple assignments to same column on UPDATE #2651 (#5598) (334e17e)
    • prevent TypeError when calling bind function with sql.js 1.2.X (#5789) (c6cbddc)
    • prototype pollution issue (#6096) (db9d0fa)
    • 0๏ธโƒฃ provide a default empty array for parameters. (#5677) (9e8a8cf)
    • redundant undefined parameters are not generated in migration files anymore (#5690) (d5cde49)
    • ๐Ÿ‘€ replacing instanceof Array checks to Array.isArray because instanceof Array seems to be problematic on some platforms (#5606) (b99b4ad)
    • respect database from connection urls (#5640) (ed75d59), closes #2096
    • sha.js import (#5728) (8c3f48a)
    • Unknown fields are stripped from WHERE clause (issue #3416) (#5603) (215f106)
    • โšก๏ธ update dependency mkdirp to 1.x (#5748) (edeb561)
    • โšก๏ธ update Entity decorator return type to ClassDecorator (#5776) (7d8a1ca)
    • ๐Ÿ‘‰ use an empty string enum as the type of a primary key column (#6063) (8e0d817), closes #3874
    • ๐Ÿ‘‰ use correct typings for the result of getUpsertedIds() (#5878) (2ab88c2)
    • 0๏ธโƒฃ wrong table name parameter when not using default schema (#5801) (327144a)

    ๐Ÿ”‹ Features

    • โž• add FOR NO KEY UPDATE lock mode for postgresql (#5971) (360122f)
    • โž• add name option to view column (#5962) (3cfcc50), closes #5708
    • โž• Add soft remove and recover methods to entity (#5854) (9d2b8e0)
    • โž• added support for NOWAIT & SKIP LOCKED in Postgres (#5927) (2c90e1c)
    • ๐Ÿ‘ Aurora Data API - Postgres Support (#5651) (e584297)
    • ๐Ÿ”ง aurora Data API - Support for AWS configuration options through aurora driver (#5754) (1829f96)
    • โšก๏ธ create-column, update-column, version-column column kinds now support user specified values (#5867) (5a2eb30), closes #3271
    • ๐Ÿšš names of extra columns for specific tree types moved to NamingStrategy (#5737) (ec3be41)
    • PG allow providing a function for password (#5673) (265d1ae)
    • โšก๏ธ update cli migration up and down from any to void (#5630) (76e165d)
    • โšก๏ธ UpdateResult returns affected rows in mysql (#5628) (17f2fff), closes #1308

    ๐ŸŽ Performance Improvements

    • ๐Ÿ“‡ An optimized version of EntityMetadata#compareIds() for the common case (#5419) (a9bdb37)