Prototype pollution vulnerability in the TypeORM package < 0.2.25 may allow attackers to add or modify Object properties leading to further denial of service or SQL injection attacks.
Release Notes
typeorm/typeorm
### [`v0.2.25`](https://togithub.com/typeorm/typeorm/blob/HEAD/CHANGELOG.md#0225-httpsgithubcomtypeormtypeormcompare02240225-2020-05-19)
[Compare Source](https://togithub.com/typeorm/typeorm/compare/0.2.24...0.2.25)
##### Bug Fixes
- 'in' clause case for ORACLE ([#5345](https://togithub.com/typeorm/typeorm/issues/5345)) ([8977365](https://togithub.com/typeorm/typeorm/commit/8977365))
- calling EntityManager.insert() with an empty array of entities ([#5745](https://togithub.com/typeorm/typeorm/issues/5745)) ([f8c52f3](https://togithub.com/typeorm/typeorm/commit/f8c52f3)), closes [#5734](https://togithub.com/typeorm/typeorm/issues/5734) [#5734](https://togithub.com/typeorm/typeorm/issues/5734) [#5734](https://togithub.com/typeorm/typeorm/issues/5734)
- columns with transformer should be normalized for update ([#5700](https://togithub.com/typeorm/typeorm/issues/5700)) ([4ef6b65](https://togithub.com/typeorm/typeorm/commit/4ef6b65)), closes [#2703](https://togithub.com/typeorm/typeorm/issues/2703)
- escape column comment in mysql driver ([#6056](https://togithub.com/typeorm/typeorm/issues/6056)) ([5fc802d](https://togithub.com/typeorm/typeorm/commit/5fc802d))
- expo sqlite driver disconnect() ([#6027](https://togithub.com/typeorm/typeorm/issues/6027)) ([61d59ca](https://togithub.com/typeorm/typeorm/commit/61d59ca))
- HANA - SSL options, column delta detection mechanism ([#5938](https://togithub.com/typeorm/typeorm/issues/5938)) ([2fd0a8a](https://togithub.com/typeorm/typeorm/commit/2fd0a8a))
- handle URL objects as column field values ([#5771](https://togithub.com/typeorm/typeorm/issues/5771)) ([50a0641](https://togithub.com/typeorm/typeorm/commit/50a0641)), closes [#5762](https://togithub.com/typeorm/typeorm/issues/5762) [#5762](https://togithub.com/typeorm/typeorm/issues/5762)
- insert and update query builder to handle mssql geometry column correctly ([#5947](https://togithub.com/typeorm/typeorm/issues/5947)) ([87cc6f4](https://togithub.com/typeorm/typeorm/commit/87cc6f4))
- migrations being generated for FK even if there are no changes ([#5869](https://togithub.com/typeorm/typeorm/issues/5869)) ([416e419](https://togithub.com/typeorm/typeorm/commit/416e419))
- multiple assignments to same column on UPDATE [#2651](https://togithub.com/typeorm/typeorm/issues/2651) ([#5598](https://togithub.com/typeorm/typeorm/issues/5598)) ([334e17e](https://togithub.com/typeorm/typeorm/commit/334e17e))
- prevent TypeError when calling bind function with sql.js 1.2.X ([#5789](https://togithub.com/typeorm/typeorm/issues/5789)) ([c6cbddc](https://togithub.com/typeorm/typeorm/commit/c6cbddc))
- prototype pollution issue ([#6096](https://togithub.com/typeorm/typeorm/issues/6096)) ([db9d0fa](https://togithub.com/typeorm/typeorm/commit/db9d0fa))
- provide a default empty array for parameters. ([#5677](https://togithub.com/typeorm/typeorm/issues/5677)) ([9e8a8cf](https://togithub.com/typeorm/typeorm/commit/9e8a8cf))
- redundant undefined parameters are not generated in migration files anymore ([#5690](https://togithub.com/typeorm/typeorm/issues/5690)) ([d5cde49](https://togithub.com/typeorm/typeorm/commit/d5cde49))
- replacing instanceof Array checks to Array.isArray because instanceof Array seems to be problematic on some platforms ([#5606](https://togithub.com/typeorm/typeorm/issues/5606)) ([b99b4ad](https://togithub.com/typeorm/typeorm/commit/b99b4ad))
- respect database from connection urls ([#5640](https://togithub.com/typeorm/typeorm/issues/5640)) ([ed75d59](https://togithub.com/typeorm/typeorm/commit/ed75d59)), closes [#2096](https://togithub.com/typeorm/typeorm/issues/2096)
- sha.js import ([#5728](https://togithub.com/typeorm/typeorm/issues/5728)) ([8c3f48a](https://togithub.com/typeorm/typeorm/commit/8c3f48a))
- Unknown fields are stripped from WHERE clause (issue [#3416](https://togithub.com/typeorm/typeorm/issues/3416)) ([#5603](https://togithub.com/typeorm/typeorm/issues/5603)) ([215f106](https://togithub.com/typeorm/typeorm/commit/215f106))
- update dependency mkdirp to 1.x ([#5748](https://togithub.com/typeorm/typeorm/issues/5748)) ([edeb561](https://togithub.com/typeorm/typeorm/commit/edeb561))
- update Entity decorator return type to ClassDecorator ([#5776](https://togithub.com/typeorm/typeorm/issues/5776)) ([7d8a1ca](https://togithub.com/typeorm/typeorm/commit/7d8a1ca))
- use an empty string enum as the type of a primary key column ([#6063](https://togithub.com/typeorm/typeorm/issues/6063)) ([8e0d817](https://togithub.com/typeorm/typeorm/commit/8e0d817)), closes [#3874](https://togithub.com/typeorm/typeorm/issues/3874)
- use correct typings for the result of `getUpsertedIds()` ([#5878](https://togithub.com/typeorm/typeorm/issues/5878)) ([2ab88c2](https://togithub.com/typeorm/typeorm/commit/2ab88c2))
- wrong table name parameter when not using default schema ([#5801](https://togithub.com/typeorm/typeorm/issues/5801)) ([327144a](https://togithub.com/typeorm/typeorm/commit/327144a))
##### Features
- add FOR NO KEY UPDATE lock mode for postgresql ([#5971](https://togithub.com/typeorm/typeorm/issues/5971)) ([360122f](https://togithub.com/typeorm/typeorm/commit/360122f))
- add name option to view column ([#5962](https://togithub.com/typeorm/typeorm/issues/5962)) ([3cfcc50](https://togithub.com/typeorm/typeorm/commit/3cfcc50)), closes [#5708](https://togithub.com/typeorm/typeorm/issues/5708)
- Add soft remove and recover methods to entity ([#5854](https://togithub.com/typeorm/typeorm/issues/5854)) ([9d2b8e0](https://togithub.com/typeorm/typeorm/commit/9d2b8e0))
- added support for NOWAIT & SKIP LOCKED in Postgres ([#5927](https://togithub.com/typeorm/typeorm/issues/5927)) ([2c90e1c](https://togithub.com/typeorm/typeorm/commit/2c90e1c))
- Aurora Data API - Postgres Support ([#5651](https://togithub.com/typeorm/typeorm/issues/5651)) ([e584297](https://togithub.com/typeorm/typeorm/commit/e584297))
- aurora Data API - Support for AWS configuration options through aurora driver ([#5754](https://togithub.com/typeorm/typeorm/issues/5754)) ([1829f96](https://togithub.com/typeorm/typeorm/commit/1829f96))
- create-column, update-column, version-column column kinds now support user specified values ([#5867](https://togithub.com/typeorm/typeorm/issues/5867)) ([5a2eb30](https://togithub.com/typeorm/typeorm/commit/5a2eb30)), closes [#3271](https://togithub.com/typeorm/typeorm/issues/3271)
- names of extra columns for specific tree types moved to NamingStrategy ([#5737](https://togithub.com/typeorm/typeorm/issues/5737)) ([ec3be41](https://togithub.com/typeorm/typeorm/commit/ec3be41))
- PG allow providing a function for password ([#5673](https://togithub.com/typeorm/typeorm/issues/5673)) ([265d1ae](https://togithub.com/typeorm/typeorm/commit/265d1ae))
- update cli migration up and down from any to void ([#5630](https://togithub.com/typeorm/typeorm/issues/5630)) ([76e165d](https://togithub.com/typeorm/typeorm/commit/76e165d))
- UpdateResult returns affected rows in mysql ([#5628](https://togithub.com/typeorm/typeorm/issues/5628)) ([17f2fff](https://togithub.com/typeorm/typeorm/commit/17f2fff)), closes [#1308](https://togithub.com/typeorm/typeorm/issues/1308)
##### Performance Improvements
- An optimized version of EntityMetadata#compareIds() for the common case ([#5419](https://togithub.com/typeorm/typeorm/issues/5419)) ([a9bdb37](https://togithub.com/typeorm/typeorm/commit/a9bdb37))
### [`v0.2.24`](https://togithub.com/typeorm/typeorm/blob/HEAD/CHANGELOG.md#0223-httpsgithubcomtypeormtypeormcompare02220223--0224-httpsgithubcomtypeormtypeormcompare02230224-2020-02-28)
[Compare Source](https://togithub.com/typeorm/typeorm/compare/0.2.23...0.2.24)
##### Bug Fixes
- .synchronize() drops json column on mariadb ([#5391](https://togithub.com/typeorm/typeorm/issues/5391)) ([e3c78c1](https://togithub.com/typeorm/typeorm/commit/e3c78c1)), closes [typeorm/typeorm#3636](https://togithub.com/typeorm/typeorm/issues/3636)
- (base-entity) set create return type to T\[] ([#5400](https://togithub.com/typeorm/typeorm/issues/5400)) ([ceff897](https://togithub.com/typeorm/typeorm/commit/ceff897))
- add the enableArithAbort option to the sql server connection option typings ([#5526](https://togithub.com/typeorm/typeorm/issues/5526)) ([d19dbc6](https://togithub.com/typeorm/typeorm/commit/d19dbc6))
- bug when default value in mssql were not updated if previous default was already set ([9fc8329](https://togithub.com/typeorm/typeorm/commit/9fc8329))
- change OrmUtils.mergeDeep to not merge RegExp objects ([#5182](https://togithub.com/typeorm/typeorm/issues/5182)) ([0f51836](https://togithub.com/typeorm/typeorm/commit/0f51836)), closes [#3534](https://togithub.com/typeorm/typeorm/issues/3534)
- fk on update should not use attributes of on delete ([2baa934](https://togithub.com/typeorm/typeorm/commit/2baa934))
- load typeorm-aurora-data-api-driver correctly when using webpack ([#4788](https://togithub.com/typeorm/typeorm/issues/4788)) ([#5302](https://togithub.com/typeorm/typeorm/issues/5302)) ([9da0d34](https://togithub.com/typeorm/typeorm/commit/9da0d34))
- not to make typeorm generate alter query on geometry column when that column was not changed ([#5525](https://togithub.com/typeorm/typeorm/issues/5525)) ([ee57557](https://togithub.com/typeorm/typeorm/commit/ee57557))
- Oracle sql expression for date column ([#5305](https://togithub.com/typeorm/typeorm/issues/5305)) ([40e9d3a](https://togithub.com/typeorm/typeorm/commit/40e9d3a)), closes [#4452](https://togithub.com/typeorm/typeorm/issues/4452) [#4452](https://togithub.com/typeorm/typeorm/issues/4452)
- refactoring instance of with Array.isArray() ([#5539](https://togithub.com/typeorm/typeorm/issues/5539)) ([1e1595e](https://togithub.com/typeorm/typeorm/commit/1e1595e))
- Return NULL when normalize default null value ([#5517](https://togithub.com/typeorm/typeorm/issues/5517)) ([1826b75](https://togithub.com/typeorm/typeorm/commit/1826b75)), closes [#5509](https://togithub.com/typeorm/typeorm/issues/5509)
- SAP HANA driver fixes ([#5445](https://togithub.com/typeorm/typeorm/issues/5445)) ([87b161f](https://togithub.com/typeorm/typeorm/commit/87b161f))
- update foreign keys when table name changes ([#5482](https://togithub.com/typeorm/typeorm/issues/5482)) ([7157cb3](https://togithub.com/typeorm/typeorm/commit/7157cb3))
- use OUTPUT INTO on SqlServer for returning columns ([#5361](https://togithub.com/typeorm/typeorm/issues/5361)) ([6bac3ca](https://togithub.com/typeorm/typeorm/commit/6bac3ca)), closes [#5160](https://togithub.com/typeorm/typeorm/issues/5160) [#5160](https://togithub.com/typeorm/typeorm/issues/5160)
- use sha.js instead of crypto for hash calculation ([#5270](https://togithub.com/typeorm/typeorm/issues/5270)) ([b380a7f](https://togithub.com/typeorm/typeorm/commit/b380a7f))
##### Features
- Add basic support for custom cache providers ([#5309](https://togithub.com/typeorm/typeorm/issues/5309)) ([6c6bde7](https://togithub.com/typeorm/typeorm/commit/6c6bde7))
- add fulltext parser option ([#5380](https://togithub.com/typeorm/typeorm/issues/5380)) ([dd73395](https://togithub.com/typeorm/typeorm/commit/dd73395))
### [`v0.2.23`](https://togithub.com/typeorm/typeorm/blob/HEAD/CHANGELOG.md#0223-httpsgithubcomtypeormtypeormcompare02220223--0224-httpsgithubcomtypeormtypeormcompare02230224-2020-02-28)
[Compare Source](https://togithub.com/typeorm/typeorm/compare/0.2.22...0.2.23)
##### Bug Fixes
- .synchronize() drops json column on mariadb ([#5391](https://togithub.com/typeorm/typeorm/issues/5391)) ([e3c78c1](https://togithub.com/typeorm/typeorm/commit/e3c78c1)), closes [typeorm/typeorm#3636](https://togithub.com/typeorm/typeorm/issues/3636)
- (base-entity) set create return type to T\[] ([#5400](https://togithub.com/typeorm/typeorm/issues/5400)) ([ceff897](https://togithub.com/typeorm/typeorm/commit/ceff897))
- add the enableArithAbort option to the sql server connection option typings ([#5526](https://togithub.com/typeorm/typeorm/issues/5526)) ([d19dbc6](https://togithub.com/typeorm/typeorm/commit/d19dbc6))
- bug when default value in mssql were not updated if previous default was already set ([9fc8329](https://togithub.com/typeorm/typeorm/commit/9fc8329))
- change OrmUtils.mergeDeep to not merge RegExp objects ([#5182](https://togithub.com/typeorm/typeorm/issues/5182)) ([0f51836](https://togithub.com/typeorm/typeorm/commit/0f51836)), closes [#3534](https://togithub.com/typeorm/typeorm/issues/3534)
- fk on update should not use attributes of on delete ([2baa934](https://togithub.com/typeorm/typeorm/commit/2baa934))
- load typeorm-aurora-data-api-driver correctly when using webpack ([#4788](https://togithub.com/typeorm/typeorm/issues/4788)) ([#5302](https://togithub.com/typeorm/typeorm/issues/5302)) ([9da0d34](https://togithub.com/typeorm/typeorm/commit/9da0d34))
- not to make typeorm generate alter query on geometry column when that column was not changed ([#5525](https://togithub.com/typeorm/typeorm/issues/5525)) ([ee57557](https://togithub.com/typeorm/typeorm/commit/ee57557))
- Oracle sql expression for date column ([#5305](https://togithub.com/typeorm/typeorm/issues/5305)) ([40e9d3a](https://togithub.com/typeorm/typeorm/commit/40e9d3a)), closes [#4452](https://togithub.com/typeorm/typeorm/issues/4452) [#4452](https://togithub.com/typeorm/typeorm/issues/4452)
- refactoring instance of with Array.isArray() ([#5539](https://togithub.com/typeorm/typeorm/issues/5539)) ([1e1595e](https://togithub.com/typeorm/typeorm/commit/1e1595e))
- Return NULL when normalize default null value ([#5517](https://togithub.com/typeorm/typeorm/issues/5517)) ([1826b75](https://togithub.com/typeorm/typeorm/commit/1826b75)), closes [#5509](https://togithub.com/typeorm/typeorm/issues/5509)
- SAP HANA driver fixes ([#5445](https://togithub.com/typeorm/typeorm/issues/5445)) ([87b161f](https://togithub.com/typeorm/typeorm/commit/87b161f))
- update foreign keys when table name changes ([#5482](https://togithub.com/typeorm/typeorm/issues/5482)) ([7157cb3](https://togithub.com/typeorm/typeorm/commit/7157cb3))
- use OUTPUT INTO on SqlServer for returning columns ([#5361](https://togithub.com/typeorm/typeorm/issues/5361)) ([6bac3ca](https://togithub.com/typeorm/typeorm/commit/6bac3ca)), closes [#5160](https://togithub.com/typeorm/typeorm/issues/5160) [#5160](https://togithub.com/typeorm/typeorm/issues/5160)
- use sha.js instead of crypto for hash calculation ([#5270](https://togithub.com/typeorm/typeorm/issues/5270)) ([b380a7f](https://togithub.com/typeorm/typeorm/commit/b380a7f))
##### Features
- Add basic support for custom cache providers ([#5309](https://togithub.com/typeorm/typeorm/issues/5309)) ([6c6bde7](https://togithub.com/typeorm/typeorm/commit/6c6bde7))
- add fulltext parser option ([#5380](https://togithub.com/typeorm/typeorm/issues/5380)) ([dd73395](https://togithub.com/typeorm/typeorm/commit/dd73395))
### [`v0.2.22`](https://togithub.com/typeorm/typeorm/blob/HEAD/CHANGELOG.md#0222-httpsgithubcomtypeormtypeormcompare02210222-2019-12-23)
[Compare Source](https://togithub.com/typeorm/typeorm/compare/0.2.21...0.2.22)
##### Bug Fixes
- use a prefix on SelectQueryBuilder internal parameters ([#5178](https://togithub.com/typeorm/typeorm/issues/5178)) ([cacb08b](https://togithub.com/typeorm/typeorm/commit/cacb08b)), closes [#5174](https://togithub.com/typeorm/typeorm/issues/5174) [#5174](https://togithub.com/typeorm/typeorm/issues/5174)
##### Features
- hash aliases to avoid conflicts ([#5227](https://togithub.com/typeorm/typeorm/issues/5227)) ([edc8e6d](https://togithub.com/typeorm/typeorm/commit/edc8e6d))
- implement driver options for NativeScript ([#5217](https://togithub.com/typeorm/typeorm/issues/5217)) ([3e58426](https://togithub.com/typeorm/typeorm/commit/3e58426))
- SAP Hana support ([#5246](https://togithub.com/typeorm/typeorm/issues/5246)) ([ec90341](https://togithub.com/typeorm/typeorm/commit/ec90341))
- speed up id search in buildChildrenEntityTree ([#5202](https://togithub.com/typeorm/typeorm/issues/5202)) ([2e628c3](https://togithub.com/typeorm/typeorm/commit/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`](https://togithub.com/typeorm/typeorm/blob/HEAD/CHANGELOG.md#0221-httpsgithubcomtypeormtypeormcompare02200221-2019-12-05)
[Compare Source](https://togithub.com/typeorm/typeorm/compare/0.2.20...0.2.21)
##### Bug Fixes
- allow expireAfterSeconds 0 in Index decorator (close [#5004](https://togithub.com/typeorm/typeorm/issues/5004)) ([#5005](https://togithub.com/typeorm/typeorm/issues/5005)) ([d05467c](https://togithub.com/typeorm/typeorm/commit/d05467c))
- do not mutate connection options ([#5078](https://togithub.com/typeorm/typeorm/issues/5078)) ([1047989](https://togithub.com/typeorm/typeorm/commit/1047989))
- mysql driver query streaming ([#5036](https://togithub.com/typeorm/typeorm/issues/5036)) ([aff2f56](https://togithub.com/typeorm/typeorm/commit/aff2f56))
- remove consrc usage (postgres,cockroachdb) ([#4333](https://togithub.com/typeorm/typeorm/issues/4333)) ([ce7cb16](https://togithub.com/typeorm/typeorm/commit/ce7cb16)), closes [#4332](https://togithub.com/typeorm/typeorm/issues/4332)
- repo for app-root-path in lock file ([#5052](https://togithub.com/typeorm/typeorm/issues/5052)) ([f0fd192](https://togithub.com/typeorm/typeorm/commit/f0fd192))
- resolve MySQL unique index check when bigNumberStrings is false ([#4822](https://togithub.com/typeorm/typeorm/issues/4822)) ([d205574](https://togithub.com/typeorm/typeorm/commit/d205574)), closes [#2737](https://togithub.com/typeorm/typeorm/issues/2737)
- resolve sorting bug for several mongo vesions with typeorm migration ([#5121](https://togithub.com/typeorm/typeorm/issues/5121)) ([cb771a1](https://togithub.com/typeorm/typeorm/commit/cb771a1)), closes [#5115](https://togithub.com/typeorm/typeorm/issues/5115)
- throwing error on duplicate migration names [#4701](https://togithub.com/typeorm/typeorm/issues/4701) ([#4704](https://togithub.com/typeorm/typeorm/issues/4704)) ([3e4dc9f](https://togithub.com/typeorm/typeorm/commit/3e4dc9f))
- unescaped column name in order clause of "migrations" ([#5108](https://togithub.com/typeorm/typeorm/issues/5108)) ([c0c8566](https://togithub.com/typeorm/typeorm/commit/c0c8566))
- upgrade app-root-path ([#5023](https://togithub.com/typeorm/typeorm/issues/5023)) ([7f87f0c](https://togithub.com/typeorm/typeorm/commit/7f87f0c))
##### Features
- add distinct on() support for postgres ([#4954](https://togithub.com/typeorm/typeorm/issues/4954)) ([1293065](https://togithub.com/typeorm/typeorm/commit/1293065))
- add migrations transaction option to connection options ([#5147](https://togithub.com/typeorm/typeorm/issues/5147)) ([fb60688](https://togithub.com/typeorm/typeorm/commit/fb60688)), closes [#4629](https://togithub.com/typeorm/typeorm/issues/4629) [#4629](https://togithub.com/typeorm/typeorm/issues/4629)
- asynchronous ormconfig support ([#5048](https://togithub.com/typeorm/typeorm/issues/5048)) ([f9fdaee](https://togithub.com/typeorm/typeorm/commit/f9fdaee)), closes [#4149](https://togithub.com/typeorm/typeorm/issues/4149)
- export Migration Execution API from main package (fixes [#4880](https://togithub.com/typeorm/typeorm/issues/4880)) ([#4892](https://togithub.com/typeorm/typeorm/issues/4892)) ([8f4f908](https://togithub.com/typeorm/typeorm/commit/8f4f908))
- support spatial types of MySQL 8+ ([#4794](https://togithub.com/typeorm/typeorm/issues/4794)) ([231dadf](https://togithub.com/typeorm/typeorm/commit/231dadf)), closes [#3702](https://togithub.com/typeorm/typeorm/issues/3702)
### [`v0.2.20`](https://togithub.com/typeorm/typeorm/blob/HEAD/CHANGELOG.md#0220-httpsgithubcomtypeormtypeormcompare02190220-2019-10-18)
[Compare Source](https://togithub.com/typeorm/typeorm/compare/0.2.19...0.2.20)
##### Bug Fixes
- ensure distinct property is respected cloning query builder ([#4843](https://togithub.com/typeorm/typeorm/issues/4843)) ([ea17094](https://togithub.com/typeorm/typeorm/commit/ea17094)), closes [#4842](https://togithub.com/typeorm/typeorm/issues/4842)
- **aurora:** apply mysql query fixes to aurora ([#4779](https://togithub.com/typeorm/typeorm/issues/4779)) ([ee61c51](https://togithub.com/typeorm/typeorm/commit/ee61c51))
- allow EntitySchema to be passed to EntityRepository ([#4884](https://togithub.com/typeorm/typeorm/issues/4884)) ([652a20e](https://togithub.com/typeorm/typeorm/commit/652a20e))
- better timestamp comparison ([#4769](https://togithub.com/typeorm/typeorm/issues/4769)) ([0a13e6a](https://togithub.com/typeorm/typeorm/commit/0a13e6a))
- broken database option when using replication, changes introduced by [#4753](https://togithub.com/typeorm/typeorm/issues/4753) ([#4826](https://togithub.com/typeorm/typeorm/issues/4826)) ([df5479b](https://togithub.com/typeorm/typeorm/commit/df5479b))
- check for version of MariaDB before extracting COLUMN_DEFAULT ([#4783](https://togithub.com/typeorm/typeorm/issues/4783)) ([c30b485](https://togithub.com/typeorm/typeorm/commit/c30b485))
- connection Reuse is broken in a Lambda environment: ([#4804](https://togithub.com/typeorm/typeorm/issues/4804)) ([7962036](https://togithub.com/typeorm/typeorm/commit/7962036))
- FindOptionUtils export ([#4746](https://togithub.com/typeorm/typeorm/issues/4746)) ([4a62b1c](https://togithub.com/typeorm/typeorm/commit/4a62b1c)), closes [#4745](https://togithub.com/typeorm/typeorm/issues/4745)
- loading of aurora-data-api driver ([#4765](https://togithub.com/typeorm/typeorm/issues/4765)) ([fbb8947](https://togithub.com/typeorm/typeorm/commit/fbb8947))
- **postgres:** postgres query runner to create materialized view ([#4877](https://togithub.com/typeorm/typeorm/issues/4877)) ([d744966](https://togithub.com/typeorm/typeorm/commit/d744966))
- migrations run in reverse order for mongodb ([#4702](https://togithub.com/typeorm/typeorm/issues/4702)) ([2f27581](https://togithub.com/typeorm/typeorm/commit/2f27581))
- mongodb Cursor.forEach types ([#4759](https://togithub.com/typeorm/typeorm/issues/4759)) ([fccbe3e](https://togithub.com/typeorm/typeorm/commit/fccbe3e))
- Slack invite URL ([#4836](https://togithub.com/typeorm/typeorm/issues/4836)) ([149af26](https://togithub.com/typeorm/typeorm/commit/149af26))
##### Features
- add name to MigrationInterface (fixes [#3933](https://togithub.com/typeorm/typeorm/issues/3933) and fixes [#2549](https://togithub.com/typeorm/typeorm/issues/2549)) ([#4873](https://togithub.com/typeorm/typeorm/issues/4873)) ([4a73fde](https://togithub.com/typeorm/typeorm/commit/4a73fde))
- add new transaction mode to wrap each migration in transaction ([#4629](https://togithub.com/typeorm/typeorm/issues/4629)) ([848fb1f](https://togithub.com/typeorm/typeorm/commit/848fb1f))
- add option to Column to specify the complete enumName ([#4824](https://togithub.com/typeorm/typeorm/issues/4824)) ([d967180](https://togithub.com/typeorm/typeorm/commit/d967180))
- add support for cube array for PostgreSQL ([#4848](https://togithub.com/typeorm/typeorm/issues/4848)) ([154a441](https://togithub.com/typeorm/typeorm/commit/154a441))
- implements Sqlite 'WITHOUT ROWID' table modifier ([#4688](https://togithub.com/typeorm/typeorm/issues/4688)) ([c1342ad](https://togithub.com/typeorm/typeorm/commit/c1342ad)), closes [#3330](https://togithub.com/typeorm/typeorm/issues/3330)
### [`v0.2.19`](https://togithub.com/typeorm/typeorm/blob/HEAD/CHANGELOG.md#0219-httpsgithubcomtypeormtypeormcompare02180219-2019-09-13)
[Compare Source](https://togithub.com/typeorm/typeorm/compare/0.2.18...0.2.19)
##### Bug Fixes
- "database" option error in driver when use "url" option for connection ([690e6f5](https://togithub.com/typeorm/typeorm/commit/690e6f5))
- "hstore injection" & properly handle NULL, empty string, backslashes & quotes in hstore key/value pairs ([#4720](https://togithub.com/typeorm/typeorm/issues/4720)) ([3abe5b9](https://togithub.com/typeorm/typeorm/commit/3abe5b9))
- add SaveOptions and RemoveOptions into ActiveRecord ([#4318](https://togithub.com/typeorm/typeorm/issues/4318)) ([a6d7ba2](https://togithub.com/typeorm/typeorm/commit/a6d7ba2))
- apostrophe in Postgres enum strings breaks query ([#4631](https://togithub.com/typeorm/typeorm/issues/4631)) ([445c740](https://togithub.com/typeorm/typeorm/commit/445c740))
- change PrimaryColumn decorator to clone passed options ([#4571](https://togithub.com/typeorm/typeorm/issues/4571)) ([3cf470d](https://togithub.com/typeorm/typeorm/commit/3cf470d)), closes [#4570](https://togithub.com/typeorm/typeorm/issues/4570)
- createQueryBuilder relation remove works only if using ID ([#2632](https://togithub.com/typeorm/typeorm/issues/2632)) ([#4734](https://togithub.com/typeorm/typeorm/issues/4734)) ([1d73a90](https://togithub.com/typeorm/typeorm/commit/1d73a90))
- resolve issue with conversion string to simple-json ([#4476](https://togithub.com/typeorm/typeorm/issues/4476)) ([d1594f5](https://togithub.com/typeorm/typeorm/commit/d1594f5)), closes [#4440](https://togithub.com/typeorm/typeorm/issues/4440)
- sqlite connections don't ignore the schema property ([#4599](https://togithub.com/typeorm/typeorm/issues/4599)) ([d8f1c81](https://togithub.com/typeorm/typeorm/commit/d8f1c81))
- the excessive stack depth comparing types `FindConditions>` and `FindConditions>` problem ([#4470](https://togithub.com/typeorm/typeorm/issues/4470)) ([7a0beed](https://togithub.com/typeorm/typeorm/commit/7a0beed))
- views generating broken Migrations ([#4726](https://togithub.com/typeorm/typeorm/issues/4726)) ([c52b3d2](https://togithub.com/typeorm/typeorm/commit/c52b3d2)), closes [#4123](https://togithub.com/typeorm/typeorm/issues/4123)
##### Features
- add `set` datatype support for MySQL/MariaDB ([#4538](https://togithub.com/typeorm/typeorm/issues/4538)) ([19e2179](https://togithub.com/typeorm/typeorm/commit/19e2179)), closes [#2779](https://togithub.com/typeorm/typeorm/issues/2779)
- add materialized View support for Postgres ([#4478](https://togithub.com/typeorm/typeorm/issues/4478)) ([dacac83](https://togithub.com/typeorm/typeorm/commit/dacac83)), closes [#4317](https://togithub.com/typeorm/typeorm/issues/4317) [#3996](https://togithub.com/typeorm/typeorm/issues/3996)
- add mongodb `useUnifiedTopology` config parameter ([#4684](https://togithub.com/typeorm/typeorm/issues/4684)) ([92e4270](https://togithub.com/typeorm/typeorm/commit/92e4270))
- add multi-dimensional cube support for PostgreSQL ([#4378](https://togithub.com/typeorm/typeorm/issues/4378)) ([b6d6278](https://togithub.com/typeorm/typeorm/commit/b6d6278))
- add options to input init config for sql.js ([#4560](https://togithub.com/typeorm/typeorm/issues/4560)) ([5c311ed](https://togithub.com/typeorm/typeorm/commit/5c311ed))
- add postgres pool error handler ([#4474](https://togithub.com/typeorm/typeorm/issues/4474)) ([a925be9](https://togithub.com/typeorm/typeorm/commit/a925be9))
- add referenced table metadata to NamingStrategy to resolve foreign key name ([#4274](https://togithub.com/typeorm/typeorm/issues/4274)) ([0094f61](https://togithub.com/typeorm/typeorm/commit/0094f61)), closes [#3847](https://togithub.com/typeorm/typeorm/issues/3847) [#1355](https://togithub.com/typeorm/typeorm/issues/1355)
- add support for ON CONFLICT for cockroach ([#4518](https://togithub.com/typeorm/typeorm/issues/4518)) ([db8074a](https://togithub.com/typeorm/typeorm/commit/db8074a)), closes [#4513](https://togithub.com/typeorm/typeorm/issues/4513)
- Added support for DISTINCT queries ([#4109](https://togithub.com/typeorm/typeorm/issues/4109)) ([39a8e34](https://togithub.com/typeorm/typeorm/commit/39a8e34))
- Aurora Data API ([#4375](https://togithub.com/typeorm/typeorm/issues/4375)) ([c321562](https://togithub.com/typeorm/typeorm/commit/c321562))
- export additional schema builder classes ([#4325](https://togithub.com/typeorm/typeorm/issues/4325)) ([e589fda](https://togithub.com/typeorm/typeorm/commit/e589fda))
- log files loaded from glob patterns ([#4346](https://togithub.com/typeorm/typeorm/issues/4346)) ([e12479e](https://togithub.com/typeorm/typeorm/commit/e12479e)), closes [#4162](https://togithub.com/typeorm/typeorm/issues/4162)
- UpdateResult returns affected rows in postgresql ([#4432](https://togithub.com/typeorm/typeorm/issues/4432)) ([7808bba](https://togithub.com/typeorm/typeorm/commit/7808bba)), closes [#1308](https://togithub.com/typeorm/typeorm/issues/1308)
Configuration
📅 Schedule: "" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR contains the following updates:
0.2.18
->0.2.25
GitHub Vulnerability Alerts
CVE-2020-8158
Prototype pollution vulnerability in the TypeORM package < 0.2.25 may allow attackers to add or modify Object properties leading to further denial of service or SQL injection attacks.
Release Notes
typeorm/typeorm
### [`v0.2.25`](https://togithub.com/typeorm/typeorm/blob/HEAD/CHANGELOG.md#0225-httpsgithubcomtypeormtypeormcompare02240225-2020-05-19) [Compare Source](https://togithub.com/typeorm/typeorm/compare/0.2.24...0.2.25) ##### Bug Fixes - 'in' clause case for ORACLE ([#5345](https://togithub.com/typeorm/typeorm/issues/5345)) ([8977365](https://togithub.com/typeorm/typeorm/commit/8977365)) - calling EntityManager.insert() with an empty array of entities ([#5745](https://togithub.com/typeorm/typeorm/issues/5745)) ([f8c52f3](https://togithub.com/typeorm/typeorm/commit/f8c52f3)), closes [#5734](https://togithub.com/typeorm/typeorm/issues/5734) [#5734](https://togithub.com/typeorm/typeorm/issues/5734) [#5734](https://togithub.com/typeorm/typeorm/issues/5734) - columns with transformer should be normalized for update ([#5700](https://togithub.com/typeorm/typeorm/issues/5700)) ([4ef6b65](https://togithub.com/typeorm/typeorm/commit/4ef6b65)), closes [#2703](https://togithub.com/typeorm/typeorm/issues/2703) - escape column comment in mysql driver ([#6056](https://togithub.com/typeorm/typeorm/issues/6056)) ([5fc802d](https://togithub.com/typeorm/typeorm/commit/5fc802d)) - expo sqlite driver disconnect() ([#6027](https://togithub.com/typeorm/typeorm/issues/6027)) ([61d59ca](https://togithub.com/typeorm/typeorm/commit/61d59ca)) - HANA - SSL options, column delta detection mechanism ([#5938](https://togithub.com/typeorm/typeorm/issues/5938)) ([2fd0a8a](https://togithub.com/typeorm/typeorm/commit/2fd0a8a)) - handle URL objects as column field values ([#5771](https://togithub.com/typeorm/typeorm/issues/5771)) ([50a0641](https://togithub.com/typeorm/typeorm/commit/50a0641)), closes [#5762](https://togithub.com/typeorm/typeorm/issues/5762) [#5762](https://togithub.com/typeorm/typeorm/issues/5762) - insert and update query builder to handle mssql geometry column correctly ([#5947](https://togithub.com/typeorm/typeorm/issues/5947)) ([87cc6f4](https://togithub.com/typeorm/typeorm/commit/87cc6f4)) - migrations being generated for FK even if there are no changes ([#5869](https://togithub.com/typeorm/typeorm/issues/5869)) ([416e419](https://togithub.com/typeorm/typeorm/commit/416e419)) - multiple assignments to same column on UPDATE [#2651](https://togithub.com/typeorm/typeorm/issues/2651) ([#5598](https://togithub.com/typeorm/typeorm/issues/5598)) ([334e17e](https://togithub.com/typeorm/typeorm/commit/334e17e)) - prevent TypeError when calling bind function with sql.js 1.2.X ([#5789](https://togithub.com/typeorm/typeorm/issues/5789)) ([c6cbddc](https://togithub.com/typeorm/typeorm/commit/c6cbddc)) - prototype pollution issue ([#6096](https://togithub.com/typeorm/typeorm/issues/6096)) ([db9d0fa](https://togithub.com/typeorm/typeorm/commit/db9d0fa)) - provide a default empty array for parameters. ([#5677](https://togithub.com/typeorm/typeorm/issues/5677)) ([9e8a8cf](https://togithub.com/typeorm/typeorm/commit/9e8a8cf)) - redundant undefined parameters are not generated in migration files anymore ([#5690](https://togithub.com/typeorm/typeorm/issues/5690)) ([d5cde49](https://togithub.com/typeorm/typeorm/commit/d5cde49)) - replacing instanceof Array checks to Array.isArray because instanceof Array seems to be problematic on some platforms ([#5606](https://togithub.com/typeorm/typeorm/issues/5606)) ([b99b4ad](https://togithub.com/typeorm/typeorm/commit/b99b4ad)) - respect database from connection urls ([#5640](https://togithub.com/typeorm/typeorm/issues/5640)) ([ed75d59](https://togithub.com/typeorm/typeorm/commit/ed75d59)), closes [#2096](https://togithub.com/typeorm/typeorm/issues/2096) - sha.js import ([#5728](https://togithub.com/typeorm/typeorm/issues/5728)) ([8c3f48a](https://togithub.com/typeorm/typeorm/commit/8c3f48a)) - Unknown fields are stripped from WHERE clause (issue [#3416](https://togithub.com/typeorm/typeorm/issues/3416)) ([#5603](https://togithub.com/typeorm/typeorm/issues/5603)) ([215f106](https://togithub.com/typeorm/typeorm/commit/215f106)) - update dependency mkdirp to 1.x ([#5748](https://togithub.com/typeorm/typeorm/issues/5748)) ([edeb561](https://togithub.com/typeorm/typeorm/commit/edeb561)) - update Entity decorator return type to ClassDecorator ([#5776](https://togithub.com/typeorm/typeorm/issues/5776)) ([7d8a1ca](https://togithub.com/typeorm/typeorm/commit/7d8a1ca)) - use an empty string enum as the type of a primary key column ([#6063](https://togithub.com/typeorm/typeorm/issues/6063)) ([8e0d817](https://togithub.com/typeorm/typeorm/commit/8e0d817)), closes [#3874](https://togithub.com/typeorm/typeorm/issues/3874) - use correct typings for the result of `getUpsertedIds()` ([#5878](https://togithub.com/typeorm/typeorm/issues/5878)) ([2ab88c2](https://togithub.com/typeorm/typeorm/commit/2ab88c2)) - wrong table name parameter when not using default schema ([#5801](https://togithub.com/typeorm/typeorm/issues/5801)) ([327144a](https://togithub.com/typeorm/typeorm/commit/327144a)) ##### Features - add FOR NO KEY UPDATE lock mode for postgresql ([#5971](https://togithub.com/typeorm/typeorm/issues/5971)) ([360122f](https://togithub.com/typeorm/typeorm/commit/360122f)) - add name option to view column ([#5962](https://togithub.com/typeorm/typeorm/issues/5962)) ([3cfcc50](https://togithub.com/typeorm/typeorm/commit/3cfcc50)), closes [#5708](https://togithub.com/typeorm/typeorm/issues/5708) - Add soft remove and recover methods to entity ([#5854](https://togithub.com/typeorm/typeorm/issues/5854)) ([9d2b8e0](https://togithub.com/typeorm/typeorm/commit/9d2b8e0)) - added support for NOWAIT & SKIP LOCKED in Postgres ([#5927](https://togithub.com/typeorm/typeorm/issues/5927)) ([2c90e1c](https://togithub.com/typeorm/typeorm/commit/2c90e1c)) - Aurora Data API - Postgres Support ([#5651](https://togithub.com/typeorm/typeorm/issues/5651)) ([e584297](https://togithub.com/typeorm/typeorm/commit/e584297)) - aurora Data API - Support for AWS configuration options through aurora driver ([#5754](https://togithub.com/typeorm/typeorm/issues/5754)) ([1829f96](https://togithub.com/typeorm/typeorm/commit/1829f96)) - create-column, update-column, version-column column kinds now support user specified values ([#5867](https://togithub.com/typeorm/typeorm/issues/5867)) ([5a2eb30](https://togithub.com/typeorm/typeorm/commit/5a2eb30)), closes [#3271](https://togithub.com/typeorm/typeorm/issues/3271) - names of extra columns for specific tree types moved to NamingStrategy ([#5737](https://togithub.com/typeorm/typeorm/issues/5737)) ([ec3be41](https://togithub.com/typeorm/typeorm/commit/ec3be41)) - PG allow providing a function for password ([#5673](https://togithub.com/typeorm/typeorm/issues/5673)) ([265d1ae](https://togithub.com/typeorm/typeorm/commit/265d1ae)) - update cli migration up and down from any to void ([#5630](https://togithub.com/typeorm/typeorm/issues/5630)) ([76e165d](https://togithub.com/typeorm/typeorm/commit/76e165d)) - UpdateResult returns affected rows in mysql ([#5628](https://togithub.com/typeorm/typeorm/issues/5628)) ([17f2fff](https://togithub.com/typeorm/typeorm/commit/17f2fff)), closes [#1308](https://togithub.com/typeorm/typeorm/issues/1308) ##### Performance Improvements - An optimized version of EntityMetadata#compareIds() for the common case ([#5419](https://togithub.com/typeorm/typeorm/issues/5419)) ([a9bdb37](https://togithub.com/typeorm/typeorm/commit/a9bdb37)) ### [`v0.2.24`](https://togithub.com/typeorm/typeorm/blob/HEAD/CHANGELOG.md#0223-httpsgithubcomtypeormtypeormcompare02220223--0224-httpsgithubcomtypeormtypeormcompare02230224-2020-02-28) [Compare Source](https://togithub.com/typeorm/typeorm/compare/0.2.23...0.2.24) ##### Bug Fixes - .synchronize() drops json column on mariadb ([#5391](https://togithub.com/typeorm/typeorm/issues/5391)) ([e3c78c1](https://togithub.com/typeorm/typeorm/commit/e3c78c1)), closes [typeorm/typeorm#3636](https://togithub.com/typeorm/typeorm/issues/3636) - (base-entity) set create return type to T\[] ([#5400](https://togithub.com/typeorm/typeorm/issues/5400)) ([ceff897](https://togithub.com/typeorm/typeorm/commit/ceff897)) - add the enableArithAbort option to the sql server connection option typings ([#5526](https://togithub.com/typeorm/typeorm/issues/5526)) ([d19dbc6](https://togithub.com/typeorm/typeorm/commit/d19dbc6)) - bug when default value in mssql were not updated if previous default was already set ([9fc8329](https://togithub.com/typeorm/typeorm/commit/9fc8329)) - change OrmUtils.mergeDeep to not merge RegExp objects ([#5182](https://togithub.com/typeorm/typeorm/issues/5182)) ([0f51836](https://togithub.com/typeorm/typeorm/commit/0f51836)), closes [#3534](https://togithub.com/typeorm/typeorm/issues/3534) - fk on update should not use attributes of on delete ([2baa934](https://togithub.com/typeorm/typeorm/commit/2baa934)) - load typeorm-aurora-data-api-driver correctly when using webpack ([#4788](https://togithub.com/typeorm/typeorm/issues/4788)) ([#5302](https://togithub.com/typeorm/typeorm/issues/5302)) ([9da0d34](https://togithub.com/typeorm/typeorm/commit/9da0d34)) - not to make typeorm generate alter query on geometry column when that column was not changed ([#5525](https://togithub.com/typeorm/typeorm/issues/5525)) ([ee57557](https://togithub.com/typeorm/typeorm/commit/ee57557)) - Oracle sql expression for date column ([#5305](https://togithub.com/typeorm/typeorm/issues/5305)) ([40e9d3a](https://togithub.com/typeorm/typeorm/commit/40e9d3a)), closes [#4452](https://togithub.com/typeorm/typeorm/issues/4452) [#4452](https://togithub.com/typeorm/typeorm/issues/4452) - refactoring instance of with Array.isArray() ([#5539](https://togithub.com/typeorm/typeorm/issues/5539)) ([1e1595e](https://togithub.com/typeorm/typeorm/commit/1e1595e)) - Return NULL when normalize default null value ([#5517](https://togithub.com/typeorm/typeorm/issues/5517)) ([1826b75](https://togithub.com/typeorm/typeorm/commit/1826b75)), closes [#5509](https://togithub.com/typeorm/typeorm/issues/5509) - SAP HANA driver fixes ([#5445](https://togithub.com/typeorm/typeorm/issues/5445)) ([87b161f](https://togithub.com/typeorm/typeorm/commit/87b161f)) - update foreign keys when table name changes ([#5482](https://togithub.com/typeorm/typeorm/issues/5482)) ([7157cb3](https://togithub.com/typeorm/typeorm/commit/7157cb3)) - use OUTPUT INTO on SqlServer for returning columns ([#5361](https://togithub.com/typeorm/typeorm/issues/5361)) ([6bac3ca](https://togithub.com/typeorm/typeorm/commit/6bac3ca)), closes [#5160](https://togithub.com/typeorm/typeorm/issues/5160) [#5160](https://togithub.com/typeorm/typeorm/issues/5160) - use sha.js instead of crypto for hash calculation ([#5270](https://togithub.com/typeorm/typeorm/issues/5270)) ([b380a7f](https://togithub.com/typeorm/typeorm/commit/b380a7f)) ##### Features - Add basic support for custom cache providers ([#5309](https://togithub.com/typeorm/typeorm/issues/5309)) ([6c6bde7](https://togithub.com/typeorm/typeorm/commit/6c6bde7)) - add fulltext parser option ([#5380](https://togithub.com/typeorm/typeorm/issues/5380)) ([dd73395](https://togithub.com/typeorm/typeorm/commit/dd73395)) ### [`v0.2.23`](https://togithub.com/typeorm/typeorm/blob/HEAD/CHANGELOG.md#0223-httpsgithubcomtypeormtypeormcompare02220223--0224-httpsgithubcomtypeormtypeormcompare02230224-2020-02-28) [Compare Source](https://togithub.com/typeorm/typeorm/compare/0.2.22...0.2.23) ##### Bug Fixes - .synchronize() drops json column on mariadb ([#5391](https://togithub.com/typeorm/typeorm/issues/5391)) ([e3c78c1](https://togithub.com/typeorm/typeorm/commit/e3c78c1)), closes [typeorm/typeorm#3636](https://togithub.com/typeorm/typeorm/issues/3636) - (base-entity) set create return type to T\[] ([#5400](https://togithub.com/typeorm/typeorm/issues/5400)) ([ceff897](https://togithub.com/typeorm/typeorm/commit/ceff897)) - add the enableArithAbort option to the sql server connection option typings ([#5526](https://togithub.com/typeorm/typeorm/issues/5526)) ([d19dbc6](https://togithub.com/typeorm/typeorm/commit/d19dbc6)) - bug when default value in mssql were not updated if previous default was already set ([9fc8329](https://togithub.com/typeorm/typeorm/commit/9fc8329)) - change OrmUtils.mergeDeep to not merge RegExp objects ([#5182](https://togithub.com/typeorm/typeorm/issues/5182)) ([0f51836](https://togithub.com/typeorm/typeorm/commit/0f51836)), closes [#3534](https://togithub.com/typeorm/typeorm/issues/3534) - fk on update should not use attributes of on delete ([2baa934](https://togithub.com/typeorm/typeorm/commit/2baa934)) - load typeorm-aurora-data-api-driver correctly when using webpack ([#4788](https://togithub.com/typeorm/typeorm/issues/4788)) ([#5302](https://togithub.com/typeorm/typeorm/issues/5302)) ([9da0d34](https://togithub.com/typeorm/typeorm/commit/9da0d34)) - not to make typeorm generate alter query on geometry column when that column was not changed ([#5525](https://togithub.com/typeorm/typeorm/issues/5525)) ([ee57557](https://togithub.com/typeorm/typeorm/commit/ee57557)) - Oracle sql expression for date column ([#5305](https://togithub.com/typeorm/typeorm/issues/5305)) ([40e9d3a](https://togithub.com/typeorm/typeorm/commit/40e9d3a)), closes [#4452](https://togithub.com/typeorm/typeorm/issues/4452) [#4452](https://togithub.com/typeorm/typeorm/issues/4452) - refactoring instance of with Array.isArray() ([#5539](https://togithub.com/typeorm/typeorm/issues/5539)) ([1e1595e](https://togithub.com/typeorm/typeorm/commit/1e1595e)) - Return NULL when normalize default null value ([#5517](https://togithub.com/typeorm/typeorm/issues/5517)) ([1826b75](https://togithub.com/typeorm/typeorm/commit/1826b75)), closes [#5509](https://togithub.com/typeorm/typeorm/issues/5509) - SAP HANA driver fixes ([#5445](https://togithub.com/typeorm/typeorm/issues/5445)) ([87b161f](https://togithub.com/typeorm/typeorm/commit/87b161f)) - update foreign keys when table name changes ([#5482](https://togithub.com/typeorm/typeorm/issues/5482)) ([7157cb3](https://togithub.com/typeorm/typeorm/commit/7157cb3)) - use OUTPUT INTO on SqlServer for returning columns ([#5361](https://togithub.com/typeorm/typeorm/issues/5361)) ([6bac3ca](https://togithub.com/typeorm/typeorm/commit/6bac3ca)), closes [#5160](https://togithub.com/typeorm/typeorm/issues/5160) [#5160](https://togithub.com/typeorm/typeorm/issues/5160) - use sha.js instead of crypto for hash calculation ([#5270](https://togithub.com/typeorm/typeorm/issues/5270)) ([b380a7f](https://togithub.com/typeorm/typeorm/commit/b380a7f)) ##### Features - Add basic support for custom cache providers ([#5309](https://togithub.com/typeorm/typeorm/issues/5309)) ([6c6bde7](https://togithub.com/typeorm/typeorm/commit/6c6bde7)) - add fulltext parser option ([#5380](https://togithub.com/typeorm/typeorm/issues/5380)) ([dd73395](https://togithub.com/typeorm/typeorm/commit/dd73395)) ### [`v0.2.22`](https://togithub.com/typeorm/typeorm/blob/HEAD/CHANGELOG.md#0222-httpsgithubcomtypeormtypeormcompare02210222-2019-12-23) [Compare Source](https://togithub.com/typeorm/typeorm/compare/0.2.21...0.2.22) ##### Bug Fixes - use a prefix on SelectQueryBuilder internal parameters ([#5178](https://togithub.com/typeorm/typeorm/issues/5178)) ([cacb08b](https://togithub.com/typeorm/typeorm/commit/cacb08b)), closes [#5174](https://togithub.com/typeorm/typeorm/issues/5174) [#5174](https://togithub.com/typeorm/typeorm/issues/5174) ##### Features - hash aliases to avoid conflicts ([#5227](https://togithub.com/typeorm/typeorm/issues/5227)) ([edc8e6d](https://togithub.com/typeorm/typeorm/commit/edc8e6d)) - implement driver options for NativeScript ([#5217](https://togithub.com/typeorm/typeorm/issues/5217)) ([3e58426](https://togithub.com/typeorm/typeorm/commit/3e58426)) - SAP Hana support ([#5246](https://togithub.com/typeorm/typeorm/issues/5246)) ([ec90341](https://togithub.com/typeorm/typeorm/commit/ec90341)) - speed up id search in buildChildrenEntityTree ([#5202](https://togithub.com/typeorm/typeorm/issues/5202)) ([2e628c3](https://togithub.com/typeorm/typeorm/commit/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`](https://togithub.com/typeorm/typeorm/blob/HEAD/CHANGELOG.md#0221-httpsgithubcomtypeormtypeormcompare02200221-2019-12-05) [Compare Source](https://togithub.com/typeorm/typeorm/compare/0.2.20...0.2.21) ##### Bug Fixes - allow expireAfterSeconds 0 in Index decorator (close [#5004](https://togithub.com/typeorm/typeorm/issues/5004)) ([#5005](https://togithub.com/typeorm/typeorm/issues/5005)) ([d05467c](https://togithub.com/typeorm/typeorm/commit/d05467c)) - do not mutate connection options ([#5078](https://togithub.com/typeorm/typeorm/issues/5078)) ([1047989](https://togithub.com/typeorm/typeorm/commit/1047989)) - mysql driver query streaming ([#5036](https://togithub.com/typeorm/typeorm/issues/5036)) ([aff2f56](https://togithub.com/typeorm/typeorm/commit/aff2f56)) - remove consrc usage (postgres,cockroachdb) ([#4333](https://togithub.com/typeorm/typeorm/issues/4333)) ([ce7cb16](https://togithub.com/typeorm/typeorm/commit/ce7cb16)), closes [#4332](https://togithub.com/typeorm/typeorm/issues/4332) - repo for app-root-path in lock file ([#5052](https://togithub.com/typeorm/typeorm/issues/5052)) ([f0fd192](https://togithub.com/typeorm/typeorm/commit/f0fd192)) - resolve MySQL unique index check when bigNumberStrings is false ([#4822](https://togithub.com/typeorm/typeorm/issues/4822)) ([d205574](https://togithub.com/typeorm/typeorm/commit/d205574)), closes [#2737](https://togithub.com/typeorm/typeorm/issues/2737) - resolve sorting bug for several mongo vesions with typeorm migration ([#5121](https://togithub.com/typeorm/typeorm/issues/5121)) ([cb771a1](https://togithub.com/typeorm/typeorm/commit/cb771a1)), closes [#5115](https://togithub.com/typeorm/typeorm/issues/5115) - throwing error on duplicate migration names [#4701](https://togithub.com/typeorm/typeorm/issues/4701) ([#4704](https://togithub.com/typeorm/typeorm/issues/4704)) ([3e4dc9f](https://togithub.com/typeorm/typeorm/commit/3e4dc9f)) - unescaped column name in order clause of "migrations" ([#5108](https://togithub.com/typeorm/typeorm/issues/5108)) ([c0c8566](https://togithub.com/typeorm/typeorm/commit/c0c8566)) - upgrade app-root-path ([#5023](https://togithub.com/typeorm/typeorm/issues/5023)) ([7f87f0c](https://togithub.com/typeorm/typeorm/commit/7f87f0c)) ##### Features - add distinct on() support for postgres ([#4954](https://togithub.com/typeorm/typeorm/issues/4954)) ([1293065](https://togithub.com/typeorm/typeorm/commit/1293065)) - add migrations transaction option to connection options ([#5147](https://togithub.com/typeorm/typeorm/issues/5147)) ([fb60688](https://togithub.com/typeorm/typeorm/commit/fb60688)), closes [#4629](https://togithub.com/typeorm/typeorm/issues/4629) [#4629](https://togithub.com/typeorm/typeorm/issues/4629) - asynchronous ormconfig support ([#5048](https://togithub.com/typeorm/typeorm/issues/5048)) ([f9fdaee](https://togithub.com/typeorm/typeorm/commit/f9fdaee)), closes [#4149](https://togithub.com/typeorm/typeorm/issues/4149) - export Migration Execution API from main package (fixes [#4880](https://togithub.com/typeorm/typeorm/issues/4880)) ([#4892](https://togithub.com/typeorm/typeorm/issues/4892)) ([8f4f908](https://togithub.com/typeorm/typeorm/commit/8f4f908)) - support spatial types of MySQL 8+ ([#4794](https://togithub.com/typeorm/typeorm/issues/4794)) ([231dadf](https://togithub.com/typeorm/typeorm/commit/231dadf)), closes [#3702](https://togithub.com/typeorm/typeorm/issues/3702) ### [`v0.2.20`](https://togithub.com/typeorm/typeorm/blob/HEAD/CHANGELOG.md#0220-httpsgithubcomtypeormtypeormcompare02190220-2019-10-18) [Compare Source](https://togithub.com/typeorm/typeorm/compare/0.2.19...0.2.20) ##### Bug Fixes - ensure distinct property is respected cloning query builder ([#4843](https://togithub.com/typeorm/typeorm/issues/4843)) ([ea17094](https://togithub.com/typeorm/typeorm/commit/ea17094)), closes [#4842](https://togithub.com/typeorm/typeorm/issues/4842) - **aurora:** apply mysql query fixes to aurora ([#4779](https://togithub.com/typeorm/typeorm/issues/4779)) ([ee61c51](https://togithub.com/typeorm/typeorm/commit/ee61c51)) - allow EntitySchema to be passed to EntityRepository ([#4884](https://togithub.com/typeorm/typeorm/issues/4884)) ([652a20e](https://togithub.com/typeorm/typeorm/commit/652a20e)) - better timestamp comparison ([#4769](https://togithub.com/typeorm/typeorm/issues/4769)) ([0a13e6a](https://togithub.com/typeorm/typeorm/commit/0a13e6a)) - broken database option when using replication, changes introduced by [#4753](https://togithub.com/typeorm/typeorm/issues/4753) ([#4826](https://togithub.com/typeorm/typeorm/issues/4826)) ([df5479b](https://togithub.com/typeorm/typeorm/commit/df5479b)) - check for version of MariaDB before extracting COLUMN_DEFAULT ([#4783](https://togithub.com/typeorm/typeorm/issues/4783)) ([c30b485](https://togithub.com/typeorm/typeorm/commit/c30b485)) - connection Reuse is broken in a Lambda environment: ([#4804](https://togithub.com/typeorm/typeorm/issues/4804)) ([7962036](https://togithub.com/typeorm/typeorm/commit/7962036)) - FindOptionUtils export ([#4746](https://togithub.com/typeorm/typeorm/issues/4746)) ([4a62b1c](https://togithub.com/typeorm/typeorm/commit/4a62b1c)), closes [#4745](https://togithub.com/typeorm/typeorm/issues/4745) - loading of aurora-data-api driver ([#4765](https://togithub.com/typeorm/typeorm/issues/4765)) ([fbb8947](https://togithub.com/typeorm/typeorm/commit/fbb8947)) - **postgres:** postgres query runner to create materialized view ([#4877](https://togithub.com/typeorm/typeorm/issues/4877)) ([d744966](https://togithub.com/typeorm/typeorm/commit/d744966)) - migrations run in reverse order for mongodb ([#4702](https://togithub.com/typeorm/typeorm/issues/4702)) ([2f27581](https://togithub.com/typeorm/typeorm/commit/2f27581)) - mongodb Cursor.forEach types ([#4759](https://togithub.com/typeorm/typeorm/issues/4759)) ([fccbe3e](https://togithub.com/typeorm/typeorm/commit/fccbe3e)) - Slack invite URL ([#4836](https://togithub.com/typeorm/typeorm/issues/4836)) ([149af26](https://togithub.com/typeorm/typeorm/commit/149af26)) ##### Features - add name to MigrationInterface (fixes [#3933](https://togithub.com/typeorm/typeorm/issues/3933) and fixes [#2549](https://togithub.com/typeorm/typeorm/issues/2549)) ([#4873](https://togithub.com/typeorm/typeorm/issues/4873)) ([4a73fde](https://togithub.com/typeorm/typeorm/commit/4a73fde)) - add new transaction mode to wrap each migration in transaction ([#4629](https://togithub.com/typeorm/typeorm/issues/4629)) ([848fb1f](https://togithub.com/typeorm/typeorm/commit/848fb1f)) - add option to Column to specify the complete enumName ([#4824](https://togithub.com/typeorm/typeorm/issues/4824)) ([d967180](https://togithub.com/typeorm/typeorm/commit/d967180)) - add support for cube array for PostgreSQL ([#4848](https://togithub.com/typeorm/typeorm/issues/4848)) ([154a441](https://togithub.com/typeorm/typeorm/commit/154a441)) - implements Sqlite 'WITHOUT ROWID' table modifier ([#4688](https://togithub.com/typeorm/typeorm/issues/4688)) ([c1342ad](https://togithub.com/typeorm/typeorm/commit/c1342ad)), closes [#3330](https://togithub.com/typeorm/typeorm/issues/3330) ### [`v0.2.19`](https://togithub.com/typeorm/typeorm/blob/HEAD/CHANGELOG.md#0219-httpsgithubcomtypeormtypeormcompare02180219-2019-09-13) [Compare Source](https://togithub.com/typeorm/typeorm/compare/0.2.18...0.2.19) ##### Bug Fixes - "database" option error in driver when use "url" option for connection ([690e6f5](https://togithub.com/typeorm/typeorm/commit/690e6f5)) - "hstore injection" & properly handle NULL, empty string, backslashes & quotes in hstore key/value pairs ([#4720](https://togithub.com/typeorm/typeorm/issues/4720)) ([3abe5b9](https://togithub.com/typeorm/typeorm/commit/3abe5b9)) - add SaveOptions and RemoveOptions into ActiveRecord ([#4318](https://togithub.com/typeorm/typeorm/issues/4318)) ([a6d7ba2](https://togithub.com/typeorm/typeorm/commit/a6d7ba2)) - apostrophe in Postgres enum strings breaks query ([#4631](https://togithub.com/typeorm/typeorm/issues/4631)) ([445c740](https://togithub.com/typeorm/typeorm/commit/445c740)) - change PrimaryColumn decorator to clone passed options ([#4571](https://togithub.com/typeorm/typeorm/issues/4571)) ([3cf470d](https://togithub.com/typeorm/typeorm/commit/3cf470d)), closes [#4570](https://togithub.com/typeorm/typeorm/issues/4570) - createQueryBuilder relation remove works only if using ID ([#2632](https://togithub.com/typeorm/typeorm/issues/2632)) ([#4734](https://togithub.com/typeorm/typeorm/issues/4734)) ([1d73a90](https://togithub.com/typeorm/typeorm/commit/1d73a90)) - resolve issue with conversion string to simple-json ([#4476](https://togithub.com/typeorm/typeorm/issues/4476)) ([d1594f5](https://togithub.com/typeorm/typeorm/commit/d1594f5)), closes [#4440](https://togithub.com/typeorm/typeorm/issues/4440) - sqlite connections don't ignore the schema property ([#4599](https://togithub.com/typeorm/typeorm/issues/4599)) ([d8f1c81](https://togithub.com/typeorm/typeorm/commit/d8f1c81)) - the excessive stack depth comparing types `FindConditions>` and `FindConditions>` problem ([#4470](https://togithub.com/typeorm/typeorm/issues/4470)) ([7a0beed](https://togithub.com/typeorm/typeorm/commit/7a0beed)) - views generating broken Migrations ([#4726](https://togithub.com/typeorm/typeorm/issues/4726)) ([c52b3d2](https://togithub.com/typeorm/typeorm/commit/c52b3d2)), closes [#4123](https://togithub.com/typeorm/typeorm/issues/4123) ##### Features - add `set` datatype support for MySQL/MariaDB ([#4538](https://togithub.com/typeorm/typeorm/issues/4538)) ([19e2179](https://togithub.com/typeorm/typeorm/commit/19e2179)), closes [#2779](https://togithub.com/typeorm/typeorm/issues/2779) - add materialized View support for Postgres ([#4478](https://togithub.com/typeorm/typeorm/issues/4478)) ([dacac83](https://togithub.com/typeorm/typeorm/commit/dacac83)), closes [#4317](https://togithub.com/typeorm/typeorm/issues/4317) [#3996](https://togithub.com/typeorm/typeorm/issues/3996) - add mongodb `useUnifiedTopology` config parameter ([#4684](https://togithub.com/typeorm/typeorm/issues/4684)) ([92e4270](https://togithub.com/typeorm/typeorm/commit/92e4270)) - add multi-dimensional cube support for PostgreSQL ([#4378](https://togithub.com/typeorm/typeorm/issues/4378)) ([b6d6278](https://togithub.com/typeorm/typeorm/commit/b6d6278)) - add options to input init config for sql.js ([#4560](https://togithub.com/typeorm/typeorm/issues/4560)) ([5c311ed](https://togithub.com/typeorm/typeorm/commit/5c311ed)) - add postgres pool error handler ([#4474](https://togithub.com/typeorm/typeorm/issues/4474)) ([a925be9](https://togithub.com/typeorm/typeorm/commit/a925be9)) - add referenced table metadata to NamingStrategy to resolve foreign key name ([#4274](https://togithub.com/typeorm/typeorm/issues/4274)) ([0094f61](https://togithub.com/typeorm/typeorm/commit/0094f61)), closes [#3847](https://togithub.com/typeorm/typeorm/issues/3847) [#1355](https://togithub.com/typeorm/typeorm/issues/1355) - add support for ON CONFLICT for cockroach ([#4518](https://togithub.com/typeorm/typeorm/issues/4518)) ([db8074a](https://togithub.com/typeorm/typeorm/commit/db8074a)), closes [#4513](https://togithub.com/typeorm/typeorm/issues/4513) - Added support for DISTINCT queries ([#4109](https://togithub.com/typeorm/typeorm/issues/4109)) ([39a8e34](https://togithub.com/typeorm/typeorm/commit/39a8e34)) - Aurora Data API ([#4375](https://togithub.com/typeorm/typeorm/issues/4375)) ([c321562](https://togithub.com/typeorm/typeorm/commit/c321562)) - export additional schema builder classes ([#4325](https://togithub.com/typeorm/typeorm/issues/4325)) ([e589fda](https://togithub.com/typeorm/typeorm/commit/e589fda)) - log files loaded from glob patterns ([#4346](https://togithub.com/typeorm/typeorm/issues/4346)) ([e12479e](https://togithub.com/typeorm/typeorm/commit/e12479e)), closes [#4162](https://togithub.com/typeorm/typeorm/issues/4162) - UpdateResult returns affected rows in postgresql ([#4432](https://togithub.com/typeorm/typeorm/issues/4432)) ([7808bba](https://togithub.com/typeorm/typeorm/commit/7808bba)), closes [#1308](https://togithub.com/typeorm/typeorm/issues/1308)Configuration
📅 Schedule: "" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.