Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

CHANGELOG.md

660 lines18.1 KB

@tanstack/react-ai-devtools

1.0.0

Major Changes

  • #1840 f1b3f65 - TanStack AI 1.0.0. This release removes every API that was deprecated in 0.x. Read the upgrade guide before you upgrade: https://tanstack.com/ai/latest/docs/migration/v1
    • Removed all @deprecated exports, options, fields, and type aliases. Each one has a replacement that already shipped in 0.x.
    • Removed addToolApprovalResponse() from ChatClient and every chat hook. Resolve the bound tool-approval interrupt with resolveInterrupt instead. The devtools event tools:approval:responded is also removed.
    • Removed the old wire formats: the CUSTOM approval-requested and tool-input-available events, the [DONE] SSE line, the data copy of forwardedProps, pre-binding interrupt descriptors and their approval_required and client_tool_input reasons, and the STEP events that adapters sent next to REASONING_* events. Use a 1.0 client with a 1.0 server.
    • Removed the toolName alias from TOOL_CALL_START chunks. Read toolCallName instead.
    • threadId is now required on useChat and every other chat hook, ChatClient, the generation hooks and clients, chat(), summarize(), the generation functions, codeModeWithSnippets(), selectRelevantSnippets(), CompactionContext, and SummarizeInput. TanStack AI no longer makes a thread id for you. Pass a stable id for each conversation. createChatHook factory options no longer take threadId: pass it on each hook call. Octane generation hooks take threadId instead of id. @tanstack/ai-sandbox removes resolveDurableThreadId and DurableThreadIdRequiredError.
    • The published @tanstack/ai-octane/ui types are now strict. UI.Messages, UI.Message, UI.Part, and UI.Interrupts type their render children. ToolProps types part.input and part.output for the named tool. toolsComponents and interruptsComponents are required when the chat options declare tools or named interrupts. Code that relied on the old loose types can fail to compile.
    • A connection adapter's connect() and send() need the run context (with threadId) as their fourth argument. ChatClient and the generation clients pass it.
    • @tanstack/ai-sandbox: createToolBridgeCore(), startHostToolBridge(), a ToolBridgeProvisioner, and executeHostTool() take a required threadId. Bridged tools get it in their context.
    • @tanstack/ai-sandbox: the harness tool bridge and executeHostTool() refuse a tool with needsApproval. Before, the tool ran with no approval. Remove needsApproval, or run the tool with an HTTP adapter.
    • stream() and rpcStream() pass the AG-UI RunAgentInput for the run as the fourth factory argument, the same body the HTTP adapters send. Read it on the server with chatParamsFromRequestBody() or generationParamsFromBody(), so threadId, runId, and interrupt resume reach a server function. RunAgentInput is exported from @tanstack/ai/client.
    • A generation fetcher gets threadId and runId in its second argument, next to signal and headers. Pass them to the server generation call.
    • generationParamsFromBody() and generationParamsFromRequest() read the generation input from forwardedProps. A server that reads body.data gets undefined. Read body.forwardedProps instead. They also require threadId and runId and return them as strings, the same as chatParamsFromRequestBody() and the AG-UI RunAgentInput. A body that holds only the input is rejected.
    • Removed the readers for data saved in old 0.x formats (old Cloudflare run-log records, a bare UIMessage[] from client persistence, artifact records without blobKey).
    • Removed provider models that are shut down.
    • @tanstack/ai-react-ui, @tanstack/ai-solid-ui, and @tanstack/ai-vue-ui get no 1.0 release. Import from @tanstack/ai-react/ui, @tanstack/ai-solid/ui, or @tanstack/ai-vue/ui.

Patch Changes

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

0.2.71

Patch Changes

  • #1186 0279284 - Add the Svelte plugin and panel package for TanStack AI Devtools, and update the existing Devtools packages to @tanstack/devtools-utils 0.7.

  • Updated dependencies [0279284]:

    • @tanstack/ai-devtools-core@0.5.8

