Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.257 ·

History purge now preserves the original file mode

Purging history now keeps the original file's permission mode instead of writing a fixed one.

You'll notice Bug Fixes
JSON All of v2.1.257
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Data RetentionArea: what it touches
Bug FixesKind: in v2.1.257,
Bug FixesSection of the release

When purging entries from history.jsonl, the rewrite now stats the existing file and reuses its mode for the replacement, instead of always writing with a fixed 438 & ~umask mode.

Read from
Names in the bundlehistory.jsonl
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up history.jsonl, on Explore the .claude directory. | `~/.claude/history.jsonl` | Up-arrow prompt recall, `Ctrl+R` history search, and `!` shell-command completion | claude-directory see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up history.jsonl, on Explore the .claude directory.

See this entry in the whole of v2.1.257 →

Feedback