@sanity/client breaking changes
@sanity/client 8.16.0 (November 12, 2026) is its newest release with breaking changes, 48 of them. The first: Signature changed Context.operations.confirmSync. Every breaking API change we have recorded in @sanity/client on npm: 48 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 8.18.0, released December 4, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@sanity/client 8.16.0 breaking changes
- Signature changed
Context.operations.confirmSync
Was confirmSync: {parameters: {query?: never; header?: never; path: {knowledgeBaseId: string; sourceId: string; syncId: string; apiVersion: string;}; cookie?: never;}; requestBody?: never; responses: {200: {headers: {[name: string]... npmjs.com - Signature changed
Context.operations.confirmSync.responses
Was responses: {200: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; sourceId: string; mode: 'full' | 'incremental'; trigger: 'schedule' | 'manual' | 'upload' | 'event' | 'push'; status: 'running' | 'held'... npmjs.com - Signature changed
Context.operations.confirmSync.responses.200
Was 200: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; sourceId: string; mode: 'full' | 'incremental'; trigger: 'schedule' | 'manual' | 'upload' | 'event' | 'push'; status: 'running' | 'held' |... npmjs.com - Signature changed
Context.operations.createKnowledgeBase
Was createKnowledgeBase: {parameters: {query?: never; header?: {'Idempotency-Key'?: string;}; path: {apiVersion: string;}; cookie?: never;}; requestBody: {content: {'application/json': {organizationId: string; title?: string; description?... npmjs.com - Signature changed
Context.operations.createKnowledgeBase.responses
Was responses: {201: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; publicId: string; organizationId: string; title: string; description: string; state: 'draft' | 'created' | 'ready'; activeJobId: string |... npmjs.com - Signature changed
Context.operations.createKnowledgeBase.responses.201
Was 201: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; publicId: string; organizationId: string; title: string; description: string; state: 'draft' | 'created' | 'ready'; activeJobId: string | null... npmjs.com - Signature changed
Context.operations.createSource
Was createSource: {parameters: {query?: never; header?: {'Idempotency-Key'?: string;}; path: {knowledgeBaseId: string; apiVersion: string;}; cookie?: never;}; requestBody: {content: {'application/json': {type: 'web'; url: string... npmjs.com - Signature changed
Context.operations.createSource.responses
Was responses: {200: {headers: {[name: string]: unknown;}; content: {'application/json': {totalPages: number; truncated: boolean; groups: {prefix: string; count: number;}[]; otherCount: number;};};}; 201: {headers: {[name: string]... npmjs.com - Signature changed
Context.operations.createSource.responses.201
Was 201: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; knowledgeBaseId: string; title: string; documentCount: number; convertedDocumentCount: number; skippedDocumentCount: number; failedDocumentCount... npmjs.com - Signature changed
Context.operations.discardSync
Was discardSync: {parameters: {query?: never; header?: never; path: {knowledgeBaseId: string; sourceId: string; syncId: string; apiVersion: string;}; cookie?: never;}; requestBody?: never; responses: {200: {headers: {[name: string]... npmjs.com - Signature changed
Context.operations.discardSync.responses
Was responses: {200: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; sourceId: string; mode: 'full' | 'incremental'; trigger: 'schedule' | 'manual' | 'upload' | 'event' | 'push'; status: 'running' | 'held'... npmjs.com - Signature changed
Context.operations.discardSync.responses.200
Was 200: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; sourceId: string; mode: 'full' | 'incremental'; trigger: 'schedule' | 'manual' | 'upload' | 'event' | 'push'; status: 'running' | 'held' |... npmjs.com - Signature changed
Context.operations.getKnowledgeBase
Was getKnowledgeBase: {parameters: {query?: never; header?: never; path: {knowledgeBaseId: string; apiVersion: string;}; cookie?: never;}; requestBody?: never; responses: {200: {headers: {[name: string]: unknown;}; content... npmjs.com - Signature changed
Context.operations.getKnowledgeBase.responses
Was responses: {200: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; publicId: string; organizationId: string; title: string; description: string; state: 'draft' | 'created' | 'ready'; activeJobId: string |... npmjs.com - Signature changed
Context.operations.getKnowledgeBase.responses.200
Was 200: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; publicId: string; organizationId: string; title: string; description: string; state: 'draft' | 'created' | 'ready'; activeJobId: string | null... npmjs.com - Signature changed
Context.operations.getSource
Was getSource: {parameters: {query?: never; header?: never; path: {knowledgeBaseId: string; sourceId: string; apiVersion: string;}; cookie?: never;}; requestBody?: never; responses: {200: {headers: {[name: string]: unknown;}; content... npmjs.com - Signature changed
Context.operations.getSource.responses
Was responses: {200: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; knowledgeBaseId: string; title: string; documentCount: number; convertedDocumentCount: number; skippedDocumentCount: number... npmjs.com - Signature changed
Context.operations.getSource.responses.200
Was 200: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; knowledgeBaseId: string; title: string; documentCount: number; convertedDocumentCount: number; skippedDocumentCount: number; failedDocumentCount... npmjs.com - Signature changed
Context.operations.getSync
Was getSync: {parameters: {query?: never; header?: never; path: {knowledgeBaseId: string; sourceId: string; syncId: string; apiVersion: string;}; cookie?: never;}; requestBody?: never; responses: {200: {headers: {[name: string]: unknown;}... npmjs.com - Signature changed
Context.operations.getSync.responses
Was responses: {200: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; sourceId: string; mode: 'full' | 'incremental'; trigger: 'schedule' | 'manual' | 'upload' | 'event' | 'push'; status: 'running' | 'held'... npmjs.com - Signature changed
Context.operations.getSync.responses.200
Was 200: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; sourceId: string; mode: 'full' | 'incremental'; trigger: 'schedule' | 'manual' | 'upload' | 'event' | 'push'; status: 'running' | 'held' |... npmjs.com - Signature changed
Context.operations.listKnowledgeBases
Was listKnowledgeBases: {parameters: {query: {cursor?: string; limit?: number; organizationId: string; includeDrafts?: 'true' | 'false';}; header?: never; path: {apiVersion: string;}; cookie?: never;}; requestBody?: never; responses: {200... npmjs.com - Signature changed
Context.operations.listKnowledgeBases.responses
Was responses: {200: {headers: {[name: string]: unknown;}; content: {'application/json': {data: {id: string; publicId: string; organizationId: string; title: string; description: string; state: 'draft' | 'created' | 'ready'; activeJobId... npmjs.com - Signature changed
Context.operations.listKnowledgeBases.responses.200
Was 200: {headers: {[name: string]: unknown;}; content: {'application/json': {data: {id: string; publicId: string; organizationId: string; title: string; description: string; state: 'draft' | 'created' | 'ready'; activeJobId: string |... npmjs.com - Signature changed
Context.operations.listSources
Was listSources: {parameters: {query?: {cursor?: string; limit?: number;}; header?: never; path: {knowledgeBaseId: string; apiVersion: string;}; cookie?: never;}; requestBody?: never; responses: {200: {headers: {[name: string]: unknown;}... npmjs.com - Signature changed
Context.operations.listSources.responses
Was responses: {200: {headers: {[name: string]: unknown;}; content: {'application/json': {data: ({id: string; knowledgeBaseId: string; title: string; documentCount: number; convertedDocumentCount: number; skippedDocumentCount: number... npmjs.com - Signature changed
Context.operations.listSources.responses.200
Was 200: {headers: {[name: string]: unknown;}; content: {'application/json': {data: ({id: string; knowledgeBaseId: string; title: string; documentCount: number; convertedDocumentCount: number; skippedDocumentCount: number... npmjs.com - Signature changed
Context.operations.listSyncs
Was listSyncs: {parameters: {query?: {cursor?: string; limit?: number;}; header?: never; path: {knowledgeBaseId: string; sourceId: string; apiVersion: string;}; cookie?: never;}; requestBody?: never; responses: {200: {headers: {[name... npmjs.com - Signature changed
Context.operations.listSyncs.responses
Was responses: {200: {headers: {[name: string]: unknown;}; content: {'application/json': {data: {id: string; sourceId: string; mode: 'full' | 'incremental'; trigger: 'schedule' | 'manual' | 'upload' | 'event' | 'push'; status: 'running' |... npmjs.com - Signature changed
Context.operations.listSyncs.responses.200
Was 200: {headers: {[name: string]: unknown;}; content: {'application/json': {data: {id: string; sourceId: string; mode: 'full' | 'incremental'; trigger: 'schedule' | 'manual' | 'upload' | 'event' | 'push'; status: 'running' | 'held' |... npmjs.com - Signature changed
Context.operations.updateKnowledgeBase
Was updateKnowledgeBase: {parameters: {query?: never; header?: never; path: {knowledgeBaseId: string; apiVersion: string;}; cookie?: never;}; requestBody: {content: {'application/json': {title?: string; description?: string; draft?... npmjs.com - Signature changed
Context.operations.updateKnowledgeBase.responses
Was responses: {200: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; publicId: string; organizationId: string; title: string; description: string; state: 'draft' | 'created' | 'ready'; activeJobId: string |... npmjs.com - Signature changed
Context.operations.updateKnowledgeBase.responses.200
Was 200: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; publicId: string; organizationId: string; title: string; description: string; state: 'draft' | 'created' | 'ready'; activeJobId: string | null... npmjs.com - Signature changed
Context.operations.updateSource
Was updateSource: {parameters: {query?: never; header?: never; path: {knowledgeBaseId: string; sourceId: string; apiVersion: string;}; cookie?: never;}; requestBody: {content: {'application/json': {title?: string; crawlOptions?... npmjs.com - Signature changed
Context.operations.updateSource.responses
Was responses: {200: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; knowledgeBaseId: string; title: string; documentCount: number; convertedDocumentCount: number; skippedDocumentCount: number... npmjs.com - Signature changed
Context.operations.updateSource.responses.200
Was 200: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; knowledgeBaseId: string; title: string; documentCount: number; convertedDocumentCount: number; skippedDocumentCount: number; failedDocumentCount... npmjs.com - Signature changed
Context.paths./{apiVersion}/context/knowledge-bases.get.responses
Was responses: {200: {headers: {[name: string]: unknown;}; content: {'application/json': {data: {id: string; publicId: string; organizationId: string; title: string; description: string; state: 'draft' | 'created' | 'ready'; activeJobId... npmjs.com - Signature changed
Context.paths./{apiVersion}/context/knowledge-bases.post.responses
Was responses: {201: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; publicId: string; organizationId: string; title: string; description: string; state: 'draft' | 'created' | 'ready'; activeJobId: string |... npmjs.com - Signature changed
Context.paths./{apiVersion}/context/knowledge-bases/{knowledgeBaseId}.get.responses
Was responses: {200: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; publicId: string; organizationId: string; title: string; description: string; state: 'draft' | 'created' | 'ready'; activeJobId: string |... npmjs.com - Signature changed
Context.paths./{apiVersion}/context/knowledge-bases/{knowledgeBaseId}.patch.responses
Was responses: {200: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; publicId: string; organizationId: string; title: string; description: string; state: 'draft' | 'created' | 'ready'; activeJobId: string |... npmjs.com - Signature changed
Context.paths./{apiVersion}/context/knowledge-bases/{knowledgeBaseId}/sources.get.responses
Was responses: {200: {headers: {[name: string]: unknown;}; content: {'application/json': {data: ({id: string; knowledgeBaseId: string; title: string; documentCount: number; convertedDocumentCount: number; skippedDocumentCount: number... npmjs.com - Signature changed
Context.paths./{apiVersion}/context/knowledge-bases/{knowledgeBaseId}/sources.post.responses
Was responses: {200: {headers: {[name: string]: unknown;}; content: {'application/json': {totalPages: number; truncated: boolean; groups: {prefix: string; count: number;}[]; otherCount: number;};};}; 201: {headers: {[name: string]... npmjs.com - Signature changed
Context.paths./{apiVersion}/context/knowledge-bases/{knowledgeBaseId}/sources/{sourceId}.get.responses
Was responses: {200: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; knowledgeBaseId: string; title: string; documentCount: number; convertedDocumentCount: number; skippedDocumentCount: number... npmjs.com - Signature changed
Context.paths./{apiVersion}/context/knowledge-bases/{knowledgeBaseId}/sources/{sourceId}.patch.responses
Was responses: {200: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; knowledgeBaseId: string; title: string; documentCount: number; convertedDocumentCount: number; skippedDocumentCount: number... npmjs.com - Signature changed
Context.paths./{apiVersion}/context/knowledge-bases/{knowledgeBaseId}/sources/{sourceId}/syncs.get.responses
Was responses: {200: {headers: {[name: string]: unknown;}; content: {'application/json': {data: {id: string; sourceId: string; mode: 'full' | 'incremental'; trigger: 'schedule' | 'manual' | 'upload' | 'event' | 'push'; status: 'running' |... npmjs.com - Signature changed
Context.paths./{apiVersion}/context/knowledge-bases/{knowledgeBaseId}/sources/{sourceId}/syncs/{syncId}.get.responses
Was responses: {200: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; sourceId: string; mode: 'full' | 'incremental'; trigger: 'schedule' | 'manual' | 'upload' | 'event' | 'push'; status: 'running' | 'held'... npmjs.com - Signature changed
Context.paths./{apiVersion}/context/knowledge-bases/{knowledgeBaseId}/sources/{sourceId}/syncs/{syncId}/confirm.post.responses
Was responses: {200: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; sourceId: string; mode: 'full' | 'incremental'; trigger: 'schedule' | 'manual' | 'upload' | 'event' | 'push'; status: 'running' | 'held'... npmjs.com - Signature changed
Context.paths./{apiVersion}/context/knowledge-bases/{knowledgeBaseId}/sources/{sourceId}/syncs/{syncId}/discard.post.responses
Was responses: {200: {headers: {[name: string]: unknown;}; content: {'application/json': {id: string; sourceId: string; mode: 'full' | 'incremental'; trigger: 'schedule' | 'manual' | 'upload' | 'event' | 'push'; status: 'running' | 'held'... npmjs.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.