https://pillow.readthedocs.io/en/stable/releasenotes/9.2.0.html
Changes
- Fixed null check for fribidi_version_info in FriBiDi shim #6376 [@nulano]
- Added GIF decompression bomb check #6402 [@radarhere]
- Handle PCF fonts files with less than 256 characters #6386 [@dawidcrivelli]
- Improved GIF optimize condition #6378 [@raygard]
- Reverted to array_interface with the release of NumPy 1.23 #6394 [@radarhere]
- Pad PCX palette to 768 bytes when saving #6391 [@radarhere]
- Fixed bug with rounding pixels to palette colors #6377 [@btrekkie]
- Use gnome-screenshot on Linux if available #6361 [@radarhere]
- Fixed loading L mode BMP RLE8 images #6384 [@radarhere]
- Fixed incorrect operator in ImageCms error #6370 [@LostBenjamin]
- Limit FPX tile size to avoid extending outside image #6368 [@radarhere]
- Added support for decoding plain PPM formats #5242 [@Piolie]
- Added apply_transparency() #6352 [@radarhere]
- Fixed behaviour change from endian fix #6197 [@radarhere]
- Use python3 #6222 [@radarhere]
- Allow remapping P images with RGBA palettes #6350 [@radarhere]
- Revert "Skip test_realloc_overflow unless libtiff 4.0.4 or higher" #6354 [@radarhere]
- [pre-commit.ci] pre-commit autoupdate #6353 [@pre-commit-ci]
- Only import ImageFont in ImageDraw when necessary #6341 [@radarhere]
- Fixed drawing translucent 1px high polygons #6278 [@radarhere]
- Pad COLORMAP to 768 items when saving TIFF #6232 [@radarhere]
- Fix P -> PA conversion #6337 [@RedShy]
- Once exif data is parsed, do not reload unless it changes #6335 [@radarhere]
- Only try to connect discontiguous corners at the end of edges #6303 [@radarhere]
- Improve transparency handling when saving GIF images #6176 [@radarhere]
- Do not update GIF frame position until local image is found #6219 [@radarhere]
- Netscape GIF extension belongs after the global color table #6211 [@radarhere]
- Only write GIF comments at the beginning of the file #6300 [@raygard]
- Separate multiple GIF comment blocks with newlines #6294 [@raygard]
- Always use GIF89a for comments #6292 [@raygard]
- Ignore compression value from BMP info dictionary when saving as TIFF #6231 [@radarhere]
- If font is file-like object, do not re-read from object to get variant #6234 [@radarhere]
- Raise ValueError when trying to access internal fp after close #6213 [@radarhere]
- Support more affine expression forms in im.point() #6254 [@benrg]
- Include 'twine check' in 'make sdist' #6305 [@hugovk]
- Ensure that furthest v is set in quantize2 #6256 [@radarhere]
Dependencies
- Updated harfbuzz to 4.4.1 #6401 [@radarhere]
- Updated harfbuzz to 4.4.0 #6397 [@radarhere]
- Use SourceForge auto mirror capability #6345 [@raygard]
- Updated libtiff to 4.4.0 #6339 [@radarhere]
- Updated harfbuzz to 4.3.0 #6315 [@radarhere]
Deprecations
Documentation
- Install furo if it is not available #6408 [@radarhere]
- Added release notes for #6402 #6403 [@radarhere]
- Docs: remove redundant search page from table of contents #6399 [@hugovk]
- Added pytest-timeout to test dependencies #6301 [@radarhere]
- Fix Sphinx 5 warning by setting docs language #6347 [@hugovk]
- Include #6178 in release notes #6346 [@radarhere]
- Updated macOS tested Pillow versions #6316 [@radarhere]
- Add Sphinx Lint to pre-commit and fix RST bug #6340 [@hugovk]
- Added EMF and SUN to list of supported file formats #6338 [@radarhere]
- Once a GIF comment is loaded, it is kept for subsequent frames #6325 [@radarhere]
- Link to GitHub discussions in CONTRIBUTING #6333 [@radarhere]
- Improved image file formats documentation #6313 [@radarhere]
Testing
- Add Sphinx Lint to pre-commit and fix RST bug #6340 [@hugovk]
- pre-commit autoupdate #6223 [@radarhere]
- Upgrade non-amd64 Ubuntu jobs to Jammy #6306 [@radarhere]