Skip to content

Commit b50d63e

Browse files
ci: Version Packages (#639)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 2c0ebb3 commit b50d63e

24 files changed

Lines changed: 185 additions & 47 deletions

.changeset/remove-php-and-python-packages.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

.changeset/usechat-fetcher-server-functions.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

packages/ai-client/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# @tanstack/ai-client
22

3+
## 0.12.0
4+
5+
### Minor Changes
6+
7+
- Add a `fetcher` option to `ChatClient` and the framework chat hooks ([#512](https://github.com/TanStack/ai/pull/512))
8+
(`useChat` / `createChat`), mirroring the `fetcher` option on the
9+
generation hooks. Pass either `connection` or `fetcher` — the XOR is
10+
enforced at the type level via `ChatTransport`.
11+
12+
```ts
13+
useChat({
14+
fetcher: ({ messages }, { signal }) =>
15+
chatFn({ data: { messages }, signal }),
16+
})
17+
```
18+
19+
The fetcher may return either a `Response` (parsed as SSE) or an
20+
`AsyncIterable<StreamChunk>` (yielded directly). `stream()`,
21+
`fetchServerSentEvents`, `fetchHttpStream`, and `rpcStream` are unchanged.
22+
323
## 0.11.8
424

525
### Patch Changes

packages/ai-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tanstack/ai-client",
3-
"version": "0.11.8",
3+
"version": "0.12.0",
44
"description": "Framework-agnostic headless client for TanStack AI chat, realtime sessions, streaming transports, and media generations.",
55
"author": "",
66
"license": "MIT",

packages/ai-elevenlabs/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @tanstack/ai-elevenlabs
22

3+
## 0.2.12
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`ad23da9`](https://github.com/TanStack/ai/commit/ad23da92c279759b3778672dcee3d1616a02994b)]:
8+
- @tanstack/ai-client@0.12.0
9+
310
## 0.2.11
411

512
### Patch Changes

packages/ai-elevenlabs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tanstack/ai-elevenlabs",
3-
"version": "0.2.11",
3+
"version": "0.2.12",
44
"description": "ElevenLabs adapter for TanStack AI realtime voice, text-to-speech, transcription, music, and sound effects.",
55
"author": "",
66
"license": "MIT",

packages/ai-openai/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @tanstack/ai-openai
22

3+
## 0.10.2
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`ad23da9`](https://github.com/TanStack/ai/commit/ad23da92c279759b3778672dcee3d1616a02994b)]:
8+
- @tanstack/ai-client@0.12.0
9+
310
## 0.10.1
411

512
### Patch Changes

packages/ai-openai/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tanstack/ai-openai",
3-
"version": "0.10.1",
3+
"version": "0.10.2",
44
"description": "OpenAI adapter for TanStack AI chat, tools, images, video, speech, transcription, realtime, and structured outputs.",
55
"author": "",
66
"license": "MIT",

packages/ai-preact/CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# @tanstack/ai-preact
22

3+
## 0.6.34
4+
5+
### Patch Changes
6+
7+
- Add a `fetcher` option to `ChatClient` and the framework chat hooks ([#512](https://github.com/TanStack/ai/pull/512))
8+
(`useChat` / `createChat`), mirroring the `fetcher` option on the
9+
generation hooks. Pass either `connection` or `fetcher` — the XOR is
10+
enforced at the type level via `ChatTransport`.
11+
12+
```ts
13+
useChat({
14+
fetcher: ({ messages }, { signal }) =>
15+
chatFn({ data: { messages }, signal }),
16+
})
17+
```
18+
19+
The fetcher may return either a `Response` (parsed as SSE) or an
20+
`AsyncIterable<StreamChunk>` (yielded directly). `stream()`,
21+
`fetchServerSentEvents`, `fetchHttpStream`, and `rpcStream` are unchanged.
22+
23+
- Updated dependencies [[`ad23da9`](https://github.com/TanStack/ai/commit/ad23da92c279759b3778672dcee3d1616a02994b)]:
24+
- @tanstack/ai-client@0.12.0
25+
326
## 0.6.33
427

528
### Patch Changes

packages/ai-preact/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tanstack/ai-preact",
3-
"version": "0.6.33",
3+
"version": "0.6.34",
44
"description": "Preact hooks for TanStack AI streaming chat and typed messages.",
55
"author": "",
66
"license": "MIT",

0 commit comments

Comments
 (0)