You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Session TranscriptsArea: what it touches
Bug FixesKind: in v2.1.300,
Bug FixesSection of the release
What
Claude Code keeps a journal file on disk to save session and workflow data. If a crash or interruption left the last line of that file incomplete, the next entry could be written straight onto the end of the broken one.
Before adding a new entry, Claude Code now checks whether the last line is missing its line ending, or whether the end of the file was torn on the newer storage format. If so, it first writes a line break and a marker, then adds the new entry on a clean line.
Why
A broken entry left behind by a crash stays separate from the entries that follow it, which makes the journal easier to recover.