Releases: vuestorefront/vue-storefront
@vue-storefront/[email protected]
Patch Changes
[FIXED]: Added getCurrencies unified endpoint to be fetch by HTTP GET. This change enable caching this endpoint on CDN.
@vue-storefront/[email protected]
Minor Changes
- [ADDED] Provided easy access to methods added by middleware extensions via the
context.extendedApi
property.
const extensionA = {
name: 'extensionA',
extendApiMethods: {
methodA: async () => { ... }
}
}
const extensionB = {
name: 'extensionB',
extendApiMethods: {
methodB: async () => { ... }
}
}
const extensionC = {
name: 'extensionC',
extendApiMethods: {
methodC: async (context) => {
context.extendedApi.methodA();
context.extendedApi.extensionB.methodB();
}
}
}
@vue-storefront/[email protected]
Minor Changes
[ADDED]: Using the GIT_SHA
environment variable as secondary input for cdnCacheBustingId
option. You can still override this value through NUXT_PUBLIC_ALOKAI_MIDDLEWARE_CDN_CACHE_BUSTING_ID
.
[ADDED] Value of Busting ID for CDN Cache. You can access it via config.cdnCacheBustingId
.
[CHANGED] Deprecated middlewareUrl
in defineSdkConfig
context. Use config.middlewareUrl
instead.
[CHANGED] Deprecated defaults
in defineSdkConfig
context. Use config.defaultMethodsRequestConfig
instead.
[CHANGED] Depreacted vsf
key in RuntimeConfig. Use alokai
instead. You should change you environment variables. Example: Change from NUXT_PUBLIC_VSF_MIDDLEWARE_API_URL
to NUXT_PUBLIC_ALOKAI_MIDDLEWARE_API_URL
.
[CHANGED] Internal naming changed from VSF to Alokai. For e.g. we inject the SDK into the $alokai
key in Nuxt App instead of $vsf
as in previous versions.
@vue-storefront/[email protected]
Major Changes
[BREAKING CHANGE]: Now the SDK is separately initialized on the server and client. We recommend splitting configuration files for SDK Options and Configuration to re-use them between instances. Introduce the defineSdkConfig
helper function. Changed the SdkProvider
interface, taking only type and no arguments. The SDK instance is passed to the Provider in the place where it's used.
Minor Changes
[ADDED] Value of Busting ID for CDN Cache. You can access it via config.cdnCacheBustingId
.
[CHANGED] Deprecated middlewareUrl
in defineSdkConfig
context. Use config.middlewareUrl
instead.
[CHANGED] Deprecated defaults
in defineSdkConfig
context. Use config.defaultMethodsRequestConfig
instead.
@vue-storefront/[email protected]
Minor Changes
[ADDED]: Using the GIT_SHA
environment variable as secondary input for cdnCacheBustingId
option. You can still override this value through NUXT_PUBLIC_ALOKAI_MIDDLEWARE_CDN_CACHE_BUSTING_ID
.
[ADDED] Value of Busting ID for CDN Cache. You can access it via config.cdnCacheBustingId
.
[CHANGED] Deprecated middlewareUrl
in defineSdkConfig
context. Use config.middlewareUrl
instead.
[CHANGED] Deprecated defaults
in defineSdkConfig
context. Use config.defaultMethodsRequestConfig
instead.
[CHANGED] Depreacted vsf
key in RuntimeConfig. Use alokai
instead. You should change you environment variables. Example: Change from NUXT_PUBLIC_VSF_MIDDLEWARE_API_URL
to NUXT_PUBLIC_ALOKAI_MIDDLEWARE_API_URL
.
[CHANGED] Internal naming changed from VSF to Alokai. For e.g. we inject the SDK into the $alokai
key in Nuxt App instead of $vsf
as in previous versions.
@vue-storefront/[email protected]
Major Changes
[BREAKING CHANGE]: Now the SDK is separately initialized on the server and client. We recommend splitting configuration files for SDK Options and Configuration to re-use them between instances. Introduce the defineSdkConfig
helper function. Changed the SdkProvider
interface, taking only type and no arguments. The SDK instance is passed to the Provider in the place where it's used.
Minor Changes
[ADDED] Value of Busting ID for CDN Cache. You can access it via config.cdnCacheBustingId
.
[CHANGED] Deprecated middlewareUrl
in defineSdkConfig
context. Use config.middlewareUrl
instead.
[CHANGED] Deprecated defaults
in defineSdkConfig
context. Use config.defaultMethodsRequestConfig
instead.
@vue-storefront/[email protected]
Minor Changes
- [CHANGED] cdnCacheBustingId is now optional
@vue-storefront/[email protected]
Patch Changes
- [CHANGED] shared package wasn't being bundled with the release of the package
@vue-storefront/[email protected]
Major Changes
- [CHANGED] Updated core sdk dependency to latest version
- [ADDED] Added .config parameter in createSdk callback
Patch Changes
- Updated dependencies:
- @vue-storefront/[email protected]
@vue-storefront/[email protected]
Minor Changes
- [ADDED] Added .config parameter in createSdk callback
Patch Changes
- Updated dependencies:
- @vue-storefront/[email protected]