From 52ef92cb11373fbcbfe5a747d762128621d4a031 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Thu, 1 Jan 2026 17:52:17 +1100 Subject: [PATCH 1/2] Added release notes for #9350 --- docs/releasenotes/12.1.0.rst | 44 ++++-------------------------------- 1 file changed, 4 insertions(+), 40 deletions(-) diff --git a/docs/releasenotes/12.1.0.rst b/docs/releasenotes/12.1.0.rst index b6e1810c60a..9564eefafc0 100644 --- a/docs/releasenotes/12.1.0.rst +++ b/docs/releasenotes/12.1.0.rst @@ -1,42 +1,14 @@ 12.1.0 ------ -Security -======== - -TODO -^^^^ - -TODO - -:cve:`YYYY-XXXXX`: TODO -^^^^^^^^^^^^^^^^^^^^^^^ - -TODO - -Backwards incompatible changes -============================== - -TODO -^^^^ - -TODO - -Deprecations -============ - -TODO -^^^^ - -TODO - API changes =========== -TODO -^^^^ +ImageMorph build_default_lut() +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -TODO +To be match the behaviour of :py:meth:`~PIL.ImageMorph.LutBuilder.build_lut`, +:py:meth:`~PIL.ImageMorph.LutBuilder.build_default_lut()` now returns the new LUT. API additions ============= @@ -49,11 +21,3 @@ macOS in addition to Windows. On macOS, this is a CGWindowID:: from PIL import ImageGrab ImageGrab.grab(window=cgwindowid) - -Other changes -============= - -TODO -^^^^ - -TODO From 7901a4f6c8de0d027753cbbe32e4cc8849237b5d Mon Sep 17 00:00:00 2001 From: Andrew Murray <3112309+radarhere@users.noreply.github.com> Date: Thu, 1 Jan 2026 18:33:06 +1100 Subject: [PATCH 2/2] Corrected grammar Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- docs/releasenotes/12.1.0.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/releasenotes/12.1.0.rst b/docs/releasenotes/12.1.0.rst index 9564eefafc0..0541f882feb 100644 --- a/docs/releasenotes/12.1.0.rst +++ b/docs/releasenotes/12.1.0.rst @@ -7,7 +7,7 @@ API changes ImageMorph build_default_lut() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -To be match the behaviour of :py:meth:`~PIL.ImageMorph.LutBuilder.build_lut`, +To match the behaviour of :py:meth:`~PIL.ImageMorph.LutBuilder.build_lut`, :py:meth:`~PIL.ImageMorph.LutBuilder.build_default_lut()` now returns the new LUT. API additions