From 9044bfac7db9297bbac426b832ce114f76ec3fe3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 6 Nov 2026 08:55:11 +0000 Subject: [PATCH] Version Packages --- .changeset/tanstack-ai-sessions-credentials.md | 11 ----------- examples/tanstack-ai-demo/CHANGELOG.md | 7 +++++++ examples/tanstack-ai-demo/package.json | 2 +- packages/tanstack-ai/CHANGELOG.md | 12 ++++++++++++ packages/tanstack-ai/package.json | 2 +- packages/tanstack-ai/src/version.ts | 2 +- 6 files changed, 22 insertions(+), 14 deletions(-) delete mode 100644 .changeset/tanstack-ai-sessions-credentials.md diff --git a/.changeset/tanstack-ai-sessions-credentials.md b/.changeset/tanstack-ai-sessions-credentials.md deleted file mode 100644 index 69ca9c9..0000000 --- a/.changeset/tanstack-ai-sessions-credentials.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@upstash/agentkit-tanstack-ai": minor ---- - -Implement TanStack AI 1.0's three new backend contracts on Upstash Redis. - -- `upstashPersistence()` now also returns a `sessions` store (`SessionIndexStore`): one entry per `(tenantId, threadId)` with members, title, usage and app metadata, newest-first `list` with filters and cursors, and a revision-checked `upsertIf`. `upstashSessionIndex` is exported from `/persistence` for standalone use. -- `upstashPersistence()` also returns a `log` store (`LogStore`, the append-only session log): atomic compare-and-append with consumed offers (at most 10,000 records per `append`), the epoch-fenced ownership lease, the input lane, snapshots, truncation and worker affinity, with the Redis server clock as the store clock. `subscribe` calls listeners right after writes through the same store and polls a change counter for writes from other machines (`logPollIntervalMs`, default 250). `upstashLogStore` is exported from `/persistence`. -- New `@upstash/agentkit-tanstack-ai/byok` entry: `upstashCredentials()`, a `CredentialStore` for provider API keys and OAuth tokens, with compare-and-set (`getVersioned` / `setIf`) and optional AES-256-GCM encryption at rest (`encryptionKey`, bound to the prefix, owner, id, type and expiry; `requireEncryption` refuses plaintext rows). - -**Breaking for TanStack AI 0.x users:** the peer floors are raised, `@tanstack/ai` to `>=1.0.0` (the `/byok` types) and `@tanstack/ai-persistence` to `>=1.0.0` (the new store types appear in `upstashPersistence()`'s return type). Stay on `@upstash/agentkit-tanstack-ai@0.2.0` if you are not on TanStack AI 1.x yet. `@tanstack/ai-memory` is unchanged. `/persistence` now imports `@tanstack/ai-persistence` at runtime (the log store's error classes), so install it when you use that entry; `.`, `/memory` and `/byok` do not need it. diff --git a/examples/tanstack-ai-demo/CHANGELOG.md b/examples/tanstack-ai-demo/CHANGELOG.md index 02d87ea..2931177 100644 --- a/examples/tanstack-ai-demo/CHANGELOG.md +++ b/examples/tanstack-ai-demo/CHANGELOG.md @@ -1,5 +1,12 @@ # tanstack-ai-demo +## 0.0.3 + +### Patch Changes + +- Updated dependencies [d6216c0] + - @upstash/agentkit-tanstack-ai@0.3.0 + ## 0.0.2 ### Patch Changes diff --git a/examples/tanstack-ai-demo/package.json b/examples/tanstack-ai-demo/package.json index 83f8814..98bd177 100644 --- a/examples/tanstack-ai-demo/package.json +++ b/examples/tanstack-ai-demo/package.json @@ -1,6 +1,6 @@ { "name": "tanstack-ai-demo", - "version": "0.0.2", + "version": "0.0.3", "private": true, "type": "module", "scripts": { diff --git a/packages/tanstack-ai/CHANGELOG.md b/packages/tanstack-ai/CHANGELOG.md index 76ec9e0..8c2fa90 100644 --- a/packages/tanstack-ai/CHANGELOG.md +++ b/packages/tanstack-ai/CHANGELOG.md @@ -1,5 +1,17 @@ # @upstash/agentkit-tanstack-ai +## 0.3.0 + +### Minor Changes + +- d6216c0: Implement TanStack AI 1.0's three new backend contracts on Upstash Redis. + + - `upstashPersistence()` now also returns a `sessions` store (`SessionIndexStore`): one entry per `(tenantId, threadId)` with members, title, usage and app metadata, newest-first `list` with filters and cursors, and a revision-checked `upsertIf`. `upstashSessionIndex` is exported from `/persistence` for standalone use. + - `upstashPersistence()` also returns a `log` store (`LogStore`, the append-only session log): atomic compare-and-append with consumed offers (at most 10,000 records per `append`), the epoch-fenced ownership lease, the input lane, snapshots, truncation and worker affinity, with the Redis server clock as the store clock. `subscribe` calls listeners right after writes through the same store and polls a change counter for writes from other machines (`logPollIntervalMs`, default 250). `upstashLogStore` is exported from `/persistence`. + - New `@upstash/agentkit-tanstack-ai/byok` entry: `upstashCredentials()`, a `CredentialStore` for provider API keys and OAuth tokens, with compare-and-set (`getVersioned` / `setIf`) and optional AES-256-GCM encryption at rest (`encryptionKey`, bound to the prefix, owner, id, type and expiry; `requireEncryption` refuses plaintext rows). + + **Breaking for TanStack AI 0.x users:** the peer floors are raised, `@tanstack/ai` to `>=1.0.0` (the `/byok` types) and `@tanstack/ai-persistence` to `>=1.0.0` (the new store types appear in `upstashPersistence()`'s return type). Stay on `@upstash/agentkit-tanstack-ai@0.2.0` if you are not on TanStack AI 1.x yet. `@tanstack/ai-memory` is unchanged. `/persistence` now imports `@tanstack/ai-persistence` at runtime (the log store's error classes), so install it when you use that entry; `.`, `/memory` and `/byok` do not need it. + ## 0.2.0 ### Minor Changes diff --git a/packages/tanstack-ai/package.json b/packages/tanstack-ai/package.json index fab286d..72e1718 100644 --- a/packages/tanstack-ai/package.json +++ b/packages/tanstack-ai/package.json @@ -1,6 +1,6 @@ { "name": "@upstash/agentkit-tanstack-ai", - "version": "0.2.0", + "version": "0.3.0", "description": "Upstash AgentKit backends for TanStack AI: chat persistence, resumable streams, distributed locks, long-term memory, tool caching, rate limiting, and Redis-Search tools — all on one Upstash Redis.", "license": "MIT", "repository": { diff --git a/packages/tanstack-ai/src/version.ts b/packages/tanstack-ai/src/version.ts index 735615a..a5a8149 100644 --- a/packages/tanstack-ai/src/version.ts +++ b/packages/tanstack-ai/src/version.ts @@ -1,2 +1,2 @@ // Generated by scripts/sync-version.mjs (run by `pnpm ci:version`) — do not edit by hand. -export const VERSION = "0.2.0"; +export const VERSION = "0.3.0";