惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
The GitHub Blog
The GitHub Blog
T
Threatpost
人人都是产品经理
人人都是产品经理
大猫的无限游戏
大猫的无限游戏
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
博客园 - Franky
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Apple Machine Learning Research
Apple Machine Learning Research
酷 壳 – CoolShell
酷 壳 – CoolShell
M
MIT News - Artificial intelligence
小众软件
小众软件
Hugging Face - Blog
Hugging Face - Blog
云风的 BLOG
云风的 BLOG
S
Security Affairs
P
Proofpoint News Feed
L
LINUX DO - 最新话题
宝玉的分享
宝玉的分享
S
Security @ Cisco Blogs
H
Hacker News: Front Page
Security Archives - TechRepublic
Security Archives - TechRepublic
Vercel News
Vercel News
Engineering at Meta
Engineering at Meta
Know Your Adversary
Know Your Adversary
Y
Y Combinator Blog
美团技术团队
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
月光博客
月光博客
量子位
博客园_首页
The Last Watchdog
The Last Watchdog
D
DataBreaches.Net
www.infosecurity-magazine.com
www.infosecurity-magazine.com
P
Privacy International News Feed
The Register - Security
The Register - Security
Schneier on Security
Schneier on Security
H
Help Net Security
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
V
Visual Studio Blog
Google DeepMind News
Google DeepMind News
F
Full Disclosure
C
Cyber Attacks, Cyber Crime and Cyber Security
MyScale Blog
MyScale Blog
aimingoo的专栏
aimingoo的专栏
S
Schneier on Security
L
Lohrmann on Cybersecurity
S
Secure Thoughts
Stack Overflow Blog
Stack Overflow Blog
Cloudbric
Cloudbric
Microsoft Security Blog
Microsoft Security Blog

Sanity.io

A Board Game agent built using Sanity Context and Vercel's AI SDK | Sanity Build a prototype with Claude Code that your whole team can edit | Sanity What’s New - May 2026 | Sanity I built a London pub guide with v0 and the Sanity MCP in six hours. Here's what I learned. | Sanity Build a conference concierge with Agent Context and Anthropic | Sanity Build a content-aware Telegram agent with Vercel AI SDK and Chat SDK | Sanity How I used Agent API to generate photos for my family’s recipes | Sanity What’s New April - 2026 | Sanity Better context, better matches: An AI love story (for dogs) | Sanity How to write for an agent | Sanity Content Agent, meet Slack: AI content operations in your workflow | Sanity Structure powers intelligence | Sanity Your agent needs better content. Here's how to give it. | Sanity How to serve content to agents (a field guide) | Sanity Sanity TypeGen GA: Automatic TypeScript types for content and GROQ | Sanity Sanity is now available on the Vercel Marketplace | Sanity The logo soup problem (and how to solve it) | Sanity Content Releases: From scattered updates to coordinated publishing | Sanity What's New - February 2026 | Sanity How we solved the agent memory problem | Sanity v0 Builder Challenge: The winners | Sanity Introducing: Sanity Agent Skills | Sanity Content Agent: Days of work in one conversation | Sanity Our Sanity Values | Sanity Open Source Pledge 2025: Stepping up when it matters | Sanity v0 builder challenge: $3000 in prizes | Sanity Why AI Breaks Without Structured Content Operations | Sanity What’s New January - 2026 | Sanity BFCM 2025: What teams built when infrastructure stopped being the problem | Sanity How AI shaped holiday shopping and what it means for content in 2026 | Sanity Sanity Studio v5: Embracing React 19 | Sanity You’ll need a CMS eventually. Let your agent set it up. | Sanity “You should never build a CMS” | Sanity AI Content Operations: A 30-Day Implementation Guide | Sanity What’s New December - 2025 | Sanity Scheduled Drafts: Stop manually publishing content at midnight | Sanity What’s New November - 2025 | Sanity Everything *[NYC] 2025 recap: A day of AI, Content Operations, and Culture | Sanity Clankers and content operations | Sanity Content Agent: AI that understands your structured content is here | Sanity Why design-driven content modeling creates technical debt, not velocity | Sanity What's New October - 2025 | Sanity From studio to inbox: How Kevin Green eliminated email campaign friction | Sanity The content editor's guide to content operations [E-commerce edition] | Sanity styled-components maintenance mode: A 40% faster fork | Sanity From zero code to a live website in 7 hours (thanks, Cursor!) | Sanity First attempt will be 95% garbage: A staff engineer's 6-week journey with Claude Code | Sanity Internationalization is more than translating words | Sanity What's New - September 2025 | Sanity We just deleted our 35k-member community Slack | Sanity What's New - August 2025 | Sanity The engineer's guide to content operations [E-commerce edition] | Sanity SEO for AI: Evolving from Web Pages to the Content Lake | Sanity What's New - July 2025 | Sanity Sanity Studio v4: A major version bump for a minor reason | Sanity What's New - June 2025 | Sanity Dashboard and Insights: Your New Content HQ | Sanity Canvas: AI-accelerated, context-aware, freeform authoring | Sanity Agent Actions: AI building blocks for structured content | Sanity Functions: Life beyond pressing publish | Sanity A new era for content applications with Sanity App SDK | Sanity The end of CMS era and our $85M Series C. | Sanity What's New – May 2025 | Sanity Introducing the Sanity Model Context Protocol (MCP) server | Sanity What's New – April 2025 | Sanity Pushing all the envelopes with ambitious content | Sanity Self-hosting is only free if your time is worth nothing | Sanity Content that lasts: Scaling beyond your frontend | Sanity The Live Content API is now Generally Available | Sanity The future beyond AI chat bots | Sanity Learning the new skill of working with AI | Sanity What's New - March 2025 | Sanity Give it in plain text: Making your content AI-Ready | Sanity No More 'DO NOT PUBLISH': Introducing Content Releases | Sanity React in 2025, what's next? | Sanity The final boss of front-end: block editors | Sanity Introducing Sanity for Startups | Sanity A block content editor that loves you back | Sanity A Black Friday Snooze Fest: Massive Traffic, No Drama | Sanity How to make a recipe site that scales well | Sanity The Sanity Winter Release 2024 | Sanity AVIF Arrives, Sanity’s Promise Fulfilled | Sanity Sanity joins the Open Source Pledge | Sanity Your content is now Live by default | Sanity Begin Team to Join Sanity | Sanity Sanity Digest - September '24 Edition | Sanity Sanity partners with Google. Now live on the Google Cloud Marketplace. | Sanity Sanity Digest - August ‘24 Edition | Sanity Now playing: the latest Mux Video Input plugin for Sanity | Sanity Community Digest - June ‘24 Edition | Sanity Community Digest - May ‘24 Edition | Sanity Guide to Sanity's newest product announcements | Sanity AI and Content Creation: A Leader's Guide | Sanity Of course, you should be able to type your content quickly! | Sanity New to AI Assist: translation, reference suggestions, image generation | Sanity Speak the language of your editors: Sanity Studio UI localization | Sanity Introducing the new Sanity Growth plan to serve collaborative teams | Sanity Presentation: Work faster than ever with structured content | Sanity Goodbye Feedback Frenzy, Hello Sanity Studio Comments! | Sanity Easing into the App Router with the Sanity Toolkit for Next.js | Sanity
Sanity Studio v6: A focused upgrade | Sanity
John Siciliano · 2026-06-09 · via Sanity.io

We're releasing v6 of the sanity package this week, bringing Vite 8 to the Studio's development tooling.

The Vite upgrade brings great improvements for builds. Across the studios we've measured, median build times droped around 4.8×. You also get smaller bundles from improved tree shaking and a faster, more capable default search. Good stuff!

And with Node.js 20 past end of life since April, no longer receiving security patches, we're dropping support for it.

The surface you work with is unchanged: schemas, configuration, and content APIs all stay the same. If you use the Studio, but don't maintain one, there's nothing for you to do.

The pre-release is out now via, so you can test the upgrade ahead of time:

We’re publishing v6 peer dependency support for official plugins now, and v6 of the sanity package gets the latest tag on Thursday, June 11:

Read on for full upgrade notes.

What's changing

In case you missed it (or if you still are on v4); v5 brought 20–30% faster editing (React Compiler), an incoming references inspector (finally!), much better TypeGen, smart typography on by default in the Portable Text Editor, and a stack of editor quality-of-life additions.

We’re shipping v6 with improvements too, and of course, more to come.

React strict mode is on by default in development.

