Skip to content

Commit

Permalink
Merge branch 'master' into pagination-with-router-params
Browse files Browse the repository at this point in the history
  • Loading branch information
erral authored May 29, 2023
2 parents d24dd98 + 9c5b4cc commit ada6a5a
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 3 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/source/configuration/settings-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -374,6 +373,7 @@ additionalToolbarComponents
}}
</Plug>
```
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`.
Expand Down
1 change: 1 addition & 0 deletions news/4820.documentation
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix glossary warning due to lack of empty line before a term. @stevepiercy
1 change: 1 addition & 0 deletions news/4825.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix special characters in request urls @pnicolli @mamico @luca-bellenghi @cekk
1 change: 1 addition & 0 deletions news/4827.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix block is undefined in StyleWrapper helper when building classnames @sneridagh
8 changes: 7 additions & 1 deletion src/components/theme/View/RenderBlocks.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,13 @@ const RenderBlocks = (props) => {
});

return Block ? (
<StyleWrapper key={block} {...props} id={block} data={blockData}>
<StyleWrapper
key={block}
{...props}
id={block}
block={block}
data={blockData}
>
<Block
id={block}
metadata={metadata}
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/Api/Api.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ada6a5a

Please sign in to comment.