Update dependency typeorm to v0.3.19 (#136)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [typeorm](https://typeorm.io) ([source](https://github.com/typeorm/typeorm)) | dependencies | patch | [`0.3.17` -> `0.3.19`](https://renovatebot.com/diffs/npm/typeorm/0.3.17/0.3.19) |
---
### Release Notes
<details>
<summary>typeorm/typeorm (typeorm)</summary>
### [`v0.3.19`](https://github.com/typeorm/typeorm/blob/HEAD/CHANGELOG.md#0319-2024-01-03)
[Compare Source](https://github.com/typeorm/typeorm/compare/0.3.18...0.3.19)
##### Bug Fixes
- fixed `Cannot read properties of undefined (reading 'sync')` caused after glob package upgrade
### [`v0.3.18`](https://github.com/typeorm/typeorm/blob/HEAD/CHANGELOG.md#0318-2024-01-03)
[Compare Source](https://github.com/typeorm/typeorm/compare/0.3.17...0.3.18)
##### Bug Fixes
- add BaseEntity to model-shim ([#​10503](https://github.com/typeorm/typeorm/issues/10503)) ([3cf938e](3cf938efc0
))
- add error handling for missing join columns ([#​10525](https://github.com/typeorm/typeorm/issues/10525)) ([122c897](122c897a2f
)), closes [#​7034](https://github.com/typeorm/typeorm/issues/7034)
- add missing export for View class ([#​10261](https://github.com/typeorm/typeorm/issues/10261)) ([7adbc9b](7adbc9bdc7
))
- added fail callback while opening the database in Cordova ([#​10566](https://github.com/typeorm/typeorm/issues/10566)) ([8b4df5b](8b4df5b299
))
- aggregate function throw error when column alias name is set ([#​10035](https://github.com/typeorm/typeorm/issues/10035)) ([022d2b5](022d2b5f62
)), closes [#​9927](https://github.com/typeorm/typeorm/issues/9927)
- backport postgres connection error handling to crdb ([#​10177](https://github.com/typeorm/typeorm/issues/10177)) ([149226d](149226dd67
))
- bump better-sqlite3 version range ([#​10452](https://github.com/typeorm/typeorm/issues/10452)) ([75ec8f2](75ec8f2032
))
- caching always enabled not caching queries ([#​10524](https://github.com/typeorm/typeorm/issues/10524)) ([8af533f](8af533f79f
))
- circular dependency breaking node.js 20.6 ([#​10344](https://github.com/typeorm/typeorm/issues/10344)) ([ba7ad3c](ba7ad3c69b
)), closes [#​10338](https://github.com/typeorm/typeorm/issues/10338)
- correctly keep query.data from ormOption for commit / rollback subscribers ([#​10151](https://github.com/typeorm/typeorm/issues/10151)) ([73ee70b](73ee70b331
))
- default value in child table/entity column decorator for multiple table inheritance is ignored for inherited columns ([#​10563](https://github.com/typeorm/typeorm/issues/10563)) ([#​10564](https://github.com/typeorm/typeorm/issues/10564)) ([af77a5d](af77a5d0ac
))
- deletedAt column leaking as side effect of object update while creating a row ([#​10435](https://github.com/typeorm/typeorm/issues/10435)) ([7de4890](7de4890265
))
- empty objects being hydrated when eager loading relations that have a `@VirtualColumn` ([#​10432](https://github.com/typeorm/typeorm/issues/10432)) ([b53e410](b53e410e5a
)), closes [#​10431](https://github.com/typeorm/typeorm/issues/10431)
- extend GiST index with range types for Postgres driver ([#​10572](https://github.com/typeorm/typeorm/issues/10572)) ([a4900ae](a4900ae15f
)), closes [#​10567](https://github.com/typeorm/typeorm/issues/10567)
- ignore changes for columns with `update: false` in persistence ([#​10250](https://github.com/typeorm/typeorm/issues/10250)) ([f8fa1fd](f8fa1fd821
)), closes [#​10249](https://github.com/typeorm/typeorm/issues/10249)
- improve helper for cli for commands missing positionals ([#​10133](https://github.com/typeorm/typeorm/issues/10133)) ([9f8899f](9f8899f56c
))
- loading datasource unable to process a regular default export ([#​10184](https://github.com/typeorm/typeorm/issues/10184)) ([201342d](201342d150
)), closes [#​8810](https://github.com/typeorm/typeorm/issues/8810)
- logMigration has incorrect logging condition ([#​10323](https://github.com/typeorm/typeorm/issues/10323)) ([d41930f](d41930f0d6
)), closes [#​10322](https://github.com/typeorm/typeorm/issues/10322) [#​10322](https://github.com/typeorm/typeorm/issues/10322)
- ManyToMany ER_DUP_ENTRY error ([#​10343](https://github.com/typeorm/typeorm/issues/10343)) ([e296063](e296063b12
)), closes [#​5704](https://github.com/typeorm/typeorm/issues/5704)
- migrations on indexed TIMESTAMP WITH TIME ZONE Oracle columns ([#​10506](https://github.com/typeorm/typeorm/issues/10506)) ([cf37f13](cf37f1370b
)), closes [#​10493](https://github.com/typeorm/typeorm/issues/10493)
- mongodb - undefined is not constructor ([#​10559](https://github.com/typeorm/typeorm/issues/10559)) ([ad5bf11](ad5bf11a91
))
- mongodb resolves leaked cursor ([#​10316](https://github.com/typeorm/typeorm/issues/10316)) ([2dc9624](2dc9624d00
)), closes [#​10315](https://github.com/typeorm/typeorm/issues/10315)
- mssql datasource testonborrow not affecting anything ([#​10589](https://github.com/typeorm/typeorm/issues/10589)) ([122b683](122b683840
))
- nested transactions issues ([#​10210](https://github.com/typeorm/typeorm/issues/10210)) ([25e6ecd](25e6ecdfd2
))
- prevent using absolute table path in migrations unless required ([#​10123](https://github.com/typeorm/typeorm/issues/10123)) ([dd59524](dd595242a7
))
- remove `date-fns` in favor of `DayJs` ([#​10306](https://github.com/typeorm/typeorm/issues/10306)) ([cf7147f](cf7147fa7c
))
- remove dynamic require calls ([#​10196](https://github.com/typeorm/typeorm/issues/10196)) ([a939654](a939654c95
))
- resolve circular dependency when using Vite ([#​10273](https://github.com/typeorm/typeorm/issues/10273)) ([080528b](080528b117
))
- resolve issue building eager relation alias for nested relations ([#​10004](https://github.com/typeorm/typeorm/issues/10004)) ([c6f608d](c6f608d3e8
)), closes [#​9944](https://github.com/typeorm/typeorm/issues/9944)
- resolve issue of generating migration for numeric arrays repeatedly ([#​10471](https://github.com/typeorm/typeorm/issues/10471)) ([39fdcf6](39fdcf651f
)), closes [#​10043](https://github.com/typeorm/typeorm/issues/10043)
- resolve issue queryBuilder makes different parameter identifiers for same parameter ([#​10327](https://github.com/typeorm/typeorm/issues/10327)) ([6c918ea](6c918ea392
)), closes [#​7308](https://github.com/typeorm/typeorm/issues/7308)
- resolve issues on upsert ([#​10588](https://github.com/typeorm/typeorm/issues/10588)) ([dc1bfed](dc1bfed6d5
)), closes [#​10587](https://github.com/typeorm/typeorm/issues/10587)
- scrub all comment end markers from comments ([#​10163](https://github.com/typeorm/typeorm/issues/10163)) ([d937f61](d937f6106a
))
- serialize bigint when building a query id [#​10336](https://github.com/typeorm/typeorm/issues/10336) ([#​10337](https://github.com/typeorm/typeorm/issues/10337)) ([bfc1cc5](bfc1cc5ab4
))
- should automatically cache if alwaysEnable ([#​10137](https://github.com/typeorm/typeorm/issues/10137)) ([173910e](173910ed79
)), closes [#​9910](https://github.com/typeorm/typeorm/issues/9910)
- SQLite simple-enum column parsing ([#​10550](https://github.com/typeorm/typeorm/issues/10550)) ([696e688](696e688d00
))
- update UpdateDateColumn on upsert ([#​10458](https://github.com/typeorm/typeorm/issues/10458)) ([fdb9866](fdb9866ad2
)), closes [#​9015](https://github.com/typeorm/typeorm/issues/9015)
- upgrade ts-node version to latest(10.9.1) version ([#​10143](https://github.com/typeorm/typeorm/issues/10143)) ([fcb9904](fcb9904f24
))
- using async datasource to configure typeorm ([#​10170](https://github.com/typeorm/typeorm/issues/10170)) ([fbd45db](fbd45dba32
))
##### Features
- ability to change default replication mode ([#​10419](https://github.com/typeorm/typeorm/issues/10419)) ([72b1d1b](72b1d1b865
))
- add concurrent indexes for postgres ([#​10442](https://github.com/typeorm/typeorm/issues/10442)) ([f4e6eaf](f4e6eaf155
))
- add exists and exists by ([#​10291](https://github.com/typeorm/typeorm/issues/10291)) ([b6b46fb](b6b46fb133
))
- add isolated where statements ([#​10213](https://github.com/typeorm/typeorm/issues/10213)) ([3cda7ec](3cda7ec39d
))
- add MSSQL disableAsciiToUnicodeParamConversion option and tests ([#​10161](https://github.com/typeorm/typeorm/issues/10161)) ([df7c069](df7c06948c
)), closes [#​10131](https://github.com/typeorm/typeorm/issues/10131)
- add support for mssql server DefaultAzureCredential usage ([#​10246](https://github.com/typeorm/typeorm/issues/10246)) ([c8ee5b1](c8ee5b1d1a
))
- add support for table comment in MySQL ([#​10017](https://github.com/typeorm/typeorm/issues/10017)) ([338df16](338df16439
))
- allow to use custom type witch extends object type for find where argument ([#​10475](https://github.com/typeorm/typeorm/issues/10475)) ([48f5f85](48f5f85d68
))
- BeforeQuery and AfterQuery events ([#​10234](https://github.com/typeorm/typeorm/issues/10234)) ([5c28154](5c28154cbe
)), closes [#​3302](https://github.com/typeorm/typeorm/issues/3302)
- custom STI discriminator value for EntitySchema ([#​10508](https://github.com/typeorm/typeorm/issues/10508)) ([b240d87](b240d87f34
)), closes [#​10494](https://github.com/typeorm/typeorm/issues/10494)
- enabled CTE for oracle driver ([#​10319](https://github.com/typeorm/typeorm/issues/10319)) ([65858f3](65858f3a17
))
- entityId in InsertEvent ([#​10540](https://github.com/typeorm/typeorm/issues/10540)) ([ae006af](ae006af501
))
- expose countDocuments in mongodb ([#​10314](https://github.com/typeorm/typeorm/issues/10314)) ([ebd61d1](ebd61d1440
))
- exposed entity and criteria properties on EntityNotFoundError ([#​10202](https://github.com/typeorm/typeorm/issues/10202)) ([bafcd17](bafcd1709b
))
- implement column comments for SAP HANA ([#​10502](https://github.com/typeorm/typeorm/issues/10502)) ([45e31cc](45e31cc57a
))
- implement OR operator ([#​10086](https://github.com/typeorm/typeorm/issues/10086)) ([a00b1df](a00b1df68f
)), closes [#​10054](https://github.com/typeorm/typeorm/issues/10054) [#​10054](https://github.com/typeorm/typeorm/issues/10054) [#​10054](https://github.com/typeorm/typeorm/issues/10054) [#​10054](https://github.com/typeorm/typeorm/issues/10054) [#​10054](https://github.com/typeorm/typeorm/issues/10054) [#​10054](https://github.com/typeorm/typeorm/issues/10054) [#​10054](https://github.com/typeorm/typeorm/issues/10054)
- implement streaming for SAP HANA ([#​10512](https://github.com/typeorm/typeorm/issues/10512)) ([7e9cead](7e9cead8a3
))
- implements QueryFailedError generic for driverError typing ([#​10253](https://github.com/typeorm/typeorm/issues/10253)) ([78b2f48](78b2f4805c
))
- modify repository.extend method for chaining repositories ([#​10256](https://github.com/typeorm/typeorm/issues/10256)) ([ca29c0f](ca29c0ff8e
))
- nullable embedded entities ([#​10289](https://github.com/typeorm/typeorm/issues/10289)) ([e67d704](e67d704138
))
- support for MongoDB 6.x ([#​10545](https://github.com/typeorm/typeorm/issues/10545)) ([3647b26](3647b269cc
))
- support mssql@10 ([#​10356](https://github.com/typeorm/typeorm/issues/10356)) ([f6bb671](f6bb6711e2
)), closes [#​10340](https://github.com/typeorm/typeorm/issues/10340)
- use node-oracledb 6 ([#​10285](https://github.com/typeorm/typeorm/issues/10285)) ([3af891a](3af891a8e6
)), closes [#​10277](https://github.com/typeorm/typeorm/issues/10277)
- user-defined index name for STI discriminator column ([#​10509](https://github.com/typeorm/typeorm/issues/10509)) ([89c5257](89c525761d
)), closes [#​10496](https://github.com/typeorm/typeorm/issues/10496)
##### Performance Improvements
- improve SapQueryRunner performance ([#​10198](https://github.com/typeorm/typeorm/issues/10198)) ([f6b87e3](f6b87e3ee1
))
##### 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](https://github.com/typeorm/typeorm/pull/10289) 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.
</details>
---
### 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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjAiLCJ0YXJnZXRCcmFuY2giOiJkZXZlbG9wIn0=-->
Reviewed-on: https://gitea.vylpes.xyz/External/card-drop/pulls/136
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>