Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented May 20, 2025

This PR contains the following updates:

Package Change Age Confidence
typeorm (source) 0.3.170.3.28 age confidence

Release Notes

typeorm/typeorm (typeorm)

v0.3.28

Compare Source

Bug Fixes
Features

v0.3.27

Compare Source

Bug Fixes
Features
Performance Improvements
Reverts

v0.3.26

Compare Source

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.
Bug Fixes
Features
Performance Improvements

v0.3.25

Compare Source

Bug Fixes
Features

v0.3.24

Compare Source

Bug Fixes
Features
Performance Improvements
  • improve save performance during entities update (15de733)

v0.3.23

Compare Source

⚠️ Note on a breaking change

This release includes a technically breaking change (from this PR) in the behaviour of the delete and update methods of the EntityManager and Repository APIs, when an empty object is supplied as the criteria:

await repository.delete({})
await repository.update({}, { foo: 'bar' })
  • Old behaviour was to delete or update all rows in the table
  • New behaviour is to throw an error: Empty criteria(s) are not allowed for the delete/update method.

Why?

This behaviour was not documented and is considered dangerous as it can allow a badly-formed object (e.g. with an undefined id) to inadvertently delete or update the whole table.

When the intention actually was to delete or update all rows, such queries can be rewritten using the QueryBuilder API:

await repository.createQueryBuilder().delete().execute()
// executes: DELETE FROM table_name
await repository.createQueryBuilder().update().set({ foo: 'bar' }).execute()
// executes: UPDATE table_name SET foo = 'bar'

An alternative method for deleting all rows is to use:

await repository.clear()
// executes: TRUNCATE TABLE table_name
Bug Fixes
Features
Performance Improvements

v0.3.22

Compare Source

Bug Fixes
Features
Reverts

v0.3.21

Compare Source

Bug Fixes
Performance Improvements

v0.3.20

Compare Source

Bug Fixes
Features
Reverts

v0.3.19

Compare Source

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

v0.3.18

Compare Source

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.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/typeorm-0.x branch from 41cdf1c to 3f54fb4 Compare May 27, 2025 10:29
@renovate renovate bot force-pushed the renovate/typeorm-0.x branch 2 times, most recently from d966196 to c0183d2 Compare May 30, 2025 09:29
@renovate renovate bot force-pushed the renovate/typeorm-0.x branch from c0183d2 to 032da71 Compare June 19, 2025 22:07
@renovate renovate bot changed the title fix(deps): update dependency typeorm to v0.3.24 fix(deps): update dependency typeorm to v0.3.25 Jun 19, 2025
@renovate renovate bot force-pushed the renovate/typeorm-0.x branch from 032da71 to 5bbba07 Compare August 10, 2025 12:38
@renovate renovate bot changed the title fix(deps): update dependency typeorm to v0.3.25 fix(deps): update dependency typeorm to v0.3.26 Aug 18, 2025
@renovate renovate bot force-pushed the renovate/typeorm-0.x branch from 5bbba07 to 0067ef7 Compare August 18, 2025 19:33
@renovate renovate bot force-pushed the renovate/typeorm-0.x branch from 0067ef7 to 710069a Compare August 31, 2025 11:29
@renovate renovate bot changed the title fix(deps): update dependency typeorm to v0.3.26 fix(deps): update dependency typeorm to v0.3.27 Sep 19, 2025
@renovate renovate bot force-pushed the renovate/typeorm-0.x branch 2 times, most recently from 7e9b53f to 39b98bc Compare September 25, 2025 18:14
@renovate renovate bot force-pushed the renovate/typeorm-0.x branch from 39b98bc to 6db2e4c Compare November 11, 2025 01:00
@renovate renovate bot force-pushed the renovate/typeorm-0.x branch from 6db2e4c to d196fa1 Compare November 18, 2025 11:44
@renovate renovate bot force-pushed the renovate/typeorm-0.x branch from d196fa1 to 10905ad Compare December 3, 2025 09:35
@renovate renovate bot changed the title fix(deps): update dependency typeorm to v0.3.27 fix(deps): update dependency typeorm to v0.3.28 Dec 3, 2025
@renovate renovate bot force-pushed the renovate/typeorm-0.x branch from 10905ad to 94e799e Compare December 31, 2025 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant