Skip to content

Releases: vuestorefront/vue-storefront

@vue-storefront/[email protected]

18 Sep 11:36
db35876
Compare
Choose a tag to compare

Patch Changes

  • [FIXED] Headers with same name will now have their values merged using the ";' delimiter, rather than ",". This is seen when middleware and defaultRequestConfig set the same header - e.g. Cookie.

After this change, Cookie: vsf-locale=en + Cookie: custom-cookie=123 will result in Cookie: vsf-locale=en; custom-cookie=123, rather than being wrongly separated by ,.

@vue-storefront/[email protected]

12 Sep 10:01
f3e5df7
Compare
Choose a tag to compare

Minor Changes

  • [CHANGED] defaultMethodsRequestConfig, so the getCategory, and getPage methods will use GET request as a default.

@vue-storefront/[email protected]

12 Sep 10:01
f3e5df7
Compare
Choose a tag to compare

Minor Changes

  • [CHANGED] defaultMethodsRequestConfig, so the getCategory, and getPage methods will use GET request as a default.

@vue-storefront/[email protected]

02 Sep 12:23
c7bca8a
Compare
Choose a tag to compare

Patch Changes

@vue-storefront/[email protected]

02 Sep 12:23
c7bca8a
Compare
Choose a tag to compare

Major Changes

  • [CHANGED][BREAKING] Changed return type of createServer() from Express to Server (from built-in node:http package). Both of those types' interfaces have the .listen() method with the same shape. In some older templates for starting the middleware (middleware.js in your repo) you come across:
async function runMiddleware(app: Express) {

If you're using that older template, please change the Express type to Server:

+ import { Server } from "node:http"
+ async function runMiddleware(app: Server) {
- async function runMiddleware(app: Express) {

@vue-storefront/[email protected]

29 Aug 10:44
492567c
Compare
Choose a tag to compare

Patch Changes

  • [CHANGED] the package @vue-storefront/sdk is now a peer dependency instead of dependency

@vue-storefront/[email protected]

29 Aug 10:44
492567c
Compare
Choose a tag to compare

Patch Changes

  • [CHANGED] the package @vue-storefront/sdk is now a peer dependency instead of dependency

@vue-storefront/[email protected]

28 Aug 11:56
c7befab
Compare
Choose a tag to compare

Patch Changes

[FIXED] Removed backquote from defineSdkConfig.template

@vue-storefront/[email protected]

27 Aug 10:25
8b83581
Compare
Choose a tag to compare

Major Changes

  • [BREAKING]: Added functionality that automatically configures the proper URLs for SSR & SPA modes when mutlistore mode is enabled. Left your environment variables like in normal mode, just set NUXT_PUBLIC_ALOKAI_MULTISTORE_ENABLED to true.

@vue-storefront/[email protected]

27 Aug 10:25
8b83581
Compare
Choose a tag to compare

Minor Changes

  • [CHANGE]: Added the resolveSdkOptions helper that automatically setup proper SSR & SPA URLs for middleware when multistore option is enabled. To use it, change your SDK configuration:
-import type { CreateSdkOptions } from '@vue-storefront/next';
+import { resolveSdkOptions } from '@vue-storefront/next';

-const options: CreateSdkOptions = {
+const options = resolveSdkOptions({
  middleware: {
    apiUrl,
    cdnCacheBustingId,
    ssrApiUrl,
  },
  multistore: {
    enabled: isMultiStoreEnabled,
  },
});