Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 15, 2024

This PR contains the following updates:

Package Change Age Confidence
typeorm (source) 0.3.17 -> 0.3.26 age confidence

Release Notes

typeorm/typeorm (typeorm)

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-lockfile branch 2 times, most recently from 657d24e to 4a5442e Compare April 21, 2024 10:34
@renovate renovate bot force-pushed the renovate/typeorm-0.x-lockfile branch 2 times, most recently from c14c176 to 77bbdc8 Compare April 25, 2024 11:41
@renovate renovate bot force-pushed the renovate/typeorm-0.x-lockfile branch from 77bbdc8 to 2e5ca99 Compare April 30, 2024 07:59
@renovate renovate bot force-pushed the renovate/typeorm-0.x-lockfile branch from 2e5ca99 to 38556e7 Compare May 13, 2024 02:57
@renovate renovate bot force-pushed the renovate/typeorm-0.x-lockfile branch from 38556e7 to 4607ede Compare June 4, 2024 10:34
@renovate renovate bot force-pushed the renovate/typeorm-0.x-lockfile branch from 4607ede to 8108aac Compare June 25, 2024 13:37
@renovate renovate bot force-pushed the renovate/typeorm-0.x-lockfile branch from 8108aac to 4b07c23 Compare July 21, 2024 15:20
@renovate renovate bot force-pushed the renovate/typeorm-0.x-lockfile branch from 4b07c23 to e377f4e Compare August 28, 2024 11:11
@renovate renovate bot force-pushed the renovate/typeorm-0.x-lockfile branch from e377f4e to ce8d762 Compare October 9, 2024 10:46
@renovate renovate bot force-pushed the renovate/typeorm-0.x-lockfile branch from ce8d762 to a2dd3b5 Compare October 30, 2024 01:13
@renovate renovate bot force-pushed the renovate/typeorm-0.x-lockfile branch from a2dd3b5 to d19d3e0 Compare January 23, 2025 18:37
@renovate renovate bot force-pushed the renovate/typeorm-0.x-lockfile branch from d19d3e0 to 2ee82bf Compare March 3, 2025 12:06
@renovate renovate bot changed the title Update dependency typeorm to v0.3.20 Update dependency typeorm to v0.3.21 Mar 3, 2025
@renovate renovate bot force-pushed the renovate/typeorm-0.x-lockfile branch from 2ee82bf to 53f4013 Compare April 3, 2025 11:38
@renovate renovate bot changed the title Update dependency typeorm to v0.3.21 Update dependency typeorm to v0.3.22 Apr 3, 2025
@renovate renovate bot force-pushed the renovate/typeorm-0.x-lockfile branch from 53f4013 to c939f48 Compare April 24, 2025 05:49
@renovate renovate bot force-pushed the renovate/typeorm-0.x-lockfile branch from c939f48 to 74aee9c Compare May 7, 2025 13:57
@renovate renovate bot changed the title Update dependency typeorm to v0.3.22 Update dependency typeorm to v0.3.23 May 7, 2025
@renovate renovate bot force-pushed the renovate/typeorm-0.x-lockfile branch from 74aee9c to 06ffeed Compare May 14, 2025 19:49
@renovate renovate bot changed the title Update dependency typeorm to v0.3.23 Update dependency typeorm to v0.3.24 May 14, 2025
@renovate renovate bot force-pushed the renovate/typeorm-0.x-lockfile branch from 06ffeed to 06d5ed9 Compare June 19, 2025 19:06
@renovate renovate bot changed the title Update dependency typeorm to v0.3.24 Update dependency typeorm to v0.3.25 Jun 19, 2025
@renovate renovate bot force-pushed the renovate/typeorm-0.x-lockfile branch from 06d5ed9 to ac861ad Compare July 2, 2025 17:40
@renovate renovate bot force-pushed the renovate/typeorm-0.x-lockfile branch from ac861ad to 2af8d11 Compare August 18, 2025 16:48
@renovate renovate bot changed the title Update dependency typeorm to v0.3.25 Update dependency typeorm to v0.3.26 Aug 18, 2025
@renovate renovate bot force-pushed the renovate/typeorm-0.x-lockfile branch from 2af8d11 to 622f3b8 Compare August 31, 2025 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants