Skip to content

0.13.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 13 Nov 12:48
· 3 commits to master since this release

Included commits: 0.12.0...0.13.0

Improvements

  • Storefront Assistant suggested prompts are now configured for each locale: each suggested prompt setting is a JSON object with a list of prompts for each locale name, and the storefront shows the list of the current locale.
  • Introduced StorefrontAssistantSuggestedPromptsConstraint: Configuration Management rejects a suggested prompt value that is not a locale-keyed object, a locale that no store uses, or prompts that are not a list of text values.
  • The module defaults have en_US and de_DE suggested prompts.

Adjustments

  • BC: replaced AiCommerceConfig::getStorefrontAssistantSuggestedPromptValues() with AiCommerceConfig::getStorefrontAssistantSuggestedPrompts(), which takes the locale name.
  • BC: removed StorefrontAssistantSuggestedPromptReaderInterface::getSuggestedPromptSections() and the suggestedPromptSections parameter of StorefrontAssistantWidget; the pipe text format and the titled prompt sections are no longer supported.
  • BC: StorefrontAssistantSuggestedPromptReader has the new constructor argument LocaleClientInterface.
  • A suggested prompt value saved in the old text format shows no prompts; save it again as JSON in the Back Office.