Skip to content

ci: Version Packages - #2051

Merged
AlemTuzlak merged 1 commit into
mainfrom
changeset-release/main
Nov 5, 2026
Merged

AlemTuzlak merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 5, 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

@tanstack/ai@1.2.0

Minor Changes

  • #2033 48cbc66 - withSandbox now sends a sandbox.starting CUSTOM event before it creates or resumes the sandbox. Then it sends sandbox.created or sandbox.resumed. Use these events to show a pending state in the client while the sandbox starts.

    New in @tanstack/ai: CUSTOM_EVENT.SANDBOX_STARTING, the SandboxStartingPayload type, and the typed SandboxStartingEvent, SandboxCreatedEvent, and SandboxResumedEvent members of KnownCustomEvent.

Patch Changes

  • Updated dependencies [374fb69]:
    • @tanstack/ai-utils@1.1.0

@tanstack/ai-bedrock@1.2.0

Minor Changes

  • #1973 374fb69 - @aws-sdk/client-bedrock-runtime and @aws-sdk/credential-providers are now optional peer dependencies. Bundles that do not use them are smaller.

    • If you use the Converse API (the default api: 'converse') or embeddings, install @aws-sdk/client-bedrock-runtime.
    • If you use SigV4 auth from the AWS credential chain (no API key), install @aws-sdk/credential-providers.
    • If a package is missing, the first request throws an error that names the package to install.

    The Chat Completions and Responses APIs sign SigV4 requests in the adapter and call Bedrock with fetch. They do not load the openai SDK at runtime.

Patch Changes

  • Updated dependencies [48cbc66, 374fb69]:
    • @tanstack/ai@1.2.0
    • @tanstack/openai-base@1.0.2

@tanstack/ai-cloudflare@1.2.0

Minor Changes

  • #1973 374fb69 - @cloudflare/workers-types is now an optional peer dependency. If you use TypeScript, install it as a dev dependency, because the adapter types use its Ai binding and AI Gateway types. The adapter needs no extra package at runtime.

Patch Changes

  • #2036 382cb80 - embed() with more than 100 inputs no longer fails on Workers AI embedding models that accept 100 texts per request, such as the BGE models. The adapter now sends the inputs in sequential requests of at most 100 texts and returns the vectors in input order. An aborted signal stops the remaining requests. Models with a lower limit, such as @cf/qwen/qwen3-embedding-0.6b, can still reject large inputs.

  • Updated dependencies [48cbc66, 374fb69, 374fb69]:

    • @tanstack/ai@1.2.0
    • @tanstack/ai-utils@1.1.0
    • @tanstack/openai-base@1.0.2

@tanstack/ai-sandbox@1.2.0

Minor Changes

  • #2033 48cbc66 - withSandbox now sends a sandbox.starting CUSTOM event before it creates or resumes the sandbox. Then it sends sandbox.created or sandbox.resumed. Use these events to show a pending state in the client while the sandbox starts.

    New in @tanstack/ai: CUSTOM_EVENT.SANDBOX_STARTING, the SandboxStartingPayload type, and the typed SandboxStartingEvent, SandboxCreatedEvent, and SandboxResumedEvent members of KnownCustomEvent.

Patch Changes

  • #2039 c86063a - withSandbox no longer fails the first chat() call with declares it provides "sandbox-projection" but never called provide() in setup() when the sandbox definition has no workspace. sandbox-projection is listed in provides only when a workspace is declared, which is when setup calls provide(). A sandbox with a workspace still satisfies requires: [ProjectionCapability].

  • #1973 374fb69 - The host tool bridge now uses the MCP v2 server package @modelcontextprotocol/server. The bridge works the same way. The package is marked "sideEffects": false, so bundlers can drop the modules that you do not import.

  • Updated dependencies [48cbc66, 374fb69]:

    • @tanstack/ai@1.2.0
    • @tanstack/ai-utils@1.1.0
    • @tanstack/ai-harness@0.2.0
    • @tanstack/ai-persistence@1.0.1

@tanstack/ai-utils@1.1.0

