Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .changeset/anthropic-drop-model-options-system.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/openrouter-restore-tool-capabilities.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/sync-models.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/vue-messages-discrimination.md

This file was deleted.

14 changes: 14 additions & 0 deletions packages/typescript/ai-anthropic/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @tanstack/ai-anthropic

## 0.9.0

### Minor Changes

- Drop `modelOptions.system` from the accepted Anthropic provider options. System prompts must now flow through the top-level `systemPrompts` option on `chat()`/`structuredOutput()`. ([#572](https://github.com/TanStack/ai/pull/572))

This was an undocumented escape hatch only reachable via casts, but it was the only way to attach `cache_control` to system blocks for prompt caching. Until `systemPrompts` is widened to carry per-prompt metadata (planned follow-up), callers who need Anthropic `cache_control` on system text should keep using `modelOptions.system` on the prior version, or supply a custom adapter override.

To make the removal loud instead of silent, the adapter now logs an `errors`-category log line via the provided `Logger` whenever unknown `modelOptions` keys are passed (including `system`). Callers casting around the public type will see the dropped keys named in the log, rather than the request going out without them.

### Patch Changes

- Update model metadata from OpenRouter API ([#581](https://github.com/TanStack/ai/pull/581))

## 0.8.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-anthropic/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-anthropic",
"version": "0.8.9",
"version": "0.9.0",
"description": "Anthropic Claude adapter for TanStack AI",
"author": "",
"license": "MIT",
Expand Down
6 changes: 6 additions & 0 deletions packages/typescript/ai-grok/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @tanstack/ai-grok

## 0.8.3

### Patch Changes

- Update model metadata from OpenRouter API ([#581](https://github.com/TanStack/ai/pull/581))

## 0.8.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-grok/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-grok",
"version": "0.8.2",
"version": "0.8.3",
"description": "Grok (xAI) adapter for TanStack AI",
"author": "",
"license": "MIT",
Expand Down
6 changes: 6 additions & 0 deletions packages/typescript/ai-openai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @tanstack/ai-openai

## 0.9.3

### Patch Changes

- Update model metadata from OpenRouter API ([#581](https://github.com/TanStack/ai/pull/581))

## 0.9.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-openai/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-openai",
"version": "0.9.2",
"version": "0.9.3",
"description": "OpenAI adapter for TanStack AI",
"author": "",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/typescript/ai-openrouter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/ai-openrouter

## 0.9.3

### Patch Changes

- Restore `OpenRouterChatModelToolCapabilitiesByName` export in `model-meta.ts` and emit it from the OpenRouter model generator so future syncs don't drop it. ([#582](https://github.com/TanStack/ai/pull/582))

- Update model metadata from OpenRouter API ([#581](https://github.com/TanStack/ai/pull/581))

## 0.9.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-openrouter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-openrouter",
"version": "0.9.2",
"version": "0.9.3",
"description": "OpenRouter adapter for TanStack AI",
"author": "",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/typescript/ai-vue-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/ai-vue-ui

## 0.1.37

### Patch Changes

- Updated dependencies [[`88fe80c`](https://github.com/TanStack/ai/commit/88fe80c404a218bf3e3a1ed5853a14f61248ed14)]:
- @tanstack/ai-vue@0.10.1

## 0.1.36

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-vue-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-vue-ui",
"version": "0.1.36",
"version": "0.1.37",
"description": "Headless Vue components for building AI chat interfaces",
"module": "./src/index.ts",
"types": "./src/index.ts",
Expand Down
6 changes: 6 additions & 0 deletions packages/typescript/ai-vue/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @tanstack/ai-vue

## 0.10.1

### Patch Changes

- Fix `useChat` in Vue: `messages`, `partial`, and `final` now use `Readonly<ShallowRef<X>>` instead of `DeepReadonly<ShallowRef<X>>`. The deep-readonly wrapper was contradictory over a shallow ref and silently collapsed the `MessagePart` discriminated union, breaking `parts.find(p => p.type === 'structured-output')?.data` narrowing in consumer code. The runtime behavior is unchanged. ([#583](https://github.com/TanStack/ai/pull/583))

## 0.10.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-vue",
"version": "0.10.0",
"version": "0.10.1",
"description": "Vue hooks for TanStack AI",
"author": "",
"license": "MIT",
Expand Down