Skip to content

Commit ae52f9f

Browse files
authored
Added release notes for #8781 and #8837 (#8843)
Co-authored-by: Andrew Murray <[email protected]>
1 parent 1cb6c7c commit ae52f9f

File tree

1 file changed

+12
-25
lines changed

1 file changed

+12
-25
lines changed

docs/releasenotes/11.2.0.rst

Lines changed: 12 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,12 @@
44
Security
55
========
66

7-
TODO
8-
^^^^
7+
Undefined shift when loading compressed DDS images
8+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
99

10-
TODO
11-
12-
:cve:`YYYY-XXXXX`: TODO
13-
^^^^^^^^^^^^^^^^^^^^^^^
14-
15-
TODO
16-
17-
Backwards Incompatible Changes
18-
==============================
19-
20-
TODO
21-
^^^^
10+
When loading some compressed DDS formats, an integer was bitshifted by 24 places to
11+
generate the 32 bits of the lookup table. This was undefined behaviour, and has been
12+
present since Pillow 3.4.0.
2213

2314
Deprecations
2415
============
@@ -36,10 +27,14 @@ an :py:class:`PIL.ImageFile.ImageFile` instance.
3627
API Changes
3728
===========
3829

39-
TODO
40-
^^^^
30+
``append_images`` no longer requires ``save_all``
31+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32+
33+
Previously, ``save_all`` was required to in order to use ``append_images``. Now,
34+
``save_all`` will default to ``True`` if ``append_images`` is not empty and the format
35+
supports saving multiple frames::
4136

42-
TODO
37+
im.save("out.gif", append_images=ims)
4338

4439
API Additions
4540
=============
@@ -73,11 +68,3 @@ Compressed DDS images can now be saved using a ``pixel_format`` argument. DXT1,
7368
DXT5, BC2, BC3 and BC5 are supported::
7469

7570
im.save("out.dds", pixel_format="DXT1")
76-
77-
Other Changes
78-
=============
79-
80-
TODO
81-
^^^^
82-
83-
TODO

0 commit comments

Comments
 (0)