July 2025 Summaries
7 posts from Sanity
Filter
Month:
Year:
Post Summaries
Back to Blog
The GROQ syntax reference documentation provides an overview of the query language used in the Sanity data platform, detailing its structure, components, and functionalities. GROQ, a superset of JSON, allows users to query documents by filtering and projecting data based on specific criteria, using a pipeline-like approach where results from each stage feed into the next. The language supports various expressions, literals, and operators to facilitate complex queries, including attribute lookups and scope management with the use of the @ and ^ operators. Additionally, GROQ syntax accommodates comments for documentation, and its functions can process data through pipe operators for operations like ordering and scoring. The document emphasizes GROQ's flexibility in query composition, enabling users to access and manipulate data effectively in Sanity's environment.
Jul 23, 2025
1,604 words in the original blog post.
E-commerce teams are under increasing pressure to deliver personalized, localized, and dynamic content across multiple channels, but traditional content management systems (CMS) often fall short in meeting these demands due to their static nature. The concept of a Content Operating System (COS) emerges as a solution, emphasizing structured content, developer tooling, and workflows that align with team operations rather than just content display. The COS allows for seamless planning, creation, distribution, and optimization of content, enabling brands like Tecovas, SKIMS, and Lady Gaga to efficiently manage global campaigns and product launches without scaling team sizes. By leveraging structured content models, automation-ready architecture, and real-time data integration, these brands can maintain high-velocity operations and adapt quickly to market changes. The approach not only streamlines content orchestration but also supports advanced personalization and experimentation, linking content to conversion metrics and enabling ongoing optimization. As a result, the COS provides a scalable framework that supports both creative flexibility and operational efficiency, positioning it as a vital tool for modern e-commerce success.
Jul 23, 2025
7,150 words in the original blog post.
In an era where AI assistants are transforming the way we interact with information, businesses must adapt to ensure their content is accessible and relevant. With search engines evolving from providing options to making decisions, it's crucial to shift from traditional content management systems to a Content Operating System like Sanity. Sanity allows businesses to store and manage all content in one central location, making it easier to deliver structured data in formats suitable for AI learning models, such as LLMs. This transition involves optimizing content for real-time AI queries, ensuring it's crawlable, consolidating content sources, and maintaining comprehensive data that includes product specifications, reviews, and community discussions. As AI technologies develop, the ability to provide accurate and accessible information across multiple platforms and formats will be key to maintaining a competitive edge in reaching audiences in this new digital landscape.
Jul 09, 2025
2,762 words in the original blog post.
The Live Content API is designed to enable real-time, dynamic experiences for applications and websites, particularly during fast-paced events like sports, news, and commerce, by providing an interface for subscribing to content changes without the typical complexity and scalability issues of building real-time functionality. Available on all plans, it allows users to subscribe to changes, efficiently query exact content, and handle high volumes of live updates even during peak traffic. It supports integration with existing applications, offering a mix of live and static content, and employs a system where clients listen for content identifiers called sync tags to update only when data changes. The API requires version v2021-03-25 or later, with live connections counting towards API usage quotas and utilizing site-wide caching to manage request loads. Implementation is facilitated by client libraries and frameworks like Next.js, which handle caching to reduce overhead, and there are available resources like guides, example projects, and documentation to assist in integrating the Live Content API into applications.
Jul 07, 2025
567 words in the original blog post.
Dataset Hot Swapping is a paid feature available on certain Enterprise plans that allows a codebase to dynamically reference different datasets using Dataset Aliases, eliminating the need for data migrations or code changes. This feature facilitates preparing data in staging or feature datasets and seamlessly swapping it behind a "production" alias once ready. Dataset aliases are read-only, meaning any write operations must be performed on the underlying dataset. The Sanity CLI supports commands to manage these aliases, including creating, linking, unlinking, and deleting them. When using this feature, alias names can be prefixed with a special character for client requests, and a single dataset can be linked to multiple aliases, enhancing flexibility in development and deployment environments.
Jul 07, 2025
744 words in the original blog post.
The blog post provides a comprehensive overview of recent updates and innovations related to a Content Operating System, highlighting significant changes, events, and community projects. Notable developments include enhancements to the changelog for better user engagement and updates to the Portable Text Editor and AI Assist to improve content management and automation. The post also covers a special edition meetup discussing the transformation of a CMS into a Content Operating System and features community contributions like the "LAUNCH" app, which aims to democratize startup education. Additionally, the article emphasizes the importance of engaging and realistic developer content, advocating for a blend of education and entertainment to enhance learning experiences.
Jul 07, 2025
1,066 words in the original blog post.
The transition of the Sanity package from version 3 to version 4 primarily involves updating the required Node.js version from 18 to 20, due to the end-of-life status of Node.js 18 and the broader ecosystem's shift to supporting Node.js 20. This change is considered a breaking change under semantic versioning rules, although it mainly affects compatibility rather than altering the functionality of the Sanity Studio or its schemas and customizations. Upgrading to Node.js 20 offers benefits like native ES module support, improved performance, and a built-in test runner, while the Sanity package will now adhere to standard semantic versioning for clearer communication of updates and potential impacts on setups. The update will be released on July 15th, and users are advised to check their Node.js version to ensure compatibility with the new release.
Jul 01, 2025
605 words in the original blog post.