Skip to content

Commit 508fd53

Browse files
committed
Draft 5.0 update process
1 parent 5bac865 commit 508fd53

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

docs/update_and_migration/from_4.6/update_to_5.0.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,6 @@ rm config/routes/annotations.yaml
5656
rm config/routes.yaml
5757
```
5858

59-
### Remove GraphQL schema
60-
61-
GraphQL package (`ibexa/graphql`) isn't part of the default package list anymore.
62-
If you use GraphQL, it can be reinstalled later in the upgrade process.
63-
Whatever your situation, its schema is out-dated and must be deleted before going further.
64-
65-
```bash
66-
rm -r config/graphql
67-
```
68-
6959
### Remove Stimulus bootstrap
7060

7161
Edit `assets/app.js` and remove the following lines:
@@ -81,6 +71,16 @@ Delete the bootstrap file:
8171
rm assets/bootstrap.js
8272
```
8373

74+
### Remove GraphQL schema
75+
76+
4.6 GraphQL isn't compatible with 5.0 so delete it.
77+
78+
TODO: Is `@=resolver` to `@=query` change need to be detailed?
79+
80+
```bash
81+
rm -r config/graphql
82+
```
83+
8484
### Update [[= product_name =]] application
8585

8686
#### Update package requirements
@@ -196,10 +196,10 @@ Your `auto-scripts` entry should look like this:
196196
#### Post update script
197197

198198
```bash
199-
# Manually clear cache to ensure script won't use a piece of it
199+
# Manually clear cache to ensure scripts won't use a piece of it
200200
rm -rf var/cache
201201
# A.k.a "auto-scripts"
202-
ddev composer run-script post-update-cmd
202+
composer run-script post-update-cmd
203203
```
204204

205205
### Update database
@@ -333,13 +333,13 @@ TODO: Update JS, templates, CSS…
333333
TODO: Some old deprecated Webpack file names were supported in 4.6 for backward compatibility; They aren't in 5.0
334334
TODO: Conversion tables
335335

336-
#### GraphQL
336+
#### Generate GraphQL schema
337337

338-
As previously mentioned, GraphQL package (`ibexa/graphql`) isn't part of the default anymore.
338+
GraphQL is used by 4.6's Back Office
339+
but isn't used by 5.0's one.
339340

340-
If you are using it, add it back:
341+
Optionaly, if you are using GraphQL, generate its schema:
341342

342343
```bash
343-
composer require ibexa/graphql
344344
php bin/console ibexa:graphql:generate-schema
345345
```

0 commit comments

Comments
 (0)