Skip to content

Commit

Permalink
Merge pull request #2602 from wiredfool/release_notes
Browse files Browse the repository at this point in the history
Release notes 4.2.0 [ci skip]
  • Loading branch information
wiredfool authored Jul 1, 2017
2 parents 27ecd03 + d48d635 commit fa623bd
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 8 deletions.
14 changes: 6 additions & 8 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -325,12 +325,6 @@ Or for Python 3::

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

Prerequisites are installed on **Ubuntu 12.04 LTS** or **Raspian Wheezy
7.0** with::

$ sudo apt-get install libtiff4-dev libjpeg8-dev zlib1g-dev \
libfreetype6-dev liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk

Prerequisites are installed on **Ubuntu 14.04 LTS** with::

$ sudo apt-get install libtiff5-dev libjpeg8-dev zlib1g-dev \
Expand Down Expand Up @@ -368,6 +362,10 @@ These platforms are built and tested for every change.
+----------------------------------+-------------------------------+-----------------------+
| Arch | 2.7 |x86-64 |
+----------------------------------+-------------------------------+-----------------------+
| Amazon | 2.7 |x86-64 |
+----------------------------------+-------------------------------+-----------------------+
| Centos 6 | 2.7 |x86-64 |
+----------------------------------+-------------------------------+-----------------------+
| Debian Stretch | 2.7 |x86 |
+----------------------------------+-------------------------------+-----------------------+
| Mac OS X 10.10 Yosemite* | 2.7, 3.3, 3.4, 3.5, 3.6 |x86-64 |
Expand Down Expand Up @@ -426,9 +424,9 @@ These platforms have been reported to work at the versions mentioned.
+----------------------------------+------------------------------+--------------------------------+-----------------------+
| Gentoo Linux | 2.7,3.2 | 2.1.0 |x86-64 |
+----------------------------------+------------------------------+--------------------------------+-----------------------+
| FreeBSD 11.0 | 2.7,3.4,3.5,3.6 | 4.1.1 |x86-64 |
| FreeBSD 11.0 | 2.7,3.4,3.5,3.6 | 4.2.0 |x86-64 |
+----------------------------------+------------------------------+--------------------------------+-----------------------+
| FreeBSD 10.3 | 2.7,3.4,3.5 | 4.1.1 |x86-64 |
| FreeBSD 10.3 | 2.7,3.4,3.5 | 4.2.0 |x86-64 |
+----------------------------------+------------------------------+--------------------------------+-----------------------+
| FreeBSD 10.2 | 2.7,3.4 | 3.1.0 |x86-64 |
+----------------------------------+------------------------------+--------------------------------+-----------------------+
Expand Down
25 changes: 25 additions & 0 deletions docs/releasenotes/4.2.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,24 @@ dependencies: harfbuzz, fribidi, and raqm. See the install
documentation for further details. This feature is tested and works on
Unix and Mac, but has not yet been built on Windows platforms.

New Optional Parameters
=======================

* :py:meth:`PIL.ImageDraw.floodfill` has a new optional parameter:
threshold. This specifies a tolerance for the color to replace with
the flood fill.

* The TIFF and PDF image writers now support the ``append_images``
optional parameter for specifying additional images to create
multipage outputs.

New DecompressionBomb Warning
=============================

:py:meth:`PIL.Image.Image.crop` now may raise a DecompressionBomb
warning if the crop region enlarges the image over the threshold
specified by :py:attr:`PIL.Image.MAX_PIXELS`.

Removed Deprecated Items
========================

Expand All @@ -24,3 +42,10 @@ Several deprecated items have been removed.
discard the alpha channel. From Pillow 3.4.0, a deprecation warning
was shown. From Pillow 4.2.0, the deprecation warning is removed and
an :py:exc:`IOError` is raised.

Removed Core Image Function
===========================

The unused function ``Image.core.new_array`` was removed. This is an
internal function that should not have been used by user code, but it
was accessible from the python layer.

0 comments on commit fa623bd

Please sign in to comment.