Skip to content

v6.6.0

Latest

Choose a tag to compare

@hta218 hta218 released this 24 Nov 10:21

Behavior change

fetchCustomPages (Hydrogen and Next.js adapters) now rejects with WeaverseLoadError instead of resolving to a partial or empty list when the custom pages can't be loaded. The error keeps the SDK's failure classification (unavailable, configuration or invalid-response). Sitemap routes should catch it and answer 5xx, so crawlers keep the last good sitemap instead of caching an incomplete one (#608).

What's Changed

  • Reject fetchCustomPages on fetch failures instead of returning partial lists by @hta218 in #608

Full Changelog: v6.5.1...v6.6.0