All Release Notes
Changes to commercetools Frontend SDK and its distribution
27 March 2024
Frontend
Frontend Development
Enhancement
SDK
commercetools Frontend SDK underwent changes to improve the developer experience and extensibility of the SDK.
We made the following improvements:
- Added support for multi-tenancy projects with the addition of the extensionVersion property in the base SDK configuration.
- Added the sessionLifetime configuration option to overwrite the default session lifetime of three months.
- Added the cookieHandlingOverride configuration option to overwrite or extend the default cookie handling methods.
To improve the types' stability and the composability of the SDK, we also deprecated the following npm packages:
@commercetools/frontend-domain-types
: the SDK now references the domain types in thepackages/PROJECT_NAME/types
folder inside your project. You can find the latest types in the related GitHub repository:@commercetools/frontend-composable-commerce
: the Composable Commerce SDK integration libraries are now distributed as editable code alongside the SDK template file in thepackages/PROJECT_NAME/frontend/src/sdk
folder. You can find the latest Composable Commerce SDK integration code in the related GitHub repository: