Skip to content

ci: Version Packages#690

Merged
AlemTuzlak merged 1 commit into
mainfrom
changeset-release/main
Jun 3, 2026
Merged

ci: Version Packages#690
AlemTuzlak merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 3, 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@0.27.0

Minor Changes

  • #660 6df32b5 - BREAKING: Sampling options (temperature, topP, maxTokens) have moved off the root of chat() / ai() / generate() and into provider-native modelOptions. There is no longer a generic root-level sampling surface — each provider accepts its own native keys, fully typed per model:

    • OpenAI (Responses): modelOptions: { temperature, top_p, max_output_tokens }
    • Anthropic: modelOptions: { temperature, top_p, max_tokens }
    • Gemini: modelOptions: { temperature, topP, maxOutputTokens }
    • Grok: modelOptions: { temperature, top_p, max_tokens }
    • Groq: modelOptions: { temperature, top_p, max_completion_tokens }
    • Ollama: modelOptions: { options: { temperature, top_p, num_predict } } (nested)
    • OpenRouter (chat): modelOptions: { temperature, topP, maxCompletionTokens }

    Middleware no longer sees temperature/topP/maxTokens as first-class fields on ChatMiddlewareConfig; mutate config.modelOptions (with the provider-native keys above) instead. metadata is unaffected and stays at the root.

    The public OllamaTextProviderOptions type export has also been removed from @tanstack/ai-ollama. modelOptions is now typed per model — use the exported OllamaChatModelOptionsByName map (indexed by model name) or the underlying ChatRequest from the ollama SDK for arbitrary model strings.

    Migrate automatically with the codemod, which resolves the provider from the adapter and rewrites the keys for you:

    pnpm codemod:move-sampling-to-model-options "src/**/*.{ts,tsx}"

    See the Sampling Options migration guide for details.

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-event-client@0.5.3

@tanstack/ai-anthropic@0.14.0

Minor Changes

  • #660 6df32b5 - BREAKING: Sampling options (temperature, topP, maxTokens) have moved off the root of chat() / ai() / generate() and into provider-native modelOptions. There is no longer a generic root-level sampling surface — each provider accepts its own native keys, fully typed per model:

    • OpenAI (Responses): modelOptions: { temperature, top_p, max_output_tokens }
    • Anthropic: modelOptions: { temperature, top_p, max_tokens }
    • Gemini: modelOptions: { temperature, topP, maxOutputTokens }
    • Grok: modelOptions: { temperature, top_p, max_tokens }
    • Groq: modelOptions: { temperature, top_p, max_completion_tokens }
    • Ollama: modelOptions: { options: { temperature, top_p, num_predict } } (nested)
    • OpenRouter (chat): modelOptions: { temperature, topP, maxCompletionTokens }

    Middleware no longer sees temperature/topP/maxTokens as first-class fields on ChatMiddlewareConfig; mutate config.modelOptions (with the provider-native keys above) instead. metadata is unaffected and stays at the root.

    The public OllamaTextProviderOptions type export has also been removed from @tanstack/ai-ollama. modelOptions is now typed per model — use the exported OllamaChatModelOptionsByName map (indexed by model name) or the underlying ChatRequest from the ollama SDK for arbitrary model strings.

    Migrate automatically with the codemod, which resolves the provider from the adapter and rewrites the keys for you:

    pnpm codemod:move-sampling-to-model-options "src/**/*.{ts,tsx}"

    See the Sampling Options migration guide for details.

Patch Changes

  • Updated dependencies [6df32b5]:
    • @tanstack/ai@0.27.0

@tanstack/ai-gemini@0.15.0

Minor Changes

  • #660 6df32b5 - BREAKING: Sampling options (temperature, topP, maxTokens) have moved off the root of chat() / ai() / generate() and into provider-native modelOptions. There is no longer a generic root-level sampling surface — each provider accepts its own native keys, fully typed per model:

    • OpenAI (Responses): modelOptions: { temperature, top_p, max_output_tokens }
    • Anthropic: modelOptions: { temperature, top_p, max_tokens }
    • Gemini: modelOptions: { temperature, topP, maxOutputTokens }
    • Grok: modelOptions: { temperature, top_p, max_tokens }
    • Groq: modelOptions: { temperature, top_p, max_completion_tokens }
    • Ollama: modelOptions: { options: { temperature, top_p, num_predict } } (nested)
    • OpenRouter (chat): modelOptions: { temperature, topP, maxCompletionTokens }

    Middleware no longer sees temperature/topP/maxTokens as first-class fields on ChatMiddlewareConfig; mutate config.modelOptions (with the provider-native keys above) instead. metadata is unaffected and stays at the root.

    The public OllamaTextProviderOptions type export has also been removed from @tanstack/ai-ollama. modelOptions is now typed per model — use the exported OllamaChatModelOptionsByName map (indexed by model name) or the underlying ChatRequest from the ollama SDK for arbitrary model strings.

    Migrate automatically with the codemod, which resolves the provider from the adapter and rewrites the keys for you:

    pnpm codemod:move-sampling-to-model-options "src/**/*.{ts,tsx}"

    See the Sampling Options migration guide for details.

