Skip to content

Commit fa623bd

Browse files
authored
Merge pull request #2602 from wiredfool/release_notes
Release notes 4.2.0 [ci skip]
2 parents 27ecd03 + d48d635 commit fa623bd

File tree

2 files changed

+31
-8
lines changed

2 files changed

+31
-8
lines changed

docs/installation.rst

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -325,12 +325,6 @@ Or for Python 3::
325325

326326
.. Note:: ``redhat-rpm-config`` is required on Fedora 23, but not earlier versions.
327327

328-
Prerequisites are installed on **Ubuntu 12.04 LTS** or **Raspian Wheezy
329-
7.0** with::
330-
331-
$ sudo apt-get install libtiff4-dev libjpeg8-dev zlib1g-dev \
332-
libfreetype6-dev liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk
333-
334328
Prerequisites are installed on **Ubuntu 14.04 LTS** with::
335329

336330
$ sudo apt-get install libtiff5-dev libjpeg8-dev zlib1g-dev \
@@ -368,6 +362,10 @@ These platforms are built and tested for every change.
368362
+----------------------------------+-------------------------------+-----------------------+
369363
| Arch | 2.7 |x86-64 |
370364
+----------------------------------+-------------------------------+-----------------------+
365+
| Amazon | 2.7 |x86-64 |
366+
+----------------------------------+-------------------------------+-----------------------+
367+
| Centos 6 | 2.7 |x86-64 |
368+
+----------------------------------+-------------------------------+-----------------------+
371369
| Debian Stretch | 2.7 |x86 |
372370
+----------------------------------+-------------------------------+-----------------------+
373371
| Mac OS X 10.10 Yosemite* | 2.7, 3.3, 3.4, 3.5, 3.6 |x86-64 |
@@ -426,9 +424,9 @@ These platforms have been reported to work at the versions mentioned.
426424
+----------------------------------+------------------------------+--------------------------------+-----------------------+
427425
| Gentoo Linux | 2.7,3.2 | 2.1.0 |x86-64 |
428426
+----------------------------------+------------------------------+--------------------------------+-----------------------+
429-
| FreeBSD 11.0 | 2.7,3.4,3.5,3.6 | 4.1.1 |x86-64 |
427+
| FreeBSD 11.0 | 2.7,3.4,3.5,3.6 | 4.2.0 |x86-64 |
430428
+----------------------------------+------------------------------+--------------------------------+-----------------------+
431-
| FreeBSD 10.3 | 2.7,3.4,3.5 | 4.1.1 |x86-64 |
429+
| FreeBSD 10.3 | 2.7,3.4,3.5 | 4.2.0 |x86-64 |
432430
+----------------------------------+------------------------------+--------------------------------+-----------------------+
433431
| FreeBSD 10.2 | 2.7,3.4 | 3.1.0 |x86-64 |
434432
+----------------------------------+------------------------------+--------------------------------+-----------------------+

docs/releasenotes/4.2.0.rst

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,24 @@ dependencies: harfbuzz, fribidi, and raqm. See the install
1010
documentation for further details. This feature is tested and works on
1111
Unix and Mac, but has not yet been built on Windows platforms.
1212

13+
New Optional Parameters
14+
=======================
15+
16+
* :py:meth:`PIL.ImageDraw.floodfill` has a new optional parameter:
17+
threshold. This specifies a tolerance for the color to replace with
18+
the flood fill.
19+
20+
* The TIFF and PDF image writers now support the ``append_images``
21+
optional parameter for specifying additional images to create
22+
multipage outputs.
23+
24+
New DecompressionBomb Warning
25+
=============================
26+
27+
:py:meth:`PIL.Image.Image.crop` now may raise a DecompressionBomb
28+
warning if the crop region enlarges the image over the threshold
29+
specified by :py:attr:`PIL.Image.MAX_PIXELS`.
30+
1331
Removed Deprecated Items
1432
========================
1533

@@ -24,3 +42,10 @@ Several deprecated items have been removed.
2442
discard the alpha channel. From Pillow 3.4.0, a deprecation warning
2543
was shown. From Pillow 4.2.0, the deprecation warning is removed and
2644
an :py:exc:`IOError` is raised.
45+
46+
Removed Core Image Function
47+
===========================
48+
49+
The unused function ``Image.core.new_array`` was removed. This is an
50+
internal function that should not have been used by user code, but it
51+
was accessible from the python layer.

0 commit comments

Comments
 (0)