Wagtail 7.4 (LTS) release notes

Unreleased

Wagtail 7.4 is designated a Long Term Support (LTS) release. Long Term Support releases will continue to receive maintenance updates as necessary to address security and data-loss related issues, up until the next LTS release (typically a period of 12 months).

What’s new

Other features

  • Add is_deferred_validation flag to support skipping custom validation when saving drafts (Daniel Kirkham)

  • Update project template Dockerfile to build dependencies in a separate stage (Brylie Oxley, Akshat Gupta)

  • Add include_root parameter to admin pages API endpoint (Divyansh Mishra)

Bug fixes

  • Handle nested inline models when displaying object usage information (Sage Abdullah, Kacper Walęga, Tian Jie Wong)

  • Avoid duplicate get_object() DB query in API detail view (Siddheshwar Kadam)

  • Ensure ImageBlock alt text populates on choosing a new image after unchecking decorative state (Pratham Jaiswal)

  • Set verbose_name_plural for Query model in search promotions app (Saptami)

  • Truncate overly long task names in workflow admin view (Gaurav Takhi)

  • Hide “Add child page” button when no child pages can be created as per max_count or max_count_per_parent (Lasse Schmieding)

Documentation

  • Add documentation for the filter_spec parameter of ImageRenditionField (Soumya-codr)

  • Add guide for testing document upload forms (Wenli Tsai, Bhavesh Sharma)

  • Document the nested_default_fields attribute on API viewsets (Deepanshu Tevathiya)

  • Replace http with https in example URLs (Kunal Gupta)

  • Use pathlib.Path for settings in “Integrating into Django” documentation (Kunal Gupta)

  • Clarify example of how to implement custom embed finders (Naman Sharma S)

  • Add documentation for using the ReferenceIndex API (Saptami)

  • Retitle documentation page for settings contrib module to “Settings models” (Karl Hobley)

  • Fix typos and minor grammar issues (Kunal Gupta)

Maintenance

  • Removed support for Django 4.2

  • Fix LocaleController test failures caused by differing timezone representations between Node versions (Saptami, Matt Westcott)

  • Fix frontend coverage upload to Codecov (Sage Abdullah)

  • Update semgrep to 1.150.0 (Pravin Kamble)

  • Fix hash_filelike test case to account for line break differences on Windows (Mustansir Dabhiya)

  • Fix temporary file handling in redirect import tests on Windows (Mustansir Dabhiya)

  • Fix use of platform-specific date formatting in edit handler tests (Mustansir Dabhiya)

  • Bump Node.js to 24 (active LTS), upgrade Jest and Storybook (Sage Abdullah)

  • Use Docker Elasticsearch images for GitHub CI instead of unofficial actions (Matt Westcott)

  • Make LocaleController tests robust against changes to timezone data in Node (Sage Abdullah)

  • Fix PermissionError on document serve tests under Windows (Matt Westcott)

Upgrade considerations - changes affecting all projects

Upgrade considerations - deprecation of old functionality

Removed support for Django 4.2

Django 4.2 is no longer supported as of this release; please upgrade to Django 5.2 or above before upgrading Wagtail.

Upgrade considerations - changes affecting Wagtail customizations

Upgrade considerations - changes to undocumented internals