Skip to content

Commit

Permalink
Merge branch 'main' into winbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere authored Dec 15, 2024
2 parents 62d8ccc + 6e45e71 commit 935c34a
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 2 deletions.
59 changes: 59 additions & 0 deletions docs/releasenotes/11.1.0.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
11.1.0
------

Security
========

TODO
^^^^

TODO

:cve:`YYYY-XXXXX`: TODO
^^^^^^^^^^^^^^^^^^^^^^^

TODO

Backwards Incompatible Changes
==============================

TODO
^^^^

Deprecations
============

TODO
^^^^

TODO

API Changes
===========

TODO
^^^^

TODO

API Additions
=============

Check for zlib-ng
^^^^^^^^^^^^^^^^^

You can check if Pillow has been built against the zlib-ng version of the
zlib library, and what version of zlib-ng is being used::

from PIL import features
features.check_feature("zlib_ng") # True or False
features.version_feature("zlib_ng") # "2.2.2" for example, or None

Other Changes
=============

zlib-ng in wheels
^^^^^^^^^^^^^^^^^

Wheels are now built against zlib-ng for improved speed. In tests, saving a PNG
was found to be more than twice as fast at higher compression levels.
1 change: 1 addition & 0 deletions docs/releasenotes/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ expected to be backported to earlier versions.
.. toctree::
:maxdepth: 2

11.1.0
11.0.0
10.4.0
10.3.0
Expand Down
4 changes: 2 additions & 2 deletions winbuild/build_prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ def cmd_msbuild(
"bins": ["cjpeg.exe", "djpeg.exe"],
},
"zlib": {
"url": f"https://github.com/zlib-ng/zlib-ng/archive/refs/tags/{V['ZLIBNG']}.zip",
"filename": f"zlib-ng-{V['ZLIBNG']}.zip",
"url": f"https://github.com/zlib-ng/zlib-ng/archive/refs/tags/{V['ZLIBNG']}.tar.gz",
"filename": f"zlib-ng-{V['ZLIBNG']}.tar.gz",
"license": "LICENSE.md",
"patch": {
r"CMakeLists.txt": {
Expand Down

0 comments on commit 935c34a

Please sign in to comment.