Merge pull request #6990 from radarhere/releasenotes

This commit is contained in:
Hugo van Kemenade 2023-03-04 14:18:45 +02:00 committed by GitHub
commit b4c2344199
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 62 additions and 1 deletions

View File

@ -338,7 +338,7 @@ Methods
:param fill: Color to use for the fill. :param fill: Color to use for the fill.
:param width: The line width, in pixels. :param width: The line width, in pixels.
:param corners: A tuple of whether to round each corner, :param corners: A tuple of whether to round each corner,
`(top_left, top_right, bottom_right, bottom_left)`. ``(top_left, top_right, bottom_right, bottom_left)``.
.. versionadded:: 8.2.0 .. versionadded:: 8.2.0

View File

@ -0,0 +1,60 @@
9.5.0
-----
Backwards Incompatible Changes
==============================
TODO
^^^^
TODO
Deprecations
============
TODO
^^^^
TODO
API Changes
===========
TODO
^^^^
TODO
API Additions
=============
Added ``dpi`` argument when saving PDFs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
When saving a PDF, resolution could already be specified using the
``resolution`` argument. Now, a tuple of ``(x_resolution, y_resolution)`` can
be provided as ``dpi``. If both are provided, ``dpi`` will override
``resolution``.
Added ``corners`` argument to ``ImageDraw.rounded_rectangle()``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
:py:meth:`.ImageDraw.rounded_rectangle` now accepts a keyword argument of
``corners``. This a tuple of Booleans, specifying whether to round each corner,
``(top_left, top_right, bottom_right, bottom_left)``.
Security
========
TODO
^^^^
TODO
Other Changes
=============
TODO
^^^^
TODO

View File

@ -14,6 +14,7 @@ expected to be backported to earlier versions.
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
9.5.0
9.4.0 9.4.0
9.3.0 9.3.0
9.2.0 9.2.0