426 Commits

Author SHA1 Message Date
Bassel
faf4d728cd Merge branch 'main' into chore/transactions 2023-01-13 12:26:20 +02:00
Bassel
12dd68f4a7 Improve transaction API:
- make it possible to have nested transactions
- wrap the knex transaction api and apply changes everywhere it was used
2023-01-13 12:23:30 +02:00
Convly
d36609ff26 v4.5.6 2023-01-11 17:48:52 +01:00
denisukvadim
e137627f07
fix runMigrations (15308) 2023-01-07 01:36:38 +02:00
Convly
8f1988367c v4.5.5 2022-12-28 15:17:36 +01:00
Jean-Sébastien Herbaux
e912c0a4d7
Merge branch 'main' into disable-migrations-config 2022-12-28 10:33:14 +01:00
dependabot[bot]
582eea4a87
chore(deps): bump date-fns from 2.29.2 to 2.29.3
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.29.2 to 2.29.3.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/main/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.29.2...v2.29.3)

---
updated-dependencies:
- dependency-name: date-fns
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-21 15:01:04 +00:00
Pierre Noël
0413f278bb remove use of temporary table for inverse order 2022-12-16 15:54:38 +01:00
Convly
8716ecc920 v4.5.4 2022-12-14 15:39:30 +01:00
Gary Alway
80ea7d835b
adds run migrations setting 2022-12-13 19:30:55 +00:00
Alexandre Bodin
f19da0cbf8 Merge branch 'main' into chore/transactions 2022-12-09 18:32:54 +01:00
Pierre Noël
aef49c5410 Use temporary table even for mysql versions above 5 2022-12-09 15:57:23 +01:00
Pierre Noël
2cdd96feea
Merge pull request #15034 from strapi/fix/deadlock-components
Reduce transaction size to avoid deadlock
2022-12-09 10:35:21 +01:00
dependabot[bot]
a3d3471a1f
chore(deps): bump debug from 4.3.1 to 4.3.4
Bumps [debug](https://github.com/debug-js/debug) from 4.3.1 to 4.3.4.
- [Release notes](https://github.com/debug-js/debug/releases)
- [Commits](https://github.com/debug-js/debug/compare/4.3.1...4.3.4)

---
updated-dependencies:
- dependency-name: debug
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-07 09:05:10 +00:00
Pierre Noël
05f3335b2a reduce temporary table name length 2022-12-06 17:21:48 +01:00
Pierre Noël
b174c7a5d8 use table instead of temporary table for mysql 5 2022-12-06 14:29:56 +01:00
Pierre Noël
ded213f13f manual rollback 2022-12-06 14:29:56 +01:00
Pierre Noël
3a2f6490e6 reduce transaction size 2022-12-06 14:29:56 +01:00
Marc
9cef257369
Merge pull request #15003 from strapi/fix/many-to-many-relationship-to-the-same-content 2022-12-01 09:25:48 +01:00
Convly
5453885f7a v4.5.3 2022-11-30 16:27:25 +01:00
Marc-Roig
a7f37ba45d change order column name to inv 2022-11-25 11:50:53 +01:00
Jean-Sébastien Herbaux
f67c4b440f
Merge branch 'main' into features/morphs-populate 2022-11-23 16:13:09 +01:00
Alexandre Bodin
8a8359c3ed Merge branch 'main' into chore/transactions 2022-11-23 10:19:52 +01:00
Alexandre Bodin
bcb1b7f472 v4.5.2 2022-11-22 17:54:52 +01:00
Convly
5da0015215 Merge branch 'main' of github.com:strapi/strapi into features/morphs-populate 2022-11-22 11:41:18 +01:00
Alexandre BODIN
8faf635975
Merge branch 'main' into fix/relation-mysql-below-8 2022-11-21 17:12:53 +01:00
Alexandre Bodin
69a5133b60 Rename to more generic window functions 2022-11-21 15:00:31 +01:00
Alexandre Bodin
ce6143790c Group supportX functions 2022-11-21 14:46:06 +01:00
Alexandre Bodin
25507f8328 Simplify main PR 2022-11-21 14:30:55 +01:00
Convly
2459e20282 Merge branch 'main' of github.com:strapi/strapi into features/morphs-populate 2022-11-21 11:02:59 +01:00
Convly
7c1837bbe1 Add test + update logic 2022-11-21 11:02:38 +01:00
Pierre Noël
c11ce77597 remove console log 2022-11-19 02:22:59 +01:00
Pierre Noël
b016113ded remove throw error 2022-11-19 02:15:12 +01:00
Pierre Noël
6a530cbbfc put add-schema in knex util file 2022-11-19 00:01:10 +01:00
Pierre Noël
0c76c5ae1a add error management 2022-11-18 23:57:46 +01:00
Convly
981c918dcc Merge branch 'main' of github.com:strapi/strapi into features/morphs-populate 2022-11-17 15:07:30 +01:00
Pierre Noël
11d6f7803c alias version 2022-11-17 13:07:01 +01:00
Pierre Noël
b4295cf521 fix typo 2022-11-17 11:41:12 +01:00
Pierre Noël
9ff4f19660 fix schema support for postgres when using raw queries 2022-11-17 10:08:49 +01:00
Pierre Noël
952a05514f use knex arguments when dropping the temporary table 2022-11-16 18:36:07 +01:00
Pierre Noël
eba2da51af refactor the way database version is fetched 2022-11-16 18:32:32 +01:00
Convly
8c20ea2b5c v4.5.1 2022-11-16 18:00:30 +01:00
Pierre Noël
6103e4de1f
Merge branch 'main' into fix/relation-mysql-below-8 2022-11-16 15:26:47 +01:00
Sid
7d2a8bb337 chore: fixing spelling cont., missed a file 2022-11-16 14:17:17 +01:00
Sid
2ca3443a21 chore:fix spelling of SchemaProvideer to SchemaProvider 2022-11-16 14:17:17 +01:00
Pierre Noël
6ca7814a43
add missing await
Co-authored-by: Nathan Pichon <npichon.walchshofer@gmail.com>
2022-11-16 12:45:44 +01:00
Jamie Howard
04295573f1 chore(entity-manager): revert to not handle multiple pg schemas 2022-11-16 11:22:22 +00:00
Pierre Noël
5e5d1c92c2 use getDatabaseInformation instead of databaseInformation 2022-11-16 10:58:28 +01:00
Jamie Howard
4b1f8101e6 fix(entity-manager): use db.connection for .raw()
chore(database): revert getConnection()
2022-11-16 09:34:08 +00:00
Pierre Noël
306d5c4abc finally drop temp table 2022-11-15 18:57:13 +01:00