All Versions
83
Latest Version
Avg Release Cycle
24 days
Latest Release
46 days ago

Changelog History
Page 3

  • v0.2.31 Changes

    February 08, 2021

    ๐Ÿ› Bug Fixes

    • append condition to STI child entity join (#7339) (68bb82e)
    • avoid regex lookbehind for compatibility (#7270) (063d27f), closes #7026
    • ๐Ÿ‘ cache from ENV - add ioredis support (#7332) (5e2117c)
    • datetime2 rounding in mssql (#7264) (4711a71), closes #3202
    • โšก๏ธ escape columns in InsertQueryBuilder.orUpdate (#6316) (ab56e07)
    • incorrect postgres uuid type in PrimaryGeneratedColumnType (#7298) (2758502)
    • MariaDB VIRTUAL + [NOT NULL|NULL] error (#7022) (82f2b75), closes #2691
    • reject nullable primary key columns (#7001) (cdace6e)
    • resolve issue with find with relations returns soft-deleted entities (#7296) (d7cb338), closes #6265
    • ๐Ÿ’พ save does not return id, save does not return generated (#7336) (01a6aee)

    ๐Ÿ”‹ Features

    ๐Ÿ’ฅ BREAKING CHANGES

    • passing ColumnOptions to @PrimaryColumn does not function anymore. One must use PrimaryColumnOptions instead.
    • minor breaking change on "conflict*" options - column names used are now automatically escaped.
  • v0.2.30 Changes

    January 12, 2021

    ๐Ÿ› Bug Fixes

    • โž• add missing "comment" field to QB clone method (#7205) (f019771), closes #7203
    • ๐Ÿš€ avoid early release of PostgresQueryRunner (#7109) (#7185) (9abe007)
    • Error when sorting by an embedded entity while using join and skip/take (#7082) (d27dd2a), closes #7079
    • ๐Ÿ›  Fix CLI query command TypeError (#7043) (b35397e)
    • get length attribute of postgres array columns (#7239) (eb82f78), closes #6990
    • ๐Ÿ– handle overlapping property / database names in querybuilder (#7042) (b518fa1), closes #7030
    • ๐Ÿ‘Œ improve stack traces when using persist executor (#7218) (0dfe5b8)
    • order should allow only model fields, not methods (#7188) (0194193), closes #7178
    • โšก๏ธ resolve migration for UpdateDateColumn without ON UPDATE clause (#7057) (ddd8cbc), closes #6995
    • resolves Postgres sequence identifier length error (#7115) (568ef35), closes #7106
    • return 'null' (instead of 'undefined') on lazy relations that have no results (#7146) (#7147) (9b278c9)
    • ๐Ÿ‘Œ support MongoDB DNS seed list connection (#7136) (f730bb9), closes #3347 #3133
    • data-api: Fixed how data api driver uses and reuses a client (#6869) (6ce65fb)
    • 0๏ธโƒฃ use default import of yargs for --help (#6986) (6ef8ffe)

    ๐Ÿ”‹ Features

  • v0.2.29 Changes

    November 02, 2020

    ๐Ÿ› Bug Fixes

    ๐Ÿ”‹ Features

    • โž• add ability for escaping for Raw() find operator (#6850) (91b85bf)
    • โž• add absolute path support to other CLI commands (#6807) (d9a76e9)
    • โž• Add SelectQueryBuilder.getOneOrFail() (#6885) (920e781), closes #6246
    • backport ilike from next (#6862) (c8bf81e)
    • Exit with code 1 on empty migration:generate (#6978) (8244ea1)
    • ๐Ÿ”€ schema synchronization for partitioned tables with PostgreSQL 12+ (#6780) (990442e)
    • ๐Ÿ‘Œ support autoEncryption option for MongoDB (#6865) (b22c27f)
    • ๐Ÿ‘Œ Support column comments in Postgres and CockroachDB (#6902) (bc623a4), closes #3360
    • ๐Ÿ‘Œ support ESM in ormconfig js & ts (#6853) (7ebca2b), closes #5003
    • ๐Ÿ‘Œ support query comments in the query builder (#6892) (84c18a9), closes #3643
    • transactional events in subscriber interface + "transaction" option in FindOptions (#6996) (0e4b239)

    ๐ŸŽ Performance Improvements

  • v0.2.28 Changes

    September 30, 2020

    ๐Ÿ› Bug Fixes

  • v0.2.27 Changes

    September 29, 2020

    ๐Ÿ› Bug Fixes

    • โž• add dummy for FileLogger, ConnectionOptionsReaders, and update gulpfile (#6763) (180fbd4)
    • backport FindOperator return types (#6717) (2b37808)
    • coerce port to number in ConnectionOptionsEnvReader (#6786) (55fbb69), closes #6781
    • count() method for multiple primary keys for cockroachdb (#6745) (dfe8259)
    • enforce name argument of migration generate command (#2719) (#6690) (dfcb2db), closes #4798 #4805 #4798 #4805
    • ๐Ÿ— ensure browser builds don't include any non-browser modules (#6743) (c714867), closes #6739
    • hdb-pool is not namespaced under @sap (#6700) (9583430), closes #6697
    • โšก๏ธ migration:generate issue with onUpdate using mariadb 10.4 (#6714) (6e28322)
    • ๐Ÿš€ prevent multiple release listeners in PostgresQueryRunner (#6708) (208cf6b), closes #6699
    • prevent wrong returned entity in ReturningResultsEntityUpdator (#6440) (c1c8e88)
    • resolve issues ora-00972:identifier is too long (#6751) (b55a417), closes #5067 #5067
    • ๐Ÿ‘ sql.js v1.2+ don't support undefined parameters (#6698) (ea59b8d), closes #5720

    ๐Ÿ”‹ Features

    • โž• add option to pass postgres server notices to client logger (#6215) (5084e47), closes #2216
    • backport SQLite Busy handler & WAL mode enable (#6588) (7a52f18)
    • Beautify generated SQL for migrations (#6685) (370442c), closes #4415
    • create EntityTarget and use instead of EntitySchema / ObjectType / etc (#6701) (8b68f40)

    โช Reverts

    • โช Revert "fix: properly override database url properties (#6247)" (#6802) (45b980c), closes #6247 #6802
  • v0.2.26 Changes

    September 10, 2020

    ๐Ÿ› Bug Fixes

    ๐Ÿ”‹ Features

    • โž• add AWS configurationOptions to aurora-data-api-pg connector (#6106) (203f51d)
    • โž• add better-sqlite3 driver (#6224) (2241451)
    • โž• add postgres connection timeout option (#6160) (0072149)
    • FileLogger accepts custom file path (#6642) (c99ba40), closes #4410
    • implement postgres ltree (#6480) (43a7386), closes #4193
    • ๐Ÿ‘Œ support absolute paths in migrationsDir for the CLI (#6660) (2b5f139)
    • ๐Ÿ‘Œ support cjs extension for ormconfig (#6285) (6eeb03a)
  • v0.2.25 Changes

    May 19, 2020

    ๐Ÿ› 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)
  • v0.2.24

    February 28, 2020
  • v0.2.23 Changes

    February 28, 2020

    ๐Ÿ› Bug Fixes

    • ๐Ÿ”€ .synchronize() drops json column on mariadb (#5391) (e3c78c1), closes typeorm/typeorm#3636
    • (base-entity) set create return type to T[] (#5400) (ceff897)
    • โž• add the enableArithAbort option to the sql server connection option typings (#5526) (d19dbc6)
    • ๐Ÿ› bug when default value in mssql were not updated if previous default was already set (9fc8329)
    • ๐Ÿ”„ change OrmUtils.mergeDeep to not merge RegExp objects (#5182) (0f51836), closes #3534
    • โšก๏ธ fk on update should not use attributes of on delete (2baa934)
    • load typeorm-aurora-data-api-driver correctly when using webpack (#4788) (#5302) (9da0d34)
    • not to make typeorm generate alter query on geometry column when that column was not changed (#5525) (ee57557)
    • Oracle sql expression for date column (#5305) (40e9d3a), closes #4452 #4452
    • ๐Ÿ”จ refactoring instance of with Array.isArray() (#5539) (1e1595e)
    • 0๏ธโƒฃ Return NULL when normalize default null value (#5517) (1826b75), closes #5509
    • ๐Ÿ›  SAP HANA driver fixes (#5445) (87b161f)
    • โšก๏ธ update foreign keys when table name changes (#5482) (7157cb3)
    • ๐Ÿ‘‰ use OUTPUT INTO on SqlServer for returning columns (#5361) (6bac3ca), closes #5160 #5160
    • ๐Ÿ‘‰ use sha.js instead of crypto for hash calculation (#5270) (b380a7f)

    ๐Ÿ”‹ Features

    • โž• Add basic support for custom cache providers (#5309) (6c6bde7)
    • โž• add fulltext parser option (#5380) (dd73395)
  • v0.2.22 Changes

    December 23, 2019

    ๐Ÿ› Bug Fixes

    ๐Ÿ”‹ Features

    • hash aliases to avoid conflicts (#5227) (edc8e6d)
    • implement driver options for NativeScript (#5217) (3e58426)
    • ๐Ÿ‘ SAP Hana support (#5246) (ec90341)
    • ๐Ÿ— speed โ€‹โ€‹up id search in buildChildrenEntityTree (#5202) (2e628c3)

    ๐Ÿ’ฅ BREAKING CHANGES

    • aliases for very long relation names may be replaced with hashed strings. Fix: avoid collisions by using longest possible hash. Retain more entropy by not using only 8 characters of hashed aliases.