Repository navigation
v5.0.0
nb-clean was ported from Python to Rust in version 5. PyPI wheels install the native executable; the Python library API is removed. The installed command supports Git filters and pre-commit as before.
Use nb-clean --version instead of nb-clean version. To preserve selected metadata, replace --preserve-cell-metadata tags slideshow -- with --preserve-cell-metadata-field tags --preserve-cell-metadata-field slideshow. The bare -m option now accepts no field arguments and can appear before paths.
An execution count of zero is now reported as dirty. Transient metadata is also reported explicitly. Clean files are no longer rewritten just to normalise formatting. Unsupported notebook major versions are rejected.
What's Changed
- Bump codecov/codecov-action from 4.5.0 to 4.6.0 by @dependabot[bot] in #304
- Bump mypy from 1.12.0 to 1.13.0 by @dependabot[bot] in #306
- Bump pytest-cov from 5.0.0 to 6.0.0 by @dependabot[bot] in #307
- Bump ruff from 0.7.0 to 0.7.2 by @dependabot[bot] in #308
- Bump ruff from 0.7.2 to 0.8.1 by @dependabot[bot] in #309
- Bump pytest from 8.3.3 to 8.3.4 by @dependabot[bot] in #310
- Bump poethepoet from 0.29.0 to 0.31.1 by @dependabot[bot] in #311
- Bump codecov/codecov-action from 4.6.0 to 5.0.7 by @dependabot[bot] in #312
- Bump codecov/codecov-action from 5.0.7 to 5.1.2 by @dependabot[bot] in #313
- Bump mypy from 1.13.0 to 1.14.1 by @dependabot[bot] in #314
- Bump poethepoet from 0.31.1 to 0.32.0 by @dependabot[bot] in #315
- Bump ruff from 0.8.1 to 0.8.4 by @dependabot[bot] in #316
- Bump poethepoet from 0.32.0 to 0.32.2 by @dependabot[bot] in #317
- Bump codecov/codecov-action from 5.1.2 to 5.3.1 by @dependabot[bot] in #319
- Bump ruff from 0.8.4 to 0.9.4 by @dependabot[bot] in #318
- Migrate from Poetry to uv by @srstevenson in #320
- Format code in docstrings by @srstevenson in #321
- Bump codecov/codecov-action from 5.3.1 to 5.4.0 by @dependabot[bot] in #324
- Bump codecov/codecov-action from 5.4.0 to 5.4.2 by @dependabot[bot] in #325
- Bump astral-sh/setup-uv from 5 to 6 by @dependabot[bot] in #326
- Bump codecov/codecov-action from 5.4.2 to 5.4.3 by @dependabot[bot] in #327
- Use uv build backend instead of hatchling by @srstevenson in #328
- Document how to use as a Jujutsu fix tool by @srstevenson in #329
- Distribute license file with package by @srstevenson in #330
- Update uv-build requirement from <0.8,>=0.7.19 to >=0.7.19,<0.9 by @dependabot[bot] in #331
- Strengthen typing and switch to basedpyright by @srstevenson in #332
- Check for dirty notebooks with constant space by @srstevenson in #333
- Work with set instead of deduplicating list elements by @srstevenson in #334
- Only pass required arguments to each CLI function by @srstevenson in #335
- Switch to Google docstrings but don't require in tests by @srstevenson in #336
- Use more general ABC types for function arguments by @srstevenson in #337
- Reduce use of mocking in CLI tests by @srstevenson in #338
- Add Makefile for dev commands and drop Codecov upload by @srstevenson in #339
- Expand documentation and demonstrate Python API by @srstevenson in #340
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #341
- Bump actions/setup-python from 5 to 6 by @dependabot[bot] in #342
- Drop Python 3.9 support and test against 3.14 by @srstevenson in #343
- Remove unused link reference by @srstevenson in #344
- Bump astral-sh/setup-uv from 6 to 7 by @dependabot[bot] in #345
- Update uv-build requirement from <0.9,>=0.7.19 to >=0.7.19,<0.10 by @dependabot[bot] in #346
- Configure Dependabot with 7 day dependency cooldown by @srstevenson in #347
- Use ubuntu-slim CI runner by @srstevenson in #348
- Bump actions/checkout from 5 to 6 by @dependabot[bot] in #349
- Enforce Google docstring conventions by @srstevenson in #350
- Audit Ruff rule configuration by @srstevenson in #351
- Switch to ty for type checking by @srstevenson in #352
- Switch to Just for orchestration by @srstevenson in #353
- Update uv-build requirement from <0.10,>=0.7.19 to >=0.7.19,<0.11 by @dependabot[bot] in #354
- Update uv-build requirement from <0.11,>=0.7.19 to >=0.7.19,<0.12 by @dependabot[bot] in #355
- Bump pytest from 8.4.2 to 9.0.3 in the uv group across 1 directory by @dependabot[bot] in #356
- Bump actions/checkout from 6 to 6.0.2 by @dependabot[bot] in #357
- Update locked dependencies by @srstevenson in #358
- Bump actions/checkout from 6.0.2 to 7.0.0 by @dependabot[bot] in #359
- Bump actions/setup-python from 6 to 7 by @dependabot[bot] in #361
- Bump actions/checkout from 7.0.0 to 7.0.1 by @dependabot[bot] in #360
- Update uv-build requirement from <0.12,>=0.7.19 to >=0.7.19,<0.13 by @dependabot[bot] in #362
- Port from Python to Rust by @srstevenson in #364
- Bump actions/download-artifact from 8.0.1 to 8.0.2 by @dependabot[bot] in #365
- Bump serde_json from 1.0.151 to 1.0.154 by @dependabot[bot] in #366
- Bump actions/setup-python from 6.3.0 to 7.0.0 by @dependabot[bot] in #367
Full Changelog: 4.0.1...v5.0.0