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";

storyblokInit({
  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)

Collapse
 
jacobandrewsky profile image
Jakub Andrzejewski

Now this is a cool update!

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

Collapse
 
alexjoverm profile image
Alex Jover

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