Releases: kynan/nbstripout
Releases · kynan/nbstripout
0.8.1
0.8.0
- Adds
--verify
flag, similar to--dry-run
but returning 1 if any
affected files would have changed (@jspaezp, #153, #195). - Adds script to apply
nbstripout
retroactively usinggit-filter-repo
to
README (@LunarLanding @tokleine, #194 #197). - Documents nbstripout on all files in the current directory and
subdirectories recursively (#127). - Accepts notebooks without
nbformat
version specified. - Improves test coverage.
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)