2430 Commits

Author SHA1 Message Date
Ben Irvin
8263926b47 feat: register.allowedFields defaults to empty array 2024-01-16 18:14:32 +01:00
Alexandre Bodin
38298e9ebd Merge branch 'releases/4.17.1' into develop 2024-01-16 17:24:48 +01:00
Alexandre Bodin
8f2c1c1fef v4.17.1 2024-01-16 11:50:41 +01:00
Josh
687ad7e959
fix(cm): manage when we're creating entries derivatively in the CM (#19209)
* fix(cm): manage when we're creating entries derivatively in the CM

* fix(cm): pass valid get params to API

* fix(cm): single-types onPut call requires params

* fix(i18n): cm locale picker status badges
2024-01-15 15:51:07 +00:00
Ben Irvin
13a2f8b246
feat: Upgrade to Apollo v4
* feat: update and make build work

BREAKING CHANGE: Update from 'apollo-server-koa' to '@apollo/server' and '@as-integrations/koa'

* chore: fix comments

* chore: upgrade graphql-upload package

* chore: fix for body type unknown

* chore: remove old comment

* chore: clean up error handling

* chore: fix comment

* fix: http status codes for input validation errors

* fix: remove unused import

* fix: remove accidental bodyparser

* fix: add new required header to tests

* chore: standardize directive key names to be kebab-case

* test: add some extra message validation

* chore: remove devdep for koa-cors typings

* fix: add unknown error name

* fix: yarn.lock

* fix: add typings

* fix: typings

* fix: typings again

* fix: remove unused imports

* chore: remove unused import

* chore: move playground check to a service

* fix: package imports and versions

* chore: fix yarn.lock

* chore: fix types

* chore: clean up koa typings

* chore: koa typing cleanup

* chore: cleanup koa typings

* chore: more koa type cleanup

* chore: revert missing imports

* chore: cleanup koa typings

