Skip to content

build(deps): bump typeorm from 0.3.22 to 0.3.23 #589

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

Merged
merged 1 commit into from
May 12, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 12, 2025

Bumps typeorm from 0.3.22 to 0.3.23.

Release notes

Sourced from typeorm's releases.

0.3.23

Note on a breaking change

This release includes a technically breaking change (from this PR) in the behaviour of this call:

await repository.delete({})

Old behaviour was to delete all rows from the table New behaviour is to throw an error: Empty criteria(s) are not allowed for the delete method.

Why?

The "truncation" 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 the whole table.

The docs on delete() state:

delete - Deletes entities by entity id, ids or given conditions: await repository.delete(1) await repository.delete([1, 2, 3]) await repository.delete({ firstName: "Timber" })

The correct method for deleting all rows (truncating), use:

await repository.clear()

This also has the advantage of using TRUNCATE which is much faster than DELETE.

What's Changed

... (truncated)

Changelog

Sourced from typeorm's changelog.

0.3.23 (2025-05-05)

Bug Fixes

  • beforeQuery promises not awaited before query execution (#11086) (b9842e3), closes #11085 #11085
  • change how array columns are compared on column changed detection (#11269) (a61654e), closes #5967
  • cleanup after streaming in sap hana (#11399) (fadad1a)
  • mongo: propagate aggregate method's generic type to its returned cursor (#10754) (56f1898)
  • prevent error when replication is undefined (#11423) (61a6f97)
  • update/delete/softDelete by criteria of condition objects (#10910)

Features

Performance Improvements

  • query-runner: use Date.now() instead of +new Date() (#10811) (fe71a0c)
Commits

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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [typeorm](https://github.com/typeorm/typeorm) from 0.3.22 to 0.3.23.
- [Release notes](https://github.com/typeorm/typeorm/releases)
- [Changelog](https://github.com/typeorm/typeorm/blob/master/CHANGELOG.md)
- [Commits](typeorm/typeorm@0.3.22...0.3.23)

---
updated-dependencies:
- dependency-name: typeorm
  dependency-version: 0.3.23
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested review from ohenning, TommyBom and a team May 12, 2025 01:04
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 12, 2025

The reviewers field in the dependabot.yml file will be removed soon. Please use the code owners file to specify reviewers for Dependabot PRs. For more information, see this blog post.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 12, 2025
@github-actions github-actions bot enabled auto-merge (squash) May 12, 2025 01:04
@github-actions github-actions bot merged commit 8521cda into main May 12, 2025
2 of 3 checks passed
@github-actions github-actions bot deleted the dependabot/npm_and_yarn/typeorm-0.3.23 branch May 12, 2025 01:05
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