0.2.70

Patch Changes

  • #1071 ea9c077 - fix: publish internal dependency ranges as ^x.y.z instead of exact pins

    Internal dependencies on other TanStack AI packages used workspace:* in dependencies and peerDependencies. pnpm rewrites that to an exact version at publish time, so a released package asked for e.g. @tanstack/ai-utils@0.4.0 rather than ^0.4.0.

    Two consequences for consumers:

    • Duplicate copies. An exact pin cannot dedupe. Installing a newer @tanstack/ai alongside a package pinned to the previous patch produced two copies in the tree, which breaks instanceof checks and module-level state, and inflates bundles.
    • Unsatisfiable peers. An exactly pinned peerDependency conflicts the moment the internal package ships its next patch, forcing consumers into overrides or --legacy-peer-deps.

    These fields now use workspace:^, which publishes as ^x.y.z. Every package here is still 0.x, so ^0.43.1 resolves to 0.43.x only — patches dedupe cleanly and no breaking minor is ever pulled in.

    devDependencies deliberately keep workspace:*: they are never published, and * correctly means "always build against the local copy".

  • Updated dependencies [ea9c077]:

    • @tanstack/ai-devtools-core@0.5.2

0.2.69

Patch Changes

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

0.2.68

Patch Changes

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

0.2.67

Patch Changes

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

0.2.66

Patch Changes

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

0.2.65

Patch Changes

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

0.2.64

Patch Changes

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

0.2.63

Patch Changes

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

0.2.62

Patch Changes

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

0.2.61