* chore: update yarn.lock
2024-01-15 14:54:58 +01:00
Josh
cc1043c512
feat: update to react-router-dom@6 (#19184) 2024-01-15 11:13:36 +00:00
Marc Roig
74fdc42f98
Merge branch 'v5/main' into v5/extend-locale-attr-to-all-ct 2024-01-11 16:28:44 +01:00
Josh
f324494fe9 Merge branch 'develop' into v5/main 2024-01-10 15:58:45 +00:00
Josh
09b9d36b22 Merge branch 'main' into develop 2024-01-10 14:37:01 +00:00
Mark Kaylor
07112073ac v4.17.0 2024-01-10 14:46:39 +01:00
Marc-Roig
856dfd8ee5
fix: ignore locale field in api tests 2024-01-10 11:01:21 +01:00
Marc Roig
af3e1c0492
Merge branch 'v5/main' into v5/extend-locale-attr-to-all-ct 2024-01-10 10:20:55 +01:00
Bassel Kanso
f7b9b47085
fix(graphql): revert graphql-upload library to non breaking change version (#19182) 2024-01-09 14:37:29 +00:00
Josh
8aac0893a9
chore: update ds 1.14.1 (#19179) 2024-01-09 11:40:22 +00:00
Fred Cox
aa65f33dac fix(plugin-graphql): allow to use GET queries for graphql
GET queries are often advantagous for caching, cdns, etc
This removes a line that wasnt required, that blocked GET
queries from being authenticated on /graphql
2024-01-08 13:14:15 +00:00
Ben Irvin
7d13a12c99
feat: Upgrade Tool
* feat: upgrade tool refactor for updated specs (v5)
* chore: format code (prettier)
* chore: remove debug comments
* feat: upgrade the strapi dependencies in project's package.json
* feat: install dependencies during the upgrade process
* chore: fix lint issue
* chore: rephrase requirement sentence's sentiment
* feat: add a --yes option for the upgrade CLI
* enh: make properties readonly to avoid mutations
* chore: adding better logs to the upgrade CLI
* chore: remove unused import
* feat: add minor and patch commands
* fix: use major and minor instead of premajor and preminor
* fix: re-add type casting
* fix: make major requirements required
* chore: revert sentiment update on GIT_CLEAN requirement
* fix: make promisify working by mocking the entire file-system
* fix: yarn.lock update
* feat: Select and run codemods only (#19083)
* chore: add unit tests for upgrader tasks
* fix: rename tests
* chore: Update packages/utils/upgrade/src/tasks/__tests__/upgrade.test.ts
* chore: Add unit tests for upgrade tool (#19056)
* chore: move example codemods (#19156)
* chore: fix yarn.lock
* fix: sync glob versions
* chore: add comment
* chore: update docs

---------

Co-authored-by: Convly <jean-sebastien.herbaux@epitech.eu>
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
Co-authored-by: Christian <christian.capeans.perez@strapi.io>
Co-authored-by: Christian Capeans <christiancp100@gmail.com>
2024-01-08 11:26:27 +01:00
Josh
4cd75b2523 Merge branch 'develop' into v5/main 2024-01-04 08:32:19 +00:00
Rémi de Juvigny
762abbf7f8
chore(sentry): convert to typescript (#19128)
* chore(sentry): convert to typescript

* qa fixes

* josh feedback
2024-01-03 13:51:22 +01:00
Josh
966723fe56
chore: update ds to 1.14.0 (#19138) 2024-01-03 10:06:15 +00:00
Josh
ddbb55f2eb Merge branch 'main' into releases/4.17.0 2024-01-02 13:41:57 +00:00
Convly
b887f1aa47 v4.16.2 2023-12-21 15:53:18 +01:00
Mark Kaylor
af13d4e056 v4.16.1 2023-12-21 15:23:45 +01:00
Mark Kaylor
b8acb528cd v4.16.0 2023-12-20 15:52:24 +01:00
Josh
bdcd983c3d
fix(tooling): use nx to build & clean (#19084)
* remove pre-publish scripts

* fix: use nx to clean & build
2023-12-19 13:21:33 +00:00
Marc-Roig
905e8b770c
feat: extend i18n attributes to every content type 2023-12-14 15:29:06 +01:00
Josh
c8f63ff188
refactor(cm): remove collection-type form wrappers (#19036)
* refactor(cm): remove collection-type form wrappers

* fix: bad import in DeleteLink

* test(e2e): tweak url we expect to wait for
2023-12-12 14:22:47 +00:00
Josh
d23325640d
chore(cm): convert list-view to TS (#19016)
* chore(cm): convert list-view to TS

* chore: fix broken tests

* chore: remove separate recursive paths and unify
2023-12-11 18:51:25 +00:00
Alexandre BODIN
1b654d7f4f
Merge pull request #18927 from strapi/v5/core-split 2023-12-11 07:29:25 -08:00
josephemswiler
627332f8d0 Inline eslint import/extensions disable 2023-12-08 10:32:03 -06:00
Josh
626dc81cda Merge branch 'develop' into v5/main 2023-12-08 16:31:21 +00:00
Jean-Sébastien Herbaux
1b0e310d06
Merge branch 'main' into chore/bump-graphql-upload-15.0.2 2023-12-08 15:26:48 +01:00
Alexandre Bodin
f0bbaa2bc9 chore: fix pkg json to make them yalc compat 2023-12-07 18:27:34 -08:00
Josh
f1dd5cc8ee
chore(content-manager): convert the editview to typescript (#18948) 2023-12-04 16:00:50 +00:00
Ben Irvin
c38881e08d
chore: update typescript to 5.3.2 (#18938) 2023-12-04 11:47:05 +01:00
Alexandre Bodin
83daf0117c Merge branch 'develop' into v5/main 2023-12-01 10:29:48 +01:00
Josh
3301d58a39
chore(deps): update DS to 1.13.2 (#18959)
* chore(deps): update DS to 1.13.2

* chore: update snapshots
2023-11-30 16:37:04 +00:00
Alexandre Bodin
e0de993d4a Merge branch 'develop' into v5/main 2023-11-30 16:42:36 +01:00
Alexandre Bodin
6b35da10af Merge branch 'main' into develop 2023-11-30 16:32:56 +01:00
Josh
dfec2ca3fc
chore(i18n): convert middlewares to TS (#18957) 2023-11-30 11:58:42 +00:00
Mark Kaylor
97e854e902 Merge branch 'main' of github.com:strapi/strapi into releases/4.15.5 2023-11-30 11:08:02 +01:00
Mark Kaylor
dc96169c3f v4.15.5 2023-11-29 16:42:28 +01:00
markkaylor
4d35516709
Merge pull request #18580 from ciriousjoker/fix-localization-response 2023-11-27 12:07:29 +01:00
Alexandre Bodin
27aa897cbb Merge branch 'develop' into v5/main 2023-11-23 11:52:10 +01:00
Josh
eb7b88426d
fix(pack-up): ensure we pass the tsconfig file name, not a path to it (#18875)
* fix(pack-up): ensure we pass the tsconfig file name, not a path to it

fix(admin): annotate return type on createBuildContext

fix(admin): ensure shared is a the base folder not importing from server

chore(pack-up): PRINT MOREEEE

fix(ctb): export required type

chore: refactor tsconfigs

* chore: pr amends
2023-11-23 09:16:25 +00:00
Alexandre Bodin
946f08c2e5 Merge branch 'main' into develop 2023-11-22 17:34:59 +01:00
Alexandre Bodin
37fcc99be4 Merge branch 'main' into v5/main 2023-11-22 17:28:51 +01:00
Josh
e47841a710
chore(i18n): convert CM hooks to TS (#18861) 2023-11-22 11:36:57 +00:00
JonathanHallen1991
4aea55bf4a
Add English (Norway) en-NO locale (#18828) 2023-11-22 09:08:55 +01:00
Alexandre Bodin
afe9e18254 v4.15.5-alpha.5 2023-11-21 20:35:37 +01:00
Josh
a1c8cbb8a8
chore(i18n): convert CM List view components to TS (#18838) 2023-11-20 09:38:50 +00:00