Skip to content

chore: version packages - #1339

Merged
rexxars merged 1 commit into
mainfrom
changeset-release/main
Sep 23, 2026
Merged

rexxars merged 1 commit into
mainfrom
changeset-release/main

Conversation

@squiggler-app

@squiggler-app squiggler-app Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@sanity/client@8.7.0

Minor Changes

  • abort underlying EventSource request when response fails validation (#1340) (ba3de6b)

  • add per-resource schema, query and projection registries (#1334) (b43e033)

    SanitySchemasByResource, SanityQueriesByResource and SanityProjectionsByResource join the existing SanityQueries registry, following the same pattern: a global interface that the interface exported from @sanity/client inherits from, so a generated file can register either way and does not depend on module resolution.

    Each is keyed by a resource, using the same string the App SDK already uses for its runtime cache, projectId.dataset for a dataset. This is what lets two datasets whose schemas disagree register different result types for the same query text, which the flat SanityQueries registry cannot express. Projections add a document-type level, because a projection resolves against whichever document the caller's handle names.

    All three are empty by default and nothing in the client reads them yet. client.fetch and ClientReturn are unchanged, and keep resolving through the flat registry. They exist for consumers that do resource-aware lookups themselves, starting with the App SDK's hooks.

Patch Changes


Note

Low Risk
Release-only diff in this PR; shipped behavior is additive typing plus EventSource cleanup and RN retries, with no change to default fetch typing.

Overview
This Changesets release PR cuts @sanity/client 8.7.0: it bumps package.json, adds the 8.7.0 section to CHANGELOG.md, and removes the consumed changeset files so npm can publish.

The release bundles three already-merged changes:

EventSource: live/listen paths now abort the underlying EventSource when the response fails validation, instead of leaving the connection open.

Type registries (minor): new global SanitySchemasByResource, SanityQueriesByResource, and SanityProjectionsByResource interfaces, keyed by resource (e.g. projectId.dataset), for per-dataset type registration. They are empty by default; client.fetch and ClientReturn still use the flat SanityQueries registry.

React Native (patch): HTTP requests retry in React Native where they previously did not.

Reviewed by Cursor Bugbot for commit 202dc72. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
tsdocs-client Ignored Ignored Sep 23, 2026 12:36pm UTC

Request Review

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

📚 TypeDoc Generation Result

✅ TypeDoc generated successfully!

  • File size: 4.1M
  • Total exports: 259
  • Artifact: typedoc-93c3e9953c1de0699127b43b63ba5de8670896e7
  • HTML docs preview: Download artifact

The TypeDoc JSON file has been generated and validated. All documentation scripts completed successfully.

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 83.82% 1918 / 2288
🔵 Statements 83.69% 1992 / 2380
🔵 Functions 78.85% 522 / 662
🔵 Branches 83.06% 1398 / 1683
File CoverageNo changed files found.
Generated in workflow #5164 for commit 202dc72 by the Vitest Coverage Report Action

@squiggler-app
squiggler-app Bot force-pushed the changeset-release/main branch from 4bde88d to 61e3610 Compare September 22, 2026 15:52
@squiggler-app
squiggler-app Bot force-pushed the changeset-release/main branch from 61e3610 to 202dc72 Compare September 23, 2026 12:36
@rexxars
rexxars added this pull request to the merge queue Sep 23, 2026
Merged via the queue into main with commit f51a306 Sep 23, 2026
34 checks passed
@rexxars
rexxars deleted the changeset-release/main branch September 23, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant