Live Content API goes GA, new personalization plugin, document comparison tool, Nuxt template, Cursor AI course, and fresh Code && Content episodes.
Evelina Wahlström
Technical Product Marketing Manager at Sanity
Published
This month, the Sanity engineering team is deep in the zone – focused, committed, and fully embodying our value of Type 2 Fun, as some major product updates are coming in the near future (watch our feeds and your inbox for more news soon).
I'm Evelina from the product marketing team. I'm back with our April roundup of all the things happening across the Sanity community. Read on to learn about recent product updates, community contributions, and educational content.
This month's video is light on new features but heavy on new and useful stuff. I spoke with Simeon and Ken, two of my close team members and community champions. Simeon walked me through the new Learn with AI course, and Ken shared his newest template for Nuxt and Sanity development. Finally, I also got a chance to see the new personalization plugin in use, as Jon from Solution Engineering showed me examples of how you can use it to A/B test down to an individual field level or personalize the login state of a page.
That's just the tip of the iceberg of things that have happened in the last month. We're constantly improving our product to improve the Sanity experience. A personal favorite of mine is the Document Comparison Tool in Studio. But first, let's kick it off with an announcement!
Last month, I did a deep dive into Live Content API with Cody. We discussed how Live Content API now powers Visual Editing and how to use it in any framework you prefer. I highly recommend going back and watching that, especially now that we've graduated the API from beta to GA.
The powerful Live Content API enables real-time content delivery at scale with minimal implementation overhead, allowing you to create seamless, live-by-default web experiences powered by a CDN. Read Knut's blog post, where he walks through the essential resources for this, or go straight to the docs.
With the introduction of Content Releases, we went from just having a draft and a published document to having multiple document versions.
The new document comparison tool provides a side-by-side view of two different document versions, highlighting fields that have changed between versions. Select "Compare versions" from the document actions menu when viewing any draft or version document in Studio to open the tool.
By default, the first pane shows the previous version and the second pane shows the next version (the version that introduces changes). Use the menu at the top of each pane to switch between versions.
Go here for a more detailed guide →
Last month, I spoke to Christian about his continuous work on making the Portable Text Editor your favorite editor. Christian cares deeply about the developer experience and constantly iterates to improve things. For the keen listener, Christian teased the upcoming addition to shortcuts, like code blocks and strikethrough, but he also shared with me how he wants to make these shortcuts even more intuitive.
This is how you'd use the new shortcuts (provided you have added support in the PTE schema):
```
syntax to start a block (add language for syntax highlighting, e.g., ```ts
to add a TypeScript formatted code block)~~strike-through~~
maps to a strike-through stylemod
is ctrl
for Windows and cmd
for Apple devices):mod+B
: strongmod+I
: emphasismod+U
: underlinemod+K
to add linksAlt+Shift+1/2/3
to quickly switch between heading levelsmod+Shift+E
for toggling code blocksSanity Create, our AI-powered writing tool, now fully supports code blocks with multiple methods for creating them. This is great for technical writing and drafting developer documentation (our docs team is sure happy about this!).
In addition to the shortcut for code just mentioned, you now have more power to turn your code into the exact format you want in several ways:
```
syntax to start a block (add language for syntax highlighting, e.g., ```ts
to add a TypeScript formatted code block)/code
to create a text code block with auto-detected languageAnd, of course, if you have code block support in your Studio's Portable Text Editor, the automatic content mapping will also work with code blocks.
After announcing the public availability of Content Releases last month, the engineers have continued to improve this feature in several ways:
We've enhanced the Sanity Studio Router API with several helpful updates:
stickyParams
in useRouter
navigate
from useRouter
now supports a stickyParams
option to allow for navigating and updating the param state in the studio at oncenavigateStickyParams
is now deprecated from sanity/router
Simeon Griggs, our Principal Educator at Sanity, launched a new course on using the Cursor code editor with Sanity for AI-supported configuration and content creation.
The course covers:
You can watch the course as a full-length video here and do the self-paced step-by-step course. The course should still be helpful if you use other AI-enabled code editors.
I also spoke to Simeon about the course and his general thoughts about AI-powered development. We discuss the future of Sanity Learn and talk about how you should not just use AI to get the answer you need but also use it to educate yourself along the way to become a better Engineer.
Go here for the full conversation →
Jon Burbridge, Senior Solution Architect at Sanity, has created a comprehensive course on A/B testing with Sanity. This practical guide teaches you:
If you want to make data-driven decisions about your content, this course will show you how to implement A/B testing with Sanity's new personalization plugin.
Explore the A/B Testing course →
Beyond core product improvements, we're deeply committed to understanding your real-world challenges and creating solutions that make your content operations smoother. That's why we've developed these plugins, templates, frameworks, and guides that address specific needs we've seen across the ecosystem:
We've got a brand new Nuxt + Sanity app template, making it even easier to build powerful applications with Sanity and Nuxt. This template includes a Nuxt app with a Sanity Studio – an open-source Vue application that connects to your Sanity project's hosted dataset. The Studio is configured locally and can then be deployed for content collaboration.
This template features:
Get started with the Nuxt.js template →
Watch a demonstration of this in use here, in which Ken Jones (the developer behind this template) shares how easy it is to get started and how you can create Sanity-approved templates for others to use.
We know there's been a lot of demand from our community around personalization and A/B testing, and the Customer Solutions team has created a solution that will help you do just that.
During my time as an Engineer at a travel tech company, we were constantly trying to find ways to improve conversions, and I know it would have been great to be able to do field-level A/B testing - because sometimes, a title or description change on a page can make a real difference.
The official @sanity/personalization-plugin makes adding content variations for A/B testing and personalization scenarios easy. With this plugin, you can:
For a closer look at this in action, Jon showed me a demo he's built, in which he showcased a few examples of different A/B tests and personalization experiences that are now possible thanks to it.
Go here to watch the full demo →
While the intention behind the cookie consent requirement is good, it can be a pain to figure out how to integrate them properly. So Irina Blumenfeld, Solutions Architect at Sanity, has created a comprehensive guide on integrating cookie consent banners with your Sanity-powered website.
This practical tutorial walks you through:
This guide is essential for developers building sites that need to comply with GDPR and other privacy regulations.
Pavan Podila has ported the Vyuh framework from Flutter to React, allowing you to create powerful CMS-driven applications with Sanity using native React.
This framework offers:
Watch the introduction video →
We've resolved several important issues in the latest releases:
There is lots of "food for thought" this month. Whether you love podcasts or you're a blog post kind of person, there's something for everyone.
Our video podcast series, "Code && Content," hosted by Simeon Griggs, has released new episodes exploring the intersection of code and content. It's fair to say he's been busy, as there are no less than four new episodes available to watch/listen to.
Watch the episodes on YouTube - don't forget to like the video, but more importantly, subscribe to our YouTube channel to not miss any content (including but not limited to the video version of this post and Simeon's podcast). You can also listen to it via your favorite podcast app. Subscribe to the RSS feed so you do not miss any upcoming episodes featuring internal and external experts who share Simeon’s love for Code && Content.
Jason discusses how he transformed from making basic content to becoming a commercial-grade content producer for platforms like CodeTV. He shares insights on authenticity in sponsored content and the impact of high-production value on technical education.
In this insightful episode, Simeon discusses the hidden costs of self-hosting with Simen Svale (co-founder and CTO at Sanity). They explore why Sanity's managed Content Lake offers more value than generic self-hosted databases and why spending time maintaining infrastructure takes away from solving real customer problems.
In this thought-provoking episode, Maggie Appleton discusses the current AI landscape and questions whether we're heading toward a purely text-based future. She explores the balance between letting AI tools handle the work versus understanding what's happening under the hood.
In this thought-provoking episode, Simeon and Even discuss how to create high-quality, authentic content that stands above the generic AI-generated material flooding the internet. The episode explores techniques for leveraging AI as a tool while maintaining your unique voice and expertise.
This post explores how forward-thinking agencies like Bejamas maintain a stable content foundation despite evolving their tech stacks multiple times. Learn how Sanity's Content Lake provides:
The Sanity community continues to amaze us with their creativity and contributions! Here's what they've been building:
When: April 17, 2025, 3:00 PM – 4:00 PM PDT
Where: Streaming Online
Join us for an in-depth conversation and Q&A with the team at Powerhouse Museum about how they architect content for multiple surfaces and platforms. This session will feature:
This is a great opportunity to learn how cultural institutions can leverage structured content to create engaging digital experiences across different platforms and devices.
When: April 23, 2025, 08:30 AM – 10:30 AM CEST
Where: Oslo, Norway (In-Person)
For our followers in Oslo, Norway, don't miss this in-person seminar with Sopra Steria exploring the future of content management. Simen Svale Skogsrud, CTO and co-founder of Sanity, will be there with Pål Smitt-Amundsen to discuss how to work with structured content as an operating system for your business.
Register for this Oslo event →
On March 20, 2025, we hosted our first show-not-tell meetup for the year, where developers in the Sanity ecosystem shared their challenges, solutions, and lessons learned.
Our plan is to do these every other month. If you have an idea for a 20-minute demo, please contact me in the community. Remember, what might seem obvious or simple to you, can be super useful for others!
You can catch all the individual talks on YouTube if you missed it.
Andy Fitzgerald (Principal at Andy Fitzgerald Consulting) demonstrated how to manage standards-based taxonomies in Sanity Studio and purposefully integrate tagging to support discovery, findability, and search for content collections.
Saskia Bobinska (Senior Support Engineer at Sanity) shared strategic planning techniques to build dynamic, configurable, and extensible projects, plugins, and other customizations that don't require continuous developer input.
John Campbell (MD & Founder) and Rikesh Balakrishnan (Voice Developer) from Rabbit & Pork showcased how Sanity is powering voice experiences on Alexa Smart Properties for hotels, enabling real-time updates on amenities, dining, personalized recommendations, and guest messaging.
That's all for April! Remember to subscribe to our YouTube channel for more content dropping throughout the month, and stay tuned for next month's updates.
Have you built something cool with Sanity? Please share it with us on our Slack community in the #i-made-this channel!