Skip to content

Releases: typeorm/typeorm

1.1.0

Choose a tag to compare

@alumni alumni released this 13 Jul 19:07
1.1.0
8748b1b

What's Changed

  • chore(legacy-naming-strategies): bump to 1.0.0 by @michaelbromley in #12518
  • docs(blog): create v1 post by @naorpeled in #12364
  • docs(data-source): clarify extra option as driver-native escape hatch by @naorpeled in #12368
  • chore(deps): bump github/codeql-action from 4.35.4 to 4.35.5 in the github-actions-official group by @dependabot[bot] in #12528
  • chore(deps): bump ws from 8.20.0 to 8.20.1 in /docs by @dependabot[bot] in #12515
  • chore(deps): bump webpack-dev-server from 5.2.3 to 5.2.4 in /docs by @dependabot[bot] in #12516
  • chore(deps): bump the github-actions-third-party group across 1 directory with 2 updates by @dependabot[bot] in #12529
  • test: make Postgres custom extension installation test reusable locally by @OSA413 in #12538
  • chore(deps): bump uuid from 10.0.0 to 11.1.1 by @dependabot[bot] in #12536
  • chore(deps): bump github/codeql-action from 4.35.5 to 4.36.0 in the github-actions-official group by @dependabot[bot] in #12550
  • fix(persistence): preserve select false columns on the in-memory entity after save() by @tada5hi in #12501
  • chore(deps): bump the github-actions-official group with 2 updates by @dependabot[bot] in #12561
  • fix(cache): release query runner on error in storeInCache by @francisjohnjohnston-web in #12545
  • ci: add PR triage workflow for issue linkage and duplicate detection by @smith-xyz in #12469
  • fix: multiple recursive cte problems by @twooster in #12490
  • fix: correct grammar in AlreadyHasActiveConnectionError message by @DucMinhNe in #12554
  • fix: normalization of FindOptionsWhere for arrays and Buffers by @alumni in #12577
  • chore(deps): bump github/codeql-action from 4.36.1 to 4.36.2 in the github-actions-official group across 1 directory by @dependabot[bot] in #12572
  • test: rename github-issue 7558 test file name by @Cprakhar in #12581
  • fix(postgres): improve normalizeDatetimeFunction for tstzrange data type by @Cprakhar in #12182
  • fix(mongodb): use cursor.transform for doc to entity transformation and skip load broadcast in next if toArray by @Cprakhar in #11926
  • fix(query-builder): wrap inner joins under left joins correctly by @harm-less in #11137
  • ci: add healthcheck for oracle by @Cprakhar in #12591
  • fix(tree-entity): tree entity schema propagation in internal TreeRepository methods by @xEverth in #12590
  • chore(deps): bump the github-actions-third-party group across 1 directory with 2 updates by @dependabot[bot] in #12589
  • feat: support distinct count by @Cprakhar in #11965
  • chore(deps): bump serialize-javascript from 6.0.2 to 7.0.5 (via audit fix) in /packages/codemod by @dependabot[bot] in #12534
  • fix: move hashing function to PlatformTools by @alumni in #12648
  • fix: remove require() calls that break bundlers by @alumni in #12647
  • fix(query-builder): reject empty where criteria on update and delete operations by @naorpeled in #12629
  • ci: improve pr triage script by @smith-xyz in #12677
  • chore: update dependencies by @alumni in #12678
  • fix(entity-manager): default invalidWhereValuesBehavior to throw on the write path by @naorpeled in #12690
  • fix(entity-manager): validate where criteria in increment/decrement by @naorpeled in #12692
  • chore(release): prepare v1.1.0 by @alumni in #12697

New Contributors

Full Changelog: 1.0.0...1.1.0

0.3.31

Choose a tag to compare

@alumni alumni released this 13 Jul 19:24
0.3.31
7973203

