Change8

26.3.1

📦 blackView on GitHub →
2 features🐛 2 fixes🔧 2 symbols

Summary

This release focuses on stability improvements for Jupyter notebook magic handling and enhances security and configuration options for the blackd service, including cache path hashing.

Migration Steps

  1. If you rely on custom Jupyter magic names affecting cache paths, be aware that these names are now hashed.

✨ New Features

  • Added configurable origin allowlisting and request body limits for blackd.
  • Added bounding of executor submissions in blackd to improve backpressure.

🐛 Bug Fixes

  • Prevented Jupyter notebook magic masking collisions from corrupting cells by using exact-length placeholders for short magics and aborting if a placeholder can no longer be unmasked safely.
  • Cache filename components derived from --python-cell-magics are now always hashed to prevent custom magic names from affecting cache paths.

Affected Symbols