From 7ad909863324549cb7d6f3e97dc9137b58021a4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Fern=C3=A1ndez=20de=20Alba?= Date: Wed, 24 May 2023 16:31:33 +0200 Subject: [PATCH 1/4] Release changelog for 16.20.7 (#4816) --- CHANGELOG.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c7014505cf..ed90e70754 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -225,6 +225,24 @@ - Use a universal static path for both documentation and volto repos. @stevepiercy [#4376](https://github.com/plone/volto/issues/4376) +## 16.20.7 (2023-05-24) + +### Bugfix + +- Fixed the issue "shouldn't use a hook like function name for a variable" @Kaku-g [#4693](https://github.com/plone/volto/issues/4693) +- Fix to not update breadrumbs, navigation, actions, and types when content is fetched as a subrequest and apiExpanders includes these components. @davisagli [#4760](https://github.com/plone/volto/issues/4760) +- Fix bug where editors could not see their own content in the Contents view if it was expired or has a future effective date. @davisagli [#4764](https://github.com/plone/volto/issues/4764) +- Fix bug showing logs at the browsers when richtext widget is use @claytonc [#4780](https://github.com/plone/volto/issues/4780) +- Add guard in case of malformed blocks are present (at least id and title should be present) @sneridagh [#4802](https://github.com/plone/volto/issues/4802) +- Fix html tag lang attribute in SSR @sneridagh [#4803](https://github.com/plone/volto/issues/4803) +- Add newest supported languages to `Language` constants list @sneridagh [#4811](https://github.com/plone/volto/issues/4811) + +### Internal + +- Remove max_line_length from .editorconfig @pnicolli [#4776](https://github.com/plone/volto/issues/4776) +- Fix unannounced breaking change in cypress-io/github-action @sneridagh [#4795](https://github.com/plone/volto/issues/4795) + + ## 16.20.6 (2023-05-12) ### Bugfix From a9c4c089c42e5ceb981aaeb4e411096df206b3e2 Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Fri, 26 May 2023 23:11:09 -0700 Subject: [PATCH 2/4] Fix glossary warning due to lack of empty line before a term (#4820) --- docs/source/configuration/settings-reference.md | 2 +- news/4820.documentation | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 news/4820.documentation diff --git a/docs/source/configuration/settings-reference.md b/docs/source/configuration/settings-reference.md index 65d3d3cca1..779d7f1417 100644 --- a/docs/source/configuration/settings-reference.md +++ b/docs/source/configuration/settings-reference.md @@ -226,7 +226,6 @@ workflowMapping It's meant to be extended with your own workflows/transitions. It is recommended to assign the same color to the transition as the destination state, so the user can have the visual hint to which state are they transitioning to. - styleClassNameConverters An object with functions used by the style wrapper helpers to convert style data to actual class names. You can customize the generated classname by @@ -374,6 +373,7 @@ additionalToolbarComponents }} ``` + blockSettingsTabFieldsetsInitialStateOpen A Boolean, `true` by default. The fieldsets in the blocks settings tab start by default as non-collapsed (opened), you can decide to have them collapsed (closed) by default setting this to `false`. diff --git a/news/4820.documentation b/news/4820.documentation new file mode 100644 index 0000000000..54143e75c9 --- /dev/null +++ b/news/4820.documentation @@ -0,0 +1 @@ +Fix glossary warning due to lack of empty line before a term. @stevepiercy From 7eebc6610a8177e7a622d7cfc9df98635f80fa10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Fern=C3=A1ndez=20de=20Alba?= Date: Mon, 29 May 2023 16:00:38 +0200 Subject: [PATCH 3/4] Fix block is undefined in StyleWrapper helper when building classnames (#4827) --- news/4827.bugfix | 1 + src/components/theme/View/RenderBlocks.jsx | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 news/4827.bugfix diff --git a/news/4827.bugfix b/news/4827.bugfix new file mode 100644 index 0000000000..5fb332d601 --- /dev/null +++ b/news/4827.bugfix @@ -0,0 +1 @@ +Fix block is undefined in StyleWrapper helper when building classnames @sneridagh diff --git a/src/components/theme/View/RenderBlocks.jsx b/src/components/theme/View/RenderBlocks.jsx index 86de669b25..440dd53df0 100644 --- a/src/components/theme/View/RenderBlocks.jsx +++ b/src/components/theme/View/RenderBlocks.jsx @@ -44,7 +44,13 @@ const RenderBlocks = (props) => { }); return Block ? ( - + Date: Mon, 29 May 2023 16:02:42 +0200 Subject: [PATCH 4/4] fix special characters in request urls (#4825) --- news/4825.bugfix | 1 + src/helpers/Api/Api.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 news/4825.bugfix diff --git a/news/4825.bugfix b/news/4825.bugfix new file mode 100644 index 0000000000..1954c0f6ec --- /dev/null +++ b/news/4825.bugfix @@ -0,0 +1 @@ +Fix special characters in request urls @pnicolli @mamico @luca-bellenghi @cekk diff --git a/src/helpers/Api/Api.js b/src/helpers/Api/Api.js index e804499e71..c91a667ea4 100644 --- a/src/helpers/Api/Api.js +++ b/src/helpers/Api/Api.js @@ -89,7 +89,7 @@ class Api { checkUrl && request.url && request.xhr && - stripQuerystring(request.url) !== + encodeURI(stripQuerystring(request.url)) !== stripQuerystring(request.xhr.responseURL) ) { if (request.xhr.responseURL?.length === 0) {