Skip to content

Commit

Permalink
Updated release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Dec 29, 2022
1 parent bcdb208 commit 21e8111
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/deprecations.rst
Expand Up @@ -74,6 +74,11 @@ Constants
A number of constants have been deprecated and will be removed in Pillow 10.0.0
(2023-07-01). Instead, ``enum.IntEnum`` classes have been added.

.. note::

Additional ``Image`` constants were deprecated in Pillow 9.1.0, but they
were later restored in Pillow 9.4.0. See :ref:`restored-image-constants`

===================================================== ============================================================
Deprecated Use instead
===================================================== ============================================================
Expand Down
5 changes: 5 additions & 0 deletions docs/releasenotes/9.1.0.rst
Expand Up @@ -53,6 +53,11 @@ Constants
A number of constants have been deprecated and will be removed in Pillow 10.0.0
(2023-07-01). Instead, ``enum.IntEnum`` classes have been added.

.. note::

Some of these deprecations were restored in Pillow 9.4.0. See
:ref:`restored-image-constants`

===================================================== ============================================================
Deprecated Use instead
===================================================== ============================================================
Expand Down
37 changes: 37 additions & 0 deletions docs/releasenotes/9.4.0.rst
Expand Up @@ -103,3 +103,40 @@ Added support for DDS L and LA images

Support has been added to read and write L and LA DDS images in the uncompressed
format, known as "luminance" textures.

.. _restored-image-constants:

Constants
^^^^^^^^^

In Pillow 9.1.0, the following constants were deprecated. Those deprecations have now
been restored.

- ``Image.NONE``
- ``Image.NEAREST``
- ``Image.ORDERED``
- ``Image.RASTERIZE``
- ``Image.FLOYDSTEINBERG``
- ``Image.WEB``
- ``Image.ADAPTIVE``
- ``Image.AFFINE``
- ``Image.EXTENT``
- ``Image.PERSPECTIVE``
- ``Image.QUAD``
- ``Image.MESH``
- ``Image.FLIP_LEFT_RIGHT``
- ``Image.FLIP_TOP_BOTTOM``
- ``Image.ROTATE_90``
- ``Image.ROTATE_180``
- ``Image.ROTATE_270``
- ``Image.TRANSPOSE``
- ``Image.TRANSVERSE``
- ``Image.BOX``
- ``Image.BILINEAR``
- ``Image.HAMMING``
- ``Image.BICUBIC``
- ``Image.LANCZOS``
- ``Image.MEDIANCUT``
- ``Image.MAXCOVERAGE``
- ``Image.FASTOCTREE``
- ``Image.LIBIMAGEQUANT``

0 comments on commit 21e8111

Please sign in to comment.