Added release notes

This commit is contained in:
Andrew Murray 2026-01-02 20:59:17 +11:00
parent e32bfbacc2
commit 5b1a3ae392
3 changed files with 62 additions and 1 deletions

View File

@ -56,7 +56,7 @@ or the clipboard to a PIL image memory.
:param scale_down: On macOS, Retina screens will provide images at 2x size by default. This will prevent that, and scale down to 1x.
Keyword-only argument.
.. versionadded:: 12.1.0
.. versionadded:: 12.2.0
:return: An image
.. py:function:: grabclipboard()

View File

@ -0,0 +1,60 @@
12.2.0
------
Security
========
TODO
^^^^
TODO
:cve:`YYYY-XXXXX`: TODO
^^^^^^^^^^^^^^^^^^^^^^^
TODO
Backwards incompatible changes
==============================
TODO
^^^^
TODO
Deprecations
============
TODO
^^^^
TODO
API changes
===========
TODO
^^^^
TODO
API additions
=============
Added ``scale_down`` argument to ``ImageGrab.grab()``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
:py:meth:`~PIL.ImageGrab.grab` now accepts an optional keyword argument of
``scale_down``. This affects macOS screenshots with a ``bbox`` on a Retina screen. By
default, images will be captured at 2x. If ``scale_down`` is ``True``, they will be at
1x.
Previously, macOS screenshots with a ``bbox`` were captured at 1x by default.
Other changes
=============
TODO
^^^^
TODO

View File

@ -15,6 +15,7 @@ expected to be backported to earlier versions.
:maxdepth: 2
versioning
12.2.0
12.1.0
12.0.0
11.3.0