All Versions
61
Latest Version
Avg Release Cycle
36 days
Latest Release
125 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v0.2.29
November 02, 2020๐ Bug Fixes
- ๐ allow falsey discriminator values (#6973) (f3ba242), closes #3891
- ๐ allow for complex jsonb primary key columns (#6834) (f95e9d8), closes #6833
- ๐ Allows valid non-object JSON to be retrieved in simple-json columns (#6574) (0aedf43), closes #5501
- ๐ Cannot read property 'hasMetadata' of undefined (#5659) (0280cdc), closes #3685
- check if the connection is closed before executing a query. This prevents SQLITE_MISUSE errors (https://sqlite.org/rescode.html#misuse) originating from sqlite itself (#6975) (5f6bbec)
- check mysql constraint schema on join (#6851) (d2b914d), closes #6169 #6169
- correct reading of custom ormconfig.env files (#6922) (a09fb7f)
- explicitly define
query
command's param (#6899) (4475d80), closes #6896 - findRoots should get the defined primary key column (#6982) (f2ba901), closes #6948 #6948
- ๐ Fix Mongodb delete by ObjectId. Closes #6552 (#6553) (e37eb1e)
- ๐ fixes the typescript errors in EntityCreateCommand & SubscriberCreateCommand (#6824) (0221a93)
- ๐ handle count multiple PK & edge cases more gracefully (#6870) (4abfb34), closes #5989 #5314 #4550
- ๐ Handle undefined querysets in QueryCommand (#6910) (6f285dc), closes #6612
- ๐ handle Undefined values in driver URL options (#6925) (6fa2df5)
- ILike operator generally available for any driver (#6945) (37f0d8f)
- Only check for discriminator conflicts on STI entities (#2985) (06903d1), closes #2984
- postgresql connection URL can use an UNIX Socket (#2614) (#6042) (21c4166)
- prevent create-type commands edge-case TypeErrors (#6836) (08ec0a8), closes #6831
- 0๏ธโฃ redundant migration with decimal default (#6879) (6ff67f7), closes #6140 #5407
- โ remove @DiscriminatorValue from error message (#5256) (2bf15ca), closes #5255
- resolves issue proto-less object validation (#6884) (e08d9c6), closes #2065
- return null for nullable RelationId() column (#6848) (7147a0d), closes #6815
- subscribers should use the subscribersDir (5ef9450)
- ๐ support changing comments in MySQL columns (#6903) (c5143aa)
- ๐ support combination of many-to-one/cacade/composte PK (#6417) (9a0497b)
- ๐ support empty
IN
clause across all dialects (#6887) (9635080), closes #4865 #2195 - ๐ support multiple row insert on oracle (#6927) (a5eb946), closes #2434
- ๐ sync the typeorm-model-shim (#6891) (c72e48b), closes #6288 #5920
- ๐ TreeRepository based entities primary column supports custom name. (#6942) (7ec1b75)
- ๐ use
require
inReactNativeDriver
(#6814) (1a6383c), closes #6811 - ๐ use correct type for MongoQueryRunner.databaseConnection (#6906) (da70b40), closes #6453
- ๐ use pg 8 in
init
command (6ed9906) - wrong FK loaded in multi-database environment (#6828) (c060f95), closes #6168
๐ 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.27
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
-
v0.2.26
September 10, 2020๐ Bug Fixes
- @JoinTable does not respect inverseJoinColumns referenced column width (#6444) (f642a9e), closes #6442
- โ add missing schema for OracleDriver (#6673) (8b8bc35)
- ๐ change InsertQueryBuilder.values() with an empty array into a no-op (#6584) (9d2df28), closes #3111
- Child entities not being saved correctly with cascade actions (#6219) (16a2d80)
- ๐ correctly parse connection URI with query params (#6390) (54a3a15), closes #6389
- decorators should implement the official TypeScript interface (#6398) (c23c888), closes #5922
- DeepPartial with any and {[k: string]: any} (#6581) (8d90d40), closes #6580 #6580
- exporting missing load event (#6396) (c6336aa)
- get correct insert ids for multiple entities inserted (#6668) (ef2011d), closes #2131 #5973 #2131
- getPendingMigrations isn't properly working (#6372) (7c0da1c)
- ๐ handle 'error' events from pool connection (#6262) (ae3cf0e)
- insert IN(null) instead of IN() when In([]) empty array for mysqlDriver (#6237) (6f6bdbd)
- 0๏ธโฃ make only a single SELECT to get inserted default and generated values of multiple entities (#6669) (4fc4a1b), closes #6266 #6266
- Migration issues with scale & precision in sqlite/sql.js (#6638) (0397e44), closes #6636
- mysql migration: make sure the indices sql which left-join be the same database (#6426) (906d97f)
- ๐ pass
ids_
to alias builder to prevent length overflow (#6624) (cf3ad62) - pass formatOptions to Data API Client, fix extensions (#6404) (9abab82), closes #1
- ๐ Query builder makes query with joins, without limit for inherited entities (#6402) (874e573), closes #6399
- โ remove unnecessary optionality from Raw operator's columnAlias argument (#6321) (0d99b46)
- resolve missing decorators on shim (#6354) (8e2d97d), closes #6093
- โช revert fix handle URL objects as column field values (#6145) (e073e02)
- SqlQueryRunner.hasColumn was not working (#6146) (a595fed), closes #5718
- ๐ support multiple
JoinColumn
s in EntitySchema (#6397) (298a3b9), closes #5444 - Unnecessary migrations for fulltext indices (#6634) (c81b405), closes #6633
- unnecessary migrations for unsigned numeric types (#6632) (7ddaf23), closes #2943 /github.com/typeorm/typeorm/pull/6632#pullrequestreview-480932808
- โก๏ธ update query deep partial TypeScript definition (#6085) (23110d1)
๐ 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
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
-
v0.2.24
February 28, 2020 -
v0.2.23
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
-
v0.2.22
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.
-
v0.2.21
December 05, 2019๐ Bug Fixes
- ๐ allow expireAfterSeconds 0 in Index decorator (close #5004) (#5005) (d05467c)
- do not mutate connection options (#5078) (1047989)
- mysql driver query streaming (#5036) (aff2f56)
- โ remove consrc usage (postgres,cockroachdb) (#4333) (ce7cb16), closes #4332
- ๐ repo for app-root-path in lock file (#5052) (f0fd192)
- resolve MySQL unique index check when bigNumberStrings is false (#4822) (d205574), closes #2737
- resolve sorting bug for several mongo vesions with typeorm migration (#5121) (cb771a1), closes #5115
- throwing error on duplicate migration names #4701 (#4704) (3e4dc9f)
- unescaped column name in order clause of "migrations" (#5108) (c0c8566)
- โฌ๏ธ upgrade app-root-path (#5023) (7f87f0c)
๐ Features
- โ add distinct on() support for postgres (#4954) (1293065)
- โ add migrations transaction option to connection options (#5147) (fb60688), closes #4629 #4629
- ๐ asynchronous ormconfig support (#5048) (f9fdaee), closes #4149
- ๐ฆ export Migration Execution API from main package (fixes #4880) (#4892) (8f4f908)
- ๐ support spatial types of MySQL 8+ (#4794) (231dadf), closes #3702
-
v0.2.20
October 18, 2019๐ Bug Fixes
- ๐ ensure distinct property is respected cloning query builder (#4843) (ea17094), closes #4842
- aurora: apply mysql query fixes to aurora (#4779) (ee61c51)
- ๐ allow EntitySchema to be passed to EntityRepository (#4884) (652a20e)
- ๐ better timestamp comparison (#4769) (0a13e6a)
- broken database option when using replication, changes introduced by #4753 (#4826) (df5479b)
- 0๏ธโฃ check for version of MariaDB before extracting COLUMN_DEFAULT (#4783) (c30b485)
- connection Reuse is broken in a Lambda environment: (#4804) (7962036)
- FindOptionUtils export (#4746) (4a62b1c), closes #4745
- loading of aurora-data-api driver (#4765) (fbb8947)
- postgres: postgres query runner to create materialized view (#4877) (d744966)
- migrations run in reverse order for mongodb (#4702) (2f27581)
- mongodb Cursor.forEach types (#4759) (fccbe3e)
- Slack invite URL (#4836) (149af26)
๐ Features
- โ add name to MigrationInterface (fixes #3933 and fixes #2549) (#4873) (4a73fde)
- โ add new transaction mode to wrap each migration in transaction (#4629) (848fb1f)
- โ add option to Column to specify the complete enumName (#4824) (d967180)
- โ add support for cube array for PostgreSQL (#4848) (154a441)
- implements Sqlite 'WITHOUT ROWID' table modifier (#4688) (c1342ad), closes #3330