Skip to main content

2304 version 19.0.0 - 19.5.3

· 4 min read
geins.io

[19.5.3] - 2023-06-30

Fixed

  • Hide show-all link in <CaPanelNavigation /> if url is empty

[19.5.2] - 2023-06-09

Fixed

  • Handle outside click for <CaHeaderNavigation />

[19.5.1] - 2023-05-22

Fixed

  • Setting external shipping fee even if it's 0

[19.5.0] - 2023-05-20

NOTE!

If you want to use the more SEO-friendly version of the list pagination, you have to remove CaListPagination from your storefront to use the one from Ralph UI instead.

Added

  • CaListPagination component (moved from Ralph Storefront to Ralph UI and improved according to SEO standards)
  • Html attributes from i18n
  • Canonical from i18n

[19.4.0] - 2023-05-20

Added

  • Option to set $config.useExternalGtm to use disable the internal pushes to GTM
  • Added orderCart and orderId to checkout:purchase event payload

Fixed

  • Sending product-detail:impression event when changing variant on product page
  • Only sending page:impression if path has actually changed (not just query params)

[19.3.0] - 2023-05-17

Added

  • Added merchentData to the checkout store. Will get sent with createOrUpdateCheckout if set
  • Making articleNumber and sellingPriceIncVat always available
  • Added index and pageSize to the product:impression event payload

Fixed

  • Correct product to be sent with cart:add and cart:remove events

[19.2.1] - 2023-05-12

Fixed

  • Turned of debugging in checkout

[19.2.0] - 2023-05-12

Added

  • Possibility to add an external shipping fee in checkout
  • Possibility to add full product object to favorite data payload

Fixed

  • Updated vuese documentation

[19.1.1] - 2023-05-10

Fixed

  • Fixed bug with currentMaxCount being wrong when server side rendering paginated list

[19.1.0] - 2023-05-04

This update improves the events push and adds some events.

Added

  • Events:
    • widget:click - data payload: { href }
    • menu:click - data payload: { item }
    • search:click - data payload: { type, data }

Changed

  • Menus are now again fetched even server-side. Added a prop to MixMenu to fetch only client-side if needed: onlyClientSide
  • State removed from events payload since it's reachable anyways

[19.0.0] - 2023-04-21

Breaking changes in this major release

You will need to make these updates to your storefront to be able to use this version of Ralph UI:

  • Remove CaToggleFavorite from your storefront to use the one from Ralph UI instead

  • Remove plugins/get-path.js and use plugins/ralph.js instead

  • Add events.js to your store folder and import store from ralphevents (see commit in Ralph Storefront for reference)

  • Update click handlers for CaProductCard (see commit in Ralph Storefront for reference)

    See guide for implementation

Added

  • events (store/ralphevents.js) added to store with the following events emitted:

    • cart:add - data payload: { item, product }
    • cart:remove - data payload: { item, product }
    • page:impression - data payload: { route }
    • product:click - data payload: { product, page, index, pageSize }
    • product:impression - data payload: { product, page }
    • product-detail:impression - data payload: { product }
    • favorite:add - data payload: { productId }
    • favorite:remove - data payload: { productId }
    • checkout:impression - data payload: {}
    • checkout:update - data payload: { checkout }
    • checkout:purchase - data payload: { order }
    • user:login - data payload: {}
    • user:logout - data payload: {}
    • user:register - data payload: {}
    • user:password-reset - data payload: { email, resetKey }
    • user:delete - data payload: {}
    • newsletter:subscribe - data payload: { email }

    All events also has a payload of:

    • type - the type of event (e.g. cart:add)
    • timestamp - the timestamp of the event
  • CaToggleFavorite component (moved from Ralph Storefront to Ralph UI)

  • Global log function $ralphLog used like so: this.$ralphLog(message, ...args)

  • currentLocaleand currentCurencyin store/channel for it to be included in the state in event payload

Changed

  • Using toggleFavorite action instead of toggleFavorite mutation to be able to emit events

Fixed

  • Fixed error with server side rendering checkout page without cart id

Deprecated

  • plugins/get-path.js - use plugins/ralph.js instead
  • Mutation toggleFavorite - use action toggleFavorite instead