Lucian Mocanu
8f371f2397
Revert "fix: prevent using absolute table path in migrations unless required ( #10123 )" ( #10624 )
...
This reverts commit dd595242a7fbb8c7445cc79bf0b751f1ed1762bd.
2024-01-26 12:21:08 +05:00
Alessio Napolitano
46249303be
fix: added missing parentheses in where conditions ( #10650 )
...
added missing parentheses in where conditions and with And/Or operators
Closes : #10534
2024-01-26 12:09:31 +05:00
Xayrulloh
dd8c0fdb7e
docs: grammar mistake fixed ( #10647 )
...
Let => Lets
2024-01-26 11:55:25 +05:00
Niels Stinissen
d0b76703cc
feat: add postgres multirange column types ( #10627 )
...
* feat: add postgres multirange column types
Adds int4-, int8-, num-, ts-, tstz-, date-multirange column types for postgres
Update docs to include multirange column types
Update functional column-types-postgres test to test multirange column types
Closes : #10556
* style: run npm run format
---------
Co-authored-by: Dmitry Zotov <dmzt08@gmail.com>
2024-01-26 11:33:16 +05:00
Shu Nonaka
54d8d9efe9
fix: hangup when load relations with relationLoadStrategy: query ( #10630 )
...
* fix: createQueryBuilder to accept queryRunner
* fix: modify to use queryRunner when retrieving relations (#10481 )
* test: add testcases
2024-01-26 11:28:19 +05:00
Alexey Pelykh
dd49a254dc
fix: don't escape indexPredicate ( #10618 )
...
* fix: don't escape indexPredicate
* style: npm run format
2024-01-26 11:26:12 +05:00
Alessio Napolitano
032f5350e1
docs: add documentation for .orIgnore method ( #10607 )
2024-01-26 11:18:18 +05:00
Andrei Nikolaev
99d8249e45
fix: type inferencing of EntityManager#create ( #10569 )
...
* fix: type inferencing of EntityManager#create
* test: type inferencing of EntityManager#create (#10569 )
2024-01-26 11:17:01 +05:00
Edrich Hans Chua
0cab0dd730
fix: fallback runMigrations transaction to DataSourceOptions ( #10601 )
...
* fix: fallback runMigrations transaction to DataSourceOptions
* chore: format datasource
2024-01-26 11:06:40 +05:00
Markus Fürer
e22481904a
style: Enable some linter rules ( #10592 )
...
* style: 🚨 enable some linter rules
* Revert "style: 🚨 enable some linter rules"
This reverts commit 239fa2deb7aaf22cfac4bbb1369d6d973327efd4.
* revert: ⏪ revert role "prefer-const"
* revert: ⏪ enable linter warnings
* style: 🚨 enable rule "no-extra-boolean-cast"
* revert: ⏪ disable rule "no-empty"
* style: 🚨 add linter rule "no-useless-escape"
* style: 🚨 add linter rule "no-unsafe-optional-chaining"
2024-01-26 11:06:15 +05:00
Alessio Napolitano
62f574bc5b
docs: add And operator example ( #10603 )
2024-01-26 11:00:11 +05:00
Maarten Sijmkens
f232ba7808
fix: include asExpression columns in returning clause ( #10632 )
...
* fix: include asExpression columns in returning clause
Closes : #8450
* test: add test for issue #8450
2024-01-26 10:41:58 +05:00
Alessio Napolitano
8aa8690f94
fix: resolve issue CREATE/DROP Index concurrently ( #10634 )
...
Closes : #10626
2024-01-26 10:38:30 +05:00
Mansur Ibrahim Nok
b67ae360f6
docs: update the content of one-to-one to be more grammatically complete ( #10645 )
2024-01-26 10:34:40 +05:00
Esdras Rodrigues do Carmo
d3a2e53801
docs: fix table of contents missing sections ( #10625 )
2024-01-26 10:33:15 +05:00
sagentac
1b34c9a49e
fix: multiple insert in SAP Hana ( #10597 )
...
Co-authored-by: Philipp Haeusle <>
2024-01-26 10:30:40 +05:00
ertl
7e85460f10
feat: add json type support for Oracle ( #10611 )
...
* refactor: remove oracle docker tests and update DEVELOPER.md
Since oracle runs at thin mode now. Now extra docker tests are needed
* chore: increase oracle version to 21c
* feat: add json column types to oracle
* fix: try to resolve pipeline issue to increase oracle waiting time
* fix: try remove networks from oracle to fix pipeline
* fix: add container name
* fix: add missing oracledb driver in package-lock.json
* fix: corrected tests
* fix: remove tests, since only work with old oracle db
* fix: correct tests
* fix: remove deprecated types
* fix: add missing grant for materialized views
* fix: oracle-isolation.ts test
* fix: issue-3363.ts test
* fix: schema in tests
2024-01-26 10:27:28 +05:00
Kazuki Matsuo
4493db4d1b
feat: add table comment for postgres ( #10613 )
2024-01-26 10:23:11 +05:00
Pavlo Kolodka
8ebe7695a2
docs: update SelectQueryBuilder.ts ( #10631 )
2024-01-26 09:54:18 +05:00
Kobe Kwanten
15de46fd5d
revert "feat: nullable embedded entities ( #10289 )" ( #10614 )
...
This reverts commit e67d7041387df78c69599c1d3c880389a935ffbf.
2024-01-08 22:20:36 +05:00
Lucian Mocanu
c22e30f1d2
build: set TS compile target to ES2021 ( #10595 )
...
* build: set TS compile target to ES2021
* docs: update minimum supported node version
* build: use @tsconfig/node16
2024-01-04 09:57:12 +05:00
Umed Khudoiberdiev
fa86f6f6c3
added breaking change notice in the changelog
2024-01-03 20:05:17 +05:00
Umed Khudoiberdiev
73e3b49edc
version bump
0.3.19
2024-01-03 19:43:45 +05:00
Dmitry Zotov
633c4e36a6
fixed glob import
2024-01-03 17:59:36 +05:00
Umed Khudoiberdiev
5464dec2fa
version bump
0.3.18
2024-01-03 17:42:18 +05:00
Umed Khudoiberdiev
d606b9d936
updated license
2024-01-03 17:42:05 +05:00
Umed Khudoiberdiev
ffa84993de
fixed duplicated buffer import
2024-01-03 17:41:04 +05:00
Umed Khudoiberdiev
b6ef306d88
updated glob version
2024-01-03 17:24:25 +05:00
dependabot[bot]
b5d2599301
build(deps-dev): bump the npm_and_yarn group group with 1 update ( #10591 )
...
Bumps the npm_and_yarn group group with 1 update: [gulp-mocha](https://github.com/sindresorhus/gulp-mocha ).
Updates `gulp-mocha` from 8.0.0 to 10.0.0
- [Release notes](https://github.com/sindresorhus/gulp-mocha/releases )
- [Commits](https://github.com/sindresorhus/gulp-mocha/compare/v8.0.0...v10.0.0 )
---
updated-dependencies:
- dependency-name: gulp-mocha
dependency-type: direct:development
dependency-group: npm_and_yarn-security-group
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-03 17:23:54 +05:00
Esmaeil Mohammadi
080528b117
fix: resolve circular dependency when using Vite ( #10273 )
...
* resolve circular dependency when using vite
2024-01-03 13:55:26 +05:00
sinkhaha
338df16439
feat: add support for table comment in MySQL ( #10017 )
...
* feat: add table comment
* feat: resolve conflict
* feat: del auroraMysql comment
* feat: add changeTableComment method for MySQL
* feat: QueryRunner subclass add changeTableComment Implementation
* oracle implement changeTableComment
* add test
* feat: loadTables support comment
* feat: rename
* feat: update mysql changeTableComment
* fix: fix conflict
* feat: add table comment
* feat: resolve conflict
* feat: del auroraMysql comment
* feat: add changeTableComment method for MySQL
* feat: QueryRunner subclass add changeTableComment Implementation
* oracle implement changeTableComment
* add test
* feat: loadTables support comment
* feat: rename
* feat: update mysql changeTableComment
---------
Co-authored-by: sinkhaha <1468709606@qq.com>
2024-01-03 13:49:33 +05:00
Dmitry Zotov
15bc8876f8
build: update CircleCI config & repair failing tests ( #10590 )
...
* updated CircleCI config
* fixed failing test
* fixed failing test
* fixed failing test
* fixed failing test
* fixed CockroachDB enum sync;
removed redundant await;
fixed failing tests;
* fixing failing tests
* fixing failing tests
* added check for empty commands
* fixed failing tests
* fixed failing tests
* fixed failing test
2024-01-03 13:32:17 +05:00
zhennann
b5ec0889f7
docs: update Chinese faq.md ( #10593 )
2024-01-03 09:52:50 +05:00
Deep khurana
a00b1df68f
feat: implement OR operator ( #10086 )
...
* feat: implement or operator
This new feature enables typeorm to allow use multiple operators joining with or
Closes : #10054
* feat: implement or operator
Completed code formating using command.
Closes : #10054
* feat: implement or operator
Completed the documentation update.
Closes : #10054
* feat: implement or operator
Renamed Or operator file name.
Closes : #10054
* feat: implement or operator
Renamed Or operator file name.
Closes : #10054
* feat: implement or operator
Renamed Or operator file name.
Closes : #10054
* feat: implement or operator
Renamed Or operator.
Closes : #10054
2024-01-02 15:01:01 +05:00
sagentac
dd595242a7
fix: prevent using absolute table path in migrations unless required ( #10123 )
2024-01-02 14:27:23 +05:00
seungwonleee
4329996086
docs: update Soft-Delete, Restore-Soft-Delete examples ( #10585 )
...
The getRepository method is missing from the example.
Delete the "users" written in the createQueryBuilder method because it is not used in the where method.
2024-01-02 14:26:19 +05:00
Davis Sylvester
7ecc8f3536
docs: updated id to _id ( #10584 )
2024-01-02 14:26:03 +05:00
moianra23
8b4df5b299
fix: added fail callback while opening the database in Cordova ( #10566 )
...
* Added fail callback
* Added fail callback
* Removed the private flag
* Fixed comments
---------
Co-authored-by: Radu Moian-Dusa <radu.moian-dusa@kronsoft.ro>
2024-01-02 14:24:36 +05:00
Andrea Mouraud
173910ed79
fix: should automatically cache if alwaysEnable ( #10137 )
...
Closes : #9910
2024-01-02 13:03:22 +05:00
Nicolas ROGER
73ee70b331
fix: correctly keep query.data from ormOption for commit / rollback subscribers ( #10151 )
2024-01-02 13:01:50 +05:00
Andrea Mouraud
e67d704138
feat: nullable embedded entities ( #10289 )
...
* feat: nullable embedded entities
* fix: ignore embedded columns if not selected
* test: update tests with changed behaviour
* test: replace integer with varchar for cockroachdb
* docs: add documentation
* fix: nested embedded entities
* test: update nested embedded entities behaviour
2024-01-02 12:29:41 +05:00
Minh Nguyên
5c28154cbe
feat: BeforeQuery and AfterQuery events ( #10234 )
...
* feat: add query events
Co-authored-by: mnguyen081002 <3langn@gmail.com>
Co-authored-by: andrewda <andrew@dassonville.dev>
* fix: functional cache
* test: added test for issue-3302
* refactor: use broadcasterResult.wait()
* test: use sandbox to restoring
* test: fix test from #3302 with cockroachdb
* docs: add beforeQuery and afterQuery documents
---------
Co-authored-by: andrewda <andrew@dassonville.dev>
Co-authored-by: Dmitry Zotov <dmzt08@gmail.com>
2024-01-02 12:23:25 +05:00
le-harivansh
0f11739351
docs: fix typos ( #10243 )
2024-01-02 12:06:14 +05:00
Markus Fürer
b188c1e634
chore: initial setup of ESLint ( #10203 )
...
* build: 👷 Initial setup of ESLint
* build: 👷 show erros as warnings
* refactor: ♻️ example of rule "no-var"
* build: 🚨 add rule "no-unsafe-optional-chaining"
2024-01-02 12:04:37 +05:00
Gazy Mahomar
25e6ecdfd2
fix: nested transactions issues ( #10210 )
...
* fix: nested transactions issues
* Forgot test description
---------
Co-authored-by: Dmitry Zotov <dmzt08@gmail.com>
2024-01-02 12:03:28 +05:00
Tait Clarridge
3cda7ec39d
feat: add isolated where statements ( #10213 )
...
- Add `isolateWhereStatements` to the `BaseDataSourceOptions` object
and automatically isolate where statements in the query builder
if it is true
2024-01-02 11:54:43 +05:00
Piotr Dobrowolski
149226dd67
fix: backport postgres connection error handling to crdb ( #10177 )
2024-01-02 11:51:13 +05:00
thisnamewasnottaken
122b683840
fix: mssql datasource testonborrow not affecting anything ( #10589 )
...
* Remove outdated pool.testOnBorrow references.
* Remove invalid testonborrow option. factory. options are not imported or typed.
2024-01-02 11:50:24 +05:00
Alessio Napolitano
dc1bfed6d5
fix: resolve issues on upsert ( #10588 )
...
* fix: resolve issues on upsert
Closes : #10587
* fix: test 10563 multiple foreach
* run format
* removed only
2024-01-02 11:49:24 +05:00
Dukezo
a939654c95
fix: remove dynamic require calls ( #10196 )
2023-12-29 21:35:14 +05:00