-
Notifications
You must be signed in to change notification settings - Fork 0
fix(deps): update dependency typeorm to v0.3.17 #139
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
Conversation
228483f
to
2a7e83a
Compare
2a7e83a
to
fd32e27
Compare
Many test cases run failed, so we need to upgrade it manually. |
0b217ce
to
1cf62cc
Compare
1cf62cc
to
7338bbc
Compare
7338bbc
to
a0b2678
Compare
acae8b6
to
79f29b6
Compare
79f29b6
to
aefc630
Compare
aefc630
to
46ff18b
Compare
e6cd074
to
61a2252
Compare
61a2252
to
da5cdb0
Compare
da5cdb0
to
603a6e2
Compare
b8e6d3c
to
31dd4da
Compare
1d83c5a
to
240260d
Compare
This PR has Quantification details
Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a
What can I do to optimize my changes
How to interpret the change counts in git diff output
Was this comment helpful? 👍 :ok_hand: :thumbsdown: (Email) |
0fc6ec8
to
9052d77
Compare
6430710
to
f2f5708
Compare
48eeade
to
b144905
Compare
c088e1e
to
54c5f67
Compare
25096c8
to
cb1da2f
Compare
cb1da2f
to
ffd994a
Compare
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update ( If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
0.2.45
->0.3.17
Release Notes
typeorm/typeorm (typeorm)
v0.3.17
Compare Source
Bug Fixes
v0.3.16
Compare Source
Bug Fixes
trustServerCertificate
option toSqlServerConnectionOptions
(#9985) (0305805), closes #8093Features
Reverts
v0.3.15
Compare Source
Bug Fixes
Features
v0.3.14
Compare Source
Bug Fixes
Features
v0.3.13
Compare Source
Bug Fixes
Features
v0.3.12
Compare Source
Bug Fixes
FindOptionsWhere
behavior with union types (#9607) (7726f5a)where
parameter is empty array (#9691) (7df2ccf), closes #9690Features
v0.3.11
Compare Source
Fixes
init
command (#9422) (0984307)Features
v0.3.10
Compare Source
Bug Fixes
Features
v0.3.9
Compare Source
v0.3.8
Compare Source
Bug Fixes
Features
v0.3.7
Compare Source
Bug Fixes
enumName
support for EntitySchema (#9024) (676fd1b)Features
for_key_share
("FOR KEY SHARE") lock mode for postgres driver (#8879) (4687be8), closes #8878Performance Improvements
v0.3.6
Compare Source
Features
for_key_share
("FOR KEY SHARE") lock mode for postgres driver (#8879) (4687be8), closes #8878v0.3.5
Compare Source
Bug Fixes
.save
repository method not returning generated uuids for aurora-postgres (#8825) (ed06f4c)cli-ts-node-commonjs
andcli-ts-node-esm
on some linux distros (#8821) (c5dfc11), closes #8818typeorm init
command (#8820)v0.3.4
Compare Source
Bug Fixes
findOne
to throw error on missing conditions in runtime (#8801) (ee8c1ec)Features
v0.3.3
Compare Source
Bug Fixes
Features
v0.3.2
Compare Source
Bug Fixes
Features
ts-node
(#8776) (05fc744)Reverts
v0.3.1
Compare Source
Bug Fixes
trustServerCertificate
option toSqlServerConnectionOptions
(#9985) (0305805), closes #8093Features
Reverts
v0.3.0
Compare Source
Changes in the version includes changes from the
next
branch andtypeorm@next
version.They were pending their migration from 2018. Finally, they are in the master branch and master version.
Features
compilation
target
now ises2020
. This requires Node.JS version14+
TypeORM now properly works when installed within different node_modules contexts
(often happen if TypeORM is a dependency of another library or TypeORM is heavily used in monorepo projects)
Connection
was renamed toDataSource
.Old
Connection
is still there, but now it's deprecated. It will be completely removed in next version.New API:
Previously, you could use
new Connection()
,createConnection()
,getConnectionManager().create()
, etc.They all deprecated in favour of new syntax you can see above.
New way gives you more flexibility and simplicity in usage.
Old ways of custom repository creation were dropped.
added new option on relation load strategy called
relationLoadStrategy
.Relation load strategy is used on entity load and determines how relations must be loaded when you query entities and their relations from the database.
Used on
find*
methods andQueryBuilder
. Value can be set tojoin
orquery
.join
- loads relations using SQLJOIN
expressionquery
- executes separate SQL queries for each relationDefault is
join
, but default can be set inConnectionOptions
:Also, it can be set per-query in
find*
methods:And QueryBuilder:
For queries returning big amount of data, we recommend to use
query
strategy,because it can be a more performant approach to query relations.
findOneBy
,findOneByOrFail
,findBy
,countBy
,findAndCountBy
methods toBaseEntity
,EntityManager
andRepository
:Overall
find*
andcount*
method signatures where changed, read the "breaking changes" section for more info.select
type signature inFindOptions
(used infind*
methods):Also, now it's possible to specify select columns of the loaded relations:
relations
type signature inFindOptions
(used infind*
methods):