Skip to content

2.0.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 04 Aug 15:08
· 2 commits to master since this release

Included commits: 1.109.5...2.0.0

Improvements

  • Introduced FrontendBuilder to move the YVES webpack build pipeline into ShopUi, allowing projects to configure source paths and build hooks without maintaining a separate build package.
  • Introduced defineConfig() in FrontendBuilder/settings.mts to allow projects to extend or override default source scan paths, icon sprite locations, and pre-webpack build hooks.
  • Added -base-hook extension opt-in to all ShopUi component SCSS mixins, enabling project-level style customization at a named insertion point without modifying core files.
  • Removed empty readyCallback() overrides from ShopUi molecules in favor of the init() lifecycle method.

Breaking Changes

  • Removed the deprecated cart-items-counter molecule — use the cart-counter molecule instead.
  • Renamed readyCallback() to init() in the action-single-click-enforcer molecule — update any project extensions that override readyCallback() in this component.
  • Removed the deprecated price molecule — use the money-price molecule instead.
  • Removed the deprecated noPriceText param from the money-price molecule — override the defaultPriceNoText block instead.
  • Removed the deprecated step param and the {% define inputAttributes %} extension channel from the quantity-input molecule — pass data.inputAttributes instead.
  • Removed the deprecated provider-selector, target-selector, trigger-selector, form-selector, ignore-selector, input-selector, and suggested-item-selector attributes from the ajax-loader, ajax-renderer, toggler-hash, toggler-checkbox, toggler-click, clipboard-copy, suggest-search, form-clear, and autocomplete-form molecules — use the corresponding *-class-name attributes instead.
  • Removed the deprecated *Selector getters from the web components of the molecules listed above — use the *ClassName getters instead.
  • Removed the deprecated public triggers and targets properties from the toggler-click web component.
  • Removed the deprecated readyCallback() hook from the component model — implement init() instead; components still overriding readyCallback() are no longer initialised.
  • Removed the deprecated candidates() function from app/registry — use get() instead.
  • Removed the deprecated mount() method from app/candidate — use define() instead.
  • Removed the deprecated components-ready event and events.ready config key — listen to the components-mount event (events.mount) instead.
  • Removed the deprecated esmHeadScripts, legacyHeadScripts, esmFooterScripts, and legacyFooterScripts blocks and the isNewFrontendBuildSupported variable from the page-blank template.
  • Removed the deprecated {% nowidget %} fallbacks from the footer, header, and side-drawer organisms (NavigationWidgetPlugin global widget for MAIN_NAVIGATION, PAYMENT_PROVIDERS, SHIPMENT_PROVIDERS, FOOTER_NAVIGATION, SOCIAL_LINKS; NewsletterWidget subscription include) — wire the NavigationWidget and NewsletterSubscriptionWidget widgets instead.
  • Removed the deprecated ShopUiTwigServiceProvider — use ShopUiTwigPlugin instead.
  • Removed the deprecated AgentWidgetPluginInterface — use the AgentControlBarWidget widget from the AgentWidget module instead.
  • Removed the deprecated CurrencyWidgetPluginInterface — use the CurrencyWidget widget from the CurrencyWidget module instead.
  • Removed the deprecated DisplayOnBehalfBusinessWidgetPluginInterface — use the BusinessOnBehalfStatusWidget widget from the BusinessOnBehalfWidget module instead.
  • Removed the deprecated LanguageSwitcherWidgetPluginInterface — use the LanguageSwitcherWidget widget from the LanguageSwitcherWidget module instead.
  • Removed the deprecated MenuItemCompanyWidgetPluginInterface — use the CompanyMenuItemWidget widget from the CompanyWidget module instead.
  • Removed the deprecated MiniCartWidgetPluginInterface — use the MiniCartWidget widget from the MultiCartWidget module instead.
  • Removed the deprecated NavigationWidgetPluginInterface — removed without replacement; use the NavigationWidget widget instead.
  • Removed the deprecated PriceModeSwitcherWidgetPluginInterface — use the PriceModeSwitcherWidget widget from the PriceWidget module instead.
  • Removed the deprecated ProductGroupWidgetPluginInterface — use the ProductGroupWidget widget from the ProductGroupWidget module instead.
  • Removed the deprecated ShoppingListWidgetPluginInterface — use the ShoppingListNavigationMenuWidget widget from the ShoppingListWidget module instead.
  • Removed spryker/silex and spryker-shop/newsletter-widget from require-dev and spryker/silex from suggest in composer.json.