DEV Community

Alex Jover for Storyblok

Posted on

πŸš€ Fresh Storyblok SDK releases, plus new Canada and Australia regions 🌍

Following up on the 2 new regions announcement, we're thrilled to unveil the latest updates to our SDK family, introducing cutting-edge features, supporting the latest frameworks versions, and expanding our horizons to better serve our incredible community.

✨ What Changed?

🌍 2 new regions: We added dedicated Australia 🦘 and Canada 🍁 regions, now available across all our SDKs. Having a Storyblok space hosted in your region is not an issue anymore! Check the new regions blog post to know all the details about it.

πŸš€ Astro 4 support: We’re surfing the Astro 4 wave, featuring the brand-new Toolbarβ€”now access to docs is instant! We’re also dropping support for Astro 2 (still available on @storyblok/astro@3)

Astro 4 tooltip

🌟 Svelte 4 and SvelteKit 2.0 support: Enjoy all the performance and UX improvements the Svelte team accomplished on SvelteKit 2.0.

πŸ› οΈ Breaking change alert - storyblok-js-client v6: We updated all SDKs to the latest js-client v6, including a bunch of bugfixes and improvements. Be aware that now the error messages have a different format, check out the details in the js-client v6 release.

πŸ”„ Steps to Update to the Latest SDK versions

As simple as installing the latest version of the SDK of your choice on your project. As an example, for React SDK:

npm install @storyblok/react@latest
Enter fullscreen mode Exit fullscreen mode

🌍 Expanding Horizons: Leveraging the New Regions

Integrating the newly introduced regions into your workflow is seamless! When initializing your SDK, simply add the region parameter within the apiOptions. To know all regions available, simply check out the SDK readme.

import { storyblokInit, apiPlugin } from "@storyblok/react";

  accessToken: "YOUR_ACCESS_TOKEN",
  use: [apiPlugin],
  apiOptions: {
    region: "ca", // or "eu" (default), "us", "cn", "ap"
Enter fullscreen mode Exit fullscreen mode

πŸ› οΈ Full List of New Frontend SDKs versions

πŸ§‘β€πŸ’» Ready to try it out?

We really value your feedback, so don’t hesitate to jump in and ask your question in Storyblok Discord, or open an issue in the related SDK Github repo.

Are you new here? Go to Storyblok QuickStart and get your project fully integrated with your favorite framework in just 1 command!

Happy coding! πŸŽ‰

Top comments (2)

jacobandrewsky profile image
Jakub Andrzejewski

Now this is a cool update!

Can't wait to try it out in Nuxt πŸŽ‰

alexjoverm profile image
Alex Jover

Enjoy the ride! Happy to hear about your findings :)