Skip to content

Bump typeorm from 0.2.45 to 0.3.24 in the npm_and_yarn group across 1 directory #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jun 3, 2025

Bumps the npm_and_yarn group with 1 update in the / directory: typeorm.

Updates typeorm from 0.2.45 to 0.3.24

Release notes

Sourced from typeorm's releases.

0.3.24

What's Changed

New Contributors

Full Changelog: typeorm/typeorm@0.3.23...0.3.24

0.3.23

⚠️ 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'

... (truncated)

Changelog

Sourced from typeorm's changelog.

0.3.24 (2025-05-14)

Bug Fixes

  • capacitor use query to run PRAGMA statements (#11467) (d325d9e)
  • ci: resolve pkg.pr.new publish failure (2168441)
  • mssql: avoid mutating input parameter array values (#11476) (b8dbca5)

Features

  • add tagged template for executing raw SQL queries (#11432) (c464ff8)
  • add updateAll and deleteAll methods to EntityManager and Repository APIs (#11459) (23bb1ee)
  • spanner: support insert returning (#11460) (144634d), closes #11453

Performance Improvements

  • improve save performance during entities update (15de733)

0.3.23 (2025-05-05)

⚠️ 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'

... (truncated)

Commits
  • 12a71e4 chore: version 0.3.24 (#11478)
  • d325d9e fix: capacitor driver PRAGMA bug (#11467)
  • b8dbca5 fix(mssql): avoid mutating input parameter array values (#11476)
  • 9f889b3 chore: clarify commit practices (#11472)
  • 144634d feat(spanner): support insert returning (#11460)
  • e9eaf79 Fix/11466 mssql find operator (#11468)
  • 23bb1ee feat: add updateAll and deleteAll methods to EntityManager and Repository API...
  • a6b61f7 chore: include warning about update({}) in changelog (#11471)
  • 6d1c4f0 build: ensure coveralls flag-name is unique by db, node and client versions (...
  • 1198dc2 chore: add note about breaking change in 0.3.23 (#11469)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by michaelbromley, a new releaser for typeorm since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps the npm_and_yarn group with 1 update in the / directory: [typeorm](https://github.com/typeorm/typeorm).


Updates `typeorm` from 0.2.45 to 0.3.24
- [Release notes](https://github.com/typeorm/typeorm/releases)
- [Changelog](https://github.com/typeorm/typeorm/blob/master/CHANGELOG.md)
- [Commits](typeorm/typeorm@0.2.45...0.3.24)

---
updated-dependencies:
- dependency-name: typeorm
  dependency-version: 0.3.24
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants