v0.6.0
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 fmtcommand - Normalize notebook JSON formatting (indent, trailing newline) without other changeswrite_nb()function - Standalone function for writing notebooks with automatic format inference, useful for programmatic notebook manipulation
Bug Fixes
- Fix
-o/--out-pathoption - The-oflag was being silently ignored due to a Click parameter name collision with the positionalOUT_PATHargument. Both now work correctly.
Improvements
- Preserve cell IDs by default -
juq papermill runandjuq papermill cleannow keep cell IDs by default (-I/--keep-ids), reducing git diff noise. Use-D/--drop-idsto 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