unstale

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

@unstale/cli on npm

@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.

    0.26.6release notes

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.

    0.26.0release notes

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.

    0.26.5release notes

  • In draft previews of localized content, the locale passed to fetchOneEntry or <Content> takes precedence over builder.options.locale in the preview URL.

    0.26.4release notes

  • Persists the A/B test assignment cookie for 30 days instead of for the session, matching setTestCookie in core.

    0.26.2release notes

  • Functions that jsCode adds to context are callable from block actions and bindings when Content receives no context prop.

    0.26.1release notes

  • A binding on id sets the element's id attribute instead of replacing the block's Builder id.

    0.26.1release notes

  • In React, state writes made by jsCode after its first run now re-render the content.

    0.26.1release notes

@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.

    0.25.19release notes

  • Block binding keys ignore __proto__, constructor and prototype segments to prevent prototype pollution.

    0.25.18release notes

  • Reverts the deduplication fix for the inline A/B test script, restoring its prior behavior.

    0.25.3release notes

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.

    0.25.19release notes

  • Content fetch options can no longer override the configured API key.

    0.25.17release notes

  • Validates visual editor message origins against exact trusted hostnames and rejects malformed or non-HTTP origins.

    0.25.6release notes

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.

    0.25.13release notes

  • showIf callbacks can receive the current editor locale through context.locale, alongside the existing parent arguments.

    0.25.11release notes

  • Adds optional group metadata to Builder.registerComponent so TypeScript integrations can bucket custom components into their own editor insert-menu accordions.

    0.25.10release notes

  • Adds global symbol support for Gen2 SDKs.

    0.25.0release notes

Performance 1

  • Rendering is faster through block processing, copy-on-write bindings, cached component registries and expressions, and reused Node isolates.

    0.25.19release notes

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.

    0.25.19release notes

  • 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.

    0.25.19release notes

  • On Node, function values assigned to state are skipped instead of throwing.

    0.25.19release notes

  • Image blocks with empty alt text no longer include the redundant presentation role.

    0.25.16release notes

  • Variant Containers now honor Builder Studio targeting overrides passed through builder.userAttributes.* query params rather than only through the cookie.

    0.25.15release notes

  • Image blocks honor breakpoint-specific image positions and preserve the configured image position as a fallback.

    0.25.14release notes

  • Fixes boolean user attributes in Builder Studio targeting requests.

    0.25.12release notes

  • Image components now render an explicit empty alt attribute when alt text is blank or missing.

    0.25.10release notes

  • Personalization init scripts are emitted only by Content whose blocks contain a Variant Container, and their definitions are idempotent.

    0.25.9release notes

  • Fixes responsive source selection in Gen 2 SDKs.

    0.25.8release notes

  • Exposes the existing Image sizes field in Gen 2 SDKs.

    0.25.8release notes

  • 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.

    0.25.5release notes

  • Prevents duplicate a/b test scripts from being inserted into the DOM.

    0.25.2release notes

@builder.io/sdk-qwik 0.241 changes

Fixes and other changes 1

@builder.io/sdk-qwik 0.232 changes

Breaking changes 1

Behavior and default changes 1