Wagtail v2.4 Release Notes

Release Date: 2018-12-19 // over 5 years ago
    • ➕ Added support for Python 3.7 (Matt Westcott)
    • ➕ Added max_count option on page models to limit the number of pages of a particular type that can be created (Dan Braghis)
    • Document and image choosers now show the document / image's collection (Alejandro Garza, Janneke Janssen)
    • ➕ Added new "Welcome to your Wagtail site" Starter Page when using wagtail start command (Timothy Allen, Scott Cranfill)
    • ➕ Added ability to run individual tests through tox (Benjamin Bach)
    • Collection listings are now ordered by name (Seb Brown)
    • ➕ Added file_hash field to documents (Karl Hobley, Dan Braghis)
    • ➕ Added last login to the user overview (Noah B Johnson)
    • 🔄 Changed design of image editing page (Janneke Janssen, Ben Enright)
    • ➕ Added Slovak character map for JavaScript slug generation (Andy Chosak)
    • 📚 Make documentation links on welcome page work for prereleases (Matt Westcott)
    • 👍 Allow overridden copy() methods in Page subclasses to be called from the page copy view (Robert Rollins)
    • 👉 Users without a preferred language set on their profile now use language selected by Django's LocaleMiddleware (Benjamin Bach)
    • ➕ Added hooks to customise the actions menu on the page create/edit views (Matt Westcott)
    • 👀 Cleanup: Use functools.partial() instead of django.utils.functional.curry() (Sergey Fedoseev)
    • Squashed migrations for wagtailimages (Karl Hobley)
    • 🚚 Added before_move_page and after_move_page hooks (Maylon Pedroso)
    • Bulk deletion button for snippets is now hidden until items are selected (Karl Hobley)
    • 🛠 Fix: Query objects returned from PageQuerySet.type_q can now be merged with | (Brady Moe)
    • 🛠 Fix: Add rel="noopener noreferrer" to target blank links (Anselm Bradford)
    • 🛠 Fix: Additional fields on custom document models now show on the multiple document upload view (Robert Rollins, Sergey Fedoseev)
    • 🛠 Fix: Help text is partially hidden when using a combination of BooleanField and FieldPanel in page model (Dzianis Sheka)
    • 🛠 Fix: Allow custom logos of any height in the admin menu (Meteor0id)
    • 🛠 Fix: Allow nav menu to take up all available space instead of scrolling (Meteor0id)
    • 🛠 Fix: Redirects now return 404 when destination is unspecified or a page with no site (Hillary Jeffrey)
    • 🛠 Fix: Refactor all breakpoint definitions, removing style overlaps (Janneke Janssen)
    • 🛠 Fix: Updated draftjs_exporter to 2.1.5 to fix bug in handling adjacent entities (Thibaud Colas)
    • 🛠 Fix: Page titles consisting only of stopwords now generate a non-empty default slug (Andy Chosak, Janneke Janssen)
    • 🛠 Fix: Sitemap generator now allows passing a sitemap instance in the URL configuration (Mitchel Cabuloy, Dan Braghis)