Nbformat

Latest version: v5.10.4

Safety actively analyzes 688823 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 7

5.7.0

- Always use jsonschema to handle error reporting.
- Fix deprecation warning suggestion.

5.6.1

- Fix handling of `__version__` on Python 3.7.

5.6.0

- Fix docs and type annotations for `validator.normalize`.
- Switch to hatch build backend.

5.5.0

The biggest change in `nbformat` 5.5.0 is the deprecation of arguments
to `validate()` that try to fix notebooks errors during validation.

`validate()` is a function that is core to the security model of
Jupyter, and is assumed in a number of places to not mutate it's
argument, or try to fix notebooks passed to it.

Auto fixing of notebook in validate can also hide subtle bugs, and will
therefore be updated in a near future to not take any of the argument
related to auto-fixing, and fail instead of silently modifying its
parameters on invalid notebooks.

`nbformat` now contain a `normalize` function that will return a
normalized copy of a notebook that is suitable for validation. While
offered as a convenience we discourage its use and suggest library make
sure to generate valid notebooks.

Other changes

- `nbformat` is now built with flit, and uses `pyproject.toml`
- Documentation and Deprecations have been updated with version number
and stack levels.

5.4.0

- Add project URLs to `setup.py`
- Fix import in `nbformat.current`
- Add `mypy` and typings support
- Improve CI

5.3.0

- Use `fastjsonschema` by default
- Adopt `pre-commit` and auto-formatters
- Increase minimum `jsonschema` to 2.6, handle warnings

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.