Minor Changes

  • #1973 374fb69 - Add the @tanstack/ai-utils/http subpath. It has the small fetch client that the provider adapters use: createHttpClient with retries and timeouts, parseSSE, mergeHeaders, toHeaderRecord, and toFormData.

@tanstack/ai-anthropic@1.1.1

Patch Changes

  • #2042 1f777da - Report incomplete-stream when an Anthropic stream ends before a stop reason (no message_delta with stop_reason and no message_stop). Before, the run had no terminal event and onFinish got the partial text as a success. An abort is not reported.

  • #1973 374fb69 - The adapters now call the provider HTTP API with fetch and do not create the @anthropic-ai/sdk client. At runtime they load only small SDK modules, for example the error classes from @anthropic-ai/sdk/core/error. With a bundler that splits chunks, the startup bundle is smaller. Errors keep the same classes and fields.

    These options still load @anthropic-ai/sdk on first use: middleware, OpenTelemetry tracing, logLevel: 'info' or 'debug' (or ANTHROPIC_LOG), and no apiKey and no authToken.

  • Updated dependencies [48cbc66, 374fb69]:

    • @tanstack/ai@1.2.0
    • @tanstack/ai-utils@1.1.0

@tanstack/ai-byteplus@1.1.1

Patch Changes

  • #1973 374fb69 - The adapters now call the provider HTTP API with fetch and do not create the openai SDK client. At runtime they load only small SDK modules, for example the error classes from openai/core/error. With a bundler that splits chunks, the startup bundle is smaller. A single-file bundle can be a little larger, because a few rare options still load the full SDK on first use. Errors keep the same classes and fields.

  • Updated dependencies [48cbc66, 374fb69, 374fb69]:

    • @tanstack/ai@1.2.0
    • @tanstack/ai-utils@1.1.0
    • @tanstack/openai-base@1.0.2

@tanstack/ai-elevenlabs@1.1.1

Patch Changes

  • #1973 374fb69 - The adapters now call the provider HTTP API with fetch and do not create the @elevenlabs/elevenlabs-js client. At runtime they load only the SDK error classes. Bundles are smaller. Errors keep the same classes and fields.

  • Updated dependencies [48cbc66, 374fb69]:

    • @tanstack/ai@1.2.0
    • @tanstack/ai-utils@1.1.0

@tanstack/ai-fal@1.1.1

Patch Changes

  • #1973 374fb69 - The adapters now call the provider HTTP API with fetch and do not load the provider SDK at runtime, except for the options below. With a bundler that splits chunks, the startup bundle is smaller. The SDK stays a dependency for its TypeScript types and for those options. Errors keep the same name, status, message, and body fields. If your code checks an error with instanceof against an error class of @fal-ai/client, check error.name instead.

    • Each fal adapter now keeps its own config. Two fal adapters with different API keys do not overwrite each other.
    • Uploads larger than 90 MB still load @fal-ai/client on first use.
    • configureFalClient configures the global fal client of @fal-ai/client for apps that call fal themselves.
  • Updated dependencies [48cbc66, 374fb69]:

    • @tanstack/ai@1.2.0
    • @tanstack/ai-utils@1.1.0

@tanstack/ai-gemini@1.1.1

Patch Changes

  • #2037 ac406f1 - embed() with the Gemini adapter now sends inputs in requests of at most 100 texts, one after the other, instead of one request for the whole array. Vectors keep input order and indexes, and Vertex billable characters are summed across requests. Calls with 100 or fewer inputs are unchanged.

  • #1973 374fb69 - The adapters now call the provider HTTP API with fetch and do not load the provider SDK at runtime, except for the options below. With a bundler that splits chunks, the startup bundle is smaller. The SDK stays a dependency for its TypeScript types and for those options. Errors keep the same name, status, message, and body fields. If your code checks an error with instanceof against an error class of @google/genai, check error.name instead.

    These options still load @google/genai on first use: vertexai: true, enterprise: true, no apiKey, and a file path string as the upload.

  • Updated dependencies [48cbc66, 374fb69]:

    • @tanstack/ai@1.2.0
    • @tanstack/ai-utils@1.1.0

