2022-10-18 18:34:29 +02:00
# Wagtail 4.2 release notes - IN DEVELOPMENT
_Unreleased_
```{contents}
---
local:
depth: 1
---
```
## What's new
### Other features
2022-10-20 13:53:58 +02:00
* Add custom permissions section to permissions documentation page (Dan Hayden)
2022-10-22 06:19:19 +02:00
* Wagtail's documentation (v2.9 to v4.0) has been updated on [Dash user contributions ](https://github.com/Kapeli/Dash-User-Contributions ) for [Dash ](https://kapeli.com/dash ) or [Zeal ](https://zealdocs.org/ ) offline docs applications (Damilola Oladele, (Mary Ayobami)
2022-08-10 05:07:27 +02:00
* Switch to using [Willow ](https://github.com/wagtail/Willow/ ) instead of Pillow for images (Darrel O'Pry)
2022-10-19 19:48:06 +02:00
* Add documentation for how to get started with [contributing translations ](contributing_translations ) for the Wagtail admin (Ogunbanjo Oluwadamilare)
2022-10-24 00:59:09 +02:00
* Test assertion [`WagtailPageTestCase.assertCanCreate` ](testing_reference ) now supports the kwarg `publish=True` to check publish redirection (Harry Percival, Akua Dokua Asiedu)
2022-10-27 22:13:02 +02:00
* Upgrade to Node 18 for frontend build tooling (LB (Ben) Johnston)
* Officially recommend `fnm` over `nvm` in development documentation (LB (Ben) Johnston)
2022-10-14 18:15:56 +02:00
* Mention the importance of passing `request` and `current_site` to `get_url` on the [performance ](performance ) documentation page (Jake Howard)
2022-10-03 17:43:04 +02:00
* Run Python tests with coverage and upload coverage data to codecov (Sage Abdullah)
2022-10-31 10:40:00 +01:00
* Clean up duplicate JavaScript for the `escapeHtml` function (Jordan Rob)
2022-09-07 13:59:08 +02:00
* Add documentation for [`register_user_listing_buttons` ](register_user_listing_buttons ) hook (LB (Ben Johnston))
2022-11-07 10:34:15 +01:00
* Ensure that translation file generation ignores JavaScript unit tests and clean up unit tests for Django gettext utils (LB (Ben Johnston))
2022-11-02 13:26:33 +01:00
* Migrated `initButtonSelects` from core.js to own TypesScript file and add unit tests (Loveth Omokaro)
2022-11-02 19:27:53 +01:00
* Migrated `initSkipLink` util to TypeScript and add JSDoc & unit tests (Juliet Adeboye)
2022-10-28 11:14:52 +02:00
* Clean up some unused utility classes and migrate `unlist` to Tailwind utility class `w-list-none` (Loveth Omokaro)
2022-11-07 17:02:57 +01:00
* Ensure that the `rebuild_references_index` command can run without console output if called with `--verbosity 0` (Omerzahid Ali, Aman Pandey)
2022-11-01 01:33:30 +01:00
* Add development (contributing to Wagtail) documentation notes for [development on Windows ](development_on_windows ) (Akua Dokua Asiedu)
2022-11-08 22:06:28 +01:00
* Clean up linting on legacy code and add shared util `hasOwn` in TypeScript (Loveth Omokaro)
2022-11-03 09:16:29 +01:00
* Remove unnecessary box-sizing: border-box declarations in SCSS (Albina Starykova)
2022-10-18 18:34:29 +02:00
### Bug fixes
2022-10-19 22:35:05 +02:00
* Make sure workflow timeline icons are visible in high-contrast mode (Loveth Omokaro)
2022-10-13 23:20:23 +02:00
* Ensure authentication forms (login, password reset) have a visible border in Windows high-contrast mode (Loveth Omokaro)
2022-10-14 07:09:02 +02:00
* Ensure visual consistency between buttons and links as buttons in Windows high-contrast mode (Albina Starykova)
2022-10-20 01:36:16 +02:00
* Ensure `ChooserBlock.extract_references` uses the model class, not the model string (Alex Tomkins)
2022-10-21 11:24:03 +02:00
* Incorrectly formatted link in the documentation for Wagtail community support (Bolarinwa Comfort Ajayi)
2022-10-22 16:45:16 +02:00
* Ensure logo shows correctly on log in page in Windows high-contrast mode (Loveth Omokaro)
2022-11-07 10:29:11 +01:00
* Comments notice background overflows its container (Yekasumah)
2022-11-04 10:34:37 +01:00
* Ensure links within help blocks meet colour contrast guidelines for accessibility (Theresa Okoro)
2022-11-01 09:39:44 +01:00
* Ensure the skip link (used for keyboard control) meets colour contrast guidelines for accessibility (Dauda Yusuf)
2022-10-28 09:38:58 +02:00
* Ensure tag fields correctly show in both dark and light Windows high-contrast modes (Albina Starykova)
2022-11-02 14:08:15 +01:00
* Ensure new tooltips & tooltip menus have visible borders and tip triangle in Windows high-contrast mode (Juliet Adeboye)
2022-11-02 17:16:06 +01:00
* Ensure there is a visual difference of 'active/current link' vs normal links in Windows high-contrast mode (Mohammad Areeb)
2022-11-04 15:14:21 +01:00
* Avoid issues where trailing whitespace could be accidentally removed in translations for new page & snippet headers (Florian Vogt)
2022-10-18 18:34:29 +02:00
## Upgrade considerations
2022-08-10 05:07:27 +02:00
### Wagtail-specific image field (`WagtailImageField`)
The `AbstractImage` and `AbstractRendition` models use a Wagtail-specific `WagtailImageField` which extends Django's `ImageField`
to use [Willow ](https://github.com/wagtail/Willow/ ) for image file handling. This will generate a new migration if you
are using a [custom image model ](custom_image_model )