- Added support for Django 2.0 (Matt Westcott, Karl Hobley, LB (Ben Johnston), Mads Jensen)
- Reorganised module paths (Karl Hobley, Matt Westcott)
- Replaced the hallo.js rich text editor with Draftail (Thibaud Colas, Loïc Teixeira, Matt Westcott)
- Removed support for Python 2.7, Django 1.8 and Django 1.10
- Removed support for Elasticsearch 1.x
- Added the ability to schedule updates to existing published pages (Patrick Woods)
- Moved Wagtail API v1 implementation (
wagtail.contrib.api
) to an external app (https://github.com/wagtail/wagtailapi_legacy) (Karl Hobley) - The page chooser now searches all fields of a page, instead of just the title (Bertrand Bordage)
- Implement ordering by date in form submission view (LB (Ben Johnston))
- Elasticsearch scroll API is now used when fetching more than 100 search results (Karl Hobley)
- Added hidden field to the form builder (Ross Crawford-d'Heureuse)
- Usage count now shows on delete confirmation page when WAGTAIL_USAGE_COUNT_ENABLED is active (Kees Hink)
- Added usage count to snippets (Kees Hink)
- Moved usage count to the sidebar on the edit page (Kees Hink)
- Explorer menu now reflects customisations to the page listing made via the
construct_explorer_page_queryset
hook andModelAdmin.exclude_from_explorer
property (Tim Heap) - "Choose another image" button changed to "Change image" to avoid ambiguity (Edd Baldry)
- Added hooks
before_create_user
,after_create_user
,before_delete_user
,after_delete_user
,before_edit_user
,after_edit_user
(Jon Carmack) - Added
exclude_fields_in_copy
property to Page to define fields that should not be included on page copy (LB (Ben Johnston)) - Improved error message on incorrect
{% image %}
tag syntax (LB (Ben Johnston)) - Optimized preview data storage (Bertrand Bordage)
- Added
render_landing_page
method toAbstractForm
to be easily overridden and passform_submission
to landing page context (Stein Strindhaug) - Added
heading
kwarg toInlinePanel
to allow heading to be set independently of button label (Adrian Turjak) - The value type returned from a
StructBlock
can now be customised (LB (Ben Johnston)) - Added
bgcolor
image operation (Karl Hobley) - Added
WAGTAILADMIN_USER_LOGIN_FORM
setting for overriding the admin login form (Mike Dingjan) - Snippets now support custom primary keys (Sævar Öfjörð Magnússon)
- Upgraded jQuery to version 3.2.1 (Janneke Janssen)
- Updated documentation styling (LB (Ben Johnston))
- Rich text fields now take feature lists into account when whitelisting HTML elements (Matt Westcott)
- FormPage lists and Form submission lists in admin now use class based views for easy overriding (Johan Arensman)
- Form submission csv exports now have the export date in the filename and can be customized (Johan Arensman)
- FormBuilder class now uses bound methods for field generation, adding custom fields is now easier and documented (LB (Ben) Johnston)
- Added
WAGTAILADMIN_NOTIFICATION_INCLUDE_SUPERUSERS
setting to determine whether superusers are included in moderation email notifications (Bruno Alla) - Added a basic Dockerfile to the project template (Tom Dyson)
- StreamField blocks now allow custom
get_template
methods for overriding templates in instances (Christopher Bledsoe) - Simplified edit handler API (Florent Osmont, Bertrand Bordage)
- Made 'add/change/delete collection' permissions configurable from the group edit page (Matt Westcott)
- Update autoprefixer configuration to better match browser support targets (Janneke Janssen)
- Update React and related dependencies to latest versions (Janneke Janssen, Hugo van den Berg)
- Remove Hallo editor
.richtext
CSS class in favour of more explicit extension points (Thibaud Colas) - Expose React-related dependencies as global variables for extension in the admin interface (Thibaud Colas)
- Added helper functions for constructing form data for use with
assertCanCreate
(Tim Heap, Matt Westcott) - Fix: Do not remove stopwords when generating slugs from non-ASCII titles, to avoid issues with incorrect word boundaries (Sævar Öfjörð Magnússon)
- Fix: The PostgreSQL search backend now preserves ordering of the
QuerySet
when searching withorder_by_relevance=False
(Bertrand Bordage) - Fix: Using
modeladmin_register
as a decorator no longer replaces the decorated class withNone
(Tim Heap) - Fix: Fixed crash in XML sitemap generator when all pages on the site are private (Stein Strindhaug)
- Fix: The
{% routablepageurl %}
template tag no longer generates invalid URLs when theWAGTAIL_APPEND_SLASH
setting was set toFalse
(Venelin Stoykov) - Fix: The "View live" button is no longer shown if the page doesn't have a routable URL (Tim Heap)
- Fix: Fixed rendering of border on dropdown arrow buttons on Chrome (Bertrand Bordage)
- Fix: Fixed incorrect z-index on userbar causing it to appear behind page content (Stein Strindhaug)
- Fix: Form submissions pagination no longer looses date filter when changing page (Bertrand Bordage)
- Fix: PostgreSQL search backend now removes duplicate page instances from the database (Bertrand Bordage)
- Fix:
FormSubmissionsPanel
now recognises custom form submission classes (LB (Ben Johnston)) - Fix: Prevent the footer and revisions link from unnecessarily collapsing on mobile (Jack Paine)
- Fix: Empty searches were activated when paginating through images and documents (LB (Ben Johnston))
- Fix: Summary numbers of pages, images and documents were not responsive when greater than 4 digits (Michael Palmer)
- Fix: Project template now has password validators enabled by default (Matt Westcott)
- Fix: Alignment options correctly removed from
TableBlock
context menu (LB (Ben Johnston)) - Fix: Fix support of
ATOMIC_REBUILD
for projects with Elasticsearch client >=1.7.0 (Mikalai Radchuk) - Fix: Fixed error on Elasticsearch backend when passing a queryset as an
__in
filter (Karl Hobley, Matt Westcott) - Fix:
__isnull
filters no longer fail on Elasticsearch 5 (Karl Hobley) - Fix: Prevented intermittent failures on Postgres search backend when a field is defined as both a
SearchField
and aFilterField
(Matt Westcott) - Fix: Alt text of images in rich text is no longer truncated on double-quote characters (Matt Westcott)
- Fix: Ampersands in embed URLs within rich text are no longer double-escaped (Matt Westcott)
- Fix: Using RGBA images no longer crashes with Pillow >= 4.2.0 (Karl Hobley)
- Fix: Copying a page with PostgreSQL search enabled no longer crashes (Bertrand Bordage)
- Fix: Style of the page unlock button was broken (Bertrand Bordage)
- Fix: Admin search no longer floods browser history (Bertrand Bordage)
- Fix: Version comparison now handles custom primary keys on inline models correctly (LB (Ben Johnston))
- Fix: Fixed error when inserting chooser panels into FieldRowPanel (Florent Osmont, Bertrand Bordage)
- Fix: Reinstated missing error reporting on image upload (Matt Westcott)
- Fix: Only load Hallo CSS if Hallo is in use (Thibaud Colas)
- Fix: Prevent style leak of Wagtail panel icons in widgets using
h2
elements (Thibaud Colas)