NEWSLayers closes first external funding round led by LOI VentureRead more
← Back to Changelog

Commerce Blocks SDK v3.0.0

A v2 to v3 code comparison for the commerce-blocks SDK, showing createClient replaced by createSDK, execute() replaced by get(), and new chips for get(), no signals, runtime facets, and the new feedback and tracking calls

@commerce-blocks/sdk v3.0.0 is out: a renamed createSDK factory, stateless controllers with a single get() in place of execute(), and plain callbacks instead of Preact signals. Facets and sort orders are now fetched at runtime instead of declared at initialization, and two new direct calls — searchFeedback() and trackingEvent() — let you capture search-quality feedback and analytics straight from the client.

This is a breaking major version. execute(), isFetching, and suggest() remain as deprecated aliases to ease migration.

See the v2 to v3 upgrade guide

FeatureStorefront APIDevelopersSDK