Skip to content

0.11.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 03 Nov 17:58
· 7 commits to master since this release

Included commits: 0.10.1...0.11.0

Fixes

  • Fixed Storefront Assistant product prices: products with several variants now show the abstract price, the same as the product detail page.
  • Fixed the Storefront Assistant full-comparison link, which returned 404 on shops without the product comparison page. The link is now behind a feature flag that is off by default.
  • Fixed Storefront Assistant links on shops with store routing: product, CMS, category, product-set and comparison links now get the store prefix.
  • Fixed the Storefront Assistant widget, which showed when no agent was enabled.
  • Fixed the Storefront Assistant prompt and conversation-delete endpoints, which accepted an unknown agent, non-array attachments and an empty delete payload; they now return 400.
  • Fixed the expanded chat panel under the shop header, horizontal scroll at small widths, overflowing follow-up chips, and the page-context chip that could not be attached again.
  • Fixed the attachment notice texts: readable file types and a readable size limit.
  • Fixed a stored chat session that the next customer in the same browser could restore: the session is bound to a hash of the customer reference, and the chat removes the session of another customer.
  • Fixed the Back Office assistant trigger, which covered the configuration save bar.

Improvements

  • Introduced AiCommerceConfig::isStorefrontAssistantProductComparisonPageEnabled(). The default is false, so a comparison has no full-comparison link; set IS_STOREFRONT_ASSISTANT_PRODUCT_COMPARISON_PAGE_ENABLED to true in the project config when the product comparison page is installed.
  • Introduced AiCommerceConfig::isStorefrontAssistantStoreRoutingEnabled().
  • Introduced the ai_commerce.storefront_assistant.attachment.too_large_size glossary key with the %maxSize% placeholder.
  • Adjusted the attachment notice to use only the ai_commerce.storefront_assistant.attachment.too_large_size glossary key. Projects must import this key: en_US "File is too large. Maximum size is %maxSize%.", de_DE "Datei ist zu groß. Maximale Größe: %maxSize%.".
  • Introduced the features.sessionPersistence.clearStorageKeys chat option. When another customer signs in, chat-session-persistence removes the stored session and these keys and does not restore them.
  • Added the spryker/price-product dependency.
  • Adjusted the constructors of PriceProductProductExpander, ProductComparisonBuilder, ShopPageReader, SuggestionResultFormatter, SeeAllLinkBuilder, ProductSetReader and ProductBundleDetailsExpander. Projects that extend these classes must update their factories.
  • Adjusted StorefrontAssistantWidget with the chatOwnerToken parameter. Projects that override the widget template must pass chatOwnerToken as chat.owner and the agent selector storage key in features.sessionPersistence.clearStorageKeys.