Wagtail 8.1 release notes - IN DEVELOPMENT

Unreleased

What’s new

Other features

  • Only auto-create redirects when moving or renaming live pages, not draft; use WAGTAILREDIRECTS_AUTO_CREATE = 'always' to restore previous behaviour (Sage Abdullah)

  • Show allowed file types as part of document upload form help text (Bhavesh Sharma)

  • Purge frontend cache when a page is moved or its slug is changed (Jake Howard)

  • Add alternate links to sitemap for translated pages (Julie Rymer)

  • Add PURGE_BATCH_SIZE parameter to Cloudflare backend to control number of URLs sent per purge request (Kevin Howbrook)

Bug fixes

  • Avoid redundant writes back to the cache on get_rendition and get_renditions (Mason Lyons, Matt Westcott)

  • Allow ChooserBlock.bulk_to_python() to resolve records with primary keys that need converting to their native type, such as UUIDs (Saksham Chawla)

  • Prevent error when accessing the sitemap via an unknown host and no default site is configured (Jawad Khan)

  • Fix excessive memory usage when copying a page with many revisions (Taras Panasiuk)

  • Prevent nested submenu labels from becoming invisible when using the slim sidebar (Neda Gilanian, Sage Abdullah)

  • Prevent memory exhaustion through over-long inputs to get_supported_content_language_variant (Matt Westcott)

  • Use add_unredirected_header to pass authorization headers to Facebook/Instagram embed APIs (Matt Westcott)

  • Prevent failures when instantiating form pages within migrations (Satyam Laheri)

  • Fix audit log actions for copy, copy-for-translation and create-alias to log the page being copied rather than its parent (Waqas Ahmed)

  • Respect EXIF orientation on avatar uploads (Damien Meur)

  • Improve performance of instances_user_has_any_permission_for and explorable_instances in PagePermissionPolicy (Ayush Kumar)

  • Make ancestor_of, child_of, descendant_of and translation_of filters in V3 API correctly handle reference pages outside of the result set criteria (Satyam Laheri)

  • Prevent bulk deletion of automatically-created redirects when a slug change does not change the page URL (Sage Abdullah)

  • Ensure signature check failure on redirect import raises SuspiciousOperation rather than AttributeError (Matt Westcott)

Documentation

  • Fix broken links to Cloudflare and Handsontable documentation (Roshan Ramani)

  • Update generative AI policy to require pull request descriptions to be human-written (Matt Westcott)

  • Fix documentation for wagtail_update_image_renditions command to correctly describe behaviour around purging of renditions (Saksham Chawla)

Maintenance

  • Drop support for Python 3.10

  • Remove obsolete use of USE_L10N setting (DresdenGman)

  • Squash testapp migrations (Sage Abdullah)

  • Use format_html for submit translation form help text (Keerthi Kumar)

  • Add testing section to PR template (Srishti Jaiswal)

  • Remove jQuery usage in ExpandingFormset (Keerthi Kumar)

  • Rewrite page privacy ancestor link formatting to verify XSS safety (Keerthi Kumar, Matt Westcott)

  • Ensure ‘parent’ can be translated correctly in different contexts (Storm Heg)

Upgrade considerations - changes affecting all projects

Upgrade considerations - deprecation of old functionality

Removed support for Python 3.10

Python 3.10 is no longer supported as of this release; please upgrade to Python 3.11 or above before upgrading Wagtail.

Upgrade considerations - changes affecting Wagtail customizations

Upgrade considerations - changes to undocumented internals