Skip to content
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

feat: Synced parent changes #9

Merged
merged 151 commits into from
Jun 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
4ec04fa
feat: added opaque types support over primitives in find-options (#9560)
pleerock Nov 21, 2022
f606a22
docs: improve zh docs (#9575)
smile-sky20 Dec 3, 2022
975a953
docs: general grammer (#9574)
veekram Dec 3, 2022
68f18a3
Github issue templates converted to forms (#9434)
mrhappyma Dec 3, 2022
26107e6
feat: allow peerDependency of better-sqlite3 version 8.x.x (#9564)
d-koppenhagen Dec 3, 2022
b566d54
docs: removed unnecessary slash in comments (#9533)
rrakso Dec 3, 2022
2458ac7
fix: pass fake flag to undoLastMigration (#9562)
barakshelef-oasis Dec 3, 2022
50cb580
build(deps): bump decode-uri-component from 0.2.0 to 0.2.2 (#9590)
dependabot[bot] Dec 3, 2022
97fae63
fix: correctly return insertId for react-native (#9554)
dehy Dec 3, 2022
658604d
fix: the mpath is incorrect when the parent of the tree entity is nul…
Yuuki-Sakura Dec 3, 2022
d71e9c4
docs: add in an example for 4526 (#9538)
charltonaustin Dec 3, 2022
fc3b4f8
feat: "And" operator in FindOptions (#9489)
iJhefe Dec 3, 2022
d490793
fix: left instead of inner join for where or + optional relations (#9…
pfgallagher Dec 3, 2022
f07fb2c
fix: typings for Repository.extend function (#9396)
ruscon Dec 3, 2022
1cb738a
feat: index support for materialized views of PostgreSQL (#9414)
rodzalo Dec 3, 2022
3b64b1a
docs: Improve comprehension of update repository API (#9417)
CDelgrange Dec 3, 2022
b282428
feat: upsert options conflictPaths as Entity keys (#9365)
redwert Dec 3, 2022
6e91513
docs: update "migrate:show error code" description (#9476)
kz-d Dec 3, 2022
71efa8e
feat: add id in migrate:show command logging (#9475)
kz-d Dec 3, 2022
73148c9
feat: add Open DB Flags and URI DB Name in SQLite (#9468)
adrian-burlacu-software Dec 3, 2022
81fc9a9
fix: assign isInitialized: true at the end of .initialize() method (#…
fraxken Dec 3, 2022
93e6b3d
fix: cacheId not used when loading relations with take (#9469)
4l3ss Dec 3, 2022
2473ff0
feat: add parseInt8 option to postgres driver. Closes #9341 (#9435)
danmana Dec 3, 2022
7fbc3ad
Revert "fix: assign isInitialized: true at the end of .initialize() m…
pleerock Dec 3, 2022
0984307
fix: fixed outdated `init` command (#9422)
thalles-victor Dec 3, 2022
f215e2d
feat: migration:generate successful exit the process with zero code (…
needim Dec 3, 2022
53fad8f
fix: disable transactionSupport option for CordovaDriver (#9391)
michaelwolz Dec 3, 2022
598e269
feat: implement exists query method (#9303)
mortezaPRK Dec 3, 2022
93e14a9
feat: Add synchronize to @JoinTable (#9442)
rutkowskib Dec 3, 2022
2241b27
lint fix
AlexMesser Dec 3, 2022
2c54381
feat: allow for partial index conditions for on conflict statments in…
deekthesqueak Dec 3, 2022
7386318
fixed latest typescript-related issue
pleerock Dec 3, 2022
6ba48bd
feat: allow per-migration control over transaction behavior (#9459)
TimBeyer Dec 3, 2022
a176c8b
fix : primary constraint name undefined error (#9576)
kadiraciktan Dec 3, 2022
0d72317
version bump
pleerock Dec 3, 2022
8251812
docs: fix missing ) (#9629)
SaadBazaz Dec 16, 2022
a95bed7
fix: DataSource.setOptions doesn't properly update the database in th…
pleerock Dec 18, 2022
6c928a4
fix: multiple select queries during db sync in sqlite (#9639)
AlexMesser Dec 19, 2022
648222a
docs: correct typo (#9655)
r-shirasu Dec 27, 2022
95421ca
docs: correct a typo (#9651)
almontasser Dec 27, 2022
ae91c05
docs: correct typo (#9643)
JesseAyegba Dec 27, 2022
b97633b
Create SECURITY.md
AlexMesser Dec 28, 2022
4eda5df
fix: allow to pass ObjectLiteral in mongo find where condition (#9632)
ayuvlasenko Dec 29, 2022
8668c29
feat: support busy_timeout param parameter for sqlite (#9623)
sinkhaha Dec 29, 2022
67973b4
fix: materialized hints support for cte (#9605)
subparry Dec 29, 2022
18b659d
fix: synchronizing View with schema broken for oracle (#9602)
jjurach Dec 29, 2022
15a4eb9
removed titles from issue templates
AlexMesser Dec 29, 2022
3e1caf0
docs: fix some typo in migration document (#9667)
linus-sh Jan 3, 2023
defb409
feat: support time travel queries, upsert, enums, spatial types in co…
simplenotezy Jan 3, 2023
74f7f79
refactor: remove a deprecated function (#9702)
summer-boythink Jan 11, 2023
6b37e38
fix: remove unnecessary .js extension in imports (#9713)
kyung-yeon Jan 28, 2023
de84014
chore: add *.iml to .gitignore (#9707)
f-wrobel Jan 28, 2023
b937ae4
test: Add test to prove that issue #2331 is resolved (#9688)
Spissable Jan 28, 2023
ef64bfc
test: update multiple nested embedded entities (#9696)
f-wrobel Jan 28, 2023
4df969e
fix: overriding caching settings when alwaysEnabled is true (#9731)
kolpakov-p Jan 28, 2023
c669f50
docs: update many-to-many-relations.md (#9736)
zeeshanhaiderkhan Jan 28, 2023
63ab05f
build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 (#9758)
dependabot[bot] Feb 5, 2023
6fb2121
fix: Fix grammar error in no migrations found log (#9754)
JoshHeng Feb 5, 2023
ca315f0
docs: Fix grammar error in the first paragraph. (#9759)
vitorlbrasil Feb 5, 2023
6c9010e
feat: allow mysql2 v3 as peerDependency (#9747)
aggarwaldev Feb 6, 2023
1a9b9fb
fix: make sure "require" is defined in the environment
pleerock Feb 6, 2023
b8704f8
fix: redundant Unique constraint on primary join column in Postgres (…
KiwiKilian Feb 6, 2023
c77c43e
fix: resolve issue with "simple-enum" synchronization in SQLite (#9716)
Vista1nik Feb 6, 2023
7726f5a
fix: improved `FindOptionsWhere` behavior with union types (#9607)
tsugitta Feb 6, 2023
7df2ccf
fix: sql expression when `where` parameter is empty array (#9691)
PronDmytro Feb 6, 2023
0eb7441
feat: naming strategy for legacy Oracle (#9703)
f-wrobel Feb 7, 2023
d2f37f6
feat: add find operator json contains (#9665)
isaryy Feb 7, 2023
c418aae
docs: update cli related docs (#9659)
StefanZivkovic Feb 7, 2023
8731858
feat: support enableWal for the better-sqlite3 driver (#9619)
xtremebiker Feb 7, 2023
7c00bb8
fixed wrong callback definition in tests
AlexMesser Feb 7, 2023
b3b0c11
fix: Incorrect enum default value when table name contains dash chara…
KhaledSMQ Feb 7, 2023
8150525
fix: add support for mongodb v4 (#9450)
MatheusMeloAntiquera Feb 7, 2023
adce698
Revert "fix: add support for mongodb v4 (#9450)" (#9762)
pleerock Feb 7, 2023
54ca9dd
fix: incorrect sorting of entities with multi-inheritances (#9406)
ZBAGI Feb 7, 2023
9bd3a64
removed unnecessary .js extension in imports
AlexMesser Feb 7, 2023
12fdd73
refactor: use abstract logger to reduce duplicate code (#9751)
christian-forgacs Feb 7, 2023
4555211
feat: update mssql dependency and other dependencies as well (#9763)
pleerock Feb 7, 2023
7d1f1d6
feat: support for SQL aggregate functions SUM, AVG, MIN, and MAX to t…
netroy Feb 7, 2023
f07bdd0
version bump
pleerock Feb 7, 2023
099fcd9
fix: react-native doesn't properly work in ESM projects because of ci…
pleerock Feb 7, 2023
58fc088
fix: use forward slashes when normalizing path (#9768)
truemogician Feb 9, 2023
f7b210b
docs: documented getCount() method (#9847)
rizen Apr 5, 2023
3f1142b
docs: update relations-faq (#9879)
ifree92 Apr 5, 2023
e0e7d2c
docs: update many-to-many-relations.md (#9861)
scr4bble Apr 5, 2023
98f2205
docs: added a documentation section on debugging query builder (#9846)
rizen Apr 5, 2023
1fcd9f3
refactor: remove date-fns package (#9634)
jdgjsag67251 Apr 5, 2023
4fa14e3
build(deps): bump jsonwebtoken and mssql (#9700)
dependabot[bot] Apr 5, 2023
cb154d4
fix: resolve issues for mssql migration when simple-enum was changed
ertl Apr 5, 2023
07221a3
fix: resolves issue with mssql column recreation (#9773)
ertl Apr 5, 2023
0814970
feat: allow type FindOptionsOrderValue for order by object property (…
dylanseago Apr 6, 2023
af4f15c
fixing failing test
AlexMesser Apr 6, 2023
f530811
feat: Broadcast identifier for removed related entities (#9913)
pdyck Apr 6, 2023
0619aca
test: when calling AVG on an integer column, MS SQL Server returns an…
sbleon Apr 6, 2023
4997da0
fix: loading tables with fk in sqlite query runner (#9875)
GP4cK Apr 6, 2023
f7f6817
fix: improve EntityNotFound error message in QueryBuilder.findOneOrFa…
Agreon Apr 6, 2023
bebba05
fix: proper default value on generating migration when default value …
dmytroboiko Apr 6, 2023
97280fc
docs: update migrations docs (#9828)
alexander-kraev-snyk Apr 6, 2023
bc306fb
feat: add support for STI on EntitySchema (#9834)
gabrielkim13 Apr 6, 2023
a868979
fix: use object create if entity skip constructor is set (#9831)
themizzi Apr 6, 2023
4ac8c00
feat: add support for json datatype for sqlite (#9744)
bahung1221 Apr 6, 2023
197cc05
fix: prevent foreign key support during migration batch under sqlite …
sinopsysHK Apr 6, 2023
de1228d
fix: transform values for FindOperators #9381 (#9777)
ertl Apr 6, 2023
947ffc3
feat: leftJoinAndMapOne and innerJoinAndMapOne map result to entity (…
acuthbert Apr 6, 2023
a11809e
fix: handles "query" relation loading strategy for TreeRepositories (…
JoseCToscano Apr 6, 2023
f1330ad
fix: firstCapital=true not working in camelCase() function
AlexMesser Apr 6, 2023
12e9db0
feat: QueryBuilder performance optimizations (#9914)
pleerock Apr 6, 2023
0194f17
version bump
pleerock Apr 6, 2023
daf1b47
fix: wrong dependency version in init command
AlexMesser Apr 6, 2023
7dac12c
fix: drop xml & yml connection option support (#9930)
pleerock Apr 9, 2023
5e3c565
version bump
pleerock Apr 9, 2023
115059d
added package lock
pleerock Apr 10, 2023
4240258
ci: wait if oracle db is enabled in test suite (#9946)
mptr Apr 13, 2023
3a72e35
test: cli init with local typeorm package (#9926)
mptr Apr 13, 2023
f6a3ce7
feat: support for the latest mongodb v5 (#9925)
mptr Apr 15, 2023
83c6c0e
fix: SelectQueryBuilder builds incorrectly escaped alias in Oracle wh…
Alankarsharma Apr 15, 2023
80ae904
chore: better console.log (#9924)
staff0rd Apr 15, 2023
7ee6232
refactor: combine sqlite json and simple-json handling (#9937)
KillerCodeMonkey Apr 15, 2023
06291cf
docs: wrong documentation on QueryBuilder.getCount() (#9935)
elliots Apr 15, 2023
159c60a
fix: make cache optional fields optional (#9942)
RustySol Apr 15, 2023
51eecc2
fix: prevent unique index identical to primary key (all sql dialects)…
alumni Apr 15, 2023
f1c5662
fixed compiler error
pleerock Apr 15, 2023
5890561
version bump
pleerock Apr 15, 2023
68aa573
docs: issue #8860 (#9951)
adetorodev Apr 15, 2023
e0165e7
fix: add directConnection options to MongoDB connection (#9955)
a-fournier Apr 17, 2023
b064049
docs: update entity-manager-api.md (#9956)
slowhigh Apr 18, 2023
3d67901
fix: resolve duplicate subscriber updated columns (#9958)
spotykatch Apr 18, 2023
0e56f0f
fix: select + addOrderBy broke in 0.3.14 (#9961)
pleerock Apr 18, 2023
f5b93c1
refactor: query methods should accept generic for return type (#9957)
Newbie012 Apr 18, 2023
d8a2e37
feat: mariadb uuid inet4 inet6 column data type support (#9845)
smith-xyz Apr 25, 2023
99bef49
fix: mongodb typings breaks the browser version (#9962)
spotykatch May 9, 2023
54f4f89
revert: "refactor: remove date-fns package (#9634)"
pleerock May 9, 2023
2a2bb4b
fix: allow json as alias for longtext mariadb (#10018)
smith-xyz May 9, 2023
5be20e2
fix: express option bug in init command (#10022)
youngkiu May 9, 2023
21a9d67
fix: RelationIdLoader has access to queryPlanner when wrapped in tran…
riqwan May 9, 2023
0305805
fix: add `trustServerCertificate` option to `SqlServerConnectionOptio…
99xtal May 9, 2023
7c5627f
fix: added instanceName to options (#9968)
jenshorch May 9, 2023
a188b1d
fix: for running cli-ts-node-esm use exit code from child process (#1…
pahuta May 9, 2023
938f94b
fix: add onDelete option validation for oracle (#9786)
ertl May 9, 2023
9460296
fix: convert the join table ID to the referenceColumn ID type (#9887)
tqh177 May 9, 2023
96b7ee4
fix: correct encode mongodb auth credentials (#10024)
leoojg May 9, 2023
06c1e98
fix: create correct children during cascade saving entities with STI …
felix-gohla May 9, 2023
8795c86
fix: support More/LessThanOrEqual in relations (#9978)
LoneRifle May 9, 2023
607d6f9
fix: added transaction retry logic in cockroachdb (#10032)
AlexMesser May 9, 2023
abb9079
version bump
pleerock May 9, 2023
d4607a8
test: fix test from #9034 with STI for Oracle (#10037)
felix-gohla May 10, 2023
f5d4397
fix: add missing await (#10084)
p1k2i Jun 19, 2023
7108cc6
chore: use new CircleCI convenience images (#10101)
felix-gohla Jun 20, 2023
b1a3a39
fix: #10040 TypeORM synchronize database even if it is up to date (#1…
juliengbt Jun 20, 2023
6018255
feat: Added back fork spanner changes
javierdelafuentesales Jun 30, 2023
275d30f
fix conflicts from main
javierdelafuentesales Jun 30, 2023
e2fc92e
fix lock version
javierdelafuentesales Jun 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
70 changes: 45 additions & 25 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ commands:
steps:
- when:
condition:
equal: [ << parameters.databases >>, "" ]
equal: [<< parameters.databases >>, ""]
steps:
- run:
name: "Enabling Databases in ORM config"
command: cp ormconfig.circleci-common.json ./ormconfig.json
- unless:
condition:
equal: [ << parameters.databases >>, "" ]
equal: [<< parameters.databases >>, ""]
steps:
- run:
name: "Enabling Databases in ORM config"
Expand All @@ -40,9 +40,10 @@ commands:
- restore_cache:
name: Restore node_modules cache
key: node_modules-<< parameters.cache-key >>-{{ checksum "package-lock.json" }}
- run:
name: Verify `package.json` and `package-lock.json` are in sync
command: npx lock-verify
# removed this item because lock-verify is deprecated
# - run:
# name: Verify `package.json` and `package-lock.json` are in sync
# command: npx lock-verify
- run:
# This uses `npm install` instead of `npm ci`
# because of https://github.com/npm/cli/issues/558
Expand All @@ -65,12 +66,13 @@ commands:
unzip -qqo node_modules/oracledb/instantclient.zip -d node_modules/oracledb/
rm node_modules/oracledb/instantclient.zip

DEBIAN_FRONTEND=noninteractive sudo apt-get -qq -y install libaio1
sudo apt-get update -qq && sudo apt-get -qq -y install libaio1
(cp /lib/*/libaio.so.* node_modules/oracledb/instantclient_19_8/ ||
cp /usr/lib/*/libaio.so.* node_modules/oracledb/instantclient_19_8/)
fi
environment:
BLOB_URL: https://download.oracle.com/otn_software/linux/instantclient/19800/instantclient-basiclite-linux.x64-19.8.0.0.0dbru.zip
DEBIAN_FRONTEND: noninteractive
- save_cache:
name: Save node_modules cache
key: node_modules-{{ checksum "package-lock.json" }}
Expand All @@ -81,21 +83,21 @@ jobs:
lint:
working_directory: ~/typeorm
docker:
- image: circleci/node:12
- image: cimg/node:16.20.0
steps:
- checkout
- install-packages:
cache-key: node12
cache-key: node16
- run: npm run lint

build:
working_directory: ~/typeorm
docker:
- image: circleci/node:12
- image: cimg/node:16.20.0
steps:
- checkout
- install-packages:
cache-key: node12
cache-key: node16
- run: npm run compile
- persist_to_workspace:
root: ~/typeorm
Expand All @@ -109,10 +111,10 @@ jobs:
default: ""
node-version:
type: string
default: "12"
default: "16"
working_directory: ~/typeorm
docker:
- image: circleci/node:<< parameters.node-version >>
- image: cimg/node:<< parameters.node-version >>
steps:
- checkout
- setup_remote_docker
Expand All @@ -138,7 +140,7 @@ jobs:
--volume /typeorm \
--name typeorm-code \
--workdir /typeorm \
circleci/node:<< parameters.node-version >> \
cimg/node:<< parameters.node-version >> \
/bin/bash -c "sudo chmod 777 /typeorm && sudo chown circleci /typeorm"
docker cp ./ typeorm-code:/typeorm
- run:
Expand All @@ -150,8 +152,9 @@ jobs:
map(select(.skip == false)
| select(.host)
| select(.port)
| "nc -z " + .host + " " + (.port|tostring) + " && echo " + .host + " " + (.port|tostring) + " is up")
| join(" && ")
| "nc -z " + .host + " " + (.port|tostring) + " && echo " + .host + " " + (.port|tostring) + " is up"
)
| join(" && ")
'
)
echo "Running '$COMMANDS'"
Expand All @@ -161,6 +164,24 @@ jobs:
--tty \
ubuntu:trusty \
timeout 60 sh -c "until ($COMMANDS); do echo \"Waiting for Services to be Available ...\"; sleep 5; done"
- run:
name: "Wait for OracleDB to be Available"
command: |
COMMANDS=$(
cat ormconfig.json \
| jq -r '
map(select(.skip == false)
| select(.name == "oracle")
| "sleep 60"
)
| join(" && ")
'
)
if [ ! -z "$COMMANDS" ]; then
echo "$COMMANDS seconds to wait for oracledb";
$COMMANDS
fi

# Download and cache dependencies
- run:
name: "Run Tests with Coverage"
Expand All @@ -174,7 +195,7 @@ jobs:
--tty \
--workdir /typeorm \
--name typeorm-testrunner \
circleci/node:<< parameters.node-version >> \
cimg/node:<< parameters.node-version >> \
npx nyc npm run test-fast

docker cp typeorm-testrunner:/typeorm/coverage/ ./
Expand All @@ -200,27 +221,26 @@ workflows:
matrix:
parameters:
node-version:
- "12"
- "14"
- "16"
- "14.21.3"
- "16.20.0"
- test:
name: test (cockroachdb) - Node v12
name: test (cockroachdb) - Node v16
requires:
- lint
- build
databases: "cockroachdb"
node-version: "12"
node-version: "16.20.0"
- test:
name: test (oracle) - Node v12
name: test (oracle) - Node v16
requires:
- lint
- build
databases: "oracle"
node-version: "12"
node-version: "16.20.0"
- test:
name: test (postgres 12) - Node v12
name: test (postgres 12) - Node v16
requires:
- lint
- build
databases: "postgres-12"
node-version: "12"
node-version: "16.20.0"
121 changes: 0 additions & 121 deletions .github/ISSUE_TEMPLATE/bug-report.md

This file was deleted.

Loading