10.0.0
github-actions
released this
01 Jul 14:57
·
3886 commits
to refs/heads/main
since this release
https://pillow.readthedocs.io/en/stable/releasenotes/10.0.0.html
Removals
- Remove deprecated ImageFont.getsize and related functions for Pillow 10.0.0 #7080 [@radarhere]
- Remove deprecations for Pillow 10.0.0 #7059 [@hugovk]
- Drop support for soon-EOL Python 3.7 #7058 [@hugovk]
Deprecations
- Do not use CFFI access by default on PyPy #7236 [@radarhere]
Changes
- Fixed deallocating mask images #7246 [@radarhere]
- Added ImageFont.MAX_STRING_LENGTH #7244 [@radarhere]
- Fix Windows build with pyproject.toml #7230 [@nulano]
- Do not close provided file handles with libtiff #7199 [@radarhere]
- Convert to HSV if mode is HSV in getcolor() #7226 [@radarhere]
- Added alpha_only argument to getbbox() #7123 [@radarhere]
- Prioritise speed in repr_png #7242 [@radarhere]
- Limit size even if one dimension is zero in decompression bomb check #7235 [@radarhere]
- Restored 32-bit support #7234 [@radarhere]
- Removed deleted file from codecov.yml and increased coverage threshold #7232 [@radarhere]
- Removed support for 32-bit #7228 [@radarhere]
- Use --config-settings instead of deprecated --global-option #7171 [@radarhere]
- Better C integer definitions #6645 [@Yay295]
- Fixed finding dependencies on Cygwin #7175 [@radarhere]
- Improved checks in font_render #7218 [@radarhere]
- Change
grabclipboard()
to use PNG compression on macOS #7219 [@abey79] - Added PyPy 3.10 and removed PyPy 3.8 #7216 [@radarhere]
- Added in_place argument to ImageOps.exif_transpose() #7092 [@radarhere]
- Corrected error code #7177 [@radarhere]
- Use "not in" #7174 [@radarhere]
- Only call text_layout once in getmask2 #7206 [@radarhere]
- Fixed calling putpalette() on L and LA images before load() #7187 [@radarhere]
- Removed unused INT64 definition #7180 [@radarhere]
- Updated xz to 5.4.3 #7136 [@radarhere]
- Fixed saving TIFF multiframe images with LONG8 tag types #7078 [@radarhere]
- Do not set size unnecessarily if image fails to open #7056 [@radarhere]
- Removed unused code #7210 [@radarhere]
- Removed unused variables #7205 [@radarhere]
- Fixed signedness comparison warning #7203 [@radarhere]
- Fixed combining single duration across duplicate APNG frames #7146 [@radarhere]
- Remove temporary file when error is raised #7148 [@radarhere]
- Do not use temporary file when grabbing clipboard on Linux #7200 [@radarhere]
- If the clipboard fails to open on Windows, wait and try again #7141 [@radarhere]
- Fixed saving multiple 1 mode frames to GIF #7181 [@radarhere]
- Replaced absolute PIL import with relative import #7173 [@radarhere]
- Removed files and types override #7194 [@radarhere]
- Removed duplicate config #7193 [@radarhere]
- Replaced deprecated Py_FileSystemDefaultEncoding for Python >= 3.12 #7192 [@radarhere]
- Improved wl-paste mimetype handling in ImageGrab #7094 [@rrcgat]
- Updated redirected URLs #7178 [@radarhere]
- Added repr_jpeg() for IPython display_jpeg #7135 [@n3011]
- Use "/sbin/ldconfig" if ldconfig is not found #7068 [@radarhere]
- Prefer screenshots using XCB over gnome-screenshot #7143 [@nulano]
- Fixed joined corners for ImageDraw rounded_rectangle() odd dimensions #7151 [@radarhere]
- Support reading signed 8-bit TIFF images #7111 [@radarhere]
- Added width argument to ImageDraw regular_polygon #7132 [@radarhere]
- Support I mode for ImageFilter.BuiltinFilter #7108 [@radarhere]
- Raise error from stderr of Linux ImageGrab.grabclipboard() command #7112 [@radarhere]
- Updated libimagequant to 4.2.0 #7128 [@radarhere]
- Added unpacker from I;16B to I;16 #7125 [@radarhere]
- Use stdlib for setuptools on MinGW #7131 [@radarhere]
- [pre-commit.ci] pre-commit autoupdate #7129 [@pre-commit-ci]
- Support float font sizes #7107 [@radarhere]
- Use later value for duplicate xref entries in PdfParser #7102 [@radarhere]
- Load before getting size in getstate #7105 [@bigcat88]
- Added Fedora 38 #7109 [@radarhere]
- Removed duplicate code #7106 [@radarhere]
- Remove use of deprecated OpenJPEG "bpp" member #7090 [@radarhere]
- Select Python version in Cygwin #7091 [@radarhere]
- Updated nasm to 2.16.01 #7089 [@radarhere]
- Update vendored Raqm to 0.10.1 #7087 [@nulano]
- 10.0.0.dev0 version bump #7057 [@radarhere]
- Fixed type handling for include and lib directories #7069 [@adisbladis]
- Do not install PyQt6-Qt6 6.5.0 #7081 [@radarhere]
- Removed FIXME comment #7072 [@radarhere]
- [pre-commit.ci] pre-commit autoupdate #7063 [@pre-commit-ci]
Dependencies
- Updated libtiff to 4.5.1 #7233 [@radarhere]
- Updated libwebp to 1.3.1 #7238 [@radarhere]
- Updated freetype to 2.13.1 #7231 [@radarhere]
- Updated fribidi to 1.0.13 #7166 [@radarhere]
- Updated harfbuzz to 7.3.0 #7152 [@radarhere]
- Updated harfbuzz to 7.2.0 #7118 [@radarhere]
- Update cygwin/cygwin-install-action action to v4 #7099 [@renovate]
- Updated raqm to 0.10.1 #7088 [@radarhere]
Documentation
- Added release notes for #7123 #7243 [@radarhere]
Image.open()
seeks to the start of file objects #7097 [@radarhere]- Added release notes for #7235 #7239 [@radarhere]
- Update Image.show docs to list all viewers used on Linux #7229 [@RoziePlaysPython]
- Document how to install on MinGW when setuptools >= 60 #7224 [@radarhere]
- Clarify that the changelog should not be updated in PRs #7220 [@radarhere]
- Moved QOI from Write-Only to Read-Only #7212 [@radarhere]
- Improved documention of "corners" argument for rounded_rectangle #7211 [@radarhere]
- Removed rectangle example from co-ordinate system documentation #7169 [@radarhere]
- Document order of kernel weights #7204 [@radarhere]
- Build only PDF in addition to default html #7164 [@hugovk]
- ImageGrab grabclipboard() is supported on Linux #7160 [@radarhere]
- Clarify that line() and polygon() include xy pixels #7142 [@radarhere]
- Updated redirected URL #7157 [@radarhere]
- Updated ImagePath tolist() default #7138 [@radarhere]
- Added release notes for #7132 #7134 [@radarhere]
- Build all readthedocs formats #7116 [@radarhere]
- Updated macOS tested Pillow versions #7103 [@radarhere]
- Fix typo #7101 [@hugovk]
- Release refinement #7074 [@hugovk]
- Improve ImageEnhance factor documentation #7065 [@radarhere]
Testing
- bench_cffi_access print formatting #7227 [@Yay295]
- Add Debian 12 Bookworm #7208 [@hugovk]
- Fix Python 3.12 failures #7188 [@radarhere]
- Test lists and tuples #6949 [@Yay295]
- Test both lists and tuples as qtables arguments #6900 [@Yay295]
- More ImagePath tests #6904 [@Yay295]
- Removed Ubuntu 18.04 docker image #7115 [@radarhere]
- Removed Fedora 36 #7098 [@radarhere]
- Fix codecov after they deleted the Python package from PyPI #7085 [@hugovk]
- Install libxcb-cursor0 #7083 [@radarhere]
- Add release check to make sure no TODOs remain in release notes #7075 [@hugovk]