Black 26.3.1

26.3.1
Changed 2
  • Always hash cache filename components derived from --python-cell-magics so custom magic names cannot affect cache paths
  • Disable browser-originated requests by default in Blackd, add configurable origin allowlisting and request body limits, and bound executor submissions to improve backpressure
Fixed 1
  • Prevent 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
Stable style
  • Prevent 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 (#5038)
Configuration
  • Always hash cache filename components derived from --python-cell-magics so custom magic names cannot affect cache paths (#5038)
Blackd
  • Disable browser-originated requests by default, add configurable origin allowlisting and request body limits, and bound executor submissions to improve backpressure (#5039)
View original

Upgraded? How did it go?

Discussion