Skip to content

chore: bump @cloudflare/ai-chat from 0.9.4 to 0.12.1 in /client - #34

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/client/cloudflare/ai-chat-0.12.1
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/client/cloudflare/ai-chat-0.12.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 13, 2026

Copy link
Copy Markdown

Bumps @cloudflare/ai-chat from 0.9.4 to 0.12.1.

Release notes

Sourced from @​cloudflare/ai-chat's releases.

@​cloudflare/ai-chat@​0.12.1

Patch Changes

@​cloudflare/ai-chat@​0.12.0

Minor Changes

  • #2196 ec93caf Thanks @​mattzcarey! - Store AIChatAgent messages through agents/sessions while preserving the mutable messages array, destructive regeneration, retention, broadcasts, and v4 message conversion.

    Migration on first wake, no rollback. Existing cf_ai_chat_agent_messages rows are imported once into a linear Sessions chain. The old table is dropped only after every row imported; a row that fails to parse keeps the table in place so it stays recoverable, and the import retries on the next start. Once an object has migrated, rolling back to the previous release leaves it with an empty conversation. Rolling forward again is safe.

    this.messages is empty until onStart. Boot no longer loads the transcript synchronously in the constructor. The legacy lift and a single bounded hydration run in onStart, so a subclass that read this.messages in its constructor now sees []; read it from onStart or later. The array is then mirrored from the Sessions change feed.

    hydrationByteBudget (32 MiB) bounds wake-time hydration. maxPersistedMessages counts stored rows rather than the hydrated window, so retention trims the oldest stored messages even when the transcript is larger than the budget. get-messages streams its response instead of serializing the whole transcript; clients calling .json() on it are unaffected.

    There is nothing to configure about how a message is stored: a message too large for one SQLite row is split across continuation rows and reassembled on read, and a stored row is exactly what the write returned.

  • #2216 dd09d44 Thanks @​mattzcarey! - feat(streams): rollover block log and an atomic stream → message cutover; no more stream-buffer sweeps.

    The Streams chunk log is now mutable rollover blocks: an append grows the open block row (an UPDATE) until it reaches 256 KB, then opens the next. Same one billed row per append as before, but a stream of thousands of chunks is a handful of rows to delete instead of thousands. Existing cf_agents_stream_chunks rows are folded into blocks lazily, one stream at a time on first touch, so startup never reads the whole legacy log; the table is dropped once it is empty.

... (truncated)

Changelog

Sourced from @​cloudflare/ai-chat's changelog.

0.12.1

Patch Changes

0.12.0

Minor Changes

  • #2196 ec93caf Thanks @​mattzcarey! - Store AIChatAgent messages through agents/sessions while preserving the mutable messages array, destructive regeneration, retention, broadcasts, and v4 message conversion.

    Migration on first wake, no rollback. Existing cf_ai_chat_agent_messages rows are imported once into a linear Sessions chain. The old table is dropped only after every row imported; a row that fails to parse keeps the table in place so it stays recoverable, and the import retries on the next start. Once an object has migrated, rolling back to the previous release leaves it with an empty conversation. Rolling forward again is safe.

    this.messages is empty until onStart. Boot no longer loads the transcript synchronously in the constructor. The legacy lift and a single bounded hydration run in onStart, so a subclass that read this.messages in its constructor now sees []; read it from onStart or later. The array is then mirrored from the Sessions change feed.

    hydrationByteBudget (32 MiB) bounds wake-time hydration. maxPersistedMessages counts stored rows rather than the hydrated window, so retention trims the oldest stored messages even when the transcript is larger than the budget. get-messages streams its response instead of serializing the whole transcript; clients calling .json() on it are unaffected.

    There is nothing to configure about how a message is stored: a message too large for one SQLite row is split across continuation rows and reassembled on read, and a stored row is exactly what the write returned.

  • #2216 dd09d44 Thanks @​mattzcarey! - feat(streams): rollover block log and an atomic stream → message cutover; no more stream-buffer sweeps.

... (truncated)

Commits
  • 995ed8b Version Packages
  • d5562e0 fix: #2013 - correctly invoke controller.error during mid-stream closure and ...
  • 2afe0e0 fix(chat): reconcile reused tool-call IDs one-to-one (#2040)
  • 6c8f85a fix(think,ai-chat): raise agents peer floor to >=0.25.0 (#2408)
  • 9d125c8 fix(sessions): share the change-feed mirror between hosts (#2205) (#2404)
  • c3a4010 fix: allow interfaces as agent props (#2238)
  • a7d0e02 fix: report continuation turns that fail before streaming (#2381) (#2393)
  • 4f26402 fix(agents,ai-chat,think): settle approved tool calls that never ran (#2382) ...
  • d3fe93c fix: keep tool input when the approval request arrives before it (#1872) (#2391)
  • c55ec80 fix(ai-chat,think): keep a child's stream error across eviction so reconcilia...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@cloudflare/ai-chat](https://github.com/cloudflare/agents/tree/HEAD/packages/ai-chat) from 0.9.4 to 0.12.1.
- [Release notes](https://github.com/cloudflare/agents/releases)
- [Changelog](https://github.com/cloudflare/agents/blob/main/packages/ai-chat/CHANGELOG.md)
- [Commits](https://github.com/cloudflare/agents/commits/@cloudflare/ai-chat@0.12.1/packages/ai-chat)

---
updated-dependencies:
- dependency-name: "@cloudflare/ai-chat"
  dependency-version: 0.12.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Oct 13, 2026

Copy link
Copy Markdown
Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot @github

dependabot Bot commented on behalf of github Oct 26, 2026

Copy link
Copy Markdown
Author

Superseded by #39.

@dependabot dependabot Bot closed this Oct 26, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/client/cloudflare/ai-chat-0.12.1 branch October 26, 2026 09: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.

0 participants