- Django 2.2 support (Matt Westcott, Andy Babic)
- Added support for customising EditHandler-based forms on a per-request basis (Bertrand Bordage)
- Added more informative error message when
|richtext
filter is applied to a non-string value (mukesh5) - Automatic search indexing can now be disabled on a per-model basis via the
search_auto_update
attribute (Karl Hobley) - Improved diffing of StreamFields when comparing page revisions (Karl Hobley)
- Highlight broken links to pages and missing documents in rich text (Brady Moe)
- Preserve links when copy-pasting rich text content from Wagtail to other tools (Thibaud Colas)
- Rich text to contentstate conversion now prioritises more specific rules, to accommodate
<p>
and<br>
elements with attributes (Matt Westcott) - Added limit image upload size by number of pixels (Thomas Elliott)
- Added
manage.py wagtail_update_index
alias to avoid clashes withupdate_index
commands from other packages (Matt Westcott) - Renamed
target_model
argument onPageChooserBlock
topage_type
(Loic Teixeira) edit_handler
andpanels
can now be defined on aModelAdmin
definition (Thomas Kremmel)- Add Learn Wagtail to third-party tutorials in documentation (Matt Westcott)
- Add a Django setting
TAG_LIMIT
to limit number of tags that can be added to any taggit model (Mani) - Added instructions on how to generate urls for
ModelAdmin
to documentation (LB (Ben Johnston), Andy Babic) - Added option to specify a fallback URL on
{% pageurl %}
(Arthur Holzner) - Add support for more rich text formats, disabled by default:
blockquote
,superscript
,subscript
,strikethrough
,code
(Md Arifin Ibne Matin) - Added
max_count_per_parent
option on page models to limit the number of pages of a given type that can be created under one parent page (Wesley van Lee) StreamField
field blocks now accept avalidators
argument (Tom Usher)- Added edit / delete buttons to snippet index and "don't delete" option to confirmation screen, for consistency with pages (Kevin Howbrook)
- Added support for Markdown shortcuts for inline formatting in rich text editor, e.g.
**
for bold,_
for italic, etc. (Thibaud Colas) - Added name attributes to all built-in page action menu items (LB (Ben Johnston))
- Added validation on the filter string to the Jinja2 image template tag (Jonny Scholes)
- Changed the pages reodering UI toggle to make it easier to find (Katie Locke, Thibaud Colas)
- Added support for rich text link rewrite handlers for
external
andemail
links (Md Arifin Ibne Matin) - Fix: Set
SERVER_PORT
to 443 inPage.dummy_request()
for HTTPS sites (Sergey Fedoseev) - Fix: Include port number in
Host
header ofPage.dummy_request()
(Sergey Fedoseev) - Fix: Validation error messages in
InlinePanel
no longer count towardsmax_num
when disabling the 'add' button (Todd Dembrey, Thibaud Colas) - Fix: Rich text to contentstate conversion now ignores stray closing tags (frmdstryr)
- Fix: Escape backslashes in
postgres_search
queries (Hammy Goonan) - Fix: Parent page link in page chooser search results no longer navigates away (Asanka Lihiniyagoda, Sævar Öfjörð Magnússon)
- Fix:
routablepageurl
tag now correctly omits domain part when multiple sites exist at the same root (Gassan Gousseinov) - Fix: Added missing collection column specifier on document listing template (Sergey Fedoseev)
- Fix: Page Copy will now also copy ParentalManyToMany field relations (LB (Ben Johnston))
- Fix: Admin HTML header now includes correct language code (Matt Westcott)
- Fix: Unclear error message when saving image after focal point edit (Hugo van den Berg)
- Fix:
send_mail
now correctly uses thehtml_message
kwarg for HTML messages (Tiago Requeijo) - Fix: Page copying no longer allowed if page model has reached its
max_count
(Andy Babic) - Fix: Don't show page type on page chooser button when multiple types are allowed (Thijs Kramer)
- Fix: Make sure page chooser search results correspond to the latest search by canceling previous requests (Esper Kuijs)
- Fix: Inform user when moving a page from one parent to another where there is an already existing page with the same slug (Casper Timmers)
- Fix: User add/edit forms now support form widgets with JS/CSS media (Damian Grinwis)
- Fix: Rich text processing now preserves non-breaking spaces instead of converting them to normal spaces (Wesley van Lee)
- Fix: Prevent autocomplete dropdowns from appearing over date choosers on Chrome (Kevin Howbrook)
- Fix: Prevent crash when logging HTTP errors from Cloudflare (Kevin Howbrook)
- Fix: Prevent rich text editor crash when filtering copy-pasted content and the last block is to be removed, e.g. unsupported image (Thibaud Colas)
- Fix: Removing rich text links / documents now also works when the text selection is backwards (Thibaud Colas)
- Fix: Prevent the rich text editor from crashing when copy-paste filtering removes all of its content (Thibaud Colas)
- Fix: Page chooser now respects custom
get_admin_display_title
methods on parent page and breadcrumb (Haydn Greatnews) - Fix: Added consistent whitespace around sortable table headings (Matt Westcott)
- Fix: Moved locale names for Chinese (Simplified) and Chinese (Traditional) to
zh_Hans
andzh_Hant
(Matt Westcott)