# Change Log

All notable changes to this project will be documented in this file. See Conventional Commits (opens new window) for commit guidelines.

# 1.8.4 (2022-08-26)

# Bug Fixes

  • cart is no longer cleared when choosing store in shipping step
  • add missing key back to getFacetCategories
  • fixed links to products in order history
  • unable to place an order with an invalid coupon

# Features

  • handle cart discount invalid state
  • improve TTFB by reducing api response size
  • custom query for customerUpdateMe

# Reverts

  • init function

# 1.8.3 (2022-08-11)

# Bug Fixes

  • added option to reload cart
  • product page ssr error
  • state/province in my account is covered with one of it
  • getCategories hardcoded limit param
  • added option customFilters for useProduct composable in search method

# Features

  • implementing init function for middleware

# 1.8.2 (2022-07-25)

# Bug Fixes

  • replaced SfHero carousel with SfBanner on homepage
  • divided sections on shipping and billing pages
  • fixed disappearing padding in StoreLocator component
  • added clickOutside directive from SFUI
  • title from SfMegaMenuColumn in SearchResults is not clickable anymore
  • unified order summary on desktop view
  • redirect to 404 page on PDP when error occurs
  • fixed alignment of products on category page

# Features

  • separated middleware initialization
  • prevent out of stock purchase for Click&Collect
  • added empty cart page
  • reduced size of product page
  • language change without full page reload
  • added method getCategorySlugs for productGetters

# 1.8.1 (2022-07-11)

# Bug Fixes

  • removed redundant aria-label from buttons / CLS on PLP
  • duplicated products in the cart
  • fixed adding promo code on payment step
  • fix redirect on checkout
  • unable to enter my account page
  • bottom navigation overlapping lang modal
  • payment method "cash on delivery" is cached after one purchase

# Features

  • saved checkout steps
  • unifying Click&Collect behavior - Storelocator page removal
  • remove all items from the cart
  • added login button in checkout
  • added loaders for product cards
  • added pagination for reviews on PDP

# 1.8.0 (2022-06-29)

# Bug Fixes

  • adding and editing addresses in my account
  • breadcrumbs linking
  • edit button in payment does not work
  • wrong language icon
  • add custom ClientSideOnly component
  • use client-only instead isMounted
  • bug with customQuery in useUser.register
  • search results cannot be closed
  • hide categories when it not contains any products
  • fixed storelocator badge position
  • lang files missing comma
  • pass custom query on to original api method

# Features

  • change functional anchors to buttons
  • seo improvements
  • bundle size optimization
  • add new checkout step - customer email
  • middleware separation
  • node version bump, LTS
  • support for screen reader
  • added empty states
  • add linking to products in cart sidebar
  • hide categories when it not contains any products
  • links renamed
  • update SFUI to 0.13.2

# 1.7.4 (2022-08-26)

# Bug Fixes

  • add missing key back to getFacetCategories
  • fixed images not showing on product list pages

# Features

  • custom query for customerUpdateMe

# 1.7.3 (2022-08-05)

Please note that these changes are available in version 1.8.3

# Bug Fixes

  • getCategories hardcoded limit param
  • added option customFilters for useProduct composable in search method

# 1.7.2 (2022-05-24)

# Bug Fixes

  • added missing store locator icon on mobile devices
  • add option to overwrite enhanceProduct function
  • calculating shipping price with discount
  • removed unnecessary checkbox on register screen

# Features

  • filter products by channel
  • getCart api method is now deprecated
  • added http-cache module

# 1.7.1 (2022-04-26)

WARNING

This version is now deprecated. Please use 1.7.2 instead.

# Bug Fixes

  • state dropdown is no longer shown when not needed

# Features

  • added support for custom field in setShippingAddressAction and setBillingAddressAction
  • added extra parameter for addReview and getReview in useReview composable - where
  • additional field in customer update api call - date of birth
  • added form for submitting review

# 1.7.0 (2022-04-20)

# Bug Fixes

  • added missing styles for sf-store
  • PLP filters are removed on page reload
  • selecting billing address redirects to the home page
  • remove setting variable based on header's value
  • missing app object for Category page
  • pass customQuery to useFacet
  • thank you page addBasePathFilter error
  • unable to change language after store change
  • wishlist import

# Features

  • upgrade SFUI in the theme
  • add store configuration from nuxt.config.js
  • add ui notification system
  • store-locator design on channel change
  • export composables helpers
  • add nuxt-image module
  • remove mobile observer
  • set modern=client mode
  • click and collect shipping method
  • add change method to useChannel
  • add agentkeepalive
  • update types

