From 0bb516eb3f8c969e5a57d683f8d64636cbc45376 Mon Sep 17 00:00:00 2001 From: Victor Fernandez de Alba Date: Wed, 24 Apr 2024 16:03:24 +0200 Subject: [PATCH] Release 17.15.6 --- CHANGELOG.md | 11 +++++++++++ docs/source/release-notes/index.md | 11 +++++++++++ news/1868.bugfix | 1 - news/5915.documentation | 1 - news/5963.bugfix | 1 - package.json | 2 +- packages/volto-slate/package.json | 2 +- .../manage/ConditionalLink/ConditionalLink.d.ts | 2 +- types/helpers/FormValidation/FormValidation.d.ts | 1 + types/helpers/index.d.ts | 2 +- 10 files changed, 27 insertions(+), 7 deletions(-) delete mode 100644 news/1868.bugfix delete mode 100644 news/5915.documentation delete mode 100644 news/5963.bugfix diff --git a/CHANGELOG.md b/CHANGELOG.md index a678a631b7..a65ff9733a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,17 @@ myst: +## 17.15.6 (2024-04-24) + +### Bugfix + +- Show validation error message as string instead of list. @wesleybl [#1868](https://github.com/plone/volto/issues/1868) +- Fixed rendering if ConditionalLink has no children @pnicolli [#5963](https://github.com/plone/volto/issues/5963) + +### Documentation + +- Block search engines from indexing content on Netlify preview builds. @stevepiercy [#5915](https://github.com/plone/volto/issues/5915) + ## 17.15.5 (2024-03-07) ### Bugfix diff --git a/docs/source/release-notes/index.md b/docs/source/release-notes/index.md index a678a631b7..a65ff9733a 100644 --- a/docs/source/release-notes/index.md +++ b/docs/source/release-notes/index.md @@ -17,6 +17,17 @@ myst: +## 17.15.6 (2024-04-24) + +### Bugfix + +- Show validation error message as string instead of list. @wesleybl [#1868](https://github.com/plone/volto/issues/1868) +- Fixed rendering if ConditionalLink has no children @pnicolli [#5963](https://github.com/plone/volto/issues/5963) + +### Documentation + +- Block search engines from indexing content on Netlify preview builds. @stevepiercy [#5915](https://github.com/plone/volto/issues/5915) + ## 17.15.5 (2024-03-07) ### Bugfix diff --git a/news/1868.bugfix b/news/1868.bugfix deleted file mode 100644 index f807b6ba1f..0000000000 --- a/news/1868.bugfix +++ /dev/null @@ -1 +0,0 @@ -Show validation error message as string instead of list. @wesleybl diff --git a/news/5915.documentation b/news/5915.documentation deleted file mode 100644 index 6264f42515..0000000000 --- a/news/5915.documentation +++ /dev/null @@ -1 +0,0 @@ -Block search engines from indexing content on Netlify preview builds. @stevepiercy diff --git a/news/5963.bugfix b/news/5963.bugfix deleted file mode 100644 index 181256ec7b..0000000000 --- a/news/5963.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fixed rendering if ConditionalLink has no children @pnicolli \ No newline at end of file diff --git a/package.json b/package.json index 6812838f8b..54fa1478be 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ } ], "license": "MIT", - "version": "17.15.5", + "version": "17.15.6", "repository": { "type": "git", "url": "git@github.com:plone/volto.git" diff --git a/packages/volto-slate/package.json b/packages/volto-slate/package.json index fdce16a8f6..6dadd58f1c 100644 --- a/packages/volto-slate/package.json +++ b/packages/volto-slate/package.json @@ -1,6 +1,6 @@ { "name": "@plone/volto-slate", - "version": "17.15.5", + "version": "17.15.6", "description": "Slate.js integration with Volto", "main": "src/index.js", "author": "European Environment Agency: IDM2 A-Team", diff --git a/types/components/manage/ConditionalLink/ConditionalLink.d.ts b/types/components/manage/ConditionalLink/ConditionalLink.d.ts index 787159d693..7074aa7d51 100644 --- a/types/components/manage/ConditionalLink/ConditionalLink.d.ts +++ b/types/components/manage/ConditionalLink/ConditionalLink.d.ts @@ -4,7 +4,7 @@ declare function ConditionalLink({ condition, to, item, ...props }: { condition: any; to: any; item: any; -}): any; +}): JSX.Element; declare namespace ConditionalLink { namespace propTypes { let condition: PropTypes.Requireable; diff --git a/types/helpers/FormValidation/FormValidation.d.ts b/types/helpers/FormValidation/FormValidation.d.ts index 41acb223d6..86de052865 100644 --- a/types/helpers/FormValidation/FormValidation.d.ts +++ b/types/helpers/FormValidation/FormValidation.d.ts @@ -1,3 +1,4 @@ +export function tryParseJSON(requestItem: string): any; export default FormValidation; export function validateFileUploadSize(file: File, intlFunc: Function): boolean; declare class FormValidation { diff --git a/types/helpers/index.d.ts b/types/helpers/index.d.ts index 4484c99b46..3973743bed 100644 --- a/types/helpers/index.d.ts +++ b/types/helpers/index.d.ts @@ -23,7 +23,7 @@ export { nestContent, getLayoutFieldname, getContentIcon, getLanguageIndependent export { addBlock, insertBlock, blockHasValue, changeBlock, deleteBlock, emptyBlocksForm, getBlocks, getBlocksFieldname, getBlocksLayoutFieldname, hasBlocksData, moveBlock, mutateBlock, nextBlockId, previousBlockId, applyBlockDefaults, applySchemaDefaults, blocksFormGenerator, buildStyleClassNamesFromData, buildStyleClassNamesExtenders, buildStyleObjectFromData, getPreviousNextBlock, findBlocks } from "@plone/volto/helpers/Blocks/Blocks"; export { getSimpleDefaultBlocks, getDefaultBlocks } from "@plone/volto/helpers/Blocks/defaultBlocks"; export { getBoolean, getVocabName, getVocabFromHint, getVocabFromField, getVocabFromItems, getFieldsVocabulary } from "@plone/volto/helpers/Vocabularies/Vocabularies"; -export { default as FormValidation, validateFileUploadSize } from "./FormValidation/FormValidation"; +export { default as FormValidation, validateFileUploadSize, tryParseJSON } from "./FormValidation/FormValidation"; export { difference, getColor, getInitials, safeWrapper, applyConfig, withServerErrorCode, parseDateTime, toGettextLang, normalizeLanguageName, toReactIntlLang, toLangUnderscoreRegion, toBackendLang, hasApiExpander, replaceItemOfArray, cloneDeepSchema, arrayRange, reorderArray, isInteractiveElement, slugify, normalizeString } from "@plone/volto/helpers/Utils/Utils"; export { withBlockSchemaEnhancer, withVariationSchemaEnhancer, withBlockExtensions, applySchemaEnhancer, resolveExtension, resolveBlockExtensions, addStyling, composeSchema } from "./Extensions"; export { getCurrentStateMapping, getWorkflowOptions } from "./Workflows/Workflows";