# What changed in nbformat

> 3 changes in nbformat 5 from its official release notes, upgrade guides and advisories: 1 breaking, 1 deprecations, 1 new APIs and options. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/pypi/nbformat/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## nbformat 5

### Breaking changes

- Deprecated keyword arguments have been removed from validate(). (5.11.0) — [release notes](https://github.com/jupyter/nbformat/releases/tag/v5.11.0)

### Deprecations

- A PendingDeprecationWarning nudges users toward the context manager API to avoid resource leaks. (5.11.0) — [release notes](https://github.com/jupyter/nbformat/releases/tag/v5.11.0)

### New APIs and options

- NotebookNotary now supports use as a context manager, allowing its store to be closed reliably and helping avoid resource leaks. (5.11.0) — [release notes](https://github.com/jupyter/nbformat/releases/tag/v5.11.0)
