Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.327 ·

Notebook edits keep the final newline

When Claude edits a Jupyter notebook that ended with a newline, the saved file now still ends with one

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

A Jupyter notebook is a file that mixes code, results and notes. When Claude edits one with the NotebookEdit tool and the original file ended with a newline, Claude Code now adds that newline back after saving.

Why

Before, editing a notebook could remove its final newline. That showed up as an unwanted change in version control tools such as git.

Read from
Names in the bundleNotebookEdit
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 NotebookEdit, on Create custom subagents. The second filter applies to subagents running in the background. `Agent` and `ExitPlanMode` follow the first filter's conditions wherever the subagent runs. A background subagent keeps every MCP tool, and [`SubagentHandback`](https://code… sub-agents 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 NotebookEdit, on Create custom subagents.

See this entry in the whole of v2.1.327 →

Feedback