# 1.6.1 (2022-03-24)

# Bug Fixes

  • change docker namespace
  • security: added secure flag for token cookie

# Features

  • cache control module - remove cache from theme
  • add customQuery for getCart
  • export composables helpers
  • native API error handling

# 1.6.0 (2022-02-18)

# Bug Fixes

  • tokenProvider.invalidateTokenInfo() is not a function error
  • add missing env example for Multistore
  • redis environment variables names collision
  • use locale param instead of acceptLanguage for faceting api functions
  • fixes broken usage of customQuery in useProduct composable
  • fix HTML missmatch onSSR for Home.vue
  • add languageMap configuration for facet accepted language
  • fixed logo not loading while page refresh
  • fixed vue warn due to invalid component name
  • removing mockedSearchProducts
  • fix double mounting carousel component
  • wishlist not being fetched nor refreshed upon login and logout actions
  • breadcrumbs mismatch url
  • added missing type for ProductsSearchParams
  • remove deprecation warning for mode universal
  • handle error after createMyOrderFromCart request
  • nuxt module declaration
  • possibility to add products to the cart/wishlist from related
  • update deprecated apollo-link and apollo-client
  • error while deleting shipping addresses
  • search results add to cart wishlist

# Features

  • billing and shipping address not present in checkout
  • add composable to get all languages information
  • get project settings
  • upgrading from nuxt-i18n to nuxtjs/i18n
  • added priceTransform helper
  • add base path in templates
  • added StoreLocator component
  • add channels api and composable
  • add useInventory
  • multistore feature flag
  • add SameSite cookie attribute
  • backport composables from enterprise packages
  • performance improvements
  • remove unnecessary css
  • add multiple filtering strategy for faceting
  • dockerfile update
  • useFacet integration inside Home.vue
  • optimise footer social icons
  • switching currency
  • add missing static translations within app via vue-i18n

Please refer to the migration guide (opens new window) for more information.

# 1.5.0

# Bug Fixes

  • add wishlist build fix
  • removing hardcoded categories from HeaderNavigation
  • fixed issues with adding/removing products to/from wishlist
  • fixed doubled review types export
  • fixed navigate to MyAccount page
  • fixed wishlist product prices
  • fixed handleAfterAuth method for customToken
  • bump SFUI version that fixes memory leak
  • fix for ancestors on PDP page over SSR and fix for docs
  • update use cart method for newer one
  • added usage of FiltersSidebar component
  • fixed issue related with building valid query
  • tokenProvider.invalidateTokenInfo() is not a function error
  • update deprecated apollo-link and apollo-client
  • fixes broken usage of customQuery in useProduct composable
  • handle error after createMyOrderFromCart request
  • possibility to add products to the cart/wishlist from related

# Features

# BREAKING CHANGES

  • faceting no longer uses REST API but GraphQL API instead
  • changed organization's name under which we release the commercetools integration from @vue-storefront to @vsf-enterprise

Please refer to the migration guide for more information.

# 1.4.1

# 1.4.0

# 1.3.6

# 1.3.3

# 1.3.2

  • [BREAKING] Fix loading user and cart information (6265 (opens new window)) - Filip Sobol (opens new window)

    Before After Comment Module
    loadUser was called directly inside setup method in CartSidebar.vue component loadUser is called inside onSSR callback in CartSidebar.vue component Calling loadUser directly inside setup method caused hydration issues, since cart information was not properly loaded during SSR. Additionally cart will now be automatically updated after calling load from the useUser composable, the same way as it happens when calling logIn, logOut and register. commercetools theme
  • Add server-specific API client (6321 (opens new window)) - Filip Sobol (opens new window)

# 1.3.1

# 1.3.0

# 1.2.3

# 1.2.2

# 1.2.1

# 1.2.0

# 1.2.0-rc.3

# 1.2.0-rc.2

Before After Comment Module
customQuery was used as a function customQuery is a key-value object The key is a query name, value is the name of a new query function, defined in the middleware config commercetools

# 1.1.7

# 1.1.6

# 1.1.5

# 1.1.6

# 1.1.5

# 1.1.3

# 1.1.2

  • moved from using attributesList to attributesRaw
  • add 'once' to prevent font reload on each reactivity event (#5513 (opens new window))

# 1.1.1

# 1.1.0

# 1.0.1-rc.1

  • updated version of core

# 1.0.0-rc.1

# 0.2.6

# 0.2.5

# 0.2.4

# Changes

# 0.2.3

# Changes

# 0.2.2

# Breaking changes

# Changes

# 0.1.0

# Change Log