npm / @builder.io/sdk-qwik
@builder.io/sdk-qwik
What changed in @builder.io/sdk-qwik 0.23 to 0.26, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-27.
4 breaking4 security5 new APIs and options1 performance1 behavior and defaults20 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@builder.io/sdk-qwik 0.268 changes
Security 1
Variants that cannot match the page locale are no longer rendered, and the inline personalization script no longer embeds variant blocks, preventing server HTML from leaking content for other locales.
New APIs and options 1
Add a component that emits Variant Container and A/B test helper scripts once for every Content rendered inside it; nested BuilderScripts components emit nothing.
Fixes and other changes 6
The original image URL is included only when it has a width descriptor, preventing browsers from downloading the full-size original image on standard-density screens.
In draft previews of localized content, the locale passed to fetchOneEntry or <Content> takes precedence over builder.options.locale in the preview URL.
Persists the A/B test assignment cookie for 30 days instead of for the session, matching setTestCookie in core.
Functions that jsCode adds to context are callable from block actions and bindings when Content receives no context prop.
A binding on id sets the element's id attribute instead of replacing the block's Builder id.
In React, state writes made by jsCode after its first run now re-render the content.
@builder.io/sdk-qwik 0.2524 changes
Breaking changes 3
On Node, writes and deletes on context, builder, and event no longer reach root state; nested state writes and deletes update root state at the full path.
Block binding keys ignore __proto__, constructor and prototype segments to prevent prototype pollution.
Reverts the deduplication fix for the inline A/B test script, restoring its prior behavior.
Security 3
set, setCopyOnWrite, and unset follow only own properties; __proto__ is never allowed, and constructor and prototype are allowed only as the final key.
Content fetch options can no longer override the configured API key.
Validates visual editor message origins against exact trusted hostnames and rejects malformed or non-HTTP origins.
New APIs and options 4
Adds enrichOptions to fetchOneEntry and Content to constrain reference enrichment and tell the Visual Editor which constraints the site fetches with.
showIfcallbacks can receive the current editor locale throughcontext.locale, alongside the existing parent arguments.Adds optional group metadata to Builder.registerComponent so TypeScript integrations can bucket custom components into their own editor insert-menu accordions.
Adds global symbol support for Gen2 SDKs.
Performance 1
Rendering is faster through block processing, copy-on-write bindings, cached component registries and expressions, and reused Node isolates.
Fixes and other changes 13
The reset uses zero-specificity :where(.builder-button), letting a button's own block styles win and allowing global button rules in custom CSS to apply.
Content state and input defaults are copied per render, so render-time state changes no longer appear on the passed content object or leak into cached content.
On Node, function values assigned to state are skipped instead of throwing.
Image blocks with empty alt text no longer include the redundant presentation role.
Variant Containers now honor Builder Studio targeting overrides passed through builder.userAttributes.* query params rather than only through the cookie.
Image blocks honor breakpoint-specific image positions and preserve the configured image position as a fallback.
Fixes boolean user attributes in Builder Studio targeting requests.
Image components now render an explicit empty alt attribute when alt text is blank or missing.
Personalization init scripts are emitted only by Content whose blocks contain a Variant Container, and their definitions are idempotent.
Fixes responsive source selection in Gen 2 SDKs.
Exposes the existing Image sizes field in Gen 2 SDKs.
The A/B test init script is emitted only when a Content component renders A/B variants; its definition is idempotent and self-removing on hydration targets, preventing duplicate scripts without client-side DOM mutation.
Prevents duplicate a/b test scripts from being inserted into the DOM.
@builder.io/sdk-qwik 0.241 changes
Fixes and other changes 1
Fixed the trackConversion method for SDKs.
@builder.io/sdk-qwik 0.232 changes
Breaking changes 1
Drops support for Node 18 and 20.
Behavior and default changes 1
Adds support for Node v24.