Bug Fixes

  • cache: release query runner on error in storeInCache (#12545) (a84b9b3)
  • correct grammar in AlreadyHasActiveConnectionError message (#12554) (304d129)
  • entity-manager: default invalidWhereValuesBehavior to throw on the write path (#12690) (44d8052)
  • entity-manager: validate where criteria in increment/decrement (#12692) (8a51b75)
  • mongodb: use cursor.transform for doc to entity transformation and skip load broadcast in next if toArray (#11926) (0bbefc9)
  • move hashing function to PlatformTools (#12648) (c456cbd)
  • multiple recursive cte problems (#12490) (7c26654)
  • normalization of FindOptionsWhere for arrays and Buffers (#12577) (a8173fc)
  • persistence: preserve select false columns on the in-memory entity after save() (#12501) (324c46c)
  • postgres: improve normalizeDatetimeFunction for tstzrange data type (#12182) (bf47c9f)
  • query-builder: reject empty where criteria on update and delete operations (#12629) (81b9466)
  • query-builder: wrap inner joins under left joins correctly (#11137) (d5f4b9d)
  • remove require() calls that break bundlers (#12647) (30f9fc7)
  • tree-entity: tree entity schema propagation in internal TreeRepository methods (#12590) (7fb7c2c)

Full Changelog: 0.3.30...0.3.31

1.0.0

Choose a tag to compare

@michaelbromley michaelbromley released this 19 May 11:14
cf3f13f

TypeORM v1.0 is here! 🥳

👉 For a structured walk-through of the changes in v1.0 — breaking changes, new features, security fixes, and the upgrade path from 0.3.x — see the v1.0 Release Notes.

This release includes breaking changes. See the v1.0 Upgrade Guide

What's Changed

  • fix: include joined entity primary keys in pagination subquery by @mag123c in #11669
  • feat(postgres): add support for PostgreSQL indices by @freePixel in #11318
  • refactor!: remove legacy expo driver by @G0maa in #11860
  • fix(cockroachdb): preserve structured query results during txn retry replay by @naorpeled in #11861
  • docs: add version dropdown (stable/dev) to master by @naorpeled in #11862
  • docs: link to queryrunner api docs from top level queryrunner page by @hughrawlinson in #11869
  • feat: add error handling and log warning for ormconfig loading failures by @Cprakhar in #11871
  • refactor: remove shajs by @G0maa in #11864
  • ci: setup pnpm by @alumni in #11881
  • chore(docs): move to PNPM by @naorpeled in #11884
  • feat: add better typing for conditions in increment and decrement of EntityManager by @OSA413 in #11294
  • fix: getPendingMigrations unnecessarily creating migrations table by @pkuczynski in #11672
  • fix: copy cordova query rows affected into query result by @jacobg in #10873
  • fix: resolve nameless TableForeignKey on drop foreign key by @taichunmin in #10744
  • feat(docs): add Kapa.ai widget for AI-powered documentation assistance by @dlhck in #11891
  • fix: virtual property handling in schema builder by @skyran1278 in #11000
  • fix(mongo): correctly process embedded arrays of nested documents by @mciuchitu in #10940
  • feat(postgres): use ADD VALUE when changing enum values if possible by @janzipek in #10956
  • test: add mutation testing and mutation score badge by @OSA413 in #11253
  • fix: change import for process dependency by @yohannpoli in #11248
  • chore(tests): adapt Stryker mutator to pnpm and fix markup in README for badges by @OSA413 in #11893
  • chore(tests): send only mutation score to the Stryker dashboard by @OSA413 in #11895
  • fix: fix working with tables with quotes in the names for postgres and cockroachdb by @iskalyakin in #10993
  • refactor: replace uuid with native Crypto API by @mag123c in #11769
  • fix(mysql): getVersion returning undefined for PolarDB-X 2.0 by @Missna in #11837
  • test: align file names by @gioboa in #11898
  • ci: ensure pull request follow conventional commits spec by @pkuczynski in #11840
  • feat(qodo): enable new review experience by @naorpeled in #11909
  • test: modify tests to confirm ON CONFLICT ON CONSTRAINT on PostgreSQL/CockroachDB by @Cprakhar in #11908
  • feat: add support for installing additional postgres extensions by @Cprakhar in #11888
  • feat: add deferrable support to exclusion decorator to mirror unique and index decorators by @oGAD31 in #11802
  • chore(mutation testing): tweak Stryker for lower resource usage and decrease timeout for slow running mutants by @OSA413 in #11901
  • fix: raw select query with correctly ordered selected columns by @Cprakhar in #11902
  • docs: fix typo 'spass' to 'pass' by @guoxk-me in #11919
  • chore: align master with v0.3 by @gioboa in #11912
  • fix: update child's mpath by @JoseCToscano in #10844
  • test: verify column names when using referencedColumnName in composite relations by @Cprakhar in #11883
  • fix: merging into an entity now respects null values by @knoid in #11154
  • fix: handle re-save of postgres geometric types by @Cprakhar in #11857
  • fix(sqlite): handle simple-enum arrays correctly by @Cprakhar in #11865
  • fix: fix up map objects comparison by @mgohin in #10990
  • feat: support INSERT INTO ... SELECT FROM ... in QueryBuilder by @Cprakhar in #11896
  • fix: enhance upsert functionality for proper sql generation with table alias by @Cprakhar in #11915
  • fix: remove error handling for *-to-many in createPropertyPath by @ThbltLmr in #11119
  • fix: resolve issue order subquery column (Cannot get metadata of given alias) by @trannhan0810 in #11343
  • test: verify synchronize true works with multiple relations by @Cprakhar in #11889
  • feat: add encryption key for React Native by @HtSpChakradharCholleti in #11736
  • chore(qodo-config): add compliance checklist by @naorpeled in #11921
  • fix: soft deletion should not update the already soft deleted rows by @hassanmehdi98 in #10705
  • fix: update RelationIdLoader to use DriverUtils.getAlias by @te1 in #11228
  • fix: fix up join attributes inside bracket by @balkrushna in #11218
  • chore(qodo): disable in progress notification in master by @naorpeled in #11927
  • fix: make shorten method to properly work with camelCase_aliases by @OSA413 in #11283
  • test: added tests to verify jsonb operators in find options with Raw() by @Cprakhar in #11917
  • docs: correct typo in getting started by @rewento in #11932
  • fix(query-builder): resolve column lookup when using database column name in addOrderBy by @smith-xyz in #11904
  • docs: ensure consistent plural form for folder names (entities, migrations, etc) by @pkuczynski in #11903
  • ci: use prettier on all types of files it supports by @pkuczynski in #11842
  • ci(docs): add deploy Github Action by @naorpeled in #11911
  • fix: handle relation ids in nested embedded entities by @Cprakhar in #11942
  • fix: use subquery with join map one methods by @gioboa in #11943
  • docs: add JsonContains find-options example by @lraveri in #11945
  • fix: prevent columns with select false from being returned by @gioboa in #11944
  • fix(postgres): handle timestamptz persistence/hydration correctly by @Minishlink in #11774
  • fix(cli): init command loading non-existing package.json by @gioboa in #11947
  • feat: gsoc 2026 idea list by @G0maa in #11953
  • feat: add modern migrations tooling gsoc project by @G0maa in #11958
  • fix: fix up limit with joins by @gioboa in #11987
  • fix: fix up save with eagerly loaded relation by @gioboa in #11975
  • fix: fix up generated query with .update() by @gioboa in #11993
  • feat(sap): support locking in select by @alumni in #11996
  • fix: disable global order for aggregate functions by @Cprakhar in #11925
  • feat(ci): switch to npm trusted publishing with nightly support by @michaelbromley in #11986
  • feat: add support for table comments in SAP HANA by @Cprakhar in #11939
  • chore(qodo): disable persistent comments and inline code suggestions in master by @naorpeled in #11988
  • fix: prevent eager relations from being joined twice when explicitly specified by @veeceey in #11991
  • feat!: remove deprecated Connection and ConnectionOptions by @alumni in #12022
  • chore(deps): update dependencies to latest minor versions by @alumni in #12017
  • docs: document bulk operations with array of condition objects by @eka-bot-account in https://github.com/typeorm...
Read more

0.3.30

Choose a tag to compare

@alumni alumni released this 18 May 20:53
4c91616

What's Changed

  • fix: scope invalidWhereValuesBehavior to high-level abstractions only by @naorpeled in #11878
  • fix: scope computed-columns join to correct table in MSSQL schema query by @PreAgile in #12288
  • fix: preserve user-defined shared join columns in change set by @PreAgile in #12354
  • revert: fix up limit with joins by @alumni
  • fix(find-options): allow array values in JsonContains by @kyungseopk1m in #12420
  • fix(cockroachdb): adjust join in loadTables to load correct table columns by @Cprakhar in #12413
  • ci: use the v0.3 branch as base for detect-changes by @alumni
  • chore(release): release 0.3.30 by @alumni in #12511

Full Changelog: 0.3.29...0.3.30

0.3.29

Choose a tag to compare

@alumni alumni released this 08 May 13:12

What's Changed

New Contributors

Full Changelog: 0.3.28...0.3.29

0.3.28

Choose a tag to compare

@michaelbromley michaelbromley released this 03 Dec 08:31
73fda41

What's Changed

New Contributors

Full Changelog: 0.3.27...0.3.28

0.3.27

Choose a tag to compare

@michaelbromley michaelbromley released this 19 Sep 09:47
9ea8577

Note: This release reverts a fix from 0.3.26 (#11114) because it introduced a regression in certain cases.

Once a fix can be provided which does not have this regression, it will be released in a future patch.

What's Changed

New Contributors

Full Changelog: 0.3.26...0.3.27

0.3.26

Choose a tag to compare

@michaelbromley michaelbromley released this 18 Aug 16:34
4d204ad

Notes:

  • When using MySQL, TypeORM now connects using stringifyObjects: true, in order to avoid a potential security vulnerability
    in the mysql/mysql2 client libraries. You can revert to the old behavior by setting connectionOptions.extra.stringifyObjects = false.
  • When using SAP HANA, TypeORM now uses the built-in pool from the @sap/hana-client library. The deprecated hdb-pool
    is no longer necessary and can be removed. See https://typeorm.io/docs/drivers/sap/#data-source-options for the new pool options.

What's Changed

  • chore: Remove manual trigger on publish workflow by @michaelbromley in #11536
  • test(ci): force mocha to exit on stuck process by @OSA413 in #11538
  • fix(oracle): pass duplicated parameters correctly to the client when executing a query by @alumni in #11537
  • feat(sap): add support for REAL_VECTOR and HALF_VECTOR data types in SAP HANA Cloud by @alumni in #11526
  • fix: add stricter type-checking and improve event loop handling by @alumni in #11540
  • perf: avoid unnecessary count on getManyAndCount by @EQuincerot in #11524
  • feat(sap): use the native driver for connection pooling by @alumni in #11520
  • fix: support for better-sqlite3 v12 by @mohd-akram in #11557
  • fix: preserve useIndex when cloning a QueryExpressionMap (or a QueryBuilder) by @kettui in #10679
  • chore: change test badge from test.yml to commit-validation.yml by @albasyir in #11560
  • fix: do not create junction table metadata when it already exists by @ragrag in #11114
  • fix(mysql): support AnalyticDB returning version() column name in getVersion() by @rhydian0x in #11555
  • fix: resolve array modification bug in QueryRunner drop methods #11563 by @taina0407 in #11564
  • fix(mysql): set stringifyObjects implicitly by @alumni in #11574
  • docs: separate driver-specific documentation by @alumni in #11581
  • docs: fix redirect to mongodb page by @alumni in #11584
  • feat(11528): add Redis 5.x support with backward compatibility wite peer dependency to allow by @par333k in #11585
  • fix: regtype is not supported in aurora serverless v2 by @ArsenyYankovsky in #11568
  • fix(platform[web worker]): improve globalThis variable retrieval for … by @dasoncheng in #11495
  • docs: added @piying/orm extension to readme by @wszgrcy in #11596
  • docs: Fix reload option typo by @radovanovic-stevan in #11601
  • feat: add entity mode virtual-property by @wszgrcy in #11597
  • chore: Release v0.3.26 by @michaelbromley in #11602

New Contributors

Full Changelog: 0.3.25...0.3.26

0.3.25

Choose a tag to compare

@michaelbromley michaelbromley released this 19 Jun 16:09
bdb8326

What's Changed

  • docs: use correct SQL statements in softDelete/restore comments by @sgarner in #11489
  • fix: resolve alias or table name in upsert and orUpdate for PostgreSQL driver conditionally by @mmarifat in #11452
  • feat(spanner): use credentials from connection options by @denes in #11492
  • feat: add upsert support for Oracle, SQLServer and SAP HANA by @Yuuki-Sakura in #10974
  • fix: handle limit(0) and offset(0) correctly in SelectQueryBuilder by @yeonghun104 in #11507
  • fix: add collation update detection in PostgresDriver by @asn6878 in #11441
  • feat: add typesense/docsearch-scraper by @gioboa in #11424
  • chore: improve linting by @alumni in #11510
  • chore: improve linting (fixup) by @alumni in #11511
  • docs: new website initial commit by @naorpeled in #11408
  • fix: fix up doc search workflow by @gioboa in #11513
  • chore: update workflows to ignore changes in docs directory by @dlhck in #11518
  • feat(docs): add Plausible analytics script to Docusaurus config by @dlhck in #11517
  • docs: add note about using YugabyteDB by @mguida22 in #11521
  • chore(docs): improve website generation config by @alumni in #11527
  • fix(tree-entity): closure junction table primary key definition should match parent table by @gongAll in #11422
  • docs: add heading to Getting Started page by @sgarner in #11531
  • fix: Multiple relations with same columns cause invalid SQL to be generated by @yevhen-komarov in #11400
  • fix: fix null pointer exception on date array column comparison by @mnbaccari in #11532
  • chore(ci): simplify workflows by @alumni in #11530
  • fix: improve async calls on disconnect by @alumni in #11523

New Contributors

Full Changelog: 0.3.24...0.3.25

0.3.24

Choose a tag to compare

@mguida22 mguida22 released this 14 May 18:05
12a71e4

What's Changed

New Contributors

Full Changelog: 0.3.23...0.3.24