@tanstack/ai-grok@1.1.1

Patch Changes

  • #1973 374fb69 - The adapters now call the provider HTTP API with fetch and do not create the openai SDK client. At runtime they load only small SDK modules, for example the error classes from openai/core/error. With a bundler that splits chunks, the startup bundle is smaller. A single-file bundle can be a little larger, because a few rare options still load the full SDK on first use. Errors keep the same classes and fields.

  • Updated dependencies [48cbc66, 374fb69, 374fb69]:

    • @tanstack/ai@1.2.0
    • @tanstack/ai-utils@1.1.0
    • @tanstack/openai-base@1.0.2

@tanstack/ai-groq@1.0.2

Patch Changes

  • #1973 374fb69 - The adapters now call the provider HTTP API with fetch and do not create the openai SDK client. At runtime they load only small SDK modules, for example the error classes from openai/core/error. With a bundler that splits chunks, the startup bundle is smaller. A single-file bundle can be a little larger, because a few rare options still load the full SDK on first use. Errors keep the same classes and fields.

  • Updated dependencies [48cbc66, 374fb69, 374fb69]:

    • @tanstack/ai@1.2.0
    • @tanstack/ai-utils@1.1.0
    • @tanstack/openai-base@1.0.2

@tanstack/ai-llmgateway@1.0.1

Patch Changes

  • #1973 374fb69 - The adapters now call the provider HTTP API with fetch and do not create the openai SDK client. At runtime they load only small SDK modules, for example the error classes from openai/core/error. With a bundler that splits chunks, the startup bundle is smaller. A single-file bundle can be a little larger, because a few rare options still load the full SDK on first use. Errors keep the same classes and fields.

  • #1895 e024981 - Update model metadata from OpenRouter API

  • Updated dependencies [48cbc66, 374fb69, 374fb69]:

    • @tanstack/ai@1.2.0
    • @tanstack/ai-utils@1.1.0
    • @tanstack/openai-base@1.0.2

@tanstack/ai-lovable@1.1.1

Patch Changes

  • #1973 374fb69 - The adapters now call the provider HTTP API with fetch and do not create the openai SDK client. At runtime they load only small SDK modules, for example the error classes from openai/core/error. With a bundler that splits chunks, the startup bundle is smaller. A single-file bundle can be a little larger, because a few rare options still load the full SDK on first use. Errors keep the same classes and fields.

  • Updated dependencies [48cbc66, 374fb69, 374fb69]:

    • @tanstack/ai@1.2.0
    • @tanstack/ai-utils@1.1.0
    • @tanstack/openai-base@1.0.2

@tanstack/ai-mistral@1.1.1

Patch Changes

  • #1973 374fb69 - The adapters now call the provider HTTP API with fetch and do not create the @mistralai/mistralai client. At runtime they load only the SDK error classes. Bundles are smaller. A 422 response now throws the adapter's own HTTPValidationError, not the SDK class. It has the same name, message, and detail fields, and it is still an instanceof MistralError. If your code checks a 422 error with instanceof against the SDK HTTPValidationError, check error.name instead.

  • Updated dependencies [48cbc66, 374fb69]:

    • @tanstack/ai@1.2.0
    • @tanstack/ai-utils@1.1.0

@tanstack/ai-neon@0.2.1

Patch Changes

  • #1973 374fb69 - The adapters now call the provider HTTP API with fetch and do not create the openai SDK client. At runtime they load only small SDK modules, for example the error classes from openai/core/error. With a bundler that splits chunks, the startup bundle is smaller. A single-file bundle can be a little larger, because a few rare options still load the full SDK on first use. Errors keep the same classes and fields.

  • #1895 e024981 - Update model metadata from OpenRouter API

  • Updated dependencies [1f777da, 48cbc66, 374fb69, 374fb69, 374fb69]:

    • @tanstack/ai-anthropic@1.1.1
    • @tanstack/ai@1.2.0
    • @tanstack/ai-utils@1.1.0
    • @tanstack/openai-base@1.0.2

