Releases: wagtail/wagtail
Releases · wagtail/wagtail
4.2rc1
- Added StreamField data migration helpers (Sandil Ranasinghe, Jacob Topp-Mugglestone, Joshua Munn, Karl Hobley)
- Added ability to lock snippet models with
LockableMixin
(Sage Abdullah) - Added ability to submit snippets for moderation with
WorkflowMixin
(Sage Abdullah) - Create
{% fullpageurl %}
tag for getting the absolute URL of a page (Jake Howard) - Added
MultipleChooserPanel
, a variant ofInlinePanel
with improved editor experience when inserting multiple linked objects (Matt Westcott) - Test assertion util
WagtailPageTestCase.assertCanCreate
now supports the kwargpublish=True
to check publish redirection (Harry Percival, Akua Dokua Asiedu) - Ensure that the
rebuild_references_index
command can run without console output if called with--verbosity 0
(Omerzahid Ali, Aman Pandey) - Add full support for secondary buttons with icons in the Wagtail design system -
button bicolor button--icon button-secondary
including thebutton-small
variant (Seremba Patrick) - Add
purge_embeds
management command to delete all the cached embed objects in the database (Aman Pandey) - Make it possible to resize the page editor’s side panels (Sage Abdullah)
- Add ability to include
form_fields
as an APIField onFormPage
(Sævar Öfjörð Magnússon, Suyash Singh, LB (Ben) Johnston) - Ensure that images listings are more consistently aligned when there are fewer images uploaded (Theresa Okoro)
- Add more informative validation error messages for non-unique slugs within the admin interface and for programmatic page creation (Benjamin Bach)
- Always show the page editor title field’s border when the field is empty (Thibaud Colas)
- Snippet models extending
DraftStateMixin
now automatically define a "Publish" permission type (Sage Abdullah) - Users now remain on the edit page after saving a snippet as draft (Sage Abdullah)
- Base project template now populates the meta description tag from the search description field (Aman Pandey)
- Added support for
azure-mgmt-cdn
version >= 10 andazure-mgmt-frontdoor
version >= 1 in the frontend cache invalidator (Sylvain Fankhauser) - Add a system check to warn when a
django-storages
backend is configured to allow overwriting (Rishabh jain) - Update admin focus outline color to have higher contrast against white backgrounds (Thibaud Colas)
- Implement latest design for the admin dashboard header (Thibaud Colas, Steven Steinwand)
- Add Axe accessibility checker integration within userbar, with count and list of errors (Albina Starykova)
- Restyle the userbar to follow the visual design of the Wagtail admin (Albina Starykova)
- Allow configuring Axe accessibility checker integration via
construct_wagtail_userbar
hook (Sage Abdullah) - Support pinning and un-pinning the rich text editor toolbar depending on user preference (Thibaud Colas)
- Make the rich text block trigger and slash-commands always available regardless of where the cursor is (Thibaud Colas)
- Adjust the size of panel labels on the "Account" form (Thibaud Colas)
- Delay hiding the contents of the side panels when closing, so the animation is smoother (Thibaud Colas)
- ListBlock now shows item-by-item differences when comparing versions (Tidiane Dia)
- Fix: Make sure workflow timeline icons are visible in high-contrast mode (Loveth Omokaro)
- Fix: Ensure authentication forms (login, password reset) have a visible border in Windows high-contrast mode (Loveth Omokaro)
- Fix: Ensure visual consistency between buttons and links as buttons in Windows high-contrast mode (Albina Starykova)
- Fix: references extraction for ChooserBlock (Alex Tomkins)
- Fix: Incorrectly formatted link in the documentation for Wagtail community support (Bolarinwa Comfort Ajayi)
- Fix: Text within status tags text will now resize correctly when customizing browser font size (Mary Ojo)
- Fix: Ensure logo shows correctly on log in page in Windows high-contrast mode (Loveth Omokaro)
- Fix: Comments notice background overflows its container (Yekasumah)
- Fix: Ensure links within help blocks meet colour contrast guidelines for accessibility (Theresa Okoro)
- Fix: Ensure the skip link (used for keyboard control) meets colour contrast guidelines for accessibility (Dauda Yusuf)
- Fix: Ensure tag fields correctly show in both dark and light Windows high-contrast modes (Albina Starykova)
- Fix: Ensure new tooltips & tooltip menus have visible borders and tip triangle in Windows high-contrast mode (Juliet Adeboye)
- Fix: Ensure there is a visual difference of 'active/current link' vs normal links in Windows high-contrast mode (Mohammad Areeb)
- Fix: Avoid issues where trailing whitespace could be accidentally removed in translations for new page & snippet headers (Florian Vogt)
- Fix: Make sure minimap error indicators follow the minimap scrolling (Thibaud Colas)
- Fix: Remove the ability to view or add comments to
InlinePanel
inner fields to avoid lost or incorrectly linked comments (Jacob Topp-Mugglestone) - Fix: Use consistent heading styles on top-level fields in the page editor (Sage Abdullah)
- Fix: Allow button labels to wrap onto two lines in dropdown buttons (Coen van der Kamp)
- Fix: Remove spurious horizontal resize handle from text areas (Matt Westcott)
- Fix: Move DateField, DateTimeField, TimeField comment buttons to be right next to the fields (Theresa Okoro)
- Fix: Support text resizing in workflow steps cards (Ivy Jeptoo)
- Fix: Ignore images added via fixtures when using
WAGTAILIMAGES_FEATURE_DETECTION_ENABLED
to avoid errors for images that do not exist (Aman Pandey) - Fix: Restore ability to perform JSONField query operations against StreamField when running against the Django 4.2 development branch (Sage Abdullah)
- Fix: Ensure there is correct grammar and pluralisation for Tab error counts shown to screen readers (Aman Pandey)
- Fix: Pass through expected expected
cc
,bcc
andreply_to
to the Django mail helper fromwagtail.admin.mail.send_mail
(Ben Gosney) - Fix: Allow reviewing or reverting to a Page's initial revision (Andy Chosak)
- Fix: Use the correct padding for autocomplete block picker (Umar Farouk Yunusa)
- Fix: Ensure that short content pages (such as editing snippets) do not show an inconsistent background (Sage Abdullah)
- Fix: Fix horizontal positioning of rich text inline toolbar (Thibaud Colas)
- Fix: Ensure that
DecimalBlock
correctly handlesNone
, whenrequired=False
, values (Natarajan Balaji) - Fix: Close the userbar when clicking its toggle (Albina Starykova)
- Fix: Add a border around the userbar menu in Windows high-contrast mode so it can be identified (Albina Starykova)
- Fix: Make sure browser font resizing applies to the userbar (Albina Starykova)
- Fix: Fix check for
delete_url_name
attribute in genericDeleteView
(Alex Simpson) - Fix: Re-implement design system colors so HSL values exactly match the desired RGB (Albina Starykova)
- Fix: Resolve issue where workflow and other notification emails would not include the correct tab URL for account notification management (LB (Ben) Johnston)
- Fix: Use consistent spacing above and below page headers (Thibaud Colas)
- Fix: Use the correct icon sizes and spacing in slim header (Thibaud Colas)
- Fix: Use the correct color for placeholders in rich text fields (Thibaud Colas)
- Fix: Prevent obstructing the outline around rich text fields (Thibaud Colas)
- Fix: Page editor dropdowns now use indigo backgrounds like elsewhere in the admin interface (Thibaud Colas)
- Fix: Allow parsing of multiple key/value pairs from string in
wagtail.search.utils.parse_query_string
(Beniamin Bucur) - Fix: Prevent memory exhaustion when purging a large number of revisions (Jake Howard)
- Fix: Add right-to-left (RTL) support for the following form components: Switch, Minimap, live preview (Thibaud Colas)
- Fix: Improve right-to-left (RTL) positioning for the following components: Page explorer, Sidebar sub-menu, rich text tooltips, rich text toolbar trigger, editor section headers (Thibaud Colas)
- Fix: Use the workflow name as the workflow information dialog title (Sage Abdullah)
- Fix: Link to workflow history view instead of page history view in the workflow information dialog (Sage Abdullah)
- Fix: Fix in-progress count in warning message when disabling workflows (Sage Abdullah)
- Fix: Show workflow name on workflow history index page (Sage Abdullah)
- Fix: Fix workflow history detail timeline content from showing on initial load (Sage Abdullah)
- Fix: Center-align StreamField and rich text block picker buttons with the dotted guide line (Thibaud Colas)
- Fix: Search bar in chooser modals now performs autocomplete searches under PostgreSQL (Matt Westcott)
- Fix: Server-side document filenames are preserved when replacing a document file (Suyash Singh, Matt Westcott)
- Docs: Add custom permissions section to permissions documentation page (Dan Hayden)
- Docs: Add documentation for how to get started with contributing translations for the Wagtail admin (Ogunbanjo Oluwadamilare)
- Docs: Officially recommend
fnm
overnvm
in development documentation (LB (Ben) Johnston) - Docs: Mention the importance of passing
request
andcurrent_site
toget_url
on the performance documentation page (Jake Howard) - Docs: Add documentation for
register_user_listing_buttons
hook (LB (Ben Johnston)) - Docs: Add development (contributing to Wagtail) documentation notes for development on Windows (Akua Dokua Asiedu)
- Docs: Mention Wagtail’s usage of Django’s default user model by default (Temidayo Azeez)
- Docs: Add links to treebeard documentation for relevant methods (Temidayo Azeez)
- Docs: Add clarification on where to register entity plugins (Mark McOsker)
- Docs: Fix logo in README not being visible in high-contrast mode (Benita Anawonah)
- Docs: Improve 'first ...
4.1.1
- Fix: Fix issue where lock/unlock buttons would not work on the Dashboard (home) page or the page index listing via the status sidebar (Stefan Hammer)
- Fix: Fix disabled style on StreamField add button (Matt Westcott)
- Fix: Ensure models are fully loaded before registering snippets, to avoid circular import issues (Matt Westcott)
- Fix: Prevent fields without a
verbose_name
property from breaking usage report views (Matt Westcott) - Fix: Exclude tags from the reference index (Matt Westcott)
- Fix: Fix errors in handling generic foreign keys when populating the reference index (Matt Westcott)
- Fix: Prevent error in handling null ParentalKeys when populating the reference index (Matt Westcott)
- Fix: Make sure minimap error indicators follow the minimap scrolling (Thibaud Colas)
- Fix: Ensure background HTTP request to clear stale preview data correctly respects the
CSRF_HEADER_NAME
setting (Sage Abdullah) - Fix: Prevent error on aging pages report when "Last published by" user has been deleted (Joshua Munn)
4.1
- New scheduled publishing UI, available from the Status side panel (Sage Abdullah)
- Allow snippet admin views to be customised via
SnippetViewSet
(Sage Abdullah) - Implement scheduled publishing for snippets inheriting from
DraftStateMixin
(Sage Abdullah) - Add reference index and usage reports for images, documents and snippets (Karl Hobley, Matt Westcott)
- Formalised support for Python 3.11 (Matt Westcott)
- Add basic keyboard control and screen reader support for page listing re-ordering (Paarth Agarwal, Thomas van der Hoeven)
- Add
PageQuerySet.private
method as an alias ofnot_public
(Mehrdad Moradizadeh) - Most images in the admin will now only load once they are visible on screen (Jake Howard)
- Allow setting default attributes on image tags (Jake Howard)
- Optimise the performance of the Wagtail userbar to remove duplicated queries, improving page loads when viewing live pages while signed in (Jake Howard)
- Remove legacy styling classes for buttons (
unbutton
,button-neutral
,button-strokeonhover
,hover-no
,yes
) and refactor button styles to be more maintainable (Paarth Agarwal, LB (Ben Johnston)) - Add button variations to the pattern library (Paarth Agarwal)
- Provide a more accessible page title where the unique information is shown first and the CMS name is shown last (Mehrdad Moradizadeh)
- Pull out behaviour from
AbstractFormField
toFormMixin
andAbstractEmailForm
toEmailFormMixin
to allow use with subclasses ofPage
(Mehrdad Moradizadeh, Kurt Wall) - Add a
docs.wagtail.org/.well-known/security.txt
so that the security policy is available as per the specification on https://securitytxt.org/ (Jake Howard) - Add unit tests for the
classnames
Wagtail admin template tag (Mehrdad Moradizadeh) - Show an inverse locked indicator when the page has been locked by the current user in reports and dashboard listings (Vaibhav Shukla, LB (Ben Johnston))
- Add clarity to the development documentation that
admonition
should not be used and titles fornote
are not supported, including clean up of some existing incorrect usage (LB (Ben Johnston)) - Unify the styling of delete/destructive button styles across the admin interface (Paarth Agarwal)
- Adopt new designs and unify the styling styles for
.button-secondary
buttons across the admin interface (Paarth Agarwal) - Refine designs for disabled buttons throughout the admin interface (Paarth Agarwal)
- Update expanding formset add buttons to use
button
not link for behaviour (LB (Ben) Johnston) - Add robust unit testing for authentication scenarios across the user management admin pages (Mehrdad Moradizadeh)
- Avoid assuming an integer PK named 'id' on multiple upload views (Matt Westcott)
- Add a toggle to collapse/expand all page panels at once (Helen Chapman)
- Improve the GitHub Workflows (CI) security (Alex (sashashura))
- Use
search
type input in documentation search (LB (Ben) Johnston) - Render
help_text
when set onFieldPanel
,MultiFieldPanel
,FieldRowPanel
, and other panel APIs where it previously worked without official support (Matt Westcott) - Consolidate usage of Excel libraries to a single library
openpyxl
, removing usage ofXlsxWriter
,tablib
,xlrd
andxlwt
(Jaap Roes) - Adopt
wagtail.admin.views.generic.IndexView
for the Users index listing and search results (Mehrdad Moradizadeh) - Adopt
wagtail.admin.views.generic.CreateView
for the User creation view (Mehrdad Moradizadeh) - Adopt
wagtail.admin.views.generic.DeleteView
for the User delete view (Mehrdad Moradizadeh) - Adopt
wagtail.admin.views.generic.EditView
for the User edit view (Mehrdad Moradizadeh) - Add
button-secondary bicolor
variants to the pattern library and styleguide (Adinapunyo Banerjee) - Add better support for non-integer / non-
id
primary keys into Wagtail's generic views, including for Snippets and custom User models (Mehrdad Moradizadeh) - Upgrade jQuery UI to version 1.13.2 (LB (Ben) Johnston)
- Update pattern library background & text examples (Albina Starykova)
- Switch StreamField blocks to use a
<section>
element so screen reader users can bypass them more easily (Thibaud Colas) - Add anchor links to StreamField blocks so users can navigate straight to a given block (Thibaud Colas)
- Support "Ctrl + f" in-page search within collapsed StreamField blocks (Thibaud Colas)
- Remember the last opened side panel in the page editor, activating it on page load (Sage Abdullah)
- Ensure that the
update_index
command can run without console output if called with--verbosity 0
(Ben Sturmfels, Oliver Parker) - Improve side panels’ resizing in page editor and listings (Steven Steinwand)
- Adjust breadcrumb text alignment and size in page listings & page editor (Steven Steinwand)
- Improvements to getting started tutorial aimed at developers who are very new to Python and have no Django experience (Damilola Oladele)
- Update documentation dependencies; Sphinx Wagtail Theme to v5.3.2, MyST Parser to v0.18.1, add Sphinx Copy Button (LB (Ben) Johnston)
- Add "What's New" dashboard banner and "Help" menu in sidebar (Sage Abdullah)
- Implement new "minimap" component for the page editor (Thibaud Colas)
- The
image_url
template tag, when using the serve view to redirect rather than serve directly, will now use temporary redirects with a cache header instead of permanent redirects (Jake Howard) - Add new test assertions to
WagtailPageTestCase
-assertPageIsRoutable
,assertPageIsRenderable
,assertPageIsEditable
,assertPageIsPreviewable
(Andy Babic) - Add documentation to the performance section about how to better create image URLs when not used directly on the page (Jake Howard)
- Add ability to provide a required
permission
toPanelGroup
, used byTabbedInterface
,ObjectList
,FieldRowPanel
andMultiFieldPanel
(Oliver Parker) - Update documentation screenshots of the admin interface to align with changes in this release (Thibaud Colas)
- Fix: Prevent
PageQuerySet.not_public
from returning all pages when no page restrictions exist (Mehrdad Moradizadeh) - Fix: Ensure that duplicate block ids are unique when duplicating stream blocks in the page editor (Joshua Munn)
- Fix: Revise colour usage so that privacy & locked indicators can be seen in Windows High Contrast mode (LB (Ben Johnston))
- Fix: Ensure that disabled buttons have a consistent presentation on hover to indicate no interaction is available (Paarth Agarwal)
- Fix: Update the 'Locked pages' report menu title so that it is consistent with other pages reports and its own title on viewing (Nicholas Johnson)
- Fix: Support
formfield_callback
handling onModelForm.Meta
for future Django 4.2 release (Matt Westcott) - Fix: Ensure that
ModelAdmin
correctly supports filters in combination with subsequent searches without clearing the applied filters (Stefan Hammer) - Fix: Add missing translated values to site settings' headers plus models presented in listings and audit report filtering labels (Stefan Hammer)
- Fix: Remove
capitalize()
calls to avoid issues with other languages or incorrectly presented model names for reporting and parts of site settings (Stefan Hammer) - Fix: Add back rendering of
help_text
for InlinePanel (Matt Westcott) - Fix: Ensure
for_user
argument is passed to the form class when previewing pages (Matt Westcott) - Fix: Ensure the capitalisation of the
timesince_simple
tag is consistently added in the template based on usage in context (Stefan Hammer) - Fix: Add missing translation usage for the
timesince_last_update
and ensure the translated labels can be easier to work with in Transifex (Stefan Hammer) - Fix: Add additional checks for duplicate form field
clean_name
values in the Form Builder validation and increase performance of checks (Dan Bentley) - Fix: Use correct color for labels of radio and checkbox fields (Steven Steinwand)
- Fix: Adjust spacing of fields’ error messages and position in tables (Steven Steinwand)
- Fix: Update dead or redirected links throughout the documentation (LB (Ben) Johnston)
- Fix: Use different icons for workflow timeline component, so the steps can be distinguished with other means than color (Sam Moran)
- Fix: Use the correct custom font for the Wagtail userbar (Umar Farouk Yunusa)
- Fix: StreamField blocks are now collapsible with the keyboard (Thibaud Colas)
- Fix: StreamField block headings now have a label for screen reader users (Thibaud Colas)
- Fix: Display the "*" required field indicator for StreamField blocks (Thibaud Colas)
- Fix: Resolve inconsistency in action button positions in InlinePanel (Thibaud Colas)
- Fix: Use h3 elements with a counter in InlinePanel so screen reader users can navigate by heading (Thibaud Colas)
- Fix: Ensure that buttons on custom chooser widgets are correctly shown on hover (Thibaud Colas)
- Fix: Add missing asterisk to title field placeholder (Seremba Patrick, Stefan Hammer)
- Fix: Avoid creating an extra rich text block when inserting a new block at the end of the content (Matt Westcott)
- Fix: Removed the extra dot in the Wagtail version shown within the admin settings menu item (Loveth Omokaro)
- Fix: Fully remove the obsolete
wagtailsearch_editorspick
table that prevents flushing the database (Matt Westcott) - Fix: Update latest version message on Dashboard to accept dev build version format used on nlightly builds (Sam Moran)
- Fix: references extraction for ChooserBlock (Alex Tomkins)
- Fix: Regression in field width for authentication pages (log in / password reset) (Chisom)
- Fix: Ensure the new minimap correctly pluralises error counts for
aria-label
s (Matt Westcott)
4.0.4
(Reissue of 4.0.3 due to packaging issues)
- Render
help_text
when set onFieldPanel
,MultiFieldPanel
,FieldRowPanel
, and other panel APIs where it previously worked without official support (Matt Westcott) - Update special-purpose
FieldPanel
deprecation message to add clarity for developers (Matt Westcott) - Fix: Add back rendering of
help_text
for InlinePanel (Matt Westcott) - Fix: Ensure that
AbstractForm
&AbstractEmailForm
page models correctly pass the form to the preview context (Dan Bentley) - Fix: Use the correct custom font for the Wagtail userbar (Umar Farouk Yunusa)
- Fix: Ensure that buttons on custom chooser widgets are correctly shown on hover (Thibaud Colas)
4.0.3
- Render
help_text
when set onFieldPanel
,MultiFieldPanel
,FieldRowPanel
, and other panel APIs where it previously worked without official support (Matt Westcott) - Update special-purpose
FieldPanel
deprecation message to add clarity for developers (Matt Westcott) - Fix: Add back rendering of
help_text
for InlinePanel (Matt Westcott) - Fix: Ensure that
AbstractForm
&AbstractEmailForm
page models correctly pass the form to the preview context (Dan Bentley) - Fix: Use the correct custom font for the Wagtail userbar (Umar Farouk Yunusa)
- Fix: Ensure that buttons on custom chooser widgets are correctly shown on hover (Thibaud Colas)
4.1rc1
- New scheduled publishing UI, available from the Status side panel (Sage Abdullah)
- Allow snippet admin views to be customised via
SnippetViewSet
(Sage Abdullah) - Implement scheduled publishing for snippets inheriting from
DraftStateMixin
(Sage Abdullah) - Add reference index and usage reports for images, documents and snippets (Karl Hobley, Matt Westcott)
- Add basic keyboard control and screen reader support for page listing re-ordering (Paarth Agarwal, Thomas van der Hoeven)
- Add
PageQuerySet.private
method as an alias ofnot_public
(Mehrdad Moradizadeh) - Most images in the admin will now only load once they are visible on screen (Jake Howard)
- Allow setting default attributes on image tags (Jake Howard)
- Optimise the performance of the Wagtail userbar to remove duplicated queries, improving page loads when viewing live pages while signed in (Jake Howard)
- Remove legacy styling classes for buttons (
unbutton
,button-neutral
,button-strokeonhover
,hover-no
,yes
) and refactor button styles to be more maintainable (Paarth Agarwal, LB (Ben Johnston)) - Add button variations to the pattern library (Paarth Agarwal)
- Provide a more accessible page title where the unique information is shown first and the CMS name is shown last (Mehrdad Moradizadeh)
- Pull out behaviour from
AbstractFormField
toFormMixin
andAbstractEmailForm
toEmailFormMixin
to allow use with subclasses ofPage
(Mehrdad Moradizadeh, Kurt Wall) - Add a
docs.wagtail.org/.well-known/security.txt
so that the security policy is available as per the specification on https://securitytxt.org/ (Jake Howard) - Add unit tests for the
classnames
Wagtail admin template tag (Mehrdad Moradizadeh) - Show an inverse locked indicator when the page has been locked by the current user in reports and dashboard listings (Vaibhav Shukla, LB (Ben Johnston))
- Add clarity to the development documentation that
admonition
should not be used and titles fornote
are not supported, including clean up of some existing incorrect usage (LB (Ben Johnston)) - Unify the styling of delete/destructive button styles across the admin interface (Paarth Agarwal)
- Adopt new designs and unify the styling styles for
.button-secondary
buttons across the admin interface (Paarth Agarwal) - Refine designs for disabled buttons throughout the admin interface (Paarth Agarwal)
- Update expanding formset add buttons to use
button
not link for behaviour (LB (Ben) Johnston) - Add robust unit testing for authentication scenarios across the user management admin pages (Mehrdad Moradizadeh)
- Avoid assuming an integer PK named 'id' on multiple upload views (Matt Westcott)
- Add a toggle to collapse/expand all page panels at once (Helen Chapman)
- Improve the GitHub Workflows (CI) security (Alex (sashashura))
- Use
search
type input in documentation search (LB (Ben) Johnston) - Render
help_text
when set onFieldPanel
,MultiFieldPanel
,FieldRowPanel
, and other panel APIs where it previously worked without official support (Matt Westcott) - Consolidate usage of Excel libraries to a single library
openpyxl
, removing usage ofXlsxWriter
,tablib
,xlrd
andxlwt
(Jaap Roes) - Adopt
wagtail.admin.views.generic.IndexView
for the Users index listing and search results (Mehrdad Moradizadeh) - Adopt
wagtail.admin.views.generic.CreateView
for the User creation view (Mehrdad Moradizadeh) - Adopt
wagtail.admin.views.generic.DeleteView
for the User delete view (Mehrdad Moradizadeh) - Adopt
wagtail.admin.views.generic.EditView
for the User edit view (Mehrdad Moradizadeh) - Add
button-secondary bicolor
variants to the pattern library and styleguide (Adinapunyo Banerjee) - Add better support for non-integer / non-
id
primary keys into Wagtail's generic views, including for Snippets and custom User models (Mehrdad Moradizadeh) - Upgrade jQuery UI to version 1.13.2 (LB (Ben) Johnston)
- Update pattern library background & text examples (Albina Starykova)
- Switch StreamField blocks to use a
<section>
element so screen reader users can bypass them more easily (Thibaud Colas) - Add anchor links to StreamField blocks so users can navigate straight to a given block (Thibaud Colas)
- Support "Ctrl + f" in-page search within collapsed StreamField blocks (Thibaud Colas)
- Remember the last opened side panel in the page editor, activating it on page load (Sage Abdullah)
- Ensure that the
update_index
command can run without console output if called with--verbosity 0
(Ben Sturmfels, Oliver Parker) - Improve side panels’ resizing in page editor and listings (Steven Steinwand)
- Adjust breadcrumb text alignment and size in page listings & page editor (Steven Steinwand)
- Improvements to getting started tutorial aimed at developers who are very new to Python and have no Django experience (Damilola Oladele)
- Update documentation dependencies; Sphinx Wagtail Theme to v5.3.2, MyST Parser to v0.18.1, add Sphinx Copy Button (LB (Ben) Johnston)
- Add "What's New" dashboard banner and "Help" menu in sidebar (Sage Abdullah)
- Implement new "minimap" component for the page editor (Thibaud Colas)
- The
image_url
template tag, when using the serve view to redirect rather than serve directly, will now use temporary redirects with a cache header instead of permanent redirects (Jake Howard) - Add new test assertions to
WagtailPageTestCase
-assertPageIsRoutable
,assertPageIsRenderable
,assertPageIsEditable
,assertPageIsPreviewable
(Andy Babic) - Add documentation to the performance section about how to better create image URLs when not used directly on the page (Jake Howard)
- Add ability to provide a required
permission
toPanelGroup
, used byTabbedInterface
,ObjectList
,FieldRowPanel
andMultiFieldPanel
(Oliver Parker) - Fix: Prevent
PageQuerySet.not_public
from returning all pages when no page restrictions exist (Mehrdad Moradizadeh) - Fix: Ensure that duplicate block ids are unique when duplicating stream blocks in the page editor (Joshua Munn)
- Fix: Revise colour usage so that privacy & locked indicators can be seen in Windows High Contrast mode (LB (Ben Johnston))
- Fix: Ensure that disabled buttons have a consistent presentation on hover to indicate no interaction is available (Paarth Agarwal)
- Fix: Update the 'Locked pages' report menu title so that it is consistent with other pages reports and its own title on viewing (Nicholas Johnson)
- Fix: Support
formfield_callback
handling onModelForm.Meta
for future Django 4.2 release (Matt Westcott) - Fix: Ensure that
ModelAdmin
correctly supports filters in combination with subsequent searches without clearing the applied filters (Stefan Hammer) - Fix: Add missing translated values to site settings' headers plus models presented in listings and audit report filtering labels (Stefan Hammer)
- Fix: Remove
capitalize()
calls to avoid issues with other languages or incorrectly presented model names for reporting and parts of site settings (Stefan Hammer) - Fix: Add back rendering of
help_text
for InlinePanel (Matt Westcott) - Fix: Ensure
for_user
argument is passed to the form class when previewing pages (Matt Westcott) - Fix: Ensure the capitalisation of the
timesince_simple
tag is consistently added in the template based on usage in context (Stefan Hammer) - Fix: Add missing translation usage for the
timesince_last_update
and ensure the translated labels can be easier to work with in Transifex (Stefan Hammer) - Fix: Add additional checks for duplicate form field
clean_name
values in the Form Builder validation and increase performance of checks (Dan Bentley) - Fix: Use correct color for labels of radio and checkbox fields (Steven Steinwand)
- Fix: Adjust spacing of fields’ error messages and position in tables (Steven Steinwand)
- Fix: Update dead or redirected links throughout the documentation (LB (Ben) Johnston)
- Fix: Use different icons for workflow timeline component, so the steps can be distinguished with other means than color (Sam Moran)
- Fix: Use the correct custom font for the Wagtail userbar (Umar Farouk Yunusa)
- Fix: StreamField blocks are now collapsible with the keyboard (Thibaud Colas)
- Fix: StreamField block headings now have a label for screen reader users (Thibaud Colas)
- Fix: Display the "*" required field indicator for StreamField blocks (Thibaud Colas)
- Fix: Resolve inconsistency in action button positions in InlinePanel (Thibaud Colas)
- Fix: Use h3 elements with a counter in InlinePanel so screen reader users can navigate by heading (Thibaud Colas)
- Fix: Ensure that buttons on custom chooser widgets are correctly shown on hover (Thibaud Colas)
- Fix: Add missing asterisk to title field placeholder (Seremba Patrick)
- Fix: Avoid creating an extra rich text block when inserting a new block at the end of the content (Matt Westcott)
- Fix: Removed the extra dot in the Wagtail version shown within the admin settings menu item (Loveth Omokaro)
- Fix: Fully remove the obsolete
wagtailsearch_editorspick
table that prevents flushing the database (Matt Westcott) - Fix: Update latest version message on Dashboard to accept dev build version format used on nlightly builds (Sam Moran)
4.0.2
- Update all images and sections of the Wagtail Editor's guide to align with the new admin interface changes from Wagtail 3.0 and 4.0 (Thibaud Colas)
- Ensure all images in the documentation have a suitable alt text (Thibaud Colas)
- Fix: Ensure tag autocompletion dropdown has a solid background (LB (Ben) Johnston)
- Fix: Allow inline panels to be ordered (LB (Ben) Johnston)
- Fix: Only show draft / live status tags on snippets that have
DraftStateMixin
applied (Sage Abdullah) - Fix: Prevent JS error when initialising chooser modals with no tabs (LB (Ben) Johnston)
- Fix: Add missing vertical spacing between chooser modal header and body when there are no tabs (LB (Ben) Johnston)
- Fix: Reinstate specific labels for chooser buttons (for example 'Choose another page', 'Edit this page' not 'Change', 'Edit') so that it is clearer for users and non-English translations (Matt Westcott)
- Fix: Resolve issue where searches with a tag and a query param in the image listing would result in an
FilterFieldError
(Stefan Hammer) - Fix: Add missing vertical space between header and content in embed chooser modal (LB (Ben) Johnston)
- Fix: Use the correct type scale for heading levels in rich text (Steven Steinwand)
- Fix: Update alignment and reveal logic of fields’ comment buttons (Steven Steinwand)
- Fix: Regression from Markdown conversion in documentation for API configuration - update to correctly use PEP-8 for example code (Storm Heg)
- Fix: Prevent 'Delete' link on page edit view from redirecting back to the deleted page (LB (Ben) Johnston)
- Fix: Prevent JS error on images index view when collections dropdown is omitted (Tidiane Dia)
- Fix: Prevent "Entries per page" dropdown on images index view from reverting to 10 (Tidiane Dia)
- Fix: Set related_name on user revision relation to avoid conflict with django-reversion (Matt Westcott)
- Fix: Ensure the "recent edits" panel on the Dashboard (home) page works when page record is missing (Matt Westcott)
- Fix: Only add Translate buttons when the
simple_translation
app is installed (Dan Braghis) - Fix: Ensure that
MultiFieldPanel
correctly outputs all child classnames in the template (Matt Westcott) - Fix: Remove over-eager caching on ModelAdmin permission checks (Matt Westcott, Stefan Hammer)
4.0.1
- Fix: On the Locked Pages report, limit the "locked by" filter to just users who have locked pages (Stefan Hammer)
- Fix: Prevent JavaScript error when using StreamField on views without commenting support, such as snippets (Jacob Topp-Mugglestone)
- Fix: Modify base template for new projects so that links opened from the preview panel open in a new window (Sage Abdullah)
- Fix: Prevent circular import error between custom document models and document chooser blocks (Matt Westcott)
3.0.3
2.16.3
- Fix: Ensure the upgrade notification request for the latest release, which can be disabled via the
WAGTAIL_ENABLE_UPDATE_CHECK
sends the referrer origin withstrict-origin-when-cross-origin
(Karl Hobley) - Fix: On the Locked Pages report, limit the "locked by" filter to just users who have locked pages (Stefan Hammer)
- Fix: Ensure Python 3.10 compatibility when using Elasticsearch backend (Przemysław Buczkowski, Matt Westcott)