diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 90bced5b57a1..5c31c88c10f7 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -69,6 +69,7 @@ Changelog * Maintenance: Refactor GroupPagePermission to use Django's Permission model (Sage Abdullah) * Maintenance: Convert the CONTRIBUTORS file to Markdown (Dan Braghis) * Maintenance: Move `django-filter` version upper bound to v24 (Yuekui) + * Maintenance: Update Pillow dependency to allow 10.x, only include support for >= 9.1.0 (Yuekui) 5.0.2 (21.06.2023) diff --git a/docs/releases/5.1.md b/docs/releases/5.1.md index fa4552ca95ff..b661dc4938cf 100644 --- a/docs/releases/5.1.md +++ b/docs/releases/5.1.md @@ -103,10 +103,15 @@ Thank you to Damilola for his work, and to Google for sponsoring this project. * Refactor GroupPagePermission to use Django's Permission model (Sage Abdullah) * Convert the `CONTRIBUTORS` file to Markdown (Dan Braghis) * Move `django-filter` version upper bound to v24 (Yuekui) + * Update Pillow dependency to allow 10.x, only include support for >= 9.1.0 (Yuekui) ## Upgrade considerations +## Pillow dependency update + +Wagtail no longer supports Pillow versions below `9.1.0`. + ### `insert_editor_css` hook is deprecated The `insert_editor_css` hook has been deprecated. The `insert_global_admin_css` hook has the same functionality, and all uses of `insert_editor_css` should be changed to `insert_global_admin_css`. diff --git a/setup.py b/setup.py index fa6c22ebaf46..3370734ae0d7 100755 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ "djangorestframework>=3.11.1,<4.0", "django-filter>=2.2,<24", "draftjs_exporter>=2.1.5,<3.0", - "Pillow>=4.0.0,<10.0.0", + "Pillow>=9.1.0,<11.0.0", "beautifulsoup4>=4.8,<4.12", "html5lib>=0.999,<2", "Willow>=1.5,<1.6",