Skip to content

Releases: kynan/nbstripout

0.8.1

17 Nov 10:39
Compare
Choose a tag to compare
  • In dry run mode, only print output if there would have been a change (#152).
  • Declare git filter to be required when installing, such that it must succeed (#191).

0.8.0

03 Nov 17:29
Compare
Choose a tag to compare
  • 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 using git-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

04 Feb 19:29
Compare
Choose a tag to compare
  • Fix regression where input file was truncated before reading (#190).

0.7.0

04 Feb 11:38
Compare
Choose a tag to compare
  • 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

04 Feb 06:49
Compare
Choose a tag to compare
  • Add --python option for nbstripout --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 of sys.exit and do not exit from functions (@janosh, #173)

0.6.1

07 Dec 21:22
Compare
Choose a tag to compare
  • Removed setup_requires and tests_require and no longer rely on pytest-runner for test execution but invoke pytest directly (#168)

v0.6.0

26 Jul 19:09
Compare
Choose a tag to compare
  • Support for stripping init cells (@Pugio, #157)
  • Added --drop-tagged-cells="some tags" option (@boun, #161)
  • Renamed --strip-empty-cells to --drop-empty-cells
  • Dropped support for Python 3.5, added support for Python 3.10

v0.5.0 (2021-06-28)

02 Jan 17:42
Compare
Choose a tag to compare
  • Support only stripping outputs larger than a given size (cjblocker@, #135)
  • Support stripping output from Zeppelin Notebooks (ankitrokdeonsns@, #130)
  • Switch CI to GitHub actions (#151)
  • Support attributes file without leading path component (#155)

v0.4.0 (2021-04-25)

02 Jan 17:41
Compare
Choose a tag to compare
  • 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)

02 Jan 17:40
Compare
Choose a tag to compare
  • 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)