Skip to content

Releases: wagtail/Willow

v1.9 - Python 3.13, Pillow 11

26 Oct 22:05
91f87db
Compare
Choose a tag to compare

This release adds official support for Python 3.13 and Pillow 11. It also drops support for Python 3.8

What's Changed

New Contributors

Full Changelog: v1.8.0...v1.9.0

v1.8 - Better handling of CMYK images with ICC profile, and support for ICO

17 Jan 19:11
94af7c4
Compare
Choose a tag to compare

Note

This release converts CMYK images with an ICC profile to sRGB as CMYK is not supported by PNG, WEBP, AVIF and HEIC Pillow encoders.

The issue stems from the fact that when a CMYK image is encoded, it gets converted to RGB, thus resulting in inaccurate colors because Pillow ignores the ICC profile during the conversion.
So, we manually force an accurate conversion to RGB before encoding the image. This results in a much more accurate representation of the original CMYK image.

What's Changed

New Contributors

Full Changelog: v1.7.0...v1.8.0

v1.7.0 - Python 3.12, ICC profiles, EXIF metadata and the usual maintenance churn

27 Nov 10:42
0488441
Compare
Choose a tag to compare

This release is officially tested with Python 3.12, adds shorthand optional dependencies for Pillow/Wand (Willow[Pillow]/Willow[Wand]) so as to get the correct image library versions and fixes a few long standing issues

What's Changed

New Contributors

Full Changelog: v1.6.2...v1.7.0

v1.6.3 - ICC profiles/EXIF metadata and a HEIC mime unicode bug

26 Nov 22:46
1907470
Compare
Choose a tag to compare

This release:

  • Replaces the wrong unicode character in the image/heic mime type (by @stephanlachnit in #132)
  • Preserves ICC profiles and EXIF metadata when saving to PNG, WebP, AVIF (@stefanistrate, @andre-fuchs in #136, via #63)
    This should help with colour and orientation

Full Changelog: v1.6.2...v1.6.3

v1.6.2 - mime(-type) it all the way

06 Sep 10:32
0e90198
Compare
Choose a tag to compare

This release ensures that all Willow ImageFile subclasses define a mime_type attribute.

What's Changed

New Contributors

Full Changelog: v1.6.1...v1.6.2

v1.5.3 - SVG mime_type

06 Sep 10:57
c3420c5
Compare
Choose a tag to compare

This release ensures that all Willow ImageFile subclasses define a mime_type attribute.

What's Changed

New Contributors

Full Changelog: v1.5.2...v1.5.3

v1.6.1 - better SVG viewBox number pattern matching

04 Aug 15:45
7bf6489
Compare
Choose a tag to compare

Accounts for the full allowed notation in SVG viewBox, for example -5.000000011410315e-06 (reference)

What's Changed

  • Fix NUMBER_PATTERN regex for parsing SVG viewboxes by @jams2 in #128

Full Changelog: v1.6...v1.6.1

v1.5.2 - better SVG viewBox number pattern matching

04 Aug 15:54
81737a0
Compare
Choose a tag to compare

Accounts for the full allowed notation in SVG viewBox, for example -5.000000011410315e-06 (reference)

What's Changed

  • Fix NUMBER_PATTERN regex for parsing SVG viewboxes by @jams2 in #128

Full Changelog: v1.5.1...v1.5.2

v1.6 AVIF and support for optimizer libraries

13 Jul 18:09
7f4531b
Compare
Choose a tag to compare

🖼️ This release adds support for AVIF images via pillow-heif for Pillow, or ImageMagick 7.0.25+ for Wand.

🚀 It also introduces a new optimizer mechanism that allows optimizing images using dedicated libraries. Out of the box, Willow comes with optimizers for gifsicle, jpegoptim, optipng, pngquant and cwebp.

🐍 Willow no longer supports Python 3.7.

What's Changed

New Contributors

Full Changelog: v1.5...v1.6

v1.5.1

06 Jul 16:10
v1.5.1
bb120f9
Compare
Choose a tag to compare

This release fixes an SVG cropping issue (#113, @jams2)

Full Changelog: v1.5...v1.5.1