Skip to content

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 06 Jan 22:01
· 5 commits to main since this release

What's Changed

Breaking Changes

  • write_nb() now infers indent/trailing-newline from existing file - When writing notebooks, formatting is automatically preserved from the original file unless explicitly specified

New Features

  • juq fmt command - Normalize notebook JSON formatting (indent, trailing newline) without other changes
  • write_nb() function - Standalone function for writing notebooks with automatic format inference, useful for programmatic notebook manipulation

Bug Fixes

  • Fix -o/--out-path option - The -o flag was being silently ignored due to a Click parameter name collision with the positional OUT_PATH argument. Both now work correctly.

Improvements

  • Preserve cell IDs by default - juq papermill run and juq papermill clean now keep cell IDs by default (-I/--keep-ids), reducing git diff noise. Use -D/--drop-ids to restore old behavior.
  • Tests now run on all Python versions - Removed Python 3.11.13-specific xfail markers by normalizing notebook comparisons (Python version, ANSI codes, cell IDs)

Full Changelog: v0.5.2...v0.6.0