Change Log
4.0.1
Patch Changes
- Updated dependencies:
- @vsf-enterprise/cms-components-utils@2.0.0
4.0.0
Major Changes
- CHANGED The interface of the
connectFunctions
has changed. Now they give you access to: context
as the first argument,experienceElement
as the second argument,- HTML
node
as the third argument.
If you were customizing the connectFunctions
, please update your implementation accordingly:
const sdk = useSdk();
sdk.cms.utils.initLivePreview({
page: rawPage.value,
connectFunctions: {
- connectComponent: (experienceComponent, context) => {},
+ connectComponent: (context, experienceComponent, node) => {},
- connectDocument: (experienceDocument, context) => {},
+ connectDocument: (context, experienceDocument, node) => {},
- connectContainer: (experienceContainer, context) => {},
+ connectContainer: (context, experienceContainer, node) => {},
- connectContainerItem: (experienceContainerItem, context) => {},
+ connectContainerItem: (context, experienceContainerItem, node) => {},
- connectRootComponent: (experienceRootComponent, node) => {},
+ connectRootComponent: (context, experienceRootComponent, node) => {},
}
});
// before
//after
sdk.utils.
3.2.0
Minor Changes
- ADDED New
initLivePreview()
utility for initializing the connection with the Experience Manager. See the method's TSDoc for more information.
3.1.0
Minor Changes
- CHANGED The
extractComponents
utility has been marked as @deprecated and will be removed in 4 years from now (July 2028). UsegetPage
method which returns unified CMS page data.
- const extractedData = sdk.bloomreachContent.utils.extractComponents(params);
+ const extractedData = sdk.unifiedCms.getPage(params);
3.1.0-rc.0
Minor Changes
- ADDED New
initLivePreview()
utility for initializing the connection with the Experience Manager. See the method's TSDoc for more information.
3.0.0
Major Changes
- ADDED Implemented Alokai's middlewareModule. The module can now connect to endpoints exposed by a newly created
@vsf-enterprise/bloomreach-content-api
package. Make sure you addapiUrl
to the module's configuration and install@vsf-enterprise/bloomreach-content-api
in your Server Middleware.
2.1.0
Minor Changes
- CHANGED Updated
@bloomreach/spa-sdk
version to23.3.0
.
2.0.1
Patch Changes
Update axios to ^0.28.0 to mitigate security vulnerability CVE-2023-45857
2.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.