This is a preview of the Storyblok Website with Draft Content

[Draft] Starter Plan

Astro SDK v11 now available

  • Infrastructure
  • Developer Experience
  • Stability & Performance
Flowchart with a woman's photo connected to icons of a webpage, video, and devices. "Astro" text in the background.

We’ve released version 11 of @storyblok/astro. It’s a rebuilt SDK with a simpler API. Content fetching now goes through our Content Delivery API client, which gives you better type safety and performance.


What's new?

  • New architecture: v11 no longer bundles an API client or uses an Astro integration. You fetch content with @storyblok/api-client, which handles cache versions, rate limits and retries for you. You can also use your own client or native fetch.
  • defineStoryblokBlocks(): register your blocks in code by passing Astro component references directly. This replaces the integration’s components option.
  • StoryblokBlock replaces StoryblokComponent: block components now get a block prop and an injected editable prop, so you no longer call storyblokEditable() yourself.
  • Simpler live preview: storyblokPreviewMiddleware, getPayload() and the new StoryblokPreview component replace the livePreview and bridge options. The Storyblok Bridge now loads only on pages that render StoryblokPreview.

Upgrading from v8–v10

v11 includes breaking changes and requires Astro 5 or later. Follow the migration guide to update your project. The Astro core blueprint (the starter project you can generate from the Storyblok CLI) has already been updated to v11.

Try it out and share your feedback on GitHub or in our Discord community.