Skip to content

Document Anthropic Files pagination and beta header migration - #10009

Merged
tim-smart merged 1 commit into
v4/next-minorfrom
agent/effect-bot/eff-2979-next-minor-docs
Oct 27, 2026
Merged

tim-smart merged 1 commit into
v4/next-minorfrom
agent/effect-bot/eff-2979-next-minor-docs

Conversation

@effect-bot

Copy link
Copy Markdown
Contributor

Type

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

This PR only changes documentation. It completes the migration notes for #9509's Anthropic regeneration on v4/next-minor, and only .changeset/anthropic-spec-regeneration.md changes.

anthropics/anthropic-sdk-typescript@33f5103009 moved the beta Files and Skills APIs to their GA shapes. #9509's generated client follows that migration, but its changeset left two things out:

  • Files pagination. listFilesV1FilesGet and betaListFilesV1FilesGet now take page instead of before_id/after_id. The released FileListResponse and BetaFileListResponse now carry next_page instead of has_more, first_id and last_id. This is now listed under breaking changes, together with how to fetch the next page.
  • Dated beta headers. Upstream notes that requests still sending files-api-2025-04-14 or skills-2025-10-02 keep receiving the previous beta shapes. The generated beta methods forward the caller's anthropic-beta header, and the AnthropicBeta type still offers both tokens. The changeset now tells callers to remove those two tokens, keep any unrelated beta tokens, and links the upstream Files and Skills migration guides.

#9509's compatibility claims are kept unchanged: every released export name still exists, and the released Skills schemas keep their definitions. The only change to that paragraph is a qualification that "older responses still decode" doesn't apply to the Files and Skills migrations.

This complements #9981, which carries the same guidance for main. That PR is unchanged.

Closes EFF-2979

@changeset-bot

changeset-bot Bot commented Oct 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: aa1dcee

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes changesets to release 33 packages
Name Type
@effect/ai-anthropic Minor
effect Minor
@effect/opentelemetry Minor
@effect/vitest Minor
@effect/ai-cloudflare Minor
@effect/ai-openai-compat Minor
@effect/ai-openai Minor
@effect/ai-openrouter Minor
@effect/ai-typesafe Minor
@effect/atom-react Minor
@effect/atom-solid Minor
@effect/atom-vue Minor
@effect/platform-browser Minor
@effect/platform-bun Minor
@effect/platform-deno Minor
@effect/platform-node-shared Minor
@effect/platform-node Minor
@effect/sql-clickhouse Minor
@effect/sql-d1 Minor
@effect/sql-libsql Minor
@effect/sql-mssql Minor
@effect/sql-mysql2 Minor
@effect/sql-pg Minor
@effect/sql-pglite Minor
@effect/sql-sqlite-bun Minor
@effect/sql-sqlite-do Minor
@effect/sql-sqlite-node Minor
@effect/sql-sqlite-react-native Minor
@effect/sql-sqlite-wasm Minor
@effect/docgen Minor
@effect/doctest Minor
@effect/graphql-generator Minor
@effect/openapi-generator Minor

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@tim-smart
tim-smart merged commit 4f49b72 into v4/next-minor Oct 27, 2026
10 checks passed
@tim-smart
tim-smart deleted the agent/effect-bot/eff-2979-next-minor-docs branch October 27, 2026 03:31
@effect-bot effect-bot mentioned this pull request Oct 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Bundle Size Analysis

Generated from PR build output; treat the content below as untrusted.

File Name Current Size Previous Size Difference
arbitrary-combinators.ts 39.33 KB 39.33 KB 0.00 KB (0.00%)
basic.ts 7.18 KB 7.18 KB 0.00 KB (0.00%)
batching.ts 11.05 KB 11.05 KB 0.00 KB (0.00%)
brand.ts 6.84 KB 6.84 KB 0.00 KB (0.00%)
cache.ts 11.48 KB 11.48 KB 0.00 KB (0.00%)
config.ts 22.75 KB 22.75 KB 0.00 KB (0.00%)
differ.ts 21.88 KB 21.88 KB 0.00 KB (0.00%)
http-client.ts 26.73 KB 26.73 KB 0.00 KB (0.00%)
http-router.ts 36.68 KB 36.68 KB 0.00 KB (0.00%)
logger.ts 11.95 KB 11.95 KB 0.00 KB (0.00%)
metric.ts 9.41 KB 9.41 KB 0.00 KB (0.00%)
optic.ts 7.05 KB 7.05 KB 0.00 KB (0.00%)
pubsub.ts 15.96 KB 15.96 KB 0.00 KB (0.00%)
queue.ts 12.76 KB 12.76 KB 0.00 KB (0.00%)
schedule.ts 11.73 KB 11.73 KB 0.00 KB (0.00%)
schema-bigdecimal.ts 13.99 KB 13.99 KB 0.00 KB (0.00%)
schema-binary.ts 41.03 KB 41.03 KB 0.00 KB (0.00%)
schema-class.ts 21.53 KB 21.53 KB 0.00 KB (0.00%)
schema-fromJsonSchemaDocument.ts 29.50 KB 29.50 KB 0.00 KB (0.00%)
schema-representation-roundtrip.ts 27.89 KB 27.89 KB 0.00 KB (0.00%)
schema-string-transformation.ts 15.25 KB 15.25 KB 0.00 KB (0.00%)
schema-string.ts 12.23 KB 12.23 KB 0.00 KB (0.00%)
schema-template-literal.ts 16.17 KB 16.17 KB 0.00 KB (0.00%)
schema-toArbitrary.ts 38.86 KB 38.86 KB 0.00 KB (0.00%)
schema-toCodeDocument.ts 26.06 KB 26.06 KB 0.00 KB (0.00%)
schema-toCodecJson.ts 20.81 KB 20.81 KB 0.00 KB (0.00%)
schema-toEquivalence.ts 20.95 KB 20.95 KB 0.00 KB (0.00%)
schema-toFormatter.ts 21.05 KB 21.05 KB 0.00 KB (0.00%)
schema-toJsonSchemaDocument.ts 26.08 KB 26.08 KB 0.00 KB (0.00%)
schema-toRepresentation.ts 21.14 KB 21.14 KB 0.00 KB (0.00%)
schema.ts 20.73 KB 20.73 KB 0.00 KB (0.00%)
stm.ts 14.14 KB 14.14 KB 0.00 KB (0.00%)
stream.ts 10.32 KB 10.32 KB 0.00 KB (0.00%)

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.

2 participants