You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/upgrade-guide/index.md
+31-22Lines changed: 31 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ For this purpose, we have developed a {ref}`new utility <upgrade-guide-new-depen
40
40
It is mandatory that you run the utility to make Volto version 18.0.0-alpha.21 or later work in your projects.
41
41
This opens the door to use {term}`pnpm` in projects, too, and other goodies.
42
42
43
-
```{versionremoved} 18.0.0-alpha.33
43
+
```{versionremoved}Volto 18.0.0-alpha.33
44
44
The setting `config.settings.serverConfig.extractScripts.errorPages` has been removed.
45
45
```
46
46
@@ -52,7 +52,7 @@ This setting is no longer necessary.
52
52
53
53
### New dependencies synchronizer
54
54
55
-
```{versionadded} 18.0.0-alpha.21
55
+
```{versionadded}Volto 18.0.0-alpha.21
56
56
```
57
57
58
58
```{versionadded} @plone/scripts 3.6.1
@@ -450,19 +450,28 @@ schema: {
450
450
The `Tags` component has been moved to the `belowContent` slot.
451
451
It now receives the `content` property instead of the `tags` property.
452
452
453
-
### CookiePlone is now the recommended project and add-on generator for Volto 18
454
453
455
-
```{versionadded} 18.0.0-alpha.43
454
+
{upgrade-18-cookieplone-label}=
455
+
456
+
### Cookieplone is now the recommended project and add-on generator for Volto 18
457
+
458
+
```{versionadded} Volto 18.0.0-alpha.43
456
459
```
457
-
The recommended way for developing Volto projects will be using [Cookieplone](https://github.com/plone/cookieplone) as a boilerplate generator.
460
+
461
+
[Cookieplone](https://github.com/plone/cookieplone) is now the recommended way to develop Volto projects, using it as a boilerplate generator.
458
462
Cookieplone uses the frontend code installed using `pnpm` instead of `yarn`.
459
-
This affects the way that we generate the official Docker images, since they have to be compatible with the `pnpm` setup.
463
+
This affects the way that the Plone Release Team generates the Sponsored OSS Docker images, since they must be compatible with the `pnpm` setup.
464
+
465
+
Since Volto `18.0.0-alpha.43`, the Docker image [`plone-frontend`](https://hub.docker.com/r/plone/plone-frontend) uses `pnpm`.
466
+
467
+
For developers that won't migrate their boilerplate and code to the new setup with `pnpm` instead of `yarn`, the Release Team will generate a new Docker image named `plone-frontend:18-yarn` for the Volto 18 series of alpha releases.
460
468
461
-
From Volto `18.0.0-alpha.43` the official `plone-frontend` Docker image will be the one using `pnpm`.
462
-
During all the 18 series, a new image with the suffix `-yarn` (`plone-frontend:18-yarn`) will be generated as well for those of you that won't migrate your boilerplate and code to the new setup yet. When Volto 19 is out, we won't support it nor build it anymore.
469
+
Support for `yarn` will be dropped in Volto 19.
463
470
464
-
```{deprecated} 18.0.0-alpha.43
465
-
The `yarn`-based generator `@plone/generator-volto` package and project boilerplates generated with it are deprecated and will not receive any further updates. The recommended way of generating a project boilerplate is Cookieplone. Please update your code to the `pnpm` based setup.
471
+
```{deprecated} Volto 18.0.0-alpha.43
472
+
The `yarn`-based generator [`@plone/generator-volto`](https://www.npmjs.com/package/@plone/generator-volto) package and project boilerplates generated from it are deprecated and will not receive any further updates.
473
+
The recommended way of generating a project boilerplate is [Cookieplone](https://github.com/plone/cookieplone).
474
+
Please update your code to use the `pnpm` based setup.
466
475
```
467
476
468
477
(volto-upgrade-guide-17.x.x)=
@@ -516,7 +525,7 @@ Upgrade your local dependencies in projects and add-ons by editing your {file}`p
516
525
517
526
### TypeScript support in Volto
518
527
519
-
```{versionadded} 17.0.0-alpha.27
528
+
```{versionadded}Volto 17.0.0-alpha.27
520
529
```
521
530
522
531
We added full support of TypeScript in Volto core.
@@ -619,7 +628,7 @@ make develop
619
628
620
629
### Upgrade ESlint and use `@babel/eslint-parser`
621
630
622
-
```{versionchanged} 17.0.0-alpha.27
631
+
```{versionchanged}Volto 17.0.0-alpha.27
623
632
```
624
633
625
634
ESlint uses a library to parse the language under analysis.
@@ -632,7 +641,7 @@ Once upgraded, run the linters again to make sure that your code is free of viol
632
641
633
642
Technically not a breaking, the API nor the component contract has changed, but it's worth noting this change in here.
634
643
635
-
```{versionadded} 17.0.0-alpha.1
644
+
```{versionadded}Volto 17.0.0-alpha.1
636
645
The `BlockChooser` component now uses `popperjs` library to position itself in the screen.
637
646
It spawns at the end of the body instead of inner the block that called it.
638
647
This is better from the UI point of view, since any other element can take precedence in the CSS element flow, preventing the block chooser to get overlapped by anything else.
@@ -690,7 +699,7 @@ Check the official [Cypress Migration Guide](https://docs.cypress.io/guides/refe
690
699
691
700
### New Image component
692
701
693
-
```{versionadded} 17.0.0-alpha.21
702
+
```{versionadded}Volto 17.0.0-alpha.21
694
703
A new image component has been added to core to render optimized images.
695
704
It requires the latest version of `plone.restapi` (>=8.42.0) installed in the backend to work properly.
696
705
```
@@ -742,11 +751,11 @@ From Volto 16.0.0-alpha.15 onwards, `volto-slate` is integrated into Volto core
742
751
The previous text block `text` based on `draftJS` is now deprecated and is restricted (hidden) in Volto bootstrap.
743
752
This is a major change and should be planned in advance before you install 16.0.0-alpha.15 or later.
744
753
745
-
```{versionadded} 16.0.0-alpha.15
754
+
```{versionadded}Volto 16.0.0-alpha.15
746
755
`volto-slate` added to Volto core as the default text block.
747
756
```
748
757
749
-
```{deprecated} 16.0.0-alpha.15
758
+
```{deprecated}Volto 16.0.0-alpha.15
750
759
`text` text block based on `draftJS` is now deprecated and will be removed from core in Volto 18.
751
760
```
752
761
@@ -840,7 +849,7 @@ Version 16 is recommended.
840
849
841
850
### Upgraded to Razzle 4
842
851
843
-
```{versionadded} 16.0.0-alpha.38
852
+
```{versionadded}Volto 16.0.0-alpha.38
844
853
Volto has upgraded from Razzle 3 to Razzle 4.
845
854
You should perform these steps in case you are upgrading to this version or above.
846
855
```
@@ -1143,7 +1152,7 @@ It maintains signature compatibility with `registry.resolve`, but introduces new
1143
1152
1144
1153
See documentation for more information.
1145
1154
1146
-
````{versionchanged} 16.0.0-alpha.23
1155
+
````{versionchanged} Volto 16.0.0-alpha.23
1147
1156
The `component` argument changed in 16.0.0-alpha.23.
1148
1157
The `component` key has been flattened for simplification and now it's mapped directly to the `component` argument of `registerComponent`:
1149
1158
@@ -1222,7 +1231,7 @@ During the alpha stage, we received feedback and determined that it's too diffic
1222
1231
We decided it is best to deal with it as any other schema field and enhance it via schema enhancers.
1223
1232
This improves the developer experience, especially when dealing with variations that can provide their own styles and other schema fields.
1224
1233
1225
-
```{deprecated} 16.0.0-alpha.46
1234
+
```{deprecated} Volto 16.0.0-alpha.46
1226
1235
The options `enableStyling` and `stylesSchema` no longer work.
1227
1236
You need to provide them using your own block schema.
1228
1237
If you are extending an existing one, you should add it as a normal `schemaEnhancer` modification.
@@ -1239,7 +1248,7 @@ Since then, the add-on story has improved.
1239
1248
It now makes sense to extract this feature into its own add-on.
1240
1249
Integrate Sentry in your app with [`@plone-collective/volto-sentry`](https://www.npmjs.com/package/@plone-collective/volto-sentry).
1241
1250
1242
-
```{versionchanged} 16.0.0.alpha.45
1251
+
```{versionchanged}Volto 16.0.0.alpha.45
1243
1252
```
1244
1253
1245
1254
### Upgrade `husky` to latest version
@@ -1260,7 +1269,7 @@ You can copy over the Volto ones (take a look in Volto's `.husky` folder).
1260
1269
1261
1270
### Better defaults handling
1262
1271
1263
-
````{versionadded} 16.0.0-alpha.51
1272
+
````{versionadded}Volto 16.0.0-alpha.51
1264
1273
Prior to this version, we handled default values in schemas for blocks settings in a faulty and buggy manner.
1265
1274
The state inferred was not deterministic and depended on the fields with defaults present.
1266
1275
@@ -1376,7 +1385,7 @@ A new `@root` alias has been set up to replace the `~` alias.
1376
1385
Support for the `~` alias is still in place, but we now mark it as deprecated.
0 commit comments