Change Log
7.0.0
Patch Changes
- Updated dependencies:
- @alokai/connect@2.4.0
6.0.2
Patch Changes
- Updated dependencies:
- @alokai/connect@2.3.2
6.0.1
Patch Changes
- Updated dependencies:
- @alokai/connect@2.3.1
6.0.0
Patch Changes
- CHANGED Bumped pinned dependency versions (defu, glob, h3, lodash-es, minimatch, path-to-regexp, rollup, diff, uuid) to patched releases within the same major to address known security vulnerabilities. No public API or runtime behavior change.
- CHANGED Node engines tightened to
^20.10.0 || >=22.14.0to match the runtime support range for JSON ESM imports withwith { type: "json" }. - Updated dependencies:
- @alokai/connect@2.3.0
5.0.0
Minor Changes
- ADDED Error adapter for Builder.io client with standardized error normalization.
What changed:
All Builder.io client methods now automatically normalize errors to HttpError instances:
- HTTP errors from the API preserve their original status codes (if available)
- Generic errors (network issues, fetch failures) return 502 Bad Gateway
- All errors include
upstream: truemarker and preserve the original error cause for debugging
New exports:
errorAdapter- ProvidescreateNormalizer()andwithErrorNormalizer()methodsBuilderAdapter- Type interface for the error adapter
Migration notes:
The error adapter is automatically applied to clients created via init(). If you have custom error handling logic that depends on catching native Builder.io SDK errors directly, you should now catch HttpError from @alokai/connect/middleware instead. The original error is available via the error.cause property.
Patch Changes
- CHANGED Updated internal dependencies for Yarn 4 compatibility.
- CHANGED Align dependency versions across SDKs, tooling, and shared configs.
- CHANGED Replaced Rollup with tsdown for
@vsf-enterpriseand@alokaipackage builds. - FIXED Standardize type usage to always reference API type packages across integrations and SDKs.
- Updated dependencies:
- @alokai/connect@2.0.0
4.0.1
Patch Changes
- DEPRECATED
ContextualizedEndpointstype. UseEndpointsinstead. - CHANGED Removed deprecated
context.apicalls
4.0.0
Major Changes
- CHANGED Guarantee compatibility with
@alokai/connectpackage. - CHANGED Updated the package for compatibility with Node.js 22.
Key Updates:
- Upgraded to the latest version of Node.js 22
- Updated CI pipelines to use Node.js 22 for consistency.
- Updated
.nvmrcor.node-versionfiles to specify Node.js version22.14. - Upgraded
@types/nodeto version^22.13.17for compatibility with the latest Node.js features.
Recommendations:
- Use Node.js version
22.14.0or higher for optimal performance, security, and compatibility. - While Node.js 20 is technically supported, it is not recommended as it may cause compatibility issues with certain packages and has not been thoroughly tested.
CHANGED Replaced core dependencies with a new
@alokai/connectpackage.@vue-storefront/middleware,@vue-storefront/sdk,vue-storefront/logger,vue-storefront/unified-data-model,@vue-storefront/multistorewere replaced with@alokai/connect. The replacement preserves the same functionality and interface as the original packages. To read more about the@alokai/connectpackage, please refer to the documentation.
Minor Changes
- CHANGED Update axios version to "^1.7.9"
Patch Changes
- Updated dependencies:
- @alokai/connect@1.0.0
4.0.0-rc.5
Patch Changes
- Updated dependencies:
- @alokai/connect@1.0.0-rc.4
4.0.0-rc.4
Major Changes
- CHANGED Updated the package for compatibility with Node.js 22.
Key Updates:
- Upgraded to the latest version of Node.js 22
- Updated CI pipelines to use Node.js 22 for consistency.
- Updated
.nvmrcor.node-versionfiles to specify Node.js version22.14. - Upgraded
@types/nodeto version^22.13.17for compatibility with the latest Node.js features.
Recommendations:
- Use Node.js version
22.14.0or higher for optimal performance, security, and compatibility. - While Node.js 20 is technically supported, it is not recommended as it may cause compatibility issues with certain packages and has not been thoroughly tested.
Patch Changes
- Updated dependencies:
- @alokai/connect@1.0.0-rc.3
4.0.0-rc.3
Minor Changes
- CHANGED Update axios version to "^1.7.9"
Patch Changes
- Updated dependencies:
- @alokai/connect@1.0.0-rc.2
4.0.0-rc.2
Patch Changes
- Updated dependencies:
- @alokai/connect@1.0.0-rc.1
4.0.0-rc.1
Major Changes
Update packages to work with connect rc version
Patch Changes
- Updated dependencies:
- @alokai/connect@1.0.0-rc.0
4.0.0-rc.0
Major Changes
CHANGED Replaced core dependencies with a new @alokai/connect package. @vue-storefront/middleware, @vue-storefront/sdk, vue-storefront/logger, vue-storefront/unified-data-model were replaced with @alokai/connect. The replacement preserves the same functionality and interface as the original packages. To read more about the @alokai/connect package, please refer to the documentation. You will also find a migration guide in the documentation.
3.0.0
Major Changes
CHANGED
- Update
@vue-storefront/middlewareto^5.1.0 - Update
@vue-storefront/unified-data-modelto^3.0.0
2.3.0
Minor Changes
- ADDED
userAttributesparam togetPage. It allows you to pass any custom user attributes to the Builder.io's request.
2.2.0
Minor Changes
- CHANGED Upgraded the path-to-regexp package to version
8.0.0. Note that page path patterns must now follow a different convention. For more details, please refer to the Release Notes forpath-to-regexp@8.0.0.
2.1.2
Patch Changes
- CHANGED
getPagemethod requires aunifiedconfiguration withresolvePagesandresolveFallbackPagedefined. - FIXED RegExp path matching in
resolvePages.
2.1.1
Patch Changes
- FIXED Passing locale to Builder.io API
2.1.0
Minor Changes
- ADDED Unified extension which is available at the
/unifiednamespace and adds a newgetPageendpoint. The endpoint allows to fetch a unified page object, regardless of whether our page is built from a single Page model or multiple Section models.
To use the extension on the Storefront side:
- Export extension types in the
storefront-middleware/types.tsfile:
+ export type { UnifiedEndpoints as UnifiedCmsEndpoints } from '@vsf-enterprise/builderio-api';- In the SDK config, add a new
middlewareModule:
+ import type { UnifiedCmsEndpoints } from 'storefront-middleware/types';
+ unifiedCms: buildModule(middlewareModule<UnifiedCmsEndpoints>, {
+ apiUrl: `${config.middlewareUrl}/builderio/unified`,
+ defaultRequestConfig: {
+ headers: getRequestHeaders(),
+ },
+ }),
// ...- In your page component, use the
getPagemethod to fetch the page data:
const page = await sdk.unifiedCms.getPage({
path: "/",
locale: "en",
});- CHANGED The
BuilderIntegrationContextinterface has been renamed toIntegrationContext. Update the relevant imports in your application.
import type {
- BuilderIntegrationContext
+ IntegrationContext as BuilderIntegrationContext
} from '@vsf-enterprise/builderio-api';2.0.0
Major Changes
Created Builder.io new middleware module.
3.0.0
Major Changes
- BREAKING Updated
@vue-storefront/middlewareversion to4.1.0. Make sure this version is used in your project.
{
...
"dependencies": {
- "@vue-storefront/middleware": "3.x.x",
+ "@vue-storefront/middleware": "4.1.0"
}
}2.0.1
Patch Changes
Update axios to ^0.28.0 to avoid CVE-2023-45857
2.0.0
Major Changes
Update minimum Node version to 18
1.0.0
Major Changes
- ea7594a: Initial Major release