wagtail/docs/releases/6.3.md

116 wiersze
6.4 KiB
Markdown
Czysty Zwykły widok Historia

2024-07-22 12:23:02 +00:00
# Wagtail 6.3 release notes - IN DEVELOPMENT
_Unreleased_
```{contents}
---
local:
depth: 1
---
```
## What's new
2024-08-07 15:06:39 +00:00
### Django 5.1 support
This release adds formal support for Django 5.1.
2024-07-22 12:23:02 +00:00
### Other features
* Formalize support for MariaDB (Sage Abdullah, Daniel Black)
2024-07-22 16:21:58 +00:00
* Redirect to the last viewed listing page after deleting form submissions (Matthias Brück)
* Provide `getTextLabel` method on date / time StreamField blocks (Vaughn Dickson)
* Purge frontend cache when modifying redirects (Jake Howard)
2024-09-13 08:23:59 +00:00
* Migrate workflow history views to universal listings (Sage Abdullah)
2024-09-16 08:27:23 +00:00
* Refactor documents views to use universal designs (Sage Abdullah)
2024-09-16 19:27:12 +00:00
* Refactor images views to use universal designs (Sage Abdullah)
2024-09-16 13:23:59 +00:00
* Implement universal listings for workflow usage and page type usage views (Sage Abdullah)
* Add search and filters to form pages listing (Sage Abdullah)
* Deprecate the `WAGTAIL_AUTO_UPDATE_PREVIEW` setting, use `WAGTAIL_AUTO_UPDATE_PREVIEW_INTERVAL = 0` instead (Sage Abdullah)
* Consistently use `capfirst` for title-casing model verbose names (Sébastien Corbin)
* Fire `copy_for_translation_done` signal when copying translatable models as well as pages (Coen van der Kamp)
2024-07-22 12:23:02 +00:00
### Bug fixes
2024-08-06 16:52:21 +00:00
* Prevent page type business rules from blocking reordering of pages (Andy Babic, Sage Abdullah)
2024-08-13 19:23:56 +00:00
* Improve layout of object permissions table (Sage Abdullah)
2024-08-21 13:46:59 +00:00
* Fix typo in aria-label attribute of page explorer navigation link (Sébastien Corbin)
* Reinstate transparency indicator on image chooser widgets (Sébastien Corbin)
2024-09-06 10:46:08 +00:00
* Remove table headers that have no text (Matt Westcott)
2024-09-12 18:18:12 +00:00
* Fix broken link to user search (Shlomo Markowitz)
* Ensure that JS slugify function strips Unicode characters disallowed by Django slug validation (Atif Khan)
2024-09-17 17:12:50 +00:00
* Do not show notices about root / unroutable pages when searching or filtering in the page explorer (Matt Westcott)
* Resolve contrast issue for page deletion warning (Sanjeev Holla S)
* Make sure content metrics falls back to body element only when intended (Sage Abdullah)
2024-09-19 09:01:27 +00:00
* Remove wrongly-added filters from redirects index (Matt Westcott)
2024-09-24 08:26:57 +00:00
* Prevent popular tags filter from generating overly complex queries when not filtering (Matt Westcott)
2024-09-24 09:51:12 +00:00
* Fix content path links in usage view to scroll to the correct element (Sage Abdullah)
* Always show the minimap toggle button (Albina Starykova)
* Ensure invalid submissions are marked as dirty edits on load to trigger UI and browser warnings for unsaved changes, restoring previous behavior from Wagtail 5.2 (Sage Abdullah)
* Update polldaddy oEmbed provider to use the crowdsignal URL (Matthew Scouten)
* Remove polleverywhere oEmbed provider as it this application longer supports oEmbed (Matthew Scouten)
* Ensure that dropdown button toggles show with a border in high contrast mode (Ishwari8104, LB (Ben) Johnston)
* Update email notification header to the new logo design (rahulsamant37)
2024-07-22 12:23:02 +00:00
### Documentation
2024-07-23 09:15:30 +00:00
* Upgrade Sphinx to 7.3 (Matt Westcott)
* Document how to [customize date/time format settings](wagtail_date_time_formats) (Vince Salvino)
* Create a new documentation section for [deployment](deployment_guide) and move `fly.io` deployment from the tutorial to this section (Vince Salvino)
* Clarify process for [UserViewSet customization](custom_userviewset) (Sage Abdullah)
* Correct `WAGTAIL_WORKFLOW_REQUIRE_REAPPROVAL_ON_EDIT` documentation to state that it defaults to `False` (Matt Westcott)
* Add an example of customizing a default accessibility check (Cynthia Kiser)
* Demonstrate access protection with `TokenAuthentication` in the [Wagtail API v2 Configuration Guide](/advanced_topics/api/v2/configuration) (Krzysztof Jeziorny)
2024-07-23 09:15:30 +00:00
2024-07-22 12:23:02 +00:00
### Maintenance
2024-07-23 09:15:30 +00:00
* Removed support for Python 3.8 (Matt Westcott)
* Drop `pytz` dependency in favour of `zoneinfo.available_timezones` (Sage Abdullah)
* Relax `django-taggit` dependency to allow 6.0 (Matt Westcott)
2024-08-23 14:54:02 +00:00
* Improve page listing performance (Sage Abdullah)
* Phase out usage of `SECRET_KEY` in version and icon hashes (Jake Howard)
2024-08-27 13:13:47 +00:00
* Audit all use of localized and non-localized numbers in templates (Matt Westcott)
* Refactor StreamField `get_prep_value` for closer alignment with JSONField (Sage Abdullah)
2024-09-06 10:41:00 +00:00
* Move search implementation logic from generic `IndexView` to `BaseListingView` (Sage Abdullah)
2024-09-06 10:46:08 +00:00
* Upgrade Puppeteer integration tests for reliability (Matt Westcott)
2024-09-06 11:13:15 +00:00
* Restore ability to use `.in_bulk()` on specific querysets under Django 5.2a0 (Sage Abdullah)
* Add generated `test-media` to .gitignore (Shlomo Markowitz)
* Improve `debounce` util's return type for better TypeScript usage (Sage Abdullah)
* Ensure the side panel's show event is dispatched after any hide events (Sage Abdullah)
* Migrate preview-panel JavaScript to Stimulus & TypeScript, add full unit testing (Sage Abdullah)
2024-09-25 18:52:50 +00:00
* Move `wagtailConfig` values from inline scripts to the `wagtail_config` template tag (LB (Ben) Johnston, Sage Abdullah)
* Deprecate the `{% locales %}` and `{% js_translation_strings %}` template tags (LB (Ben) Johnston, Sage Abdullah)
* Adopt the modern best practice for `beforeunload` usage in `UnsavedController` to trigger a leave page warning when edits have been made (Shubham Mukati, Sage Abdullah)
2024-07-22 12:23:02 +00:00
## Upgrade considerations - changes affecting all projects
## Upgrade considerations - deprecation of old functionality
2024-07-22 13:58:47 +00:00
### Removed support for Python 3.8
Python 3.8 is no longer supported as of this release; please upgrade to Python 3.9 or above before upgrading Wagtail.
### Deprecation of the `WAGTAIL_AUTO_UPDATE_PREVIEW` setting
The [`WAGTAIL_AUTO_UPDATE_PREVIEW`](wagtail_auto_update_preview) setting has been deprecated and will be removed in a future release.
To disable the automatic preview update feature, set [`WAGTAIL_AUTO_UPDATE_PREVIEW_INTERVAL = 0`](wagtail_auto_update_preview_interval) in your Django settings instead.
2024-07-22 12:23:02 +00:00
## Upgrade considerations - changes affecting Wagtail customisations
## Upgrade considerations - changes to undocumented internals
### Deprecation of the `{% locales %}` template tag
The undocumented `locales` template tag will be removed in a future release.
If access to JSON locales within JavaScript is needed, use `window.wagtailConfig.LOCALES` instead.
### Deprecation of the `{% js_translation_strings %}` template tag
The undocumented `js_translation_strings` template tag will be removed in a future release.
If access to JSON translation strings within JavaScript is needed, use `window.wagtailConfig.STRINGS` instead.