Skip to content

@vue-storefront/next@3.0.0-rc.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 21 Jun 06:59
· 50 commits to main since this release

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.