Strict mode has always been available via reactStrictMode in sanity.cli, but the default is now true.

  • In most cases, strict mode surfaces issues you'll want to fix anyway.
  • Strict mode reveals existing bugs earlier. It doesn't create new ones. Issues around effect cleanup and concurrent rendering are already latent in your code; strict mode just makes them visible in development.
  • To opt out, set reactStrictMode: false in sanity.cli.

Custom auth providers no longer support the mode option

Previously, configuring an array of custom auth providers via auth.providers in sanity.config.ts would append them to the default providers. To replace the built-in providers with your own, you'd set mode: 'replace'.

But the most common reason for adding custom auth is to replace the default providers. So it made sense to change it.

As of v6, auth.providers replaces by default, and mode: 'append' is no longer supported. To keep the previous behavior, use the callback config instead:

Faaaaaster builds on Vite 8

Studio v6 upgrades the build to Vite 8, a significant performance win. Across the studios we've measured, build times dropped 2–9×, with a median around 4.8×. Builds that took 10 to 15 seconds on v5 typically land in 1 to 4 seconds on v6. Expansive studios should see comparable gains.

  • For most studios this is invisible. The React plugin updates automatically; the main change you'll notice is a smaller bundle from improved tree shaking.
  • If you customize the Vite config in sanity.cli, those overrides aren't shielded from the version bump. Run the pre-release before bumping to catch any breakage.

Big kudos to the Vite team for bringing these improvements to the ecosystem!

Improved default search strategy

We changed the default search strategy from groqLegacy to groq2024 (which year is this?) as the default. You get faster search on large datasets, full Portable Text search with deeply nested content coverage, and Google-style queries (wildcards, phrases, negation). This strategy has been production-proven since early 2025.

  • Search results, ordering, and counts may shift slightly, since each strategy uses different underlying query logic. For most studios this is an improvement you won't need to act on.
  • For the full picture, such as tokenization, exact-matching rules, and custom field weighting, see the search configuration docs.
  • If you rely on the previous behavior, set search.strategy back to groqLegacy in sanity.config.ts:

Node.js 20 is dead, so we don’t support it

With Node.js 20 at end of life and not receiving security patches anymore, the minimum supported version is now Node.js 22.12, in line with the Sanity CLI.

This only matters for the environments where you run the Studio dev server or build the Studio, so your local machine and your CI or build pipeline. It does not affect a deployed Studio. The Studio builds to static assets (HTML, CSS, JS) that run in the browser, so there is no production server that needs Node or that you need to upgrade.

To resolve, upgrade your local and CI/build environments to Node.js 22.12 or newer, and set engines.node to >=22.12.

What this means for you

If you're a Sanity Studio user

Once the Studio is updated, you will get the improvements to search, hopefully fewer bugs, and less confusing custom auth experience. The developers maintaining your studio will handle the update.

If you're maintaining a studio

After v6 ships on Thursday, June 11, if your studio runs or builds on Node.js 22.12 or newer, runs cleanly under strict mode, and has no custom auth.providers, the upgrade is a version bump:

Otherwise, run sanity dev against the pre-release and work through the changes that apply before bumping.

In either case, if a plugin you depend on hasn't published a v6-compatible peer range yet, npm will fail the install on peer resolution. Run the command below to allow legacy peer dependencies as a stopgap until the plugin(s) catches up:

If you're a Sanity Studio plugin developer

Test against the pre-release and update your peerDependencies to include v6:

Until you publish that range, studios upgrading to v6 that depend on your plugin will hit an npm peer-dependency error, so publish as soon as you've verified against the pre-release.

You can follow our progress toward v6 being available on latest, including plugin migration and Node 20 support, at Are We V6 Ready.

Pre-release and upgrade path

The pre-release is available under a custom distribution tag on the next branch. The main branch continues to ship v5 through latest, and stable unchanged. To try v6 ahead of promotion to latest:

npm install sanity@next

Promotion to latest happens on Thursday, June 11.

Auto-updating studios need a manual bump to v6

Auto-updates can cross a major when it has no runtime effects (a Node.js version bump, for example), but v6 changes runtime behavior, so it won't roll out automatically. To upgrade, set your sanity dependency to ^6.0.0 and redeploy. Read the docs on understanding the latest version of Sanity to learn more.

Questions? Find us in the Sanity Community Discord or check the changelog when v6 ships.