Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

Session message cache can be kept across clears

A new internal switch can keep a session's stored message list from being cleared

Entry
JSON All of v2.1.281
EntryKind: in v2.1.281,
ChangesSection of the release
What

Claude Code keeps an in-memory copy of a session's messages, called a cache. A new switch, keepSessionMessagesCache, is off by default and is set through setKeepSessionMessagesCache. While it is on, clearSessionMessagesCache does nothing, so the stored messages are kept.

Why

This is internal behavior with no visible change by default. It lets some part of Claude Code keep a session's messages that would otherwise be cleared.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe finding does not say what turns this switch on.

See this entry in the whole of v2.1.281 →

Feedback