pypi / nbformat
nbformat
What changed in nbformat 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
1 breaking1 deprecations1 new APIs and options
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initnbformat 53 changes
Breaking changes 1
Deprecated keyword arguments have been removed from validate().
Deprecations 1
A PendingDeprecationWarning nudges users toward the context manager API to avoid resource leaks.
New APIs and options 1
NotebookNotary now supports use as a context manager, allowing its store to be closed reliably and helping avoid resource leaks.