Releases: wagtail/wagtail
Releases · wagtail/wagtail
5.0
- Added support for Django 4.2
- Object usage information on deleting objects (Sage Abdullah)
- Support for SVG images (Joshua Munn, with sponsorship from YouGov)
- Custom validation support for StreamField (Matt Westcott)
- Add
WAGTAILIMAGES_EXTENSIONS
setting to restrict image uploads to specific file types (Aman Pandey, Ananjan-R) - Update user list column level to
Access level
to be easier to understand (Vallabh Tiwari) - Migrate
.button-longrunning
behaviour to a Stimulus controller with support for custom label element & duration (Loveth Omokaro) - Implement new simplified userbar designs (Albina Starykova)
- Add more Axe rules to the accessibility checker (Albina Starykova)
- Sort accessibility checker results by position on the page (Albina Starykova)
- Highlight elements with errors in accessibility checker (Albina Starykova)
- Add usage view for pages (Sage Abdullah)
- Copy page form now updates the slug field dynamically with a slugified value on blur (Loveth Omokaro)
- Ensure selected collection is kept when navigating from documents or images listings to add multiple views & upon upload (Aman Pandey, Bojan Mihelac)
- Keep applied filters when downloading form submissions (Suyash Srivastava)
- Messages added dynamically via JavaScript now have an icon to be consistent with those supplied in the page's HTML (Aman Pandey)
- Switch lock/unlock side panel toggle to a switch, with more appropriate confirmation message status (Sage Abdullah)
- Ensure that changed or cleared selection from choosers will dispatch a DOM
change
event (George Sakkis) - Add the ability to disable model indexing by setting
search_fields = []
(Daniel Kirkham) - Enhance
wagtail.search.utils.parse_query_string
to allow inner single quotes for key/value parsing (Aman Pandey) - Add helpful properties to
Locale
for more convenient usage within templates (Andy Babic) - Allow customising icons for snippets via
SnippetViewSet.icon
(Daniel Kirkham, Sage Abdullah) - Allow customising the base URL and URL namespace for snippet views (Sage Abdullah)
- Allow customising the default ordering and number of items per page for snippet listing views (Sage Abdullah)
- Re-label "StreamField blocks" option in block picker to "Blocks" (Thibaud Colas)
- Re-implement styleguide icons list as an auto-generated sequence of tables (Thibaud Colas)
- Switch styleguide navigation to use panel components and minimap (Thibaud Colas)
- Explicitly specify
MenuItem.name
for Snippets, Reports, and Settings menu items (Sage Abdullah) - Move the help text of fields and blocks directly below their label for easier reading (Thibaud Colas)
- Allow filters on snippet and generic index views to be customised through the
list_filter
attribute (Sage Abdullah) - The select all checkbox in simple translation's submit translation page will now be in sync with other checkbox changes (Hanoon)
- Update Wagtail’s default icon set to Font Awesome 6 (Thibaud Colas)
- Allow admin templates for snippets to be overridden on a per-model or per-app basis (Sage Abdullah)
- Allow overriding the base queryset to be used in snippet
IndexView
(Sage Abdullah) - Revise alignment and spacing of form fields and sections (Thibaud Colas)
- Update Wagtail’s type scale so StreamField block labels and field labels are the same size (Thibaud Colas)
- Allow customising the
search_fields
and search backend via SnippetViewSet (Sage Abdullah) - Style comments as per page editor design, in side panel (Karl Hobley, Thibaud Colas)
- Add support for custom panel icons, with defaults, displayed for top-level editor panels (Sage Abdullah)
- Add new icons for StreamField blocks (Sage Abdullah)
- Reveal the minimap on click rather than hover, keeping it expanded until dismissed, with state saved between page loads (Thibaud Colas)
- Expand a collapsed form section when navigating to it with the minimap (Thibaud Colas)
- The minimap and "Collapse all" button now appear next to side panels rather than underneath, so they can be used at any time (Thibaud Colas)
- Allow
panels
/edit_handler
to be specified viaSnippetViewSet
(Sage Abdullah) - Introduce dark mode support for the Wagtail admin interface, with a toggle in account preferences (Thibaud Colas)
- Allow snippets to be registered into arbitrary admin menu items (Sage Abdullah)
- Add configuration APIs in user bar accessibility checker for simpler customisation of the checks performed
- ReferenceIndex modified to only index Wagtail-related models, and allow other models to be explicitly registered (Daniel Kirkham)
- Fix: Ensure
label_format
on StructBlock gracefully handles missing variables (Aadi jindal) - Fix: Adopt a no-JavaScript and more accessible solution for the 'Reset to default' switch to Gravatar when editing user profile (Loveth Omokaro)
- Fix: Ensure
Site.get_site_root_paths
works on cache backends that do not preserve Python objects (Jaap Roes) - Fix: Ignore right clicks on side panel resizer (Sage Abdullah)
- Fix: Resize in the correct direction for RTL languages with the side panel resizer (Sage Abdullah)
- Fix: Support creating
StructValue
copies (Tidiane Dia) - Fix: Fix image uploads on storage backends that require file pointer to be at the start of the file (Matt Westcott)
- Fix: Fix "Edit this page" missing from userbar (Satvik Vashisht)
- Fix: No longer allow invalid duplicate site hostname creation as hostnames and domain names are a case insensitive (Coen van der Kamp)
- Fix: Image and Document multiple upload update forms now correctly use the progress button (longrunning) behaviour when clicked (Loveth Omokaro)
- Fix: Prevent audit log report from failing on missing models (Andy Chosak)
- Fix: Ensure that the privacy collection privacy edit button is styled as a button (Jatin Kumar)
- Fix: Fix page/snippet cannot proceed a
GroupApprovalTask
if it's locked by someone outside of the group (Sage Abdullah) - Fix: Allow manual lock even if
WorkflowLock
is currently applied (Sage Abdullah) - Fix: Add missing log information for
wagtail.schedule.cancel
(Stefan Hammer) - Fix: Fix timezone activation leaking into subsequent requests in
require_admin_access()
(Stefan Hammer) - Fix: Fix dialog component's message to have rounded corners at the top side (Sam)
- Fix: When multiple documents are uploaded and then subsequently updated, ensure that existing success messages are cleared correctly (Aman Pandey)
- Fix: Prevent matches from unrelated models from leaking into SQLite FTS searches (Matt Westcott)
- Fix: Prevent duplicate addition of StreamField blocks with the new block picker (Deepam Priyadarshi)
- Fix: Enable partial search on images and documents index view where available (Mng)
- Fix: Adopt a no-JavaScript and more accessible solution for option selection in reporting, using HTML only
radio
input fields (Mehul Aggarwal) - Fix: Ensure that document search results count shows the correct all matches, not the paginate total (Andy Chosak)
- Fix: Fix radio and checkbox elements shrinking when using a long label (Sage Abdullah)
- Fix: Fix select elements expanding beyond their container when using a long option label (Sage Abdullah)
- Fix: Fix timezone handling of
TemplateResponse
s for users with a custom timezone (Stefan Hammer, Sage Abdullah) - Fix: Ensure TableBlock initialisation correctly runs after load and its width is aligned with the parent panel (Dan Braghis)
- Fix: Ensure that the JavaScript media files are loaded by default in Snippet index listings for date fields (Sage Abdullah)
- Fix: Fix server-side caching of the icons sprite (Thibaud Colas)
- Fix: Avoid showing scrollbars in the block picker unless necessary (Babitha Kumari)
- Fix: Always show Add buttons, guide lines, Move up/down, Duplicate, Delete; in StreamField and Inline Panel (Thibaud Colas)
- Fix: Make admin JS i18n endpoint accessible to non-authenticated users (Matt Westcott)
- Fix: Fix incorrect API serialisation for document
download_url
whenWAGTAILDOCS_SERVE_METHOD
isdirect
(Swojak-A) - Fix: Fix template configuration of snippets index results view (fidoriel, Sage Abdullah)
- Fix: Prevent long preview mode names from making the select element overflow the side panel (Sage Abdullah)
- Fix: Autosize text area field will now correctly resize when switching between comments toggle states (Suyash Srivastava)
- Fix: When i18n is not enabled, avoid making a Locale query on every page view (Dan Braghis)
- Fix: Fix initialisation of commenting widgets within StreamField (Thibaud Colas)
- Fix: Fix various regressions in the commenting UI (Thibaud Colas)
- Fix: Prevent TableBlock from becoming uneditable after save (Sage Abdullah)
- Fix: Correctly show the "new item" badge within menu sections previously dismissed (Sage Abdullah)
- Fix: Fix side panel stuck in resize state when pointer is released outside the grip (Sage Abdullah)
- Docs: Add code block to make it easier to understand contribution docs (Suyash Singh)
- Docs: Add new "Icons" page for icons customisation and reuse across the admin interface (Coen van der Kamp, Thibaud Colas)
- Docs: Fix broken formatting for MultiFieldPanel / FieldRowPanel permission kwarg docs (Matt Westcott)
- Docs: Add helpful troubleshooting links and refine wording for getting started with development (Loveth Omokaro)
- Docs: Ensure search autocomplete overlay on mobile does not overflow the viewport (Ayman Makroo)
- Docs: Improve documentation for InlinePanel (Vallabh Tiwari)
- Docs: Add contributor guidelines for building Stimulus Controllers (Thibaud Colas, Loveth Omokaro, LB (Ben) Johnston)
- Docs: Fix typo in "Extending Draftail" documentation (Hans Kelson)
- Docs: Clarify
ClusterableModel
requirements for using relations withRevisionMixin
-enabled models (Sage Abdullah) - D...
4.2.3
4.1.5
5.0rc1
- Added support for Django 4.2
- Object usage information on deleting objects (Sage Abdullah)
- Support for SVG images (Joshua Munn)
- Custom validation support for StreamField (Matt Westcott)
- Add
WAGTAILIMAGES_EXTENSIONS
setting to restrict image uploads to specific file types (Aman Pandey, Ananjan-R) - Update user list column level to
Access level
to be easier to understand (Vallabh Tiwari) - Migrate
.button-longrunning
behaviour to a Stimulus controller with support for custom label element & duration (Loveth Omokaro) - Implement new simplified userbar designs (Albina Starykova)
- Add more Axe rules to the accessibility checker (Albina Starykova)
- Sort accessibility checker results by position on the page (Albina Starykova)
- Highlight elements with errors in accessibility checker (Albina Starykova)
- Add usage view for pages (Sage Abdullah)
- Copy page form now updates the slug field dynamically with a slugified value on blur (Loveth Omokaro)
- Ensure selected collection is kept when navigating from documents or images listings to add multiple views & upon upload (Aman Pandey, Bojan Mihelac)
- Keep applied filters when downloading form submissions (Suyash Srivastava)
- Messages added dynamically via JavaScript now have an icon to be consistent with those supplied in the page's HTML (Aman Pandey)
- Switch lock/unlock side panel toggle to a switch, with more appropriate confirmation message status (Sage Abdullah)
- Ensure that changed or cleared selection from choosers will dispatch a DOM
change
event (George Sakkis) - Add the ability to disable model indexing by setting
search_fields = []
(Daniel Kirkham) - Enhance
wagtail.search.utils.parse_query_string
to allow inner single quotes for key/value parsing (Aman Pandey) - Add helpful properties to
Locale
for more convenient usage within templates (Andy Babic) - Allow customising icons for snippets via
SnippetViewSet.icon
(Daniel Kirkham, Sage Abdullah) - Allow customising the base URL and URL namespace for snippet views (Sage Abdullah)
- Allow customising the default ordering and number of items per page for snippet listing views (Sage Abdullah)
- Re-label "StreamField blocks" option in block picker to "Blocks" (Thibaud Colas)
- Re-implement styleguide icons list as an auto-generated sequence of tables (Thibaud Colas)
- Switch styleguide navigation to use panel components and minimap (Thibaud Colas)
- Explicitly specify
MenuItem.name
for Snippets, Reports, and Settings menu items (Sage Abdullah) - Move the help text of fields and blocks directly below their label for easier reading (Thibaud Colas)
- Allow filters on snippet and generic index views to be customised through the
list_filter
attribute (Sage Abdullah) - The select all checkbox in simple translation's submit translation page will now be in sync with other checkbox changes (Hanoon)
- Update Wagtail’s default icon set to Font Awesome 6 (Thibaud Colas)
- Allow admin templates for snippets to be overridden on a per-model or per-app basis (Sage Abdullah)
- Allow overriding the base queryset to be used in snippet
IndexView
(Sage Abdullah) - Revise alignment and spacing of form fields and sections (Thibaud Colas)
- Update Wagtail’s type scale so StreamField block labels and field labels are the same size (Thibaud Colas)
- Allow customising the
search_fields
and search backend via SnippetViewSet (Sage Abdullah) - Style comments as per page editor design, in side panel (Karl Hobley, Thibaud Colas)
- Add support for custom panel icons, with defaults, displayed for top-level editor panels (Sage Abdullah)
- Add new icons for StreamField blocks (Sage Abdullah)
- Reveal the minimap on click rather than hover, keeping it expanded until dismissed, with state saved between page loads (Thibaud Colas)
- Expand a collapsed form section when navigating to it with the minimap (Thibaud Colas)
- The minimap and "Collapse all" button now appear next to side panels rather than underneath, so they can be used at any time (Thibaud Colas)
- Allow
panels
/edit_handler
to be specified viaSnippetViewSet
(Sage Abdullah) - Introduce dark mode support for the Wagtail admin interface, with a toggle in account preferences (Thibaud Colas)
- Allow snippets to be registered into arbitrary admin menu items (Sage Abdullah)
- Add configuration APIs in user bar accessibility checker for simpler customisation of the checks performed
- ReferenceIndex modified to only index Wagtail-related models, and allow other models to be explicitly registered (Daniel Kirkham)
- Fix: Ensure
label_format
on StructBlock gracefully handles missing variables (Aadi jindal) - Fix: Adopt a no-JavaScript and more accessible solution for the 'Reset to default' switch to Gravatar when editing user profile (Loveth Omokaro)
- Fix: Ensure
Site.get_site_root_paths
works on cache backends that do not preserve Python objects (Jaap Roes) - Fix: Ignore right clicks on side panel resizer (Sage Abdullah)
- Fix: Resize in the correct direction for RTL languages with the side panel resizer (Sage Abdullah)
- Fix: Support creating
StructValue
copies (Tidiane Dia) - Fix: Fix image uploads on storage backends that require file pointer to be at the start of the file (Matt Westcott)
- Fix: Fix "Edit this page" missing from userbar (Satvik Vashisht)
- Fix: No longer allow invalid duplicate site hostname creation as hostnames and domain names are a case insensitive (Coen van der Kamp)
- Fix: Image and Document multiple upload update forms now correctly use the progress button (longrunning) behaviour when clicked (Loveth Omokaro)
- Fix: Prevent audit log report from failing on missing models (Andy Chosak)
- Fix: Ensure that the privacy collection privacy edit button is styled as a button (Jatin Kumar)
- Fix: Fix page/snippet cannot proceed a
GroupApprovalTask
if it's locked by someone outside of the group (Sage Abdullah) - Fix: Allow manual lock even if
WorkflowLock
is currently applied (Sage Abdullah) - Fix: Add missing log information for
wagtail.schedule.cancel
(Stefan Hammer) - Fix: Fix timezone activation leaking into subsequent requests in
require_admin_access()
(Stefan Hammer) - Fix: Fix dialog component's message to have rounded corners at the top side (Sam)
- Fix: When multiple documents are uploaded and then subsequently updated, ensure that existing success messages are cleared correctly (Aman Pandey)
- Fix: Prevent matches from unrelated models from leaking into SQLite FTS searches (Matt Westcott)
- Fix: Prevent duplicate addition of StreamField blocks with the new block picker (Deepam Priyadarshi)
- Fix: Enable partial search on images and documents index view where available (Mng)
- Fix: Adopt a no-JavaScript and more accessible solution for option selection in reporting, using HTML only
radio
input fields (Mehul Aggarwal) - Fix: Ensure that document search results count shows the correct all matches, not the paginate total (Andy Chosak)
- Fix: Fix radio and checkbox elements shrinking when using a long label (Sage Abdullah)
- Fix: Fix select elements expanding beyond their container when using a long option label (Sage Abdullah)
- Fix: Fix timezone handling of
TemplateResponse
s for users with a custom timezone (Stefan Hammer, Sage Abdullah) - Fix: Ensure TableBlock initialisation correctly runs after load and its width is aligned with the parent panel (Dan Braghis)
- Fix: Ensure that the JavaScript media files are loaded by default in Snippet index listings for date fields (Sage Abdullah)
- Fix: Fix server-side caching of the icons sprite (Thibaud Colas)
- Fix: Avoid showing scrollbars in the block picker unless necessary (Babitha Kumari)
- Fix: Always show Add buttons, guide lines, Move up/down, Duplicate, Delete; in StreamField and Inline Panel (Thibaud Colas)
- Fix: Make admin JS i18n endpoint accessible to non-authenticated users (Matt Westcott)
- Fix: Fix incorrect API serialisation for document
download_url
whenWAGTAILDOCS_SERVE_METHOD
isdirect
(Swojak-A) - Fix: Fix template configuration of snippets index results view (fidoriel, Sage Abdullah)
- Fix: Prevent long preview mode names from making the select element overflow the side panel (Sage Abdullah)
- Fix: Autosize text area field will now correctly resize when switching between comments toggle states (Suyash Srivastava)
- Fix: When i18n is not enabled, avoid making a Locale query on every page view (Dan Braghis)
- Fix: Fix initialisation of commenting widgets within StreamField (Thibaud Colas)
- Fix: Fix various regressions in the commenting UI (Thibaud Colas)
- Fix: Prevent TableBlock from becoming uneditable after save (Sage Abdullah)
- Docs: Add code block to make it easier to understand contribution docs (Suyash Singh)
- Docs: Add new "Icons" page for icons customisation and reuse across the admin interface (Coen van der Kamp, Thibaud Colas)
- Docs: Fix broken formatting for MultiFieldPanel / FieldRowPanel permission kwarg docs (Matt Westcott)
- Docs: Add helpful troubleshooting links and refine wording for getting started with development (Loveth Omokaro)
- Docs: Ensure search autocomplete overlay on mobile does not overflow the viewport (Ayman Makroo)
- Docs: Improve documentation for InlinePanel (Vallabh Tiwari)
- Docs: Add contributor guidelines for building Stimulus Controllers (Thibaud Colas, Loveth Omokaro, LB (Ben) Johnston)
- Docs: Fix typo in "Extending Draftail" documentation (Hans Kelson)
- Docs: Clarify
ClusterableModel
requirements for using relations withRevisionMixin
-enabled models (Sage Abdullah) - Maintenance: Removed features deprecated in Wagtail 3.0 and 4.0 (Matt Westcott)
- Maintenance: Update djhtml (html formatting) library to v 1.5.2 (Loveth Omokaro)
- Maintenance: Re-enable
strictPropertyInitialization
in tsconfig (Th...
4.2.2
- Fix: CVE-2023-28836 - Stored XSS attack via ModelAdmin views (Thibaud Colas)
- Fix: CVE-2023-28837 - Denial-of-service via memory exhaustion when uploading large files (Jake Howard)
- Fix: Fix radio and checkbox elements shrinking when using a long label (Sage Abdullah)
- Fix: Fix select elements expanding beyond their container when using a long option label (Sage Abdullah)
- Fix: Fix timezone handling of
TemplateResponse
s for users with a custom timezone (Stefan Hammer, Sage Abdullah) - Fix: Ensure TableBlock initialisation correctly runs after load and its width is aligned with the parent panel (Dan Braghis)
- Fix: Ensure that the JavaScript media files are loaded by default in Snippet index listings for date fields (Sage Abdullah)
- Fix: Fix server-side caching of the icons sprite (Thibaud Colas)
- Fix: Avoid showing scrollbars in the block picker unless necessary (Babitha Kumari)
- Fix: Always show Add buttons, guide lines, Move up/down, Duplicate, Delete; in StreamField and Inline Panel (Thibaud Colas)
- Fix: Ensure datetimepicker widget overlay shows over modals & drop-downs (LB (Ben) Johnston)
- Docs: Fix module path for
MultipleChooserPanel
in panel reference docs - Maintenance: Render large image renditions to disk (Jake Howard)
4.1.4
- Fix: CVE-2023-28836 - Stored XSS attack via ModelAdmin views (Thibaud Colas)
- Fix: CVE-2023-28837 - Denial-of-service via memory exhaustion when uploading large files (Jake Howard)
- Fix: Fix radio and checkbox elements shrinking when using a long label (Sage Abdullah)
- Fix: Fix select elements expanding beyond their container when using a long option label (Sage Abdullah)
- Fix: Fix timezone handling of
TemplateResponse
s for users with a custom timezone (Stefan Hammer, Sage Abdullah) - Fix: Ensure TableBlock initialisation correctly runs after load and its width is aligned with the parent panel (Dan Braghis)
- Fix: Ensure that the JavaScript media files are loaded by default in Snippet index listings for date fields (Sage Abdullah)
- Fix: Fix server-side caching of the icons sprite (Thibaud Colas)
- Fix: Always show Add buttons, guide lines, Move up/down, Duplicate, Delete; in StreamField and Inline Panel (Thibaud Colas)
- Fix: Ensure datetimepicker widget overlay shows over modals & drop-downs (LB (Ben) Johnston)
- Maintenance: Render large image renditions to disk (Jake Howard)
4.2.1
- Fix: Support creating
StructValue
copies (Tidiane Dia) - Fix: Fix image uploads on storage backends that require file pointer to be at the start of the file (Matt Westcott)
- Fix: Fix "Edit this page" missing from userbar (Satvik Vashisht)
- Fix: Prevent audit log report from failing on missing models (Andy Chosak)
- Fix: Fix page/snippet cannot proceed a
GroupApprovalTask
if it's locked by someone outside of the group (Sage Abdullah) - Fix: Add missing log information for
wagtail.schedule.cancel
(Stefan Hammer) - Fix: Fix timezone activation leaking into subsequent requests in
require_admin_access()
(Stefan Hammer) - Fix: Fix dialog component's message to have rounded corners at the top side (Sam)
- Fix: Prevent matches from unrelated models from leaking into SQLite FTS searches (Matt Westcott)
- Fix: Prevent duplicate addition of StreamField blocks with the new block picker (Deepam Priyadarshi)
- Docs: Clarify
ClusterableModel
requirements for using relations withRevisionMixin
-enabled models (Sage Abdullah) - Maintenance: Update Algolia DocSearch to use new application and correct versioning setup (Thibaud Colas)
4.1.3
- 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: Ensure links within help blocks meet colour contrast guidelines for accessibility (Theresa Okoro)
- Fix: Support creating
StructValue
copies (Tidiane Dia) - Fix: Fix "Edit this page" missing from userbar (Satvik Vashisht)
- Fix: Prevent audit log report from failing on missing models (Andy Chosak)
- Fix: Add missing log information for
wagtail.schedule.cancel
(Stefan Hammer) - Fix: Fix timezone activation leaking into subsequent requests in
require_admin_access()
(Stefan Hammer) - Fix: Prevent matches from unrelated models from leaking into SQLite FTS searches (Matt Westcott)
- Docs: Clarify
ClusterableModel
requirements for using relations withRevisionMixin
-enabled models (Sage Abdullah) - Maintenance: Update Algolia DocSearch to use new application and correct versioning setup (Thibaud Colas)
4.2
- 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 determine whether to publish the page (Harry Percival, Akua Dokua Asiedu, Matt Westcott) - 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)
- Fix: Add missing wagtailadmin_tags in
workflow_state_approved.html
template (Alex Tomkins) - Fix: Do not show bulk actions checkbox in page type usage view (Sage Abdullah)
- Fix: Prevent account name from overflowing the sidebar (Aman Pandey)
- Fix: Ensure edit form is displayed as unlocked immediately after cancelling a workflow (Sage Abdullah)
- Fix: Prevent
latest_revision
pointer from being copied over when copying translatable snippets for translation (Sage Abdullah) - 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_bu...
4.1.2
- Fix: Make "Cancel scheduled publish" button correctly redirect back to the edit view (Sage Abdullah)
- Fix: Prevent crash when reverting revisions on a snippet with
PreviewableMixin
applied (Sage Abdullah) - 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: 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: Use the correct padding for autocomplete block picker (Umar Farouk Yunusa)
- Fix: Fix horizontal positioning of rich text inline toolbar (Thibaud Colas)
- Fix: Close the userbar when clicking its toggle (Albina Starykova)
- Fix: Do not show bulk actions checkbox in page type usage view (Sage Abdullah)
- Fix: Prevent account name from overflowing the sidebar (Aman Pandey)
- Fix: Ensure edit form is displayed as unlocked immediately after cancelling a workflow (Sage Abdullah)
- Fix: Prevent
latest_revision
pointer from being copied over when copying translatable snippets for translation (Sage Abdullah) - Docs: Document potential data loss for BaseLogEntry migration in 3.0 (Sage Abdullah)
- Docs: Add documentation for the reference index mechanism (Daniel Kirkham)