TypeORM v0.2.33 Release Notes

Release Date: 2021-06-01 // almost 3 years ago
  • ๐Ÿ› Bug Fixes

    • @Unique constraint is not created with specified name (beea2e1)
    • ๐Ÿ”€ MATERIALIZED VIEW is treated as a regular VIEW which causes issues on sync (#7592) (f85f436)
    • โž• added error handler for slave connections in MySQL and AuroraDataApi drivers (#7641) (882a740)
    • call listeners for array embeddeds in MongoDB (#4260) (2dc355b)
    • closing pool incorrectly works on Postgres (#7596) (1310c97), closes #6958 #6958 #6958
    • column name with empty spaces causes bug in Index/Unique decorators #7534 (a3a6e06)
    • 0๏ธโƒฃ correctly strip type conversion in postgres for default values (#7681) (069b8b6), closes #1532 #7647 #5132
    • ๐Ÿ”€ datetime functions in column "default" leads to unnecessary queries during synchronization (#7517) (03f3285), closes #3991 #3991 #2737 #2737 #6412 #4281 #4658 #3991 #2333 #7381 #4658 #3991 #3991 #3991 #3991
    • ๐Ÿ”€ default schema defined in entity/connection leads to unnecessary queries during schema sync (#7575) (7eb0327), closes #7276 #7276
    • ๐Ÿ‘€ do a deep comparison to see if the default value has changed for json types in Postgres (#7650) (a471c1b)
    • โšก๏ธ Incorrect migration generated when multiple views are updated in a single migration (#7587) (0b103dd), closes #7586
    • issues with custom enum name in Postgres (#7661) (ad0262a), closes #7614 #7541 #7647 #6540
    • ๐Ÿ“œ mongodb connectionURL parse options (#7560) (b2ac41a)
    • mongodb typings for Cursor (#7526) (daf3991)
    • ๐Ÿšš only first \0 is removed in comments, only first \ is escaped etc. (#7532) (36b14cb)
    • ๐Ÿ“‡ pass ManyToMany onUpdate option to foreign key metadata (#5714) (198d2c5), closes #4980
    • Postgres identifier exceeds limit on eager relations (#7508) (#7509) (e4ec429)
    • โœ‚ remove enableExtension for slave connections in Postgres (#7693) (620aac9), closes #7691
    • ๐Ÿ—„ replaced deprecated insert method with insertOne for MongoDriver in MigrationExecutor. (#7594) (83fed60)
    • resolve issue when enum that has functions is used in entity (#7653) (dba327d), closes #7651
    • Silent failure in createDatabase and dropDatabase with Postgres (#7590) (974d2d4), closes #6867
    • STI types on children in joins (#3160) (60a6c5d)
    • ๐Ÿ‘‰ use host if hostReplicaSet is not provided in MongoDriver (#7559) (9b6d7bc)
    • ๐Ÿ‘‰ use migrationsTransactionMode while running migration from cli (#7576) (7953ebb)
    • ๐Ÿ‘‰ use most specific matching relation type (#2967) (ee3c00a)

    ๐Ÿ”‹ Features

    • โž• add orphanedRowAction option to EntitySchemaRelationOptions (#7625) (a8eb49a), closes #7417
    • โž• add set datatype support for aurora-data-api (#7665) (b6c1836)
    • โž• add support for specifying ioredis cache with a URL (#7689) (e017f9b), closes #7631
    • โž• add tree entities update and delete logic (#7156) (9c8a3fb), closes #7155
    • โž• added Capacitor driver (#7695) (0f7a778)
    • cache option to ignore errors (#7630) (5fde0ea), closes #926
    • define class properties for QueryFailedError to allow users to access a typed error (#7529) (b43dcba)
    • support MAX_EXECUTION_TIME for MySQL driver. (#7638) (0564c34)