From f92880ee4e4c3b88c7cea18c717dd30ecb1e61fa Mon Sep 17 00:00:00 2001 From: Victor Fernandez de Alba Date: Thu, 25 Jan 2024 16:16:24 +0100 Subject: [PATCH] Release 18.0.0-alpha.8 --- docs/source/release-notes/index.md | 49 +++++++++++++++++++ packages/volto/CHANGELOG.md | 24 +++++++++ packages/volto/news/3723.documentation | 1 - packages/volto/news/5599.documentation | 1 - packages/volto/news/5628.bugfix | 1 - packages/volto/news/5647.bugfix | 1 - packages/volto/news/5654.documentation | 1 - packages/volto/news/5655.documentation | 1 - packages/volto/news/5656.documentation | 1 - packages/volto/news/5658.feature | 1 - packages/volto/news/5666.bugfix | 1 - packages/volto/news/5673.documentation | 1 - packages/volto/news/5681.bugfix | 1 - packages/volto/news/5692.documentation | 1 - packages/volto/news/5694.documentation | 1 - packages/volto/package.json | 2 +- .../manage/LinksToItem/LinksToItem.d.ts | 5 +- .../manage/Sidebar/SidebarPortal.d.ts | 4 +- .../Extensions/withBlockSchemaEnhancer.d.ts | 2 +- 19 files changed, 80 insertions(+), 19 deletions(-) delete mode 100644 packages/volto/news/3723.documentation delete mode 100644 packages/volto/news/5599.documentation delete mode 100644 packages/volto/news/5628.bugfix delete mode 100644 packages/volto/news/5647.bugfix delete mode 100644 packages/volto/news/5654.documentation delete mode 100644 packages/volto/news/5655.documentation delete mode 100644 packages/volto/news/5656.documentation delete mode 100644 packages/volto/news/5658.feature delete mode 100644 packages/volto/news/5666.bugfix delete mode 100644 packages/volto/news/5673.documentation delete mode 100644 packages/volto/news/5681.bugfix delete mode 100644 packages/volto/news/5692.documentation delete mode 100644 packages/volto/news/5694.documentation diff --git a/docs/source/release-notes/index.md b/docs/source/release-notes/index.md index c5a9c2fbc9..51c560aff6 100644 --- a/docs/source/release-notes/index.md +++ b/docs/source/release-notes/index.md @@ -17,6 +17,55 @@ myst: +## 18.0.0-alpha.8 (2024-01-25) + +### Feature + +- Add image preview in object browser widget. @robgietema [#5658](https://github.com/plone/volto/issues/5658) + +### Bugfix + +- Fix multilingual redirector where it doesn't take into account the stored cookie in SSR. @robgietema [#5628](https://github.com/plone/volto/issues/5628) +- Fix blocks chooser index and add a bit of breath to the left in the search input @sneridagh [#5647](https://github.com/plone/volto/issues/5647) +- Fix `links-to-item` should be a protected route. @iFlameing [#5666](https://github.com/plone/volto/issues/5666) +- Removed git merge conflicts from french volto.po locale file. @ichim-david [#5681](https://github.com/plone/volto/issues/5681) + +### Documentation + +- Clarify how to create a Volto project with the frontend only when you have your own existing backend. @stevepiercy [#3723](https://github.com/plone/volto/issues/3723) +- Enabled hyperlinking from narrative documentation to Storybook entries while developing, in Netlify preview builds, and when deployed to the main production Plone documentation. Documented usage and syntax in {ref}`link-to-storybook-entries-from-documentation`. @stevepiercy [#5599](https://github.com/plone/volto/issues/5599) +- Update cross-reference to main documentation from `install-from-packages` to `create-project`. @stevepiercy [#5654](https://github.com/plone/volto/issues/5654) +- Temporarily pin `sphinxcontrib-*help` dependencies so documentation can build. @stevepiercy [#5655](https://github.com/plone/volto/issues/5655) +- Pin Vale to 2.30.0 to allow build of documentation until we can upgrade to v3.x. @stevepiercy [#5656](https://github.com/plone/volto/issues/5656) +- Use correct Pygments lexer for SCSS. @stevepiercy [#5673](https://github.com/plone/volto/issues/5673) +- Fixed a broken reference to create a project in documentation. @stevepiercy [#5692](https://github.com/plone/volto/issues/5692) +- Align the project names in "Create a Volto project without a backend". @stevepiercy [#5694](https://github.com/plone/volto/issues/5694) + +## 18.0.0-alpha.7 (2024-01-17) + +### Feature + +- Enhanced `ColorPickerWidget` with additional color definitions, saving it as an object instead of a string. @sneridagh [#5585](https://github.com/plone/volto/issues/5585) +- Allow to opt out of the nested prefixed name build in the custom CSS properties style name generator if an object is found in the style wrapper object. @sneridagh [#5586](https://github.com/plone/volto/issues/5586) + +### Bugfix + +- In the recurrence widget, set the vertical alignment of the `edit` button to `middle`. @Ravi-kumar9347 [#5359](https://github.com/plone/volto/issues/5359) +- Improve generation of type declarations. Fixes some key types propagation. @sneridagh [#5624](https://github.com/plone/volto/issues/5624) +- Unify start command, trigger `build:deps` command @sneridagh [#5633](https://github.com/plone/volto/issues/5633) +- Merge the StyleWrapper styles with the draggable props from b-D&D. @sneridagh + This fixes the D&D bug introduced in https://github.com/plone/volto/pull/5581 [#5652](https://github.com/plone/volto/issues/5652) + +### Internal + +- Add cypress tests for the "links-to-item" view of content items @jackahl [#5427](https://github.com/plone/volto/issues/5427) +- Polish po file handling @erral [#5542](https://github.com/plone/volto/issues/5542) +- Unify variables in `Makefile`s. @sneridagh [#5637](https://github.com/plone/volto/issues/5637) + +### Documentation + +- Clarified how CSS properties work. @stevepiercy [#5591](https://github.com/plone/volto/issues/5591) + ## 18.0.0-alpha.6 (2024-01-02) ### Feature diff --git a/packages/volto/CHANGELOG.md b/packages/volto/CHANGELOG.md index b8cf6a04e8..51c560aff6 100644 --- a/packages/volto/CHANGELOG.md +++ b/packages/volto/CHANGELOG.md @@ -17,6 +17,30 @@ myst: +## 18.0.0-alpha.8 (2024-01-25) + +### Feature + +- Add image preview in object browser widget. @robgietema [#5658](https://github.com/plone/volto/issues/5658) + +### Bugfix + +- Fix multilingual redirector where it doesn't take into account the stored cookie in SSR. @robgietema [#5628](https://github.com/plone/volto/issues/5628) +- Fix blocks chooser index and add a bit of breath to the left in the search input @sneridagh [#5647](https://github.com/plone/volto/issues/5647) +- Fix `links-to-item` should be a protected route. @iFlameing [#5666](https://github.com/plone/volto/issues/5666) +- Removed git merge conflicts from french volto.po locale file. @ichim-david [#5681](https://github.com/plone/volto/issues/5681) + +### Documentation + +- Clarify how to create a Volto project with the frontend only when you have your own existing backend. @stevepiercy [#3723](https://github.com/plone/volto/issues/3723) +- Enabled hyperlinking from narrative documentation to Storybook entries while developing, in Netlify preview builds, and when deployed to the main production Plone documentation. Documented usage and syntax in {ref}`link-to-storybook-entries-from-documentation`. @stevepiercy [#5599](https://github.com/plone/volto/issues/5599) +- Update cross-reference to main documentation from `install-from-packages` to `create-project`. @stevepiercy [#5654](https://github.com/plone/volto/issues/5654) +- Temporarily pin `sphinxcontrib-*help` dependencies so documentation can build. @stevepiercy [#5655](https://github.com/plone/volto/issues/5655) +- Pin Vale to 2.30.0 to allow build of documentation until we can upgrade to v3.x. @stevepiercy [#5656](https://github.com/plone/volto/issues/5656) +- Use correct Pygments lexer for SCSS. @stevepiercy [#5673](https://github.com/plone/volto/issues/5673) +- Fixed a broken reference to create a project in documentation. @stevepiercy [#5692](https://github.com/plone/volto/issues/5692) +- Align the project names in "Create a Volto project without a backend". @stevepiercy [#5694](https://github.com/plone/volto/issues/5694) + ## 18.0.0-alpha.7 (2024-01-17) ### Feature diff --git a/packages/volto/news/3723.documentation b/packages/volto/news/3723.documentation deleted file mode 100644 index d51812604a..0000000000 --- a/packages/volto/news/3723.documentation +++ /dev/null @@ -1 +0,0 @@ -Clarify how to create a Volto project with the frontend only when you have your own existing backend. @stevepiercy diff --git a/packages/volto/news/5599.documentation b/packages/volto/news/5599.documentation deleted file mode 100644 index af44d551cf..0000000000 --- a/packages/volto/news/5599.documentation +++ /dev/null @@ -1 +0,0 @@ -Enabled hyperlinking from narrative documentation to Storybook entries while developing, in Netlify preview builds, and when deployed to the main production Plone documentation. Documented usage and syntax in {ref}`link-to-storybook-entries-from-documentation`. @stevepiercy diff --git a/packages/volto/news/5628.bugfix b/packages/volto/news/5628.bugfix deleted file mode 100644 index f655dec330..0000000000 --- a/packages/volto/news/5628.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix multilingual redirector where it doesn't take into account the stored cookie in SSR. @robgietema \ No newline at end of file diff --git a/packages/volto/news/5647.bugfix b/packages/volto/news/5647.bugfix deleted file mode 100644 index 5d7bcf74e1..0000000000 --- a/packages/volto/news/5647.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix blocks chooser index and add a bit of breath to the left in the search input @sneridagh diff --git a/packages/volto/news/5654.documentation b/packages/volto/news/5654.documentation deleted file mode 100644 index c20bdceb89..0000000000 --- a/packages/volto/news/5654.documentation +++ /dev/null @@ -1 +0,0 @@ -Update cross-reference to main documentation from `install-from-packages` to `create-project`. @stevepiercy diff --git a/packages/volto/news/5655.documentation b/packages/volto/news/5655.documentation deleted file mode 100644 index d69c98ea60..0000000000 --- a/packages/volto/news/5655.documentation +++ /dev/null @@ -1 +0,0 @@ -Temporarily pin `sphinxcontrib-*help` dependencies so documentation can build. @stevepiercy diff --git a/packages/volto/news/5656.documentation b/packages/volto/news/5656.documentation deleted file mode 100644 index 63031820ea..0000000000 --- a/packages/volto/news/5656.documentation +++ /dev/null @@ -1 +0,0 @@ -Pin Vale to 2.30.0 to allow build of documentation until we can upgrade to v3.x. @stevepiercy diff --git a/packages/volto/news/5658.feature b/packages/volto/news/5658.feature deleted file mode 100644 index ce3876b68e..0000000000 --- a/packages/volto/news/5658.feature +++ /dev/null @@ -1 +0,0 @@ -Add image preview in object browser widget. @robgietema \ No newline at end of file diff --git a/packages/volto/news/5666.bugfix b/packages/volto/news/5666.bugfix deleted file mode 100644 index a1b9363c0e..0000000000 --- a/packages/volto/news/5666.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix `links-to-item` should be a protected route. @iFlameing \ No newline at end of file diff --git a/packages/volto/news/5673.documentation b/packages/volto/news/5673.documentation deleted file mode 100644 index 456bda6b74..0000000000 --- a/packages/volto/news/5673.documentation +++ /dev/null @@ -1 +0,0 @@ -Use correct Pygments lexer for SCSS. @stevepiercy diff --git a/packages/volto/news/5681.bugfix b/packages/volto/news/5681.bugfix deleted file mode 100644 index 6c2c3002ec..0000000000 --- a/packages/volto/news/5681.bugfix +++ /dev/null @@ -1 +0,0 @@ -Removed git merge conflicts from french volto.po locale file. @ichim-david \ No newline at end of file diff --git a/packages/volto/news/5692.documentation b/packages/volto/news/5692.documentation deleted file mode 100644 index 2c75842c1a..0000000000 --- a/packages/volto/news/5692.documentation +++ /dev/null @@ -1 +0,0 @@ -Fixed a broken reference to create a project in documentation. @stevepiercy diff --git a/packages/volto/news/5694.documentation b/packages/volto/news/5694.documentation deleted file mode 100644 index d5a37bfdd6..0000000000 --- a/packages/volto/news/5694.documentation +++ /dev/null @@ -1 +0,0 @@ -Align the project names in "Create a Volto project without a backend". @stevepiercy diff --git a/packages/volto/package.json b/packages/volto/package.json index 0a7d37852f..6e0e0e7dd4 100644 --- a/packages/volto/package.json +++ b/packages/volto/package.json @@ -9,7 +9,7 @@ } ], "license": "MIT", - "version": "18.0.0-alpha.7", + "version": "18.0.0-alpha.8", "repository": { "type": "git", "url": "git@github.com:plone/volto.git" diff --git a/packages/volto/types/components/manage/LinksToItem/LinksToItem.d.ts b/packages/volto/types/components/manage/LinksToItem/LinksToItem.d.ts index b09840f2e6..5de18c2f62 100644 --- a/packages/volto/types/components/manage/LinksToItem/LinksToItem.d.ts +++ b/packages/volto/types/components/manage/LinksToItem/LinksToItem.d.ts @@ -1,2 +1,3 @@ -export default LinksToItem; -declare function LinksToItem(props: any): JSX.Element; +export function __test__(props: any): JSX.Element; +declare const _default: any; +export default _default; diff --git a/packages/volto/types/components/manage/Sidebar/SidebarPortal.d.ts b/packages/volto/types/components/manage/Sidebar/SidebarPortal.d.ts index a4a6a05010..3ea415b1b3 100644 --- a/packages/volto/types/components/manage/Sidebar/SidebarPortal.d.ts +++ b/packages/volto/types/components/manage/Sidebar/SidebarPortal.d.ts @@ -1,12 +1,12 @@ export default SidebarPortal; /** * Portal that wraps Sidebar components - * @param {Array} children Sidebar content + * @param {React.ReactNode} children Sidebar content * @param {bool} selected Sidebar needs to know when the related block is selected * @param {string} tab Element id where to insert sidebar content, default: sidebar-properties * @returns {string} Rendered sidebar */ -declare function SidebarPortal({ children, selected, tab }: any[]): string; +declare function SidebarPortal({ children, selected, tab }: any): string; declare namespace SidebarPortal { namespace propTypes { let children: any; diff --git a/packages/volto/types/helpers/Extensions/withBlockSchemaEnhancer.d.ts b/packages/volto/types/helpers/Extensions/withBlockSchemaEnhancer.d.ts index 9621159472..5d1fbaf55a 100644 --- a/packages/volto/types/helpers/Extensions/withBlockSchemaEnhancer.d.ts +++ b/packages/volto/types/helpers/Extensions/withBlockSchemaEnhancer.d.ts @@ -15,7 +15,7 @@ export function addExtensionFieldToSchema({ schema, name, items, intl, title, de items: any; intl: any; title: any; - description: any; + description?: string; insertFieldToOrder?: typeof _addField; }): any; export function withBlockSchemaEnhancer(FormComponent: any, extensionName?: string, insertFieldToOrder?: typeof _addField): ({ ...props }: {