You are reading the documentation for Vue Storefront v2. See the latest docs.

Changelog

3.0.0

2.8.1

2.8.0

2.7.6

2.7.5

2.7.4

2.7.3 [DEPRECATED]

2.7.2

2.7.1

Date: 06.07.2022

2.7.0

Date: 05.07.2022

2.6.0

  • Node.js Engine version bump / upgrade to >=14 <=16

  • Docs update / corrects / fixes

  • All new CLI 3.0.0

2.5.13

2.5.12

2.5.7

  • new @vue-storefront/http-cache package

  • [BREAKING] get api host from middleware url (6680 (opens new window)) - Dawid Ziobro (opens new window)

    Before After Comment Module
    The middlewareUrl property was optional The middlewareUrl is required The middlewareUrl property in the nuxt.config.js file is now required. Please follow the instruction in the Migration Guide. @vue-storefront/core
  • [BREAKING] Fix the CustomQueryFn type in core (6681 (opens new window)) - Filip Sobol (opens new window)

    Before After Comment Module
    The CustomQueryFn type had inproper parameters The CustomQueryFn type has parameters as expected by the Server Middleware @vue-storefront/core

2.5.6

2.5.5

2.5.4

2.5.3

2.5.2

2.5.0

  • Refactor Homepage to use Composition API (6432 (opens new window)) - Łukasz Jędrasik (opens new window)

  • Prevent cookie creation during SSR (6442 (opens new window)) - Dawid Ziobro (opens new window)

    Before After Comment Module
    Cookies for currency, locale and country were included in SSR response Cookies for currency, locale and country are generated on client side To prevent generating cookies during SSR (server-side rendering) and allowing caching, change in the nuxt.config.js file is required. Inside the i18n configuration, you should set the detectBrowserLanguage options to false. Then change the order of loaded modules. In the buildModules configuration, move the @vue-storefront/__INTEGRATION__/nuxt module before @vue-storefront/nuxt. Lastly, update the Vue components used to switch locales to use the nuxt-link component instead of the a tag. By default it's located in the StoreLocaleSelector.vue file. core
  • [BREAKING] Update Composition API to 1.2.4 (6452 (opens new window)) - Filip Sobol (opens new window)

    Before After Comment Module
    Composition API module was registered internally by Vue Storefront modules Composition API module must be registered inside projects Please refer to the migration guide for more information Theme

2.4.6

2.4.3

2.4.2

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

    Before After Comment Module
    loadCart was called directly inside setup method in CartSidebar.vue component loadCart is called inside onSSR callback in CartSidebar.vue component Calling loadCart directly inside setup method caused hydration issues, since cart information was not properly loaded during SSR Base theme

2.4.1

2.4.0

2.3.3

2.3.0

2.3.0-rc.3

2.3.0-rc.2

2.2.3

2.2.1

2.2.0

2.1.1-rc.1

  • updated version of nuxt composition-api

2.1.0-rc.1

2.0.12

2.0.11

2.0.10

2.0.9

  • added getEmailAddress getter to userGetters (#4939 (opens new window))
  • added getTotalReviews and getAverageRating to productGetters (#4958 (opens new window))
  • fix ssr transitions
  • updated UseUserShipping & UserShippingGetters interfaces, implemented them in useUserShippingFactory, written & updated tests (#4841 (opens new window))
  • fix sharedRef nullable assigning

2.0.8

2.0.6

2.0.5