5392 Commits

Author SHA1 Message Date
Oleg "OSA413" Sokolov
5c2330adc1
test: Split SQLite tests and fix better-sqlite3 (#11174) 2024-12-10 22:14:13 +01:00
Oleg "OSA413" Sokolov
f6a94ddcfc
test: remove restriction of CI/CD runs for fork branches (#11173) 2024-12-10 15:54:02 +01:00
Oleg "OSA413" Sokolov
d106eed439
test: Add GitHub Actions for tests CI/CD (#11157) 2024-12-10 08:34:24 +01:00
Michael Bromley
fdbb013d22
Merge pull request #11153 from michaelbromley/replace-slack-links
chore: Replace Slack links with Discord
2024-11-28 13:57:13 +01:00
Michael Bromley
c74ab274bf chore: Remove Umed's Skype info 2024-11-28 13:56:34 +01:00
Michael Bromley
6927a65bfb chore: Replace Slack links with Discord
The community has officially moved to Discord
2024-11-28 13:38:53 +01:00
David Höck
db508424c8
chore(docs): add announcement (#11125)
* chore: add announcement file

* chore: add link from home page to announcement

* fix: link to announcement in readme

* chore: remove todo

* chore: add Tauri links
2024-11-08 13:09:13 +01:00
Oleg "OSA413" Sokolov
e7649d2746
fix: moved reflect-metadata to peerDependencies and set version to "^0.1.14 || ^0.2.0" (#10779) 2024-03-28 20:06:13 +05:00
jeisberg
83567f5334
fix: composite key save issue (#10672)
* chore(TypeORM): Create test case to uncover TypeORM composite key save issue

* chore(TypeORM): Revert package.json test script alteration

* fix the issue

* fixed regression in 1551

* fixed test to prevent issues with auto increment when inserting rows in a different order

* fixed test to prevent issues with auto increment when inserting rows in a different order

---------

Co-authored-by: Umed Khudoiberdiev <pleerock.me@gmail.com>
2024-02-02 13:41:37 +05:00
OrangeSheepCool
28a83834ee
docs: update the custom-repository.md file in the docs/zh_CN directory (#10676)
Co-authored-by: OrangeSheepCool <chenyangshuang@qutke.com>
2024-02-02 00:50:54 +05:00
Umed Khudoiberdiev
3d55188c0d version bump 0.3.20 2024-01-26 16:18:56 +05:00
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