Changes in nbformat¶
- Explicitly state that metadata fields can be ignored.
- Introduce official jupyter namespace inside metadata (
outputs_hiddenas official front-end metadata fields to indicate hiding source and outputs areas. NB: These fields should not be used to hide elements in exported formats.
- Fix ending the redundant storage of signatures in the signature database.
nbformat.validate()can be set to not raise a ValidationError if additional properties are included.
- Fix for errors with connecting and backing up the signature database.
- Dict-like objects added to NotebookNode attributes are now transformed to be NotebookNode objects; transformation also works for .update().
- A new pluggable
SignatureStoreclass allows specifying different ways to record the signatures of trusted notebooks. The default is still an SQLite database. See Signature storage for more information.
nbformat.write()accept file paths as bytes as well as unicode.
- Fix for calling
nbformat.validate()on an empty dictionary.
- Fix for running the tests where the locale makes ASCII the default encoding.
- Include nbformat-schema files (v3 and v4) in nbformat-schema npm package.
- Include configuration for appveyor’s continuous integration service.
- Update nbformat spec version to 4.2, allowing JSON outputs to have any JSONable type, not just
object, and mime-types of the form
- Define basics of
authorsin notebook metadata.
nb.metadata.authorsshall be a list of objects with the property
name, a string of each author’s full name.
- Update use of traitlets API to require traitlets 4.1.
- Support trusting notebooks on stdin with
cat notebook | jupyter trust