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.10

1 year ago

Bug Fixes

  • "Cannot commit, no transaction is active" error in sql.js (#9234) (749809a), closes #9100
  • add missing support for primaryKeyConstraintName property in EntitySchema (cc63961)
  • malformed query when selecting deeply nested embedded entities (#9273) (83f7b88)
  • prototype pollution issue (e3aac27)
  • typescript 4.8 type issues #9331 (#9357) (a1960e1)
  • Update RelationIdLoader to use DriverUtils.getAlias (#9380) (a917d65), closes #9379

Features

0.3.9

1 year ago

Bug Fixes

  • fixed regression introduced in 0.3.8 - broken CLI because of #8917 (#9332), closes #9330

0.3.8

1 year ago

Bug Fixes

Features

0.3.7

1 year ago

Bug Fixes

Features

  • add for_key_share ("FOR KEY SHARE") lock mode for postgres driver (#8879) (4687be8), closes #8878
  • add nativeBinding option to better-sqlite3 driver (#9157) (bcdddc3)
  • add spanner as a db option for the init command (#9121) (e61cade)
  • allow explicitly named primary keys, foreign keys, and indices (#8900) (78df84c), closes #1355
  • Cloud Spanner support (#8730) (62518ae)
  • fix issues with generated columns and add support in other drivers (#8806) (0418ebc), closes #8761
  • implement support for relationids in entity schemas (#9129) (e24cced)
  • support TS 4.7+ node16/nodenext module mode (#9043) (862a402)
  • upgrade ioredis to v5 (#8997) (723f1e5)

Performance Improvements

0.3.6

2 years ago

Features

0.3.5

2 years ago

Bug Fixes

  • .save repository method not returning generated uuids for aurora-postgres (#8825) (ed06f4c)
  • allow hstore type to use transformers in driver postgres (#8823) (b1a0107)
  • broken shebang parameters of cli-ts-node-commonjs and cli-ts-node-esm on some linux distros (#8821) (c5dfc11), closes #8818
  • find select object api should support false values #8796 (#8807) (9ac8e9e)
  • resolve missing ConnectionOptions export in index.ts (#8850) (1693a17), closes #8837
  • save correct discriminator with STI (#8819) (9d1e246), closes #2927
  • Update DeepPartial for usage of generics with Repository class (#8817) (8ba742e)
  • fixed issue with typeorm init command (#8820)

0.3.4

2 years ago

Bug Fixes

  • BaseEntity.reload method regression and made findOne to throw error on missing conditions in runtime (#8801) (ee8c1ec)
  • improve DeepPartial recursion (#8732) (0494008), closes #8681
  • missing timestamp in created migrations filenames (#8802) (ceee439)
  • PoolConnection leaked by MysqlDriver (#8803) (d2cfd22)
  • remove console.log calls from SelectQueryBuilder (#8795) (54c7db4), closes #8792
  • stop crashing when redis is offline and ignoreErrors on cache options is set (#8725) (edc39d1)

Features

0.3.3

2 years ago

Bug Fixes

  • improve initialization of custom repository (#8782) (52a641c)
  • resolve entities correctly in datasource when globs are specified (#8778) (a641c5d)
  • CLI migration:run missing console output since 0.3.1 (#8781)

Features

0.3.2

2 years ago

Bug Fixes

  • broken CLI in ESM projects since version 0.3.0 (#8773) (97699e8)

Features

  • add typeorm CLI variations that include ts-node (#8776) (05fc744)
  • allows user to specify which mysql package should be used (#8771) (35106df)

Reverts

0.3.1

2 years ago

Bug Fixes

Features

  • new array find operators (ArrayContains, ArrayContainedBy, ArrayOverlap) (#8766) (9f1b8e3):

BREAKING CHANGES

  • we do not call JSON.stringify() to json/jsonb column types in Postgres. Instead, we delegate value directly to underlying pg driver. This is a correct way of handling jsons.
  • array: true must be explicitly defined for array json/jsonb values
  • strings being JSON-stringified must be manually escaped