Home / Companies / Sanity / Blog / November 2025

November 2025 Summaries

6 posts from Sanity

Filter
Month: Year:
Post Summaries Back to Blog
The text provides an extensive overview of GROQ (Graph-Relational Object Queries), a query language used for querying JSON datasets, particularly within the Sanity content platform. It covers the execution of queries via various methods, such as using the JavaScript or PHP SDKs, and highlights common issues and tips for effective querying, like filtering non-null keys and handling API versioning. The text details query examples, including fetching all documents, filtering based on attributes like type and popularity, slicing operations, ordering results, and performing joins between documents. It discusses object projections, conditional queries, handling references, and using built-in functions like `count()`, `round()`, and `score()` for scoring and ranking documents. Additionally, it explains arithmetic operations and string concatenation within queries, emphasizing the importance of specifying an order when querying subsets to avoid default ordering pitfalls and ensuring queries execute as intended.
Nov 17, 2025 2,433 words in the original blog post.
The article explores how to use the Structure Builder API to create a custom document view for displaying JSON data of posts within a collapsible pane. It provides a step-by-step guide on integrating a custom React component, JsonPreview, into the document view, enabling the display of JSON data for the selected version of a document. By utilizing methods such as `.views()`, `.view.form()`, and `.view.component()`, users can craft tailored editing experiences by adding multiple views, including a form view and a JSON view, which can be further refined to display only for specific document types or individual documents. The guide encourages users to leverage the API's capabilities to develop powerful previews and custom editor flows, highlighting the flexibility and utility of the Structure Builder API in creating personalized document management interfaces.
Nov 14, 2025 954 words in the original blog post.
The text discusses two main approaches to content publishing: Scheduled Drafts and Content Releases, highlighting their differences and applications. Scheduled Drafts automate the publication of individual documents at predetermined times, suitable for everyday tasks like blog posts and product announcements. In contrast, Content Releases are designed for complex, coordinated launches involving multiple documents, ideal for scenarios such as product launches or multi-market campaigns, where timing and governance are critical. The example of a major American telecom retailer's successful product launch illustrates the effectiveness of Content Releases, emphasizing seamless coordination, legal compliance, and the ability to manage large-scale, embargoed information. The text also notes the transition from the Scheduled Publishing plugin to the new Scheduled Drafts system, which is available on specific Sanity Studio plans, while Content Releases require an Enterprise plan or existing Growth plan access.
Nov 06, 2025 636 words in the original blog post.
Sanity Studio offers a real-time document editing experience by storing edits as patches in the backend, which collectively form a document's revision history. The history retention period, determined by the user's subscription plan, dictates how long these revisions are accessible before being truncated and permanently deleted, with options ranging from 3 days for the Free plan to 365 days for the Enterprise plan. This retention system ensures GDPR compliance, allowing users to upgrade or downgrade their plans to adjust the retention period, though this only affects future revisions and not past ones. Users can explore document revision history within the Sanity Studio editor by accessing various document status indicators and contextual menus, which offer insights into published, draft, and live edit modes, along with history status labels that denote actions like publication, editing, and truncation. Furthermore, when documents are published as part of a Content Release, changes are consolidated into a single entry, but users can still inspect individual history entries to understand modifications prior to the release.
Nov 05, 2025 591 words in the original blog post.
Sanity Studio's Dashboard tool allows users to enhance their workspace by installing and configuring widgets in a manner similar to installing any other studio plugin, using a package manager like npm or yarn. Popular widgets, such as the cats example widget, can be found on the Sanity Exchange and integrated into a project by modifying the sanity.config.js file to include them in the plugins array. The layout of widgets is customizable by specifying their size with values like auto, small, medium, large, or full, while certain widgets offer additional configuration options detailed in their documentation. For instance, the document-list widget can be set up to display recent documents or the last edited books by adjusting parameters like the title, order, and document types.
Nov 04, 2025 309 words in the original blog post.
The recent updates focus on enhancing content management and development efficiency through innovative tools and community engagement. A new AI-powered Content Agent allows users to research, audit, and edit content directly within their dashboard, while improvements to the Canvas feature streamline document navigation and editing with better runtime performance and new shortcuts. The Functions team has significantly increased rate limits and introduced recursion protection to prevent runaway loops, alongside a new function recipe for maintaining product catalog references. Developer insights highlight the importance of context in AI-generated content and the emerging trend of specifications as the new code. Additionally, a community workshop facilitated live demos of creative implementations, showcasing collaborations between developers and Sanity engineers.
Nov 03, 2025 653 words in the original blog post.