All Versions
89
Latest Version
Avg Release Cycle
24 days
Latest Release
650 days ago
Changelog History
Page 4
Changelog History
Page 4
-
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
-
v0.2.26 Changes
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 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
-
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
-
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.
-
v0.2.21 Changes
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 Changes
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
-
v0.2.19 Changes
September 13, 2019๐ Bug Fixes
- "database" option error in driver when use "url" option for connection (690e6f5)
- "hstore injection" & properly handle NULL, empty string, backslashes & quotes in hstore key/value pairs (#4720) (3abe5b9)
- โ add SaveOptions and RemoveOptions into ActiveRecord (#4318) (a6d7ba2)
- apostrophe in Postgres enum strings breaks query (#4631) (445c740)
- ๐ change PrimaryColumn decorator to clone passed options (#4571) (3cf470d), closes #4570
- ๐ createQueryBuilder relation remove works only if using ID (#2632) (#4734) (1d73a90)
- resolve issue with conversion string to simple-json (#4476) (d1594f5), closes #4440
- sqlite connections don't ignore the schema property (#4599) (d8f1c81)
- the excessive stack depth comparing types
FindConditions<?>
andFindConditions<?>
problem (#4470) (7a0beed) - views generating broken Migrations (#4726) (c52b3d2), closes #4123
๐ Features
- โ add
set
datatype support for MySQL/MariaDB (#4538) (19e2179), closes #2779 - โ add materialized View support for Postgres (#4478) (dacac83), closes #4317 #3996
- โ add mongodb
useUnifiedTopology
config parameter (#4684) (92e4270) - โ add multi-dimensional cube support for PostgreSQL (#4378) (b6d6278)
- โ add options to input init config for sql.js (#4560) (5c311ed)
- โ add postgres pool error handler (#4474) (a925be9)
- โ add referenced table metadata to NamingStrategy to resolve foreign key name (#4274) (0094f61), closes #3847 #1355
- โ add support for ON CONFLICT for cockroach (#4518) (db8074a), closes #4513
- โ Added support for DISTINCT queries (#4109) (39a8e34)
- Aurora Data API (#4375) (c321562)
- ๐ export additional schema builder classes (#4325) (e589fda)
- ๐ฒ log files loaded from glob patterns (#4346) (e12479e), closes #4162
- โก๏ธ UpdateResult returns affected rows in postgresql (#4432) (7808bba), closes #1308
-
v0.2.18 Changes
June 04, 2019๐ Bug fixes
- ๐ fixed loadRelationCountAndMap when entities' primary keys are strings (#3946)
- ๐ fixed QueryExpressionMap not cloning all values correctly (#4156)
- ๐ fixed transform embeddeds with no columns but with nested embeddeds (mongodb) (#4131)
- ๐ fixed the getMany() result being droped randomly bug when using the buffer as primary key. (#4220)
๐ Features
- โ adds
typeorm migration:show
command (#4173) - โก๏ธ deprecate column
readonly
option in favor ofupdate
andinsert
options (#4035) - ๐ support sql.js v1.0 (#4104)
- โ added support for
orUpdate
in SQLlite (#4097) - โ added support for
dirty_read
(NOLOCK) in SQLServer (#4133) - extend afterLoad() subscriber interface to take LoadEvent (issue #4185)
- ๐ป relation decorators (e.g.
@OneToMany
) now also acceptstring
instead oftypeFunction
, which prevents circular dependency issues in the frontend/browser (issue #4190) - โ added support for metadata reflection in typeorm-class-transformer-shim.js (issue #4219)
- โ added
sqlJsConfig
to input config when initializing sql.js (issue #4559)