Skip to content

Commit

Permalink
Release 18.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Jan 9, 2025
1 parent 0204951 commit 5c31f9c
Show file tree
Hide file tree
Showing 33 changed files with 82 additions and 29 deletions.
19 changes: 19 additions & 0 deletions docs/source/release-notes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,25 @@ myst:

<!-- towncrier release notes start -->

## 18.5.0 (2025-01-09)

### Feature

- Add component to show related items, which can be enabled using the `showRelatedItems` setting. @wesleybl [#3740](https://github.com/plone/volto/issues/3740)
- Added {file}sv/LC_MESSAGES/volto.poinlocales and updated{file}/volto/src/constants/Languages.js to include Swedish @TechSubham [#5957](https://github.com/plone/volto/issues/5957)

### Bugfix

- The depth field in the base search query of the search block was ignored, causing search results to include items beyond the specified depth level. Search results now respect the specified depth configuration. @TechSubham [#5856](https://github.com/plone/volto/issues/5856)
- No longer add classes from the query string search text in the `body` tag. @Abhishek-17h [#6493](https://github.com/plone/volto/issues/6493)
- Fixed folder contents issues with persistent selection across page changes. @pnicolli [#6554](https://github.com/plone/volto/issues/6554)
- Fix robots.txt in devmode @reebalazs [#6572](https://github.com/plone/volto/issues/6572)

### Documentation

- Fix redirecting links to Mozilla Developer Network's responsive images. @stevepiercy [#6552](https://github.com/plone/volto/issues/6552)
- Add Volto block examples in the documentation. @erral [#6560](https://github.com/plone/volto/issues/6560)

## 18.4.0 (2024-12-17)

### Feature
Expand Down
19 changes: 19 additions & 0 deletions packages/volto/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,25 @@ myst:

<!-- towncrier release notes start -->

## 18.5.0 (2025-01-09)

### Feature

- Add component to show related items, which can be enabled using the `showRelatedItems` setting. @wesleybl [#3740](https://github.com/plone/volto/issues/3740)
- Added {file}sv/LC_MESSAGES/volto.poinlocales and updated{file}/volto/src/constants/Languages.js to include Swedish @TechSubham [#5957](https://github.com/plone/volto/issues/5957)

### Bugfix

- The depth field in the base search query of the search block was ignored, causing search results to include items beyond the specified depth level. Search results now respect the specified depth configuration. @TechSubham [#5856](https://github.com/plone/volto/issues/5856)
- No longer add classes from the query string search text in the `body` tag. @Abhishek-17h [#6493](https://github.com/plone/volto/issues/6493)
- Fixed folder contents issues with persistent selection across page changes. @pnicolli [#6554](https://github.com/plone/volto/issues/6554)
- Fix robots.txt in devmode @reebalazs [#6572](https://github.com/plone/volto/issues/6572)

### Documentation

- Fix redirecting links to Mozilla Developer Network's responsive images. @stevepiercy [#6552](https://github.com/plone/volto/issues/6552)
- Add Volto block examples in the documentation. @erral [#6560](https://github.com/plone/volto/issues/6560)

## 18.4.0 (2024-12-17)

### Feature
Expand Down
1 change: 0 additions & 1 deletion packages/volto/news/3740.feature

This file was deleted.

1 change: 0 additions & 1 deletion packages/volto/news/5856.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion packages/volto/news/5957.feature

This file was deleted.

1 change: 0 additions & 1 deletion packages/volto/news/6493.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion packages/volto/news/6552.documentation

This file was deleted.

1 change: 0 additions & 1 deletion packages/volto/news/6554.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion packages/volto/news/6560.documentation

This file was deleted.

1 change: 0 additions & 1 deletion packages/volto/news/6572.bugfix

This file was deleted.

2 changes: 1 addition & 1 deletion packages/volto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
],
"license": "MIT",
"version": "18.4.0",
"version": "18.5.0",
"repository": {
"type": "git",
"url": "git@github.com:plone/volto.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* portlet. It uses the same API, so the options are similar to
* INavigationPortlet
*/
export function ContextNavigationComponent(props: any): import("react/jsx-runtime").JSX.Element | "";
export function ContextNavigationComponent(props: any): "" | import("react/jsx-runtime").JSX.Element;
export namespace ContextNavigationComponent {
namespace propTypes {
let navigation: any;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
export default RelatedItems;
/**
* Related Items component.
* @function RelatedItems
* @param {array} relatedItems Array of related items.
* @returns {JSX.Element} Markup of the component.
*/
declare function RelatedItems({ content }: any[]): JSX.Element;
declare namespace RelatedItems {
namespace propTypes {
let content: any;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export default RenderBlocks;
declare function RenderBlocks(props: any): import("react/jsx-runtime").JSX.Element | "";
declare function RenderBlocks(props: any): "" | import("react/jsx-runtime").JSX.Element;
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ declare function ArrayWidget({ value, children, className }: {
value: any;
children: any;
className: any;
}): import("react/jsx-runtime").JSX.Element | "";
}): "" | import("react/jsx-runtime").JSX.Element;
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ declare function DateWidget({ value, children, className, format }: {
children: any;
className: any;
format?: string;
}): import("react/jsx-runtime").JSX.Element | "";
}): "" | import("react/jsx-runtime").JSX.Element;
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ declare function DatetimeWidget({ value, children, className, format }: {
children: any;
className: any;
format?: string;
}): import("react/jsx-runtime").JSX.Element | "";
}): "" | import("react/jsx-runtime").JSX.Element;
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ declare function DescriptionWidget({ value, children, className }: {
value: any;
children: any;
className: any;
}): import("react/jsx-runtime").JSX.Element | "";
}): "" | import("react/jsx-runtime").JSX.Element;
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ declare function EmailWidget({ value, children, className }: {
value: any;
children: any;
className: any;
}): import("react/jsx-runtime").JSX.Element | "";
}): "" | import("react/jsx-runtime").JSX.Element;
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ declare function FileWidget({ value, children, className }: {
value: any;
children: any;
className: any;
}): import("react/jsx-runtime").JSX.Element | "";
}): "" | import("react/jsx-runtime").JSX.Element;
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ export default ImageWidget;
declare function ImageWidget({ value, className }: {
value: any;
className: any;
}): import("react/jsx-runtime").JSX.Element | "";
}): "" | import("react/jsx-runtime").JSX.Element;
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ declare function PasswordWidget({ value, children, className }: {
value: any;
children: any;
className: any;
}): import("react/jsx-runtime").JSX.Element | "";
}): "" | import("react/jsx-runtime").JSX.Element;
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ declare function RelationWidget({ value, children, className }: {
value: any;
children: any;
className: any;
}): import("react/jsx-runtime").JSX.Element | "";
}): "" | import("react/jsx-runtime").JSX.Element;
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ declare function RelationsWidget({ value, children, className }: {
value: any;
children: any;
className: any;
}): import("react/jsx-runtime").JSX.Element | "";
}): "" | import("react/jsx-runtime").JSX.Element;
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ export default RichTextWidget;
declare function RichTextWidget({ value, className }: {
value: any;
className: any;
}): import("react/jsx-runtime").JSX.Element | "";
}): "" | import("react/jsx-runtime").JSX.Element;
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ declare function SelectWidget({ value, children, className }: {
value: any;
children: any;
className: any;
}): import("react/jsx-runtime").JSX.Element | "";
}): "" | import("react/jsx-runtime").JSX.Element;
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ declare function TextWidget({ value, children, className }: {
value: any;
children: any;
className: any;
}): import("react/jsx-runtime").JSX.Element | "";
}): "" | import("react/jsx-runtime").JSX.Element;
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ declare function TitleWidget({ value, children, className }: {
value: any;
children: any;
className: any;
}): import("react/jsx-runtime").JSX.Element | "";
}): "" | import("react/jsx-runtime").JSX.Element;
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ declare function TokenWidget({ value, children, className }: {
value: any;
children: any;
className: any;
}): import("react/jsx-runtime").JSX.Element | "";
}): "" | import("react/jsx-runtime").JSX.Element;
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ declare function UrlWidget({ value, children, className }: {
value: any;
children: any;
className: any;
}): import("react/jsx-runtime").JSX.Element | "";
}): "" | import("react/jsx-runtime").JSX.Element;
12 changes: 10 additions & 2 deletions packages/volto/types/config/slots.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default slots;
declare namespace slots {
let belowContent: {
let belowContent: ({
name: string;
component: {
({ content }: {
Expand All @@ -17,5 +17,13 @@ declare namespace slots {
};
};
};
}[];
} | {
name: string;
component: {
({ content }: any[]): JSX.Element;
propTypes: {
content: any;
};
};
})[];
}
1 change: 1 addition & 0 deletions packages/volto/types/constants/Languages.d.cts
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ export let ja: string;
export let pt: string;
export let pt_BR: string;
export let zh_CN: string;
export let sv: string;

0 comments on commit 5c31f9c

Please sign in to comment.