Wagtail 4.2 release notes - IN DEVELOPMENT
Unreleased
---
local:
depth: 1
---
What's new
Other features
- Add custom permissions section to permissions documentation page (Dan Hayden)
- Wagtail's documentation (v2.9 to v4.0) has been updated on Dash user contributions for Dash or Zeal offline docs applications (Damilola Oladele, (Mary Ayobami)
- Switch to using Willow instead of Pillow for images (Darrel O'Pry)
- Add documentation for how to get started with contributing translations for the Wagtail admin (Ogunbanjo Oluwadamilare)
- Test assertion
WagtailPageTestCase.assertCanCreate
now supports the kwarg publish=True
to check publish redirection (Harry Percival, Akua Dokua Asiedu)
- Upgrade to Node 18 for frontend build tooling (LB (Ben) Johnston)
- Officially recommend
fnm
over nvm
in development documentation (LB (Ben) Johnston)
- Mention the importance of passing
request
and current_site
to get_url
on the performance documentation page (Jake Howard)
- Run Python tests with coverage and upload coverage data to codecov (Sage Abdullah)
- Clean up duplicate JavaScript for the
escapeHtml
function (Jordan Rob)
- Add documentation for
register_user_listing_buttons
hook (LB (Ben Johnston))
- Ensure that translation file generation ignores JavaScript unit tests and clean up unit tests for Django gettext utils (LB (Ben Johnston))
- Migrated
initButtonSelects
from core.js to own TypesScript file and add unit tests (Loveth Omokaro)
- Clean up some unused utility classes and migrate
unlist
to Tailwind utility class w-list-none
(Loveth Omokaro)
Bug fixes
- Make sure workflow timeline icons are visible in high-contrast mode (Loveth Omokaro)
- Ensure authentication forms (login, password reset) have a visible border in Windows high-contrast mode (Loveth Omokaro)
- Ensure visual consistency between buttons and links as buttons in Windows high-contrast mode (Albina Starykova)
- Ensure
ChooserBlock.extract_references
uses the model class, not the model string (Alex Tomkins)
- Incorrectly formatted link in the documentation for Wagtail community support (Bolarinwa Comfort Ajayi)
- Ensure logo shows correctly on log in page in Windows high-contrast mode (Loveth Omokaro)
- Comments notice background overflows its container (Yekasumah)
- Ensure links within help blocks meet colour contrast guidelines for accessibility (Theresa Okoro)
Upgrade considerations
Wagtail-specific image field (WagtailImageField
)
The AbstractImage
and AbstractRendition
models use a Wagtail-specific WagtailImageField
which extends Django's ImageField
to use Willow for image file handling. This will generate a new migration if you
are using a custom image model