Releases: kynan/nbstripout
Releases · kynan/nbstripout
0.7.1
0.7.0
- Drop support for Python 3.7 (end of life 2023-06-27), require Python 3.8.
- Add support for Python 3.12.
- Drop backwards compability with IPython.nbformat for IPython <4.
- Rename cell ids to be sequential by default. Disable by passing
--keep-id
(@JasonJooste, #184). - Improve documentation for notebook and cell metadata stripping (#187).
- Switch from pytest-flake8 to pytest-ruff.
- Convert all text assets from rST to Markdown format.
0.6.2
- Add
--python
option fornbstripout --install
to allow overriding the Python interpreter specified in.git/config
(@nobodyinperson, #181, #182) - Add option
--keep-metadata-keys
to keep specific metadata keys that are stripped by default (@davidxia, #177, #78) - Replace Cram as test runner for integration tests with a custom framework which also supports testing on Windows (@arobrien, #176, #178)
- Use
SystemExit
instead ofsys.exit
and do not exit from functions (@janosh, #173)
0.6.1
v0.6.0
v0.5.0 (2021-06-28)
v0.4.0 (2021-04-25)
- Add support for system wide installation,
--system
flag (@PLPeeters, #149) - Use
~
instead of$HOME
for config dir (#136) - Document stripping kernelspec (#141)
- Add support for removing empty cells (#131)
- Create directory for attributes file if needed (#139)
- Add support for stripping metadata keys containing periods (@baldwint, #143)
- Strip collapsible headings by default (@rpytel1, #142)
v0.3.10 (2021-04-24)
- Python 2.7 only release, to make
pip install nbstripout
work in Python 2.7
(previously, this was picking up 0.3.8 which is not Python 2.7 compatible) - Drop Python 3.4 support, add support for Python 3.7, 3.8
- Windows compatibility: "" quote Python interpreter path (#115, @fcollonval)
- Add
--dry-run
flag (#122) - Support specifying
keep_output
as a cell tag (#117, @scottcode)
v0.3.9 (2020-06-28)
- Document Python 3 support only. Fail to install on Python 2 (#128, @casperdcl)
- Drop support for Python 3.4 (end of life 2019-03-18)
- Ignore warnings from nbformat.{read,write}
- Support nbformat 2 notebooks without cell metadata
- Add
--extra-keys
flag to pass extra keys to strip (#119) - Apply pre-commit hook to files of type Jupyter
v0.3.8 (2020-06-06)
- Drop Python 2 support
- Windows compatibility: "" quote Python interpreter path (#115, @fcollonval)
- Add
--dry-run
flag (#122) - Support specifying
keep_output
as a cell tag (#117, @scottcode) - Improved error handling for the case where git is not installed (#124)
- Nicer error message when input file is not found
- Use universal newlines without conversion (#110, #126, @ooiM)
- Strip execution timing from cell metadata (#118)
- Document which metadata is stripped by default
- Make
--global
commands work outside of git repository (#123)