Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 27, 2022

This PR contains the following updates:

Package Change Age Confidence
typeorm (source) ^0.2.45 -> ^0.3.27 age confidence

Release Notes

typeorm/typeorm (typeorm)

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.

v0.3.17

Compare Source

Bug Fixes

v0.3.16

Compare Source

Bug Fixes
Features
Reverts

v0.3.15

Compare Source

Bug Fixes
  • make cache optional fields optional (#​9942) (159c60a)
  • prevent unique index identical to primary key (all sql dialects) (#​9940) (51eecc2)
  • SelectQueryBuilder builds incorrectly escaped alias in Oracle when used on entity with composite key (#​9668) (83c6c0e)
Features

v0.3.14

Compare Source

Bug Fixes

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 changed the title fix: pin typeorm ^0.3.6 fix(): pin typeorm ^0.3.6 Jun 28, 2022
@renovate renovate bot force-pushed the chore/renovate/typeorm-0.x branch from b2fa2ac to 8e2d335 Compare June 29, 2022 19:53
@renovate renovate bot changed the title fix(): pin typeorm ^0.3.6 fix(): pin typeorm ^0.3.7 Jun 29, 2022
@renovate renovate bot force-pushed the chore/renovate/typeorm-0.x branch from 8e2d335 to 225de1e Compare July 5, 2022 21:16
@renovate renovate bot force-pushed the chore/renovate/typeorm-0.x branch from 225de1e to ca4ca38 Compare August 6, 2022 12:13
@renovate renovate bot force-pushed the chore/renovate/typeorm-0.x branch from ca4ca38 to de58fee Compare August 26, 2022 18:59
@renovate renovate bot changed the title fix(): pin typeorm ^0.3.7 fix(): pin typeorm ^0.3.8 Aug 26, 2022
@renovate renovate bot force-pushed the chore/renovate/typeorm-0.x branch from de58fee to d033771 Compare August 28, 2022 20:44
@renovate renovate bot changed the title fix(): pin typeorm ^0.3.8 fix(): pin typeorm ^0.3.9 Aug 28, 2022
@renovate renovate bot force-pushed the chore/renovate/typeorm-0.x branch from d033771 to 2763a1e Compare September 19, 2022 19:36
@renovate renovate bot changed the title fix(): pin typeorm ^0.3.9 fix(): pin typeorm ^0.3.10 Sep 19, 2022
@renovate renovate bot changed the title fix(): pin typeorm ^0.3.10 fix(): pin typeorm ^0.3.12 Mar 16, 2023
@renovate renovate bot force-pushed the chore/renovate/typeorm-0.x branch from 2763a1e to 6870f60 Compare March 16, 2023 09:53
@renovate renovate bot force-pushed the chore/renovate/typeorm-0.x branch from 6870f60 to f80c36a Compare April 17, 2023 11:21
@renovate renovate bot changed the title fix(): pin typeorm ^0.3.12 fix(): pin typeorm ^0.3.15 Apr 17, 2023
@renovate renovate bot force-pushed the chore/renovate/typeorm-0.x branch from f80c36a to 64466c3 Compare May 28, 2023 10:44
@renovate renovate bot changed the title fix(): pin typeorm ^0.3.15 fix(): pin typeorm ^0.3.16 May 28, 2023
@renovate renovate bot force-pushed the chore/renovate/typeorm-0.x branch from 64466c3 to 1125a58 Compare June 20, 2023 23:17
@renovate renovate bot changed the title fix(): pin typeorm ^0.3.16 fix(): pin typeorm ^0.3.17 Jun 20, 2023
@renovate renovate bot force-pushed the chore/renovate/typeorm-0.x branch from 1125a58 to 648e3fc Compare January 3, 2024 17:04
@renovate renovate bot changed the title fix(): pin typeorm ^0.3.17 fix(): pin typeorm ^0.3.19 Jan 3, 2024
@renovate renovate bot force-pushed the chore/renovate/typeorm-0.x branch from 648e3fc to ce1f055 Compare January 26, 2024 13:22
@renovate renovate bot changed the title fix(): pin typeorm ^0.3.19 fix(): pin typeorm ^0.3.20 Jan 26, 2024
@renovate renovate bot force-pushed the chore/renovate/typeorm-0.x branch from ce1f055 to be06000 Compare March 3, 2025 12:42
@renovate renovate bot changed the title fix(): pin typeorm ^0.3.20 fix(): pin typeorm ^0.3.21 Mar 3, 2025
@renovate
Copy link
Contributor Author

renovate bot commented Mar 3, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: yarn.lock
/opt/containerbase/tools/corepack/0.34.1/16.16.0/node_modules/corepack/dist/lib/corepack.cjs:22543
  const isURL = URL.canParse(range);
                    ^

TypeError: URL.canParse is not a function
    at parseSpec (/opt/containerbase/tools/corepack/0.34.1/16.16.0/node_modules/corepack/dist/lib/corepack.cjs:22543:21)
    at Object.getSpec (/opt/containerbase/tools/corepack/0.34.1/16.16.0/node_modules/corepack/dist/lib/corepack.cjs:22692:20)
    at Engine.findProjectSpec (/opt/containerbase/tools/corepack/0.34.1/16.16.0/node_modules/corepack/dist/lib/corepack.cjs:22910:31)
    at async Engine.executePackageManagerRequest (/opt/containerbase/tools/corepack/0.34.1/16.16.0/node_modules/corepack/dist/lib/corepack.cjs:22949:24)
    at async Object.runMain (/opt/containerbase/tools/corepack/0.34.1/16.16.0/node_modules/corepack/dist/lib/corepack.cjs:23653:7)

@renovate renovate bot force-pushed the chore/renovate/typeorm-0.x branch from be06000 to 11c8484 Compare April 3, 2025 09:59
@renovate renovate bot changed the title fix(): pin typeorm ^0.3.21 fix(): pin typeorm ^0.3.22 Apr 3, 2025
@renovate renovate bot force-pushed the chore/renovate/typeorm-0.x branch from 11c8484 to a4ce78d Compare May 7, 2025 11:49
@renovate renovate bot changed the title fix(): pin typeorm ^0.3.22 fix(): pin typeorm ^0.3.23 May 7, 2025
@renovate renovate bot force-pushed the chore/renovate/typeorm-0.x branch from a4ce78d to aa3b35c Compare May 14, 2025 23:08
@renovate renovate bot changed the title fix(): pin typeorm ^0.3.23 fix(): pin typeorm ^0.3.24 May 14, 2025
@renovate renovate bot force-pushed the chore/renovate/typeorm-0.x branch from aa3b35c to cfc3d3f Compare June 19, 2025 19:38
@renovate renovate bot changed the title fix(): pin typeorm ^0.3.24 fix(): pin typeorm ^0.3.25 Jun 19, 2025
@renovate renovate bot force-pushed the chore/renovate/typeorm-0.x branch from cfc3d3f to 03ab95e Compare August 18, 2025 19:25
@renovate renovate bot changed the title fix(): pin typeorm ^0.3.25 fix(): pin typeorm ^0.3.26 Aug 18, 2025
| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| npm        | typeorm | 0.2.45 | 0.3.27 |
@renovate renovate bot force-pushed the chore/renovate/typeorm-0.x branch from 03ab95e to 40e82c0 Compare September 19, 2025 13:47
@renovate renovate bot changed the title fix(): pin typeorm ^0.3.26 fix(): pin typeorm ^0.3.27 Sep 19, 2025
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.

1 participant