- Updated dependencies [46c38b8]
- @builder.io/sdk@2.2.3
- 6dd554f: Update readme with absolute URLs
- c32cbd6: Support single jsx node as
props.children
inwithChildren
- 3764321: Fix: replace broken default value of Video Block with a working link.
- f67242f: types: add
meta
property to Input - Updated dependencies [f67242f]
- @builder.io/sdk@2.2.2
- Fix:
deviceSize
state not getting set properly.
- Fix: sigfault crash when using SDK in Node v20 + M1 Macs. Skips usage of
isolated-vm
in those environments.
- Stricter checking of trusted hosts.
- Use latest core sdk, to fix secure cookie spacing.
- Use latest core sdk, to enable passing
authToken
togetAll
on private models.
- Updated to use latest core sdk (v2.1.0) which now uses
true
as default fornoTraverse
option when fetching multiple content entries.
- Fix: Update core sdk to fix issue with edge runtime in next.js
- Add support for
customComponents
prop onBuilderComponent
- Fix: SSR with text block eval expression
- Fix: remove dev dependency from
dependencies
(nx
andnx-cloud
)
- Add support for loading symbols from other spaces for the
global symbols
feature.
- Allow
builder.get
to be awaited: #2512
- Fix issue with collection/repeat and returning objects from code bindings in SSR.
- Replace deprecated package
vm2
withisolated-vm
. - Fix for excessive caching in nextjs 13
- add back the process keyword with a check for
typeof process
to fix Hydrogen SSR
- remove process keyword to fix Hydrogen SSR
- Fix: Pass locale from parent state to Symbols
- Chore: update
@builder.io/core
to^2.0.4
to fix import issue
- Feature: Add support for
enrich
API flag. - Mark
includeRefs
as deprecated.
apiVersion
property now defaults tov3
.
- Sets the default
apiVersion
tov1
.
- Sets the default
apiVersion
tov3
.
In case you feel the need to use our older API Version v1
, reach out to us at support@builder.io first. But you can override the default by setting apiVersion
explicitly to v1
as follows:
import { builder } from '@builder.io/react';
builder.init('YOUR_BUILDER_PUBLIC_KEY');
builder.apiVersion = 'v1';
More details on the Builder API Versions visit this link.
- Add new
apiVersion
property to toggle between Builder API versions. Defaults tov1
. Possible values:v1
andv3
.
You can set the apiVersion using builder.init
or builder.apiVersion
:
import { builder } from '@builder.io/react';
builder.init('YOUR_BUILDER_PUBLIC_KEY');
builder.apiVersion = 'v3';
- Safe access to node-fetch and process.env.
- Use correct types for
responsiveStyles
, fixes remix type checks.
- Fix hydration errors when a/b testing with react 18
- Fix overriding state in editor's data tab.
- Fix issue with Hydrogen SSR.
- Return null values in bindings when VM2 is not available on the server.
- Fix for
require
is not defined bug on client side.
- Fix SSR issue with hydration
- Add support for custom breakpoints
- Add support for
threshold
andrepeat
options onScrollInView
animations.
- added types for
override
option
- Add support for locale prop on
BuilderComponent
to auto-resolve localized inputs. - Use the latest core sdk version which addresss an issue with rendering in a middleware (also a shopify hydrogen issue, #610).
- updates the patching logic to fix bug while where styling updates in the builder editor don’t properly apply (will quickly revert, until you refresh the preview)
- Fix an issue with previewing drafts of a published data model rendered by
BuilderContent
. - Fix an issue with live editing on a
BuilderContent
containing aBuilderComponent
of the same model.
- Fix an issue with previewing drafts of a published data model rendered by
BuilderContent
. - Fix an issue with live editing on a
BuilderContent
containing aBuilderComponent
of the same model.
- Move React/React-dom to peer dependencies to fix installation warnings.
- Add support for templated variables
{{foo}}
inText
block. - Update vm2 dependency to
3.9.10
.
- Add new hook
useIsPreviewing
to be used instead ofBuilder.isEditing
andBuilder.isPreviewing
flags, to fix hydration warnings while editing or previewing.
- update minimum required react version to >= 16.8
- update
@builder.io/sdk
to1.1.26
(adds bugfix tonoTrack
correctly ignoring session cookies)