Skip to content

fix(deps): update dependency typeorm to v0.3.24#399

Merged
Keith-CY merged 1 commit intodevelopfrom
renovate/typeorm-0.x
May 20, 2025
Merged

fix(deps): update dependency typeorm to v0.3.24#399
Keith-CY merged 1 commit intodevelopfrom
renovate/typeorm-0.x

Conversation

@renovate
Copy link

@renovate renovate bot commented Jun 13, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
typeorm (source) 0.3.17 -> 0.3.24 age adoption passing confidence

Release Notes

typeorm/typeorm (typeorm)

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 f8e2d1c to 43d247e Compare June 14, 2024 03:25
@renovate renovate bot force-pushed the renovate/typeorm-0.x branch from 43d247e to 8bae811 Compare June 18, 2024 09:34
@renovate renovate bot force-pushed the renovate/typeorm-0.x branch from 8bae811 to ba49eb1 Compare July 5, 2024 09:34
@renovate renovate bot force-pushed the renovate/typeorm-0.x branch from ba49eb1 to 095362f Compare August 27, 2024 00:37
@renovate renovate bot force-pushed the renovate/typeorm-0.x branch from 095362f to 692beb6 Compare March 3, 2025 12:54
@renovate renovate bot changed the title fix(deps): update dependency typeorm to v0.3.20 fix(deps): update dependency typeorm to v0.3.21 Mar 3, 2025
@renovate renovate bot force-pushed the renovate/typeorm-0.x branch from 692beb6 to b2eed07 Compare April 3, 2025 10:43
@renovate renovate bot changed the title fix(deps): update dependency typeorm to v0.3.21 fix(deps): update dependency typeorm to v0.3.22 Apr 3, 2025
@renovate renovate bot force-pushed the renovate/typeorm-0.x branch from b2eed07 to 95ec52e Compare May 7, 2025 16:57
@renovate renovate bot changed the title fix(deps): update dependency typeorm to v0.3.22 fix(deps): update dependency typeorm to v0.3.23 May 7, 2025
@renovate renovate bot force-pushed the renovate/typeorm-0.x branch from 95ec52e to 67f6d26 Compare May 14, 2025 20:16
@renovate renovate bot changed the title fix(deps): update dependency typeorm to v0.3.23 fix(deps): update dependency typeorm to v0.3.24 May 14, 2025
@renovate renovate bot force-pushed the renovate/typeorm-0.x branch from 67f6d26 to 58f35f0 Compare May 20, 2025 03:43
@renovate renovate bot force-pushed the renovate/typeorm-0.x branch from 58f35f0 to 4c136e5 Compare May 20, 2025 05:40
@Keith-CY Keith-CY merged commit 56331aa into develop May 20, 2025
3 checks passed
@Keith-CY Keith-CY deleted the renovate/typeorm-0.x branch May 20, 2025 06:08
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