Releases: vuestorefront/vue-storefront
Releases · vuestorefront/vue-storefront
@vue-storefront/nuxt@3.1.1
Patch Changes
- [FIXED] Using the runtime config is now working properly. You can use
NUXT_PUBLIC_VSF_MIDDLEWARE_API_URL
,NUXT_PUBLIC_VSF_MIDDLEWARE_SSR_API_URL
andNUXT_PUBLIC_VSF_MULTISTORE_ENABLED
environments variables to define config in the runtime.
@vue-storefront/middleware@4.1.0
Minor Changes
- [CHANGED] Middleware extension hooks and the onCreate function can now be asynchronous. Examples:
// middleware.config.ts
const middlewareExtension = {
name: "example-extension",
hooks: () => ({
beforeCreate: async ({ configuration }) => Promise.resolve(configuration),
afterCreate: async ({ configuration }) => Promise.resolve(configuration),
beforeCall: async ({ args }) => Promise.resolve(args),
afterCall: async ({ response }) => Promise.resolve(response),
}),
};
// index.server.ts
import { apiClientFactory } from "@vue-storefront/middleware";
const { createApiClient } = apiClientFactory({
onCreate: async (config) =>
Promise.resolve({
config,
client: {},
}),
api: {},
});
export { createApiClient };
@vue-storefront/eslint-config@3.1.2
Patch Changes
- [FIXED] Next strict configuration error
@vue-storefront/eslint-config@3.1.1
Patch Changes
- [FIXED] - Eslint plugin installation error
@vue-storefront/jest-config@1.0.2
Patch Changes
Fix typo in coverageReporters
@vue-storefront/eslint-config@3.1.0
Minor Changes
[ADDED] Eslint rules for Next.js v14
@vue-storefront/middleware@4.0.1
Patch Changes
- [CHANGED] Fix typo in default error handler
Now the default error message for error responses bearing a 4xx status code will be
"Request failed with status code ${status}" instead of "Request faileds [...]".
@vue-storefront/jest-config@1.0.1
Patch Changes
Don't output coverage results to stdout
@vue-storefront/eslint-config-integrations@1.0.1
Patch Changes
Update typescript-eslint to version that supports latest versions of TypeScript (^5.4.0)
@vue-storefront/sdk@3.0.0
Major Changes
- [CHANGED] Changed minimum Node version from 16 to 18. The condition that was forcing the Node version to be lower than 19 is also removed.