TypeORM v0.2.12 Release Notes
Release Date: 2019-01-20 // over 5 years ago-
๐ Bug Fixes
- ๐ fixed mongodb entity listeners and subscribers (#1527)
- ๐ fixed connection options builder - paramters parsed from url are assigned on top of options (#3442)
- ๐ fixed issue with logical operator precedence in
QueryBuilder
whereInIds
(#2103) - ๐ fixed missing
isolationLevel
inConnection.transaction()
method (#3363) - ๐ fixed broken findOne method with custom join column name
- ๐ fixed issue with uuid in mysql (#3374)
- ๐ fixed missing export of
Exclusion
decorator - ๐ fixed ignored extra options in mongodb driver (#3403, #1741)
- ๐ fixed signature of root
getRepository
function to acceptEntitySchema<Entity>
(#3402) - ๐ fixed false undefined connection options passed into mongodb client (#3366)
- fixed ER_DUP_FIELDNAME with simple find (#3350)
๐ Features
- โ added
tslib
to reduce package size (#3457, #3458) - queries are simplified in
findByIds
andwhereInIds
for simple entities with single primary key (#3431) - โ added
ioredis
andioredis-cluster
cache support (#3289,#3364) - โ added
LessThanOrEqual
andMoreThanOrEqual
find options (#3373) - ๐ improve support of string, numeric and heterogeneous enums in postgres and mysql (#3414)
- 0๏ธโฃ default value of enum array in postgres is now possible define as typescript array (#3414)
typescript @Column({ type: "enum", enum: StringEnum, array: true, default: [StringEnum.ADMIN] }) stringEnums: StringEnum[];
๐ฅ Breaking changes