Skip to content

v6.5.0

Choose a tag to compare

@hta218 hta218 released this 23 Nov 04:59
· 28 commits to main since this release

Highlights

  • isFallback: true on loader data when no page is assigned and the SDK renders its placeholder page (React Router and Next).
  • Next: opt-in throwPageLoadFailures on createWeaverseNextServerClient. Upstream failures reject with WeaverseLoadError (unavailable, invalid-response, configuration); an API 404 still resolves to null. WeaverseError and WeaverseLoadError are exported from @weaverse/hydrogen/next/server.
  • configs.projectId is the route-level project id when one is given.
  • CustomPageEntry / WeaverseNextCustomPageEntry add optional market and scope, returned by Studio v2026.11.62 and later.

Breaking change: weaverseApiKey removed

weaverseApiKey is no longer in loader data, page configs, Studio queries or the Builder request, and the field is gone from WeaverseProjectConfigs, WeaverseStudioQueries and WeaverseHydrogenParams. It sent a credential to the browser and nothing read it. Code that reads configs.weaverseApiKey stops compiling: delete the use. Server code that needs the key for the Content API reads WEAVERSE_API_KEY from env.

What's Changed

  • fix(ci): exempt @weaverse/* from pnpm's 24-hour release age by @paul-phan in #603
  • Flag fallback pages, classify Next page-load failures and remove weaverseApiKey from loader data by @hta218 in #598

Full Changelog: v6.4.0...v6.5.0