Merge pull request #8885 from radarhere/releasenotes

This commit is contained in:
Hugo van Kemenade 2025-04-12 19:32:07 +03:00 committed by GitHub
commit 857b8846ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 21 additions and 13 deletions

View File

@ -186,7 +186,7 @@ ExifTags.IFD.Makernote
Image.Image.get_child_images() Image.Image.get_child_images()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. deprecated:: 11.2.0 .. deprecated:: 11.2.1
``Image.Image.get_child_images()`` has been deprecated. and will be removed in Pillow ``Image.Image.get_child_images()`` has been deprecated. and will be removed in Pillow
13 (2026-10-15). It will be moved to ``ImageFile.ImageFile.get_child_images()``. The 13 (2026-10-15). It will be moved to ``ImageFile.ImageFile.get_child_images()``. The

View File

@ -170,7 +170,7 @@ DXT1 and DXT5 pixel formats can be read, only in ``RGBA`` mode.
in ``P`` mode. in ``P`` mode.
.. versionadded:: 11.2.0 .. versionadded:: 11.2.1
DXT1, DXT3, DXT5, BC2, BC3 and BC5 pixel formats can be saved:: DXT1, DXT3, DXT5, BC2, BC3 and BC5 pixel formats can be saved::
im.save(out, pixel_format="DXT1") im.save(out, pixel_format="DXT1")

View File

@ -391,7 +391,7 @@ Methods
the relative alignment of lines. Use the ``anchor`` parameter to the relative alignment of lines. Use the ``anchor`` parameter to
specify the alignment to ``xy``. specify the alignment to ``xy``.
.. versionadded:: 11.2.0 ``"justify"`` .. versionadded:: 11.2.1 ``"justify"``
:param direction: Direction of the text. It can be ``"rtl"`` (right to :param direction: Direction of the text. It can be ``"rtl"`` (right to
left), ``"ltr"`` (left to right) or ``"ttb"`` (top to bottom). left), ``"ltr"`` (left to right) or ``"ttb"`` (top to bottom).
Requires libraqm. Requires libraqm.
@ -462,7 +462,7 @@ Methods
the relative alignment of lines. Use the ``anchor`` parameter to the relative alignment of lines. Use the ``anchor`` parameter to
specify the alignment to ``xy``. specify the alignment to ``xy``.
.. versionadded:: 11.2.0 ``"justify"`` .. versionadded:: 11.2.1 ``"justify"``
:param direction: Direction of the text. It can be ``"rtl"`` (right to :param direction: Direction of the text. It can be ``"rtl"`` (right to
left), ``"ltr"`` (left to right) or ``"ttb"`` (top to bottom). left), ``"ltr"`` (left to right) or ``"ttb"`` (top to bottom).
Requires libraqm. Requires libraqm.
@ -609,7 +609,7 @@ Methods
the relative alignment of lines. Use the ``anchor`` parameter to the relative alignment of lines. Use the ``anchor`` parameter to
specify the alignment to ``xy``. specify the alignment to ``xy``.
.. versionadded:: 11.2.0 ``"justify"`` .. versionadded:: 11.2.1 ``"justify"``
:param direction: Direction of the text. It can be ``"rtl"`` (right to :param direction: Direction of the text. It can be ``"rtl"`` (right to
left), ``"ltr"`` (left to right) or ``"ttb"`` (top to bottom). left), ``"ltr"`` (left to right) or ``"ttb"`` (top to bottom).
Requires libraqm. Requires libraqm.
@ -663,7 +663,7 @@ Methods
the relative alignment of lines. Use the ``anchor`` parameter to the relative alignment of lines. Use the ``anchor`` parameter to
specify the alignment to ``xy``. specify the alignment to ``xy``.
.. versionadded:: 11.2.0 ``"justify"`` .. versionadded:: 11.2.1 ``"justify"``
:param direction: Direction of the text. It can be ``"rtl"`` (right to :param direction: Direction of the text. It can be ``"rtl"`` (right to
left), ``"ltr"`` (left to right) or ``"ttb"`` (top to bottom). left), ``"ltr"`` (left to right) or ``"ttb"`` (top to bottom).
Requires libraqm. Requires libraqm.

View File

@ -44,7 +44,7 @@ or the clipboard to a PIL image memory.
:param window: :param window:
HWND, to capture a single window. Windows only. HWND, to capture a single window. Windows only.
.. versionadded:: 11.2.0 .. versionadded:: 11.2.1
:return: An image :return: An image
.. py:function:: grabclipboard() .. py:function:: grabclipboard()

View File

@ -1,6 +1,14 @@
11.2.0 11.2.1
------ ------
.. warning::
The release of Pillow *11.2.0* was halted prematurely, due to hitting PyPI's
project size limit and concern over the size of Pillow wheels containing libavif.
The PyPI limit has now been increased and Pillow *11.2.1* has been released
instead, without libavif included in the wheels.
To avoid confusion, the incomplete 11.2.0 release has been removed from PyPI.
Security Security
======== ========
@ -17,7 +25,7 @@ Deprecations
Image.Image.get_child_images() Image.Image.get_child_images()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. deprecated:: 11.2.0 .. deprecated:: 11.2.1
``Image.Image.get_child_images()`` has been deprecated. and will be removed in Pillow ``Image.Image.get_child_images()`` has been deprecated. and will be removed in Pillow
13 (2026-10-15). It will be moved to ``ImageFile.ImageFile.get_child_images()``. The 13 (2026-10-15). It will be moved to ``ImageFile.ImageFile.get_child_images()``. The
@ -106,5 +114,5 @@ Pillow images can also be converted to Arrow objects::
Reading and writing AVIF images Reading and writing AVIF images
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Pillow can now read and write AVIF images. If you are building Pillow from source, this Pillow can now read and write AVIF images when built from source with libavif 1.0.0
will require libavif 1.0.0 or later. or later.

View File

@ -14,7 +14,7 @@ expected to be backported to earlier versions.
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
11.2.0 11.2.1
11.1.0 11.1.0
11.0.0 11.0.0
10.4.0 10.4.0

View File

@ -3362,7 +3362,7 @@ def fromarrow(
See: :ref:`arrow-support` for more detailed information See: :ref:`arrow-support` for more detailed information
.. versionadded:: 11.2.0 .. versionadded:: 11.2.1
""" """
if not hasattr(obj, "__arrow_c_array__"): if not hasattr(obj, "__arrow_c_array__"):