From ef2fa2e3944a7844b08aa070552f5046d5433a7f Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Wed, 2 Mar 2022 15:55:11 +0000 Subject: [PATCH] Release note for #7684 --- CHANGELOG.txt | 1 + docs/releases/2.17.md | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 760e44ca859..553a932b64c 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -4,6 +4,7 @@ Changelog 2.17 (xx.xx.xxxx) - IN DEVELOPMENT ~~~~~~~~~~~~~~~~~ + * Phase out special-purpose panel types (`StreamFieldPanel`, `RichTextFieldPanel`, `ImageChooserPanel`, `DocumentChooserPanel`, `PageChooserPanel`, `SnippetChooserPanel`) in favour of `FieldPanel` (Matt Westcott) * Upgrade ESLint and Stylelint configurations to latest shared Wagtail configs (Thibaud Colas) * Major updates to frontend tooling; move Node tooling from Gulp to Webpack, upgrade to Node v16 and npm v8, eslint v8, stylelint v14 and others (Thibaud Colas) * Change comment headers’ date formatting to use browser APIs instead of requiring a library (LB (Ben Johnston)) diff --git a/docs/releases/2.17.md b/docs/releases/2.17.md index cfc67a0d30c..62730d64064 100644 --- a/docs/releases/2.17.md +++ b/docs/releases/2.17.md @@ -14,6 +14,12 @@ Here are other changes related to the redesign: * Switch the Wagtail branding font to a system font stack (Steven Steinwand) + +### Removal of special-purpose field panel types + +The panel types `StreamFieldPanel`, `RichTextFieldPanel`, `ImageChooserPanel`, `DocumentChooserPanel` and `SnippetChooserPanel` have been phased out, and can now be replaced with `FieldPanel`. Additionally, `PageChooserPanel` is only required when passing a `page_type` or `can_choose_root`, and can otherwise be replaced with `FieldPanel`. In all cases, `FieldPanel` will now automatically select the most appropriate form element. This feature was developed by Matt Westcott. + + ### Other features * Upgrade ESLint and Stylelint configurations to latest shared Wagtail configs (Thibaud Colas)