@tanstack/ai-openai@1.1.1

Patch Changes

  • #1986 b23df66 - embed() with the OpenAI adapter now sends inputs in sequential requests of at most 2048 inputs each, the endpoint's limit, and sums the token usage. Before, more than 2048 texts failed with a 400 error. OpenAI also limits one request to 300,000 tokens across all inputs, so a large array of long texts can still fail. Split those calls yourself.

  • #1973 374fb69 - The adapters now call the provider HTTP API with fetch and do not create the openai SDK client. At runtime they load only small SDK modules, for example the error classes from openai/core/error. With a bundler that splits chunks, the startup bundle is smaller. A single-file bundle can be a little larger, because a few rare options still load the full SDK on first use. Errors keep the same classes and fields.

  • #1895 e024981 - Update model metadata from OpenRouter API

  • Updated dependencies [48cbc66, 374fb69, 374fb69]:

    • @tanstack/ai@1.2.0
    • @tanstack/ai-utils@1.1.0
    • @tanstack/openai-base@1.0.2

@tanstack/ai-openrouter@1.1.1

Patch Changes

  • #1973 374fb69 - The adapters now call the provider HTTP API with fetch and do not create the @openrouter/sdk client. At runtime they load only the SDK error classes. Bundles are smaller. Errors keep the same name and fields, and they are still an instanceof OpenRouterError. An instanceof check against a typed SDK error class (for example BadRequestResponseError or TooManyRequestsResponseError) no longer matches. Check error.name instead.

  • #1895 e024981 - Update model metadata from OpenRouter API

  • Updated dependencies [48cbc66, 374fb69]:

    • @tanstack/ai@1.2.0
    • @tanstack/ai-utils@1.1.0

@tanstack/ai-vercel-gateway@1.1.1

Patch Changes

  • #1973 374fb69 - The adapters now call the provider HTTP API with fetch and do not create the openai SDK client. At runtime they load only small SDK modules, for example the error classes from openai/core/error. With a bundler that splits chunks, the startup bundle is smaller. A single-file bundle can be a little larger, because a few rare options still load the full SDK on first use. Errors keep the same classes and fields.

  • #1895 e024981 - Update model metadata from OpenRouter API

  • Updated dependencies [48cbc66, 374fb69, 374fb69]:

    • @tanstack/ai@1.2.0
    • @tanstack/ai-utils@1.1.0
    • @tanstack/openai-base@1.0.2

@tanstack/ai-vertex@1.0.1

Patch Changes

  • #1973 374fb69 - Mark the package as "sideEffects": false, so bundlers can drop the modules that you do not import.

  • Updated dependencies [ac406f1, 48cbc66, 374fb69]:

    • @tanstack/ai-gemini@1.1.1
    • @tanstack/ai@1.2.0

@tanstack/openai-base@1.0.2

Patch Changes

  • #1973 374fb69 - The adapters now call the provider HTTP API with fetch and do not create the openai SDK client. At runtime they load only small SDK modules, for example the error classes from openai/core/error. With a bundler that splits chunks, the startup bundle is smaller. A single-file bundle can be a little larger, because a few rare options still load the full SDK on first use. Errors keep the same classes and fields.

    New exports: createOpenAIClient, createAzureOpenAIClient, and the OpenAIClientLike type. Some options still load the openai SDK on first use: workloadIdentity, provider, dataResidency, credential, x509Transport, an admin key with no apiKey, and azureADTokenProvider on Azure.

  • Updated dependencies [48cbc66, 374fb69]:

    • @tanstack/ai@1.2.0
    • @tanstack/ai-utils@1.1.0

@coderabbitai

coderabbitai Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: TanStack/ai
  • Branch: main
  • File: .coderabbit.yaml
  • Commit: b675855
  • Layers: Repository YAML
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6e7abe63-7b39-4cd9-abcd-b74030d8f6b6

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@AlemTuzlak
AlemTuzlak merged commit 52e1a19 into main Nov 5, 2026
3 checks passed
@AlemTuzlak
AlemTuzlak deleted the changeset-release/main branch November 5, 2026 11:18
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