Releases: vuestorefront/vue-storefront
Releases · vuestorefront/vue-storefront
@vue-storefront/middleware@5.3.2
Patch Changes
- [FIXED] Fix /readyz returning 503 if readinessProbes not passed in middleware.config.ts
Before this fix, sending a GET request to http://localhost:4000/readyz
would return { "status": "error" } and a HTTP 503 status. This happened only when readinessProbes
wasn't added to middleware options (the default behavior)
@vue-storefront/cli@6.0.0
Major Changes
[REMOVED] generate
command. If you are an enterprise user, please check the Getting started page in the docs. If you are a community user, please check the example Next.js project and Nuxt project.
@vue-storefront/middleware@5.3.1
Patch Changes
[FIXED] type of defaultErrorHandler
@vue-storefront/middleware@5.3.0
Minor Changes
[ADDED] defaultErrorHandler
is now exported from the package. Example usage:
import type { Integration } from "@vue-storefront/middleware";
import type { MiddlewareConfig } from "@vsf-enterprise/sapcc-api";
import { defaultErrorHandler } from "@vue-storefront/middleware";
export const config = {
integrations: {
commerce: {
errorHandler: (error, req, res) => {
// Perform custom actions before delegating to the default error handler
defaultErrorHandler(error, req, res);
},
} satisfies Integration<MiddlewareConfig>,
},
};
@vue-storefront/middleware@4.3.2
Patch Changes
- [FIXED] Now parameters are properly sanitized and validated before being used in the middleware.
@vue-storefront/eslint-config@4.1.0
Minor Changes
[CHANGED] some rules to loose up linting a bit (non-breaking). Changes include:
import/no-anonymous-default-export
: got turned off, as it brings no real value, more about the rule here,@typescript-eslint/no-use-before-define
:functions
option has been set asfalse
to allow usage of hoisted functions. More details in the documentation.
@vue-storefront/sdk@3.4.1
Patch Changes
- [FIX] Fixed type inference for function-based configurations when using the extend method. Now the
methods
object is correctly typed. - [FIXED] Fixed multiple files upload, now it works as expected.
@vue-storefront/eslint-config@4.0.3
Patch Changes
- [CHANGED] Added
/public
directory to ignored destinations in config for nextjs.
@vue-storefront/eslint-config@4.0.2
Patch Changes
- [CHANGED] Update typescript-eslint to version that supports the new TypeScript 5.7
@vue-storefront/eslint-config-integrations@1.0.4
Patch Changes
- [CHANGED] Update typescript-eslint to version that supports the new TypeScript 5.7