711 Commits

Author SHA1 Message Date
Convly
16ac13f00a enhancement: fix type generation for Attribute.Relation by removing uid 2024-01-25 17:30:21 +01:00
Alexandre BODIN
534b47a170
Merge pull request #19324 from strapi/v5/lift-component-logic-outside-db
chore: lift compontent logic out of the db and start exposing models
2024-01-25 13:50:31 +01:00
Marc-Roig
18e2c95534
fix: skip flakey test 2024-01-25 13:21:15 +01:00
Alexandre Bodin
9d5602124c chore: life compontent logic out of the db and start exposing models 2024-01-25 13:13:01 +01:00
Convly
beec786491 v4.19.0 2024-01-24 16:00:22 +01:00
Jean-Sébastien Herbaux
e788a1076f
Merge pull request #19264 from strapi/chore/remove-s3-creds-transform 2024-01-24 10:53:51 +01:00
Josh
79aef88064 Merge branch 'develop' into v5/main 2024-01-22 13:39:48 +00:00
Christian Capeans
64888d3fa8 chore: refactor codemod for better readability 2024-01-19 11:23:52 +01:00
Christian Capeans
0ef18ac1b5 chore: use type checking in codemod 2024-01-19 09:34:05 +01:00
Ben Irvin
40fcf9b3c9
fix: remove useless codemod for isSupportedImage 2024-01-18 16:01:11 +01:00
Christian Capeans
44dbe85dfd chore: unify credentials shape for v5 2024-01-18 14:07:56 +01:00
Ben Irvin
01dfca22b2
chore: remove deprecated isSupportedImage 2024-01-18 11:50:21 +01:00
Alexandre Bodin
1ffeb510a8 chore(pack-up): fail on any typing issue 2024-01-17 16:27:59 +01:00
Convly
6cf7aff2ba chore: update typo in a comment 2024-01-17 12:01:41 +01:00
Convly
b5b7b8260a fix: force SetMinMax to use the correct primitive at generation 2024-01-17 11:53:34 +01:00
Josh
316470cdf8 Merge branch 'develop' into v5/main 2024-01-16 17:46:26 +00: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
Jean-Sébastien Herbaux
cc6f20c027
Merge pull request #19213 from strapi/upgrade-tool/allow-pre-releases 2024-01-15 14:56:47 +01: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
Convly
7ca6f2723a chore: fix lint issues (unnecessary else after return) 2024-01-15 12:07:22 +01:00
Convly
71336319dd feat: update commands' types, add a hidden "to" command with a codemod target option 2024-01-12 15:31:45 +01:00
Convly
803724d019 enhancement: override the upgrader's codemods target if specified in the task options 2024-01-12 15:31:45 +01:00
Convly
0578c01f64 fix: update the codemods task with previous changes 2024-01-12 15:31:45 +01:00
Convly
e559f78f78 enhancement: skip range creation in the upgrader factory when the target is a valid semver 2024-01-12 15:31:45 +01:00
Convly
13c7fd1a41 feat: add a codemodsTarget (upgrader module) that can be sync to/desync from the original target 2024-01-12 15:31:45 +01:00
Convly
b6bf9f3896 chore: rename version utils and introduce an isValidSemVer helper 2024-01-12 15:31:45 +01:00
Convly
b8a12ac27d enhancement: match any semver (instead of x.x.x only) for strapi deps in the project module 2024-01-12 15:31:45 +01:00
Convly
f1a604dde8 feat: add findVersion(version) helper to the npm package module 2024-01-12 15:31:45 +01:00
Convly
d667638e68 fix: update codemod-runner.test.ts to accommodate latest changes 2024-01-12 14:52:55 +01:00
Convly
5e819945cb chore: improve logging and comments in Codemod Runner 2024-01-12 14:41:13 +01:00
Josh
d402c40cae Merge branch 'develop' into v5/main 2024-01-11 15:52:47 +00:00
Josh
a3690b16a3
feat: add vite (#18697)
* feat: add vite

* fix: CheckPagePermissions was buggy

* fix: vite CJS warning & double print of experimental message

* chore: move to use plugins-workspace folder

* chore: update deps

---------

Co-authored-by: Paul <45032974+hide-me@users.noreply.github.com>
2024-01-11 14:14:25 +00:00
Josh
f324494fe9 Merge branch 'develop' into v5/main 2024-01-10 15:58:45 +00:00
Mark Kaylor
07112073ac v4.17.0 2024-01-10 14:46:39 +01:00
Christian Capeans
8b8e269f89 fix: update legacy dependencies 2024-01-08 16:46:06 +01:00
Christian Capeans
ad288a5769 fix: update documentation 2024-01-08 15:58:22 +01:00
Christian Capeans
c1ec41edad Merge branch 'chore/sqlite3-codemod' of github.com:strapi/strapi into chore/sqlite3-codemod 2024-01-08 15:55:09 +01:00
Christian Capeans
f94626d375 fix: update documentation 2024-01-08 15:54:23 +01:00
Christian Capeans
501f42defd fix: typo 2024-01-08 15:22:43 +01:00
Christian Capeans
17a31c60a4 fix: avoid changing better-sqlite3 version 2024-01-08 15:21:54 +01:00
Christian Capeans
b25c854cc4 fix: remove unnecessary codemod 2024-01-08 13:27:52 +01:00
Christian Capeans
08147cbfb9 chore: add comments to codemod 2024-01-08 13:17:25 +01:00
Christian Capeans
2c499f3395 Merge branch 'v5/main' of github.com:strapi/strapi into chore/sqlite3-codemod 2024-01-08 12:31:08 +01: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
Christian Capeans
30eebd0bcc chore: create script for sqlite migration 2024-01-04 18:36:41 +01:00
Josh
4cd75b2523 Merge branch 'develop' into v5/main 2024-01-04 08:32:19 +00:00
Josh
ddbb55f2eb Merge branch 'main' into releases/4.17.0 2024-01-02 13:41:57 +00:00
Christian
cb6f5d7891
Merge pull request #19111 from strapi/chore/tasks-tests
Add tests for the upgrade task
2023-12-24 16:49:17 +01:00
Christian
69a0284191
chore: Add unit tests for upgrade tool (#19056) 2023-12-22 18:29:34 +01:00