TypeORM v0.2.19 Release Notes

Release Date: 2019-09-13 // 7 days ago
  • 🐛 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<?> and FindConditions<?> problem (#4470) (7a0beed)
    • views generating broken Migrations (#4726) (c52b3d2), closes #4123

    🔋 Features


Previous changes from v0.2.18

  • 🐛 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 of update and insert 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 accept string instead of typeFunction, 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)