Patch Changes

  • Updated dependencies [6df32b5]:
    • @tanstack/ai@0.27.0

@tanstack/ai-grok@0.11.0

Minor Changes

  • #660 6df32b5 - BREAKING: Sampling options (temperature, topP, maxTokens) have moved off the root of chat() / ai() / generate() and into provider-native modelOptions. There is no longer a generic root-level sampling surface — each provider accepts its own native keys, fully typed per model:

    • OpenAI (Responses): modelOptions: { temperature, top_p, max_output_tokens }
    • Anthropic: modelOptions: { temperature, top_p, max_tokens }
    • Gemini: modelOptions: { temperature, topP, maxOutputTokens }
    • Grok: modelOptions: { temperature, top_p, max_tokens }
    • Groq: modelOptions: { temperature, top_p, max_completion_tokens }
    • Ollama: modelOptions: { options: { temperature, top_p, num_predict } } (nested)
    • OpenRouter (chat): modelOptions: { temperature, topP, maxCompletionTokens }

    Middleware no longer sees temperature/topP/maxTokens as first-class fields on ChatMiddlewareConfig; mutate config.modelOptions (with the provider-native keys above) instead. metadata is unaffected and stays at the root.

    The public OllamaTextProviderOptions type export has also been removed from @tanstack/ai-ollama. modelOptions is now typed per model — use the exported OllamaChatModelOptionsByName map (indexed by model name) or the underlying ChatRequest from the ollama SDK for arbitrary model strings.

    Migrate automatically with the codemod, which resolves the provider from the adapter and rewrites the keys for you:

    pnpm codemod:move-sampling-to-model-options "src/**/*.{ts,tsx}"

    See the Sampling Options migration guide for details.

Patch Changes

  • Updated dependencies [6df32b5]:
    • @tanstack/ai@0.27.0
    • @tanstack/openai-base@0.7.0

@tanstack/ai-groq@0.4.0

Minor Changes

  • #660 6df32b5 - BREAKING: Sampling options (temperature, topP, maxTokens) have moved off the root of chat() / ai() / generate() and into provider-native modelOptions. There is no longer a generic root-level sampling surface — each provider accepts its own native keys, fully typed per model:

    • OpenAI (Responses): modelOptions: { temperature, top_p, max_output_tokens }
    • Anthropic: modelOptions: { temperature, top_p, max_tokens }
    • Gemini: modelOptions: { temperature, topP, maxOutputTokens }
    • Grok: modelOptions: { temperature, top_p, max_tokens }
    • Groq: modelOptions: { temperature, top_p, max_completion_tokens }
    • Ollama: modelOptions: { options: { temperature, top_p, num_predict } } (nested)
    • OpenRouter (chat): modelOptions: { temperature, topP, maxCompletionTokens }

    Middleware no longer sees temperature/topP/maxTokens as first-class fields on ChatMiddlewareConfig; mutate config.modelOptions (with the provider-native keys above) instead. metadata is unaffected and stays at the root.

    The public OllamaTextProviderOptions type export has also been removed from @tanstack/ai-ollama. modelOptions is now typed per model — use the exported OllamaChatModelOptionsByName map (indexed by model name) or the underlying ChatRequest from the ollama SDK for arbitrary model strings.

    Migrate automatically with the codemod, which resolves the provider from the adapter and rewrites the keys for you:

    pnpm codemod:move-sampling-to-model-options "src/**/*.{ts,tsx}"

    See the Sampling Options migration guide for details.

Patch Changes

  • Updated dependencies [6df32b5]:
    • @tanstack/ai@0.27.0
    • @tanstack/openai-base@0.7.0

@tanstack/ai-ollama@0.8.0

Minor Changes

  • #660 6df32b5 - BREAKING: Sampling options (temperature, topP, maxTokens) have moved off the root of chat() / ai() / generate() and into provider-native modelOptions. There is no longer a generic root-level sampling surface — each provider accepts its own native keys, fully typed per model:

    • OpenAI (Responses): modelOptions: { temperature, top_p, max_output_tokens }
    • Anthropic: modelOptions: { temperature, top_p, max_tokens }
    • Gemini: modelOptions: { temperature, topP, maxOutputTokens }
    • Grok: modelOptions: { temperature, top_p, max_tokens }
    • Groq: modelOptions: { temperature, top_p, max_completion_tokens }
    • Ollama: modelOptions: { options: { temperature, top_p, num_predict } } (nested)
    • OpenRouter (chat): modelOptions: { temperature, topP, maxCompletionTokens }

    Middleware no longer sees temperature/topP/maxTokens as first-class fields on ChatMiddlewareConfig; mutate config.modelOptions (with the provider-native keys above) instead. metadata is unaffected and stays at the root.

    The public OllamaTextProviderOptions type export has also been removed from @tanstack/ai-ollama. modelOptions is now typed per model — use the exported OllamaChatModelOptionsByName map (indexed by model name) or the underlying ChatRequest from the ollama SDK for arbitrary model strings.

    Migrate automatically with the codemod, which resolves the provider from the adapter and rewrites the keys for you:

    pnpm codemod:move-sampling-to-model-options "src/**/*.{ts,tsx}"

    See the Sampling Options migration guide for details.

Patch Changes

  • Updated dependencies [6df32b5]:
    • @tanstack/ai@0.27.0

@tanstack/ai-openai@0.13.0

Minor Changes

  • #660 6df32b5 - BREAKING: Sampling options (temperature, topP, maxTokens) have moved off the root of chat() / ai() / generate() and into provider-native modelOptions. There is no longer a generic root-level sampling surface — each provider accepts its own native keys, fully typed per model:

    • OpenAI (Responses): modelOptions: { temperature, top_p, max_output_tokens }
    • Anthropic: modelOptions: { temperature, top_p, max_tokens }
    • Gemini: modelOptions: { temperature, topP, maxOutputTokens }
    • Grok: modelOptions: { temperature, top_p, max_tokens }
    • Groq: modelOptions: { temperature, top_p, max_completion_tokens }
    • Ollama: modelOptions: { options: { temperature, top_p, num_predict } } (nested)
    • OpenRouter (chat): modelOptions: { temperature, topP, maxCompletionTokens }

    Middleware no longer sees temperature/topP/maxTokens as first-class fields on ChatMiddlewareConfig; mutate config.modelOptions (with the provider-native keys above) instead. metadata is unaffected and stays at the root.

    The public OllamaTextProviderOptions type export has also been removed from @tanstack/ai-ollama. modelOptions is now typed per model — use the exported OllamaChatModelOptionsByName map (indexed by model name) or the underlying ChatRequest from the ollama SDK for arbitrary model strings.

    Migrate automatically with the codemod, which resolves the provider from the adapter and rewrites the keys for you:

    pnpm codemod:move-sampling-to-model-options "src/**/*.{ts,tsx}"

    See the Sampling Options migration guide for details.

Patch Changes

  • Updated dependencies [6df32b5]:
    • @tanstack/ai@0.27.0
    • @tanstack/openai-base@0.7.0
    • @tanstack/ai-client@0.16.2

@tanstack/ai-openrouter@0.13.0

Minor Changes

  • #660 6df32b5 - BREAKING: Sampling options (temperature, topP, maxTokens) have moved off the root of chat() / ai() / generate() and into provider-native modelOptions. There is no longer a generic root-level sampling surface — each provider accepts its own native keys, fully typed per model:

    • OpenAI (Responses): modelOptions: { temperature, top_p, max_output_tokens }
    • Anthropic: modelOptions: { temperature, top_p, max_tokens }
    • Gemini: modelOptions: { temperature, topP, maxOutputTokens }
    • Grok: modelOptions: { temperature, top_p, max_tokens }
    • Groq: modelOptions: { temperature, top_p, max_completion_tokens }
    • Ollama: modelOptions: { options: { temperature, top_p, num_predict } } (nested)
    • OpenRouter (chat): modelOptions: { temperature, topP, maxCompletionTokens }

    Middleware no longer sees temperature/topP/maxTokens as first-class fields on ChatMiddlewareConfig; mutate config.modelOptions (with the provider-native keys above) instead. metadata is unaffected and stays at the root.

    The public OllamaTextProviderOptions type export has also been removed from @tanstack/ai-ollama. modelOptions is now typed per model — use the exported OllamaChatModelOptionsByName map (indexed by model name) or the underlying ChatRequest from the ollama SDK for arbitrary model strings.

    Migrate automatically with the codemod, which resolves the provider from the adapter and rewrites the keys for you:

    pnpm codemod:move-sampling-to-model-options "src/**/*.{ts,tsx}"

    See the Sampling Options migration guide for details.

Patch Changes

  • Updated dependencies [6df32b5]:
    • @tanstack/ai@0.27.0

@tanstack/openai-base@0.7.0

Minor Changes

  • #660 6df32b5 - BREAKING: Sampling options (temperature, topP, maxTokens) have moved off the root of chat() / ai() / generate() and into provider-native modelOptions. There is no longer a generic root-level sampling surface — each provider accepts its own native keys, fully typed per model:

    • OpenAI (Responses): modelOptions: { temperature, top_p, max_output_tokens }
    • Anthropic: modelOptions: { temperature, top_p, max_tokens }
    • Gemini: modelOptions: { temperature, topP, maxOutputTokens }
    • Grok: modelOptions: { temperature, top_p, max_tokens }
    • Groq: modelOptions: { temperature, top_p, max_completion_tokens }
    • Ollama: modelOptions: { options: { temperature, top_p, num_predict } } (nested)
    • OpenRouter (chat): modelOptions: { temperature, topP, maxCompletionTokens }

    Middleware no longer sees temperature/topP/maxTokens as first-class fields on ChatMiddlewareConfig; mutate config.modelOptions (with the provider-native keys above) instead. metadata is unaffected and stays at the root.

    The public OllamaTextProviderOptions type export has also been removed from @tanstack/ai-ollama. modelOptions is now typed per model — use the exported OllamaChatModelOptionsByName map (indexed by model name) or the underlying ChatRequest from the ollama SDK for arbitrary model strings.

    Migrate automatically with the codemod, which resolves the provider from the adapter and rewrites the keys for you:

    pnpm codemod:move-sampling-to-model-options "src/**/*.{ts,tsx}"

    See the Sampling Options migration guide for details.

Patch Changes

  • Updated dependencies [6df32b5]:
    • @tanstack/ai@0.27.0

@tanstack/ai-client@0.16.2

Patch Changes

  • Updated dependencies [6df32b5]:
    • @tanstack/ai@0.27.0
    • @tanstack/ai-event-client@0.5.3

@tanstack/ai-code-mode@0.2.4

Patch Changes

  • Updated dependencies [6df32b5]:
    • @tanstack/ai@0.27.0

@tanstack/ai-code-mode-skills@0.2.4

Patch Changes

  • Updated dependencies [6df32b5]:
    • @tanstack/ai@0.27.0
    • @tanstack/ai-code-mode@0.2.4

@tanstack/ai-devtools-core@0.4.7

Patch Changes

  • Updated dependencies [6df32b5]:
    • @tanstack/ai@0.27.0
    • @tanstack/ai-event-client@0.5.3

@tanstack/ai-elevenlabs@0.2.19

Patch Changes

  • Updated dependencies [6df32b5]:
    • @tanstack/ai@0.27.0
    • @tanstack/ai-client@0.16.2

@tanstack/ai-event-client@0.5.3

Patch Changes

  • Updated dependencies [6df32b5]:
    • @tanstack/ai@0.27.0

@tanstack/ai-fal@0.7.22

Patch Changes

  • Updated dependencies [6df32b5]:
    • @tanstack/ai@0.27.0

@tanstack/ai-isolate-cloudflare@0.2.20

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.2.4

@tanstack/ai-isolate-node@0.1.29

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.2.4

@tanstack/ai-isolate-quickjs@0.1.29

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.2.4

@tanstack/ai-preact@0.9.2

Patch Changes

  • Updated dependencies [6df32b5]:
    • @tanstack/ai@0.27.0
    • @tanstack/ai-client@0.16.2

@tanstack/ai-react@0.15.2

Patch Changes

  • Updated dependencies [6df32b5]:
    • @tanstack/ai@0.27.0
    • @tanstack/ai-client@0.16.2

@tanstack/ai-solid@0.13.2

Patch Changes

  • Updated dependencies [6df32b5]:
    • @tanstack/ai@0.27.0
    • @tanstack/ai-client@0.16.2

@tanstack/ai-svelte@0.13.2

Patch Changes

  • Updated dependencies [6df32b5]:
    • @tanstack/ai@0.27.0
    • @tanstack/ai-client@0.16.2

@tanstack/ai-vue@0.13.2

Patch Changes

  • Updated dependencies [6df32b5]:
    • @tanstack/ai@0.27.0
    • @tanstack/ai-client@0.16.2

@tanstack/ai-vue-ui@0.2.14

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-vue@0.13.2

@tanstack/preact-ai-devtools@0.1.50

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-devtools-core@0.4.7

@tanstack/react-ai-devtools@0.2.50

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-devtools-core@0.4.7

@tanstack/solid-ai-devtools@0.2.50

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-devtools-core@0.4.7

@AlemTuzlak AlemTuzlak merged commit a335024 into main Jun 3, 2026
2 checks passed
@AlemTuzlak AlemTuzlak deleted the changeset-release/main branch June 3, 2026 10:40
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