SDK Changelog
Release history for the AnyRouter TypeScript SDK (@anyr/sdk) and the Vercel AI SDK provider (@anyr/ai-sdk-provider).
Release notes for the AnyRouter TypeScript SDK packages.
@anyr/sdk
Official TypeScript SDK for the AnyRouter API.
Unreleased
🐛 Bug Fixes
- docs: error-handling table now lists every mapped status — added
BadRequestError(400) andUnprocessableEntityError(422), and documents thatAnyRouterErroris the catch-all base class
🏗️ Internal
- declare
"sideEffects": falseso downstream bundlers can tree-shake unused resources — the SDK has no top-level side effects
1.0.2 (2026-09-28)
✨ Features
🐛 Bug Fixes
1.0.0 (2026-09-24)
✨ Features
⚡ Performance
1.0.1 (2026-09-24)
✨ Features
⚡ Performance
1.0.0 (2026-09-23)
✨ Features
⚡ Performance
1.0.0 (2026-08-28)
✨ Features
- api: add display_name to model objects for Claude Code gateway discovery (77520dd)
- errors: tell plan_required apart from out-of-credits in clients (4497f6a)
🐛 Bug Fixes
0.1.5 (2026-08-20)
✨ Features
- errors: tell plan_required apart from out-of-credits in clients (4497f6a)
🐛 Bug Fixes
- catalog: default /models and GET /api/v1/models to reachable rows (#2354) (fe92824)
- docs: title-case sidebar folders and slash model ids (55100ae)
0.1.4 (2026-08-01)
✨ Features
- sdk: cacheTtl/cacheKey/skipCache request options (1e2ff95)
- telemetry: email engagement tracking and client-type attribution (ebbdc9d)
0.1.3 (2026-06-18)
🐛 Bug Fixes
- transport: automatically retry transient failures — connection errors, timeouts, and
408/409/429/5xxresponses — with exponential backoff + jitter, honoringRetry-After/Retry-After-Msand thex-should-retryoverride header - transport: per-request timeout (default 10 min) via
AbortController, cleared once response headers arrive so it never aborts an in-progress stream - per-request options on every resource method —
signal,timeout,maxRetries,headers - add
APIUserAbortError, raised when the caller aborts via anAbortSignal(never retried)
0.1.2 (2026-06-18)
✨ Features
- initial public release of the official AnyRouter TypeScript SDK
- resources: chat completions, embeddings, images, models, credits, API keys, presets, the OpenAI Responses API, and the Anthropic Messages API
- typed request/response/error envelope, dependency-free SSE streaming, OpenRouter-style provider routing (
provider,models,route,session_id) - custom
fetchimplementation and per-client headers
@anyr/ai-sdk-provider
The AnyRouter provider for the Vercel AI SDK.
1.0.1 (2026-09-28)
🐛 Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @anyr/sdk bumped from ^1.0.1 to ^1.0.2
- dependencies
1.0.0 (2026-09-24)
🐛 Bug Fixes
- sdk: align ai-sdk-provider range with workspace @anyr/sdk 1.0.0 (#2846) (7cd866e)
- sdk: restore ai-sdk-provider @anyr/sdk pin to workspace 1.0.0 (#3041) (1e14da4)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @anyr/sdk bumped from ^1.0.1 to ^1.0.0
- dependencies
0.1.10 (2026-09-24)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @anyr/sdk bumped from ^1.0.1 to ^1.0.0
- dependencies
0.1.9 (2026-09-24)
🐛 Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @anyr/sdk bumped from ^1.0.0 to ^1.0.1
- dependencies
0.1.8 (2026-09-04)
🐛 Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @anyr/sdk bumped from ^1.0.0 to ^0.1.6
- dependencies
0.1.7 (2026-08-20)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @anyr/sdk bumped from ^0.1.3 to ^0.1.5
- dependencies
0.1.5 (2026-07-31)
✨ Features
- ai-sdk-provider: cache passthrough options (4090989)
- telemetry: email engagement tracking and client-type attribution (ebbdc9d)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @anyr/sdk bumped from ^0.1.1 to ^0.1.4
- dependencies
0.1.4 (2026-06-18)
🐛 Bug Fixes
- surface
reasoning_contentfrom reasoning models (DeepSeek-R1, GLM thinking, …) as the AI SDK's standard reasoning parts —reasoning/reasoningTextand the full-streamreasoning-start/reasoning-delta/reasoning-endparts now work
0.1.3 (2026-06-18)
✨ Features
- support the Vercel AI SDK v7 (beta) alongside v6 — widened
ai,@ai-sdk/provider, and@ai-sdk/provider-utilspeer ranges
0.1.2 (2026-06-18)
✨ Features
- initial public release of the AnyRouter provider for the Vercel AI SDK
createAnyRouter()/anyrouter— chat (LanguageModelV3), embeddings, and image models- tool calling, structured output, streaming, and provider routing /
session_id/extraBodypassthrough via provider settings and per-callproviderOptions.anyrouter