Patch Changes

  • #844 a6cceba - Republish all packages with their compiled dist/ output.

    Releases 0.33.0–0.36.0 were published without a dist/ directory: the release workflow relied on an Nx-cached build whose outputs were not materialized to disk before changeset publish packed the tarballs, and files: ["dist"] silently includes nothing when dist/ is absent. The published packages therefore contained only src/, so every export (./dist/esm/*.js) resolved to a missing file and the packages were uninstallable.

    The publish step now runs a fresh, cache-bypassing build of all packages immediately before publishing, guaranteeing compiled artifacts are present in every tarball.

  • Updated dependencies [a6cceba]:

    • @tanstack/ai-devtools-core@0.4.18

0.2.60

Patch Changes

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

0.2.59

Patch Changes

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

0.2.58

Patch Changes

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

0.2.57

Patch Changes

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

0.2.56

Patch Changes

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

0.2.55

Patch Changes

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

0.2.54

Patch Changes

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

0.2.53

Patch Changes

  • #769 1d1bb52 - Add repository metadata (homepage, bugs, funding), fix repository.directory to point at each package, and include an MIT LICENSE file in every published package.

  • Updated dependencies [1d1bb52]:

    • @tanstack/ai-devtools-core@0.4.10

0.2.52

Patch Changes

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

0.2.51

Patch Changes

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

0.2.50

Patch Changes

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

0.2.49

Patch Changes

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

0.2.48

Patch Changes

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

0.2.47

Patch Changes

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

0.2.46

Patch Changes

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

0.2.45

Patch Changes

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

0.2.44

Patch Changes

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

0.2.43

Patch Changes

  • Updated dependencies [5634f18]:
    • @tanstack/ai-devtools-core@0.4.0

0.2.42

Patch Changes

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

0.2.41

Patch Changes

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

0.2.40

Patch Changes

  • Refresh package README content and npm metadata for better discoverability. (#626)

  • Updated dependencies [ebeb22e]:

    • @tanstack/ai-devtools-core@0.3.36

0.2.39

Patch Changes

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

0.2.38

Patch Changes

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

0.2.37

Patch Changes

  • Tighten TypeScript safety: enable noImplicitOverride, (#579) noFallthroughCasesInSwitch, and useDefineForClassFields in the root tsconfig.json; add a typed-ESLint block scoped to packages/*/src/** that turns on no-floating-promises, no-misused-promises, await-thenable, switch-exhaustiveness-check, consistent-type-exports, prefer-readonly, and no-non-null-assertion (errors), plus no-explicit-any (warning). @ts-ignore and @ts-nocheck are disallowed in library source via @typescript-eslint/ban-ts-comment, and as unknown as <T> double-casts are blocked by a no-restricted-syntax rule (escape hatches available with an inline reason). Two flags from the original five-flag set — noPropertyAccessFromIndexSignature and exactOptionalPropertyTypes — were tried and rolled back: they produced ~500 lines of bracket- access and conditional-spread churn without catching any real bugs, and exactOptionalPropertyTypes would have forced consumers using it themselves to deal with our internals' style preferences.

    User-visible API surface is unchanged; this is a hardening pass to keep streaming/agent-loop correctness and discriminated-union exhaustiveness honest going forward. See issue #564.

  • Updated dependencies [2ad137b]:

    • @tanstack/ai-devtools-core@0.3.33

0.2.36

Patch Changes

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

0.2.35

Patch Changes

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

0.2.34

Patch Changes

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

0.2.33

Patch Changes

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

0.2.32

Patch Changes

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

0.2.31

Patch Changes

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

0.2.30

Patch Changes

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

0.2.29

Patch Changes

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

0.2.28

Patch Changes

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

0.2.27

Patch Changes

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

0.2.26

Patch Changes

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

0.2.25

Patch Changes

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

0.2.24

Patch Changes

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

0.2.23

Patch Changes

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

0.2.22

Patch Changes

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

0.2.21

Patch Changes

  • Updated dependencies [7ebf6c2]:
    • @tanstack/ai-devtools-core@0.3.17

0.2.20

Patch Changes

  • Updated dependencies [54abae0]:
    • @tanstack/ai-devtools-core@0.3.16

0.2.19

Patch Changes

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

0.2.18

Patch Changes

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

0.2.17

Patch Changes

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

0.2.16

Patch Changes

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

0.2.15

Patch Changes

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

0.2.14

Patch Changes

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

0.2.13

Patch Changes

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

0.2.12

Patch Changes

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

0.2.11

Patch Changes

  • Bump up package versions (#334)

  • Updated dependencies [d40adfe, d40adfe]:

    • @tanstack/ai-devtools-core@0.3.7

0.2.10

Patch Changes

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

0.2.9

Patch Changes

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

0.2.8

Patch Changes

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

0.2.7

Patch Changes

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

0.2.6

Patch Changes

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

0.2.5

Patch Changes

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

0.2.4

Patch Changes

  • Updated dependencies [0158d14]:
    • @tanstack/ai-devtools-core@0.3.0

0.2.3

Patch Changes

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

0.2.2

Patch Changes

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

0.2.1

Patch Changes

  • Fix issue with double mounting of devtools (#123)

  • Updated dependencies [a19b247]:

    • @tanstack/ai-devtools-core@0.2.1

0.2.0

Minor Changes

  • Bump tanstack-devtools to 0.2.3 (#204)

Patch Changes

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

0.1.2

Patch Changes

  • fix up readmes (#188)

  • Updated dependencies [181e0ac]:

    • @tanstack/ai-devtools-core@0.1.2

0.1.1

Patch Changes

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

0.1.0

Minor Changes

  • Split up adapters for better tree shaking into separate functionalities (#137)

Patch Changes

  • Updated dependencies [8d77614]:
    • @tanstack/ai-devtools-core@0.1.0

0.0.3

Patch Changes

  • Updated dependencies [52c3172]:
    • @tanstack/ai-devtools-core@0.0.3

0.0.2

Patch Changes

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

0.0.1

Patch Changes

  • initial release of AI (#76)

0.0.1

Patch Changes

  • Initial release of TanStack AI (#72)

  • Updated dependencies [a9b54c2]:

    • @tanstack/ai-devtools-core@0.0.1