mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-03 03:50:09 +03:00
Added release notes
This commit is contained in:
parent
d97c18cb5a
commit
828fa507a4
|
@ -1,19 +1,6 @@
|
||||||
11.0.0
|
11.0.0
|
||||||
------
|
------
|
||||||
|
|
||||||
Security
|
|
||||||
========
|
|
||||||
|
|
||||||
TODO
|
|
||||||
^^^^
|
|
||||||
|
|
||||||
TODO
|
|
||||||
|
|
||||||
:cve:`YYYY-XXXXX`: TODO
|
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^
|
|
||||||
|
|
||||||
TODO
|
|
||||||
|
|
||||||
Backwards Incompatible Changes
|
Backwards Incompatible Changes
|
||||||
==============================
|
==============================
|
||||||
|
|
||||||
|
@ -23,6 +10,20 @@ Python 3.8
|
||||||
Pillow has dropped support for Python 3.8,
|
Pillow has dropped support for Python 3.8,
|
||||||
which reached end-of-life in October 2024.
|
which reached end-of-life in October 2024.
|
||||||
|
|
||||||
|
ImageMath comparison operations
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
Comparison operations in :py:mod:`~PIL.ImageMath` will now return booleans
|
||||||
|
instead of images. ``==``, ``!=``, ``<``, ``<=``, ``>``, ``>=``, ``equal()`` and
|
||||||
|
``notequal()`` are all affected::
|
||||||
|
|
||||||
|
from PIL import Image, ImageMath
|
||||||
|
A = Image.new("L", (1, 1))
|
||||||
|
|
||||||
|
# Previously, this would return an I mode 1x1 image
|
||||||
|
# It will now return True
|
||||||
|
ImageMath.lambda_eval(lambda args: args["A"] == args["A"], A=A))
|
||||||
|
|
||||||
Python 3.12 on macOS <= 10.12
|
Python 3.12 on macOS <= 10.12
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
@ -33,10 +34,10 @@ wheels.
|
||||||
PSFile
|
PSFile
|
||||||
^^^^^^
|
^^^^^^
|
||||||
|
|
||||||
The :py:class:`!PSFile` class was removed in Pillow 11 (2024-10-15).
|
The :py:class:`!PSFile` class has been removed. This class was only made as a
|
||||||
This class was only made as a helper to be used internally,
|
helper to be used internally, so there is no replacement. If you need this
|
||||||
so there is no replacement. If you need this functionality though,
|
functionality though, it is a very short class that can easily be recreated in
|
||||||
it is a very short class that can easily be recreated in your own code.
|
your own code.
|
||||||
|
|
||||||
PyAccess and Image.USE_CFFI_ACCESS
|
PyAccess and Image.USE_CFFI_ACCESS
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
Loading…
Reference in New Issue
Block a user