Typeorm Versions Save

ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.

0.3.20

2 months ago

Bug Fixes

Features

Reverts

  • Revert "fix: prevent using absolute table path in migrations unless required (#10123)" (#10624) (8f371f2), closes #10123 #10624
  • revert "feat: nullable embedded entities (#10289)" (#10614) (15de46f), closes #10289 #10614

0.3.19

3 months ago

Bug Fixes

  • fixed Cannot read properties of undefined (reading 'sync') caused after glob package upgrade

0.3.18

3 months ago

Bug Fixes

Features

Performance Improvements

BREAKING CHANGES

  • With node-oracledb the thin client is used as default. Added a option to use the thick client. Also added the option to specify the instant client lib
  • MongoDB: from the previous behavior of returning a result with metadata describing when a document is not found. See: https://github.com/mongodb/node-mongodb-native/blob/HEAD/etc/notes/CHANGES_6.0.0.md
  • new nullable embeds feature introduced a breaking change which might enforce you to update types on your entities to | null, if all columns in your embed entity are nullable. Since database queries now return embedded property as null if all its column values are null.

0.3.17

10 months ago

Bug Fixes

0.3.16

11 months ago

0.3.16 (2023-05-09)

Bug Fixes

Features

  • mariadb uuid inet4 inet6 column data type support (#9845) (d8a2e37)

Reverts

0.3.15

1 year ago

Bug Fixes

  • make cache optional fields optional (#9942) (159c60a)
  • prevent unique index identical to primary key (all sql dialects) (#9940) (51eecc2)
  • SelectQueryBuilder builds incorrectly escaped alias in Oracle when used on entity with composite key (#9668) (83c6c0e)

Features

0.3.14

1 year ago

Bug Fixes

  • drop xml & yml connection option support. Addresses security issues in underlying dependency (#9930) (7dac12c)

Features

0.3.13

1 year ago

Bug Fixes

  • firstCapital=true not working in camelCase() function (f1330ad)
  • handles "query" relation loading strategy for TreeRepositories (#9680) (a11809e), closes #9673
  • improve EntityNotFound error message in QueryBuilder.findOneOrFail (#9872) (f7f6817)
  • loading tables with fk in sqlite query runner (#9875) (4997da0), closes #9266
  • prevent foreign key support during migration batch under sqlite (#9775) (197cc05), closes #9770
  • proper default value on generating migration when default value is a function calling [Postgres] (#9830) (bebba05)
  • react-native doesn't properly work in ESM projects because of circular dependency (#9765) (099fcd9)
  • resolve issues for mssql migration when simple-enum was changed (cb154d4), closes #7785 #9457 #7785 #9457
  • resolves issue with mssql column recreation (#9773) (07221a3), closes #9399
  • transform values for FindOperators #9381 (#9777) (de1228d), closes #9816
  • use forward slashes when normalizing path (#9768) (58fc088), closes #9766
  • use object create if entity skip constructor is set (#9831) (a868979)

Features

  • add support for json datatype for sqlite (#9744) (4ac8c00)
  • add support for STI on EntitySchema (#9834) (bc306fb), closes #9833
  • allow type FindOptionsOrderValue for order by object property (#9895) (#9896) (0814970)
  • Broadcast identifier for removed related entities (#9913) (f530811)
  • leftJoinAndMapOne and innerJoinAndMapOne map result to entity (#9354) (947ffc3)

0.3.12

1 year ago

Bug Fixes

  • allow to pass ObjectLiteral in mongo find where condition (#9632) (4eda5df), closes #9518
  • DataSource.setOptions doesn't properly update the database in the drivers (#9635) (a95bed7)
  • Fix grammar error in no migrations found log (#9754) (6fb2121)
  • improved FindOptionsWhere behavior with union types (#9607) (7726f5a)
  • Incorrect enum default value when table name contains dash character (#9685) (b3b0c11)
  • incorrect sorting of entities with multi-inheritances (#9406) (54ca9dd)
  • make sure "require" is defined in the environment (1a9b9fb)
  • materialized hints support for cte (#9605) (67973b4)
  • multiple select queries during db sync in sqlite (#9639) (6c928a4)
  • overriding caching settings when alwaysEnabled is true (#9731) (4df969e)
  • redundant Unique constraint on primary join column in Postgres (#9677) (b8704f8)
  • remove unnecessary .js extension in imports (#9713) (6b37e38)
  • resolve issue with "simple-enum" synchronization in SQLite (#9716) (c77c43e), closes #9715
  • sql expression when where parameter is empty array (#9691) (7df2ccf), closes #9690
  • synchronizing View with schema broken for oracle (#9602) (18b659d)

Features

0.3.11

1 year ago

Fixes

  • boolean parameter escape in SQLiteDriver (#9400) (4a36d0e), closes #1981
  • cacheId not used when loading relations with take (#9469) (93e6b3d)
  • correctly return insertId for react-native (#9554) (97fae63)
  • disable transactionSupport option for CordovaDriver (#9391) (53fad8f)
  • explicitly define property for entity relation as enumerable (#9437) (85fa9c6), closes #6631
  • fix ormUtils prototype check crashing on null prototype (#9517) (19536ed)
  • fixed outdated init command (#9422) (0984307)
  • left instead of inner join for where or + optional relations (#9516) (d490793)
  • Mark array arguments to find operators as read-only (#9474) (6eb674b)
  • pass fake flag to undoLastMigration (#9562) (2458ac7), closes #9561
  • resolve issue with migrations and unsigned int columns in aurora-data-api (#9478) (38e0eff), closes #9477
  • resolve nameless TableForeign on drop foreign key (#9460) (efb4168), closes #9432
  • synchronize with typeorm_metadata table only if needed (#9175) (cdabaa3), closes #9173 #9173 #9173
  • the mpath is incorrect when the parent of the tree entity is null (#9535) (658604d)
  • typings for Repository.extend function (#9396) (f07fb2c)

Features