Skip to content

Commit 5b1a3ae

Browse files
committed
Added release notes
1 parent e32bfba commit 5b1a3ae

3 files changed

Lines changed: 62 additions & 1 deletion

File tree

docs/reference/ImageGrab.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ or the clipboard to a PIL image memory.
5656
:param scale_down: On macOS, Retina screens will provide images at 2x size by default. This will prevent that, and scale down to 1x.
5757
Keyword-only argument.
5858

59-
.. versionadded:: 12.1.0
59+
.. versionadded:: 12.2.0
6060
:return: An image
6161

6262
.. py:function:: grabclipboard()

docs/releasenotes/12.2.0.rst

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
12.2.0
2+
------
3+
4+
Security
5+
========
6+
7+
TODO
8+
^^^^
9+
10+
TODO
11+
12+
:cve:`YYYY-XXXXX`: TODO
13+
^^^^^^^^^^^^^^^^^^^^^^^
14+
15+
TODO
16+
17+
Backwards incompatible changes
18+
==============================
19+
20+
TODO
21+
^^^^
22+
23+
TODO
24+
25+
Deprecations
26+
============
27+
28+
TODO
29+
^^^^
30+
31+
TODO
32+
33+
API changes
34+
===========
35+
36+
TODO
37+
^^^^
38+
39+
TODO
40+
41+
API additions
42+
=============
43+
44+
Added ``scale_down`` argument to ``ImageGrab.grab()``
45+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
46+
47+
:py:meth:`~PIL.ImageGrab.grab` now accepts an optional keyword argument of
48+
``scale_down``. This affects macOS screenshots with a ``bbox`` on a Retina screen. By
49+
default, images will be captured at 2x. If ``scale_down`` is ``True``, they will be at
50+
1x.
51+
52+
Previously, macOS screenshots with a ``bbox`` were captured at 1x by default.
53+
54+
Other changes
55+
=============
56+
57+
TODO
58+
^^^^
59+
60+
TODO

docs/releasenotes/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ expected to be backported to earlier versions.
1515
:maxdepth: 2
1616

1717
versioning
18+
12.2.0
1819
12.1.0
1920
12.0.0
2021
11.3.0

0 commit comments

Comments
 (0)