From 409c840adbc391556ca2a80f045357ca516db0c0 Mon Sep 17 00:00:00 2001 From: LB Johnston Date: Sat, 25 Jun 2022 21:59:35 +1000 Subject: [PATCH] add changelog for #8741 --- CHANGELOG.txt | 3 ++- docs/releases/4.0.md | 9 ++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index f4c898d3da..a379e70633 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -34,7 +34,7 @@ Changelog * Introduce a `wagtail.admin.viewsets.chooser.ChooserViewSet` module to serve as a common base implementation for chooser modals (Matt Westcott) * Add documentation for `wagtail.admin.viewsets.model.ModelViewSet` (Matt Westcott) * Enhance new breadcrumbs so they can be added to any header or container element (Paarth Agarwal) - * Adopt new breadcrumbs on the page explorer (listing) view and the page chooser modal (Paarth Agarwal) + * Adopt new breadcrumbs on the page explorer (listing) view and the page chooser modal, remove legacy breadcrumbs code for move page as no longer used (Paarth Agarwal) * Added multi-site support to the API (Sævar Öfjörð Magnússon) * Add `add_to_admin_menu` option for ModelAdmin (Oliver Parker) * Implement Fuzzy matching for Elasticsearch (Nick Smith) @@ -43,6 +43,7 @@ Changelog * Selecting a new parent page for moving a page now uses the chooser modal which allows searching (Viggo de Vries) * Move `get_snippet_edit_handler` function to `wagtail.admin.panels.get_edit_handler` (Sage Abdullah) * Add clarity to the search indexing documentation for how `boost` works when using Postgres with the database search backend (Tibor Leupold) + * Rename `explorer_breadcrumb` template tag to `breadcrumbs` as it is now used in multiple locations (Paarth Agarwal) * Fix: Typo in `ResumeWorkflowActionFormatter` message (Stefan Hammer) * Fix: Throw a meaningful error when saving an image to an unrecognised image format (Christian Franke) * Fix: Remove extra padding for headers with breadcrumbs on mobile viewport (Steven Steinwand) diff --git a/docs/releases/4.0.md b/docs/releases/4.0.md index f1088c3bee..b4fbe52d37 100644 --- a/docs/releases/4.0.md +++ b/docs/releases/4.0.md @@ -43,13 +43,14 @@ When using a queryset to render a list of images, you can now use the ``prefetch * Introduce a `wagtail.admin.viewsets.chooser.ChooserViewSet` module to serve as a common base implementation for chooser modals (Matt Westcott) * Add documentation for `wagtail.admin.viewsets.model.ModelViewSet` (Matt Westcott) * Enhance new breadcrumbs so they can be added to any header or container element (Paarth Agarwal) - * Adopt new breadcrumbs on the page explorer (listing) view and the page chooser modal (Paarth Agarwal) + * Adopt new breadcrumbs on the page explorer (listing) view and the page chooser modal, remove legacy breadcrumbs code for move page as no longer used (Paarth Agarwal) * Added [multi-site support](api_filtering_pages_by_site) to the API (Sævar Öfjörð Magnússon) * Add `add_to_admin_menu` option for ModelAdmin (Oliver Parker) * Implement [Fuzzy matching](fuzzy_matching) for Elasticsearch (Nick Smith) * Cache model permission codenames in `PermissionHelper` (Tidiane Dia) * Selecting a new parent page for moving a page now uses the chooser modal which allows searching (Viggo de Vries) * Add clarity to the search indexing documentation for how `boost` works when using Postgres with the database search backend (Tibor Leupold) + * Rename `explorer_breadcrumb` template tag to `breadcrumbs` as it is now used in multiple locations (Paarth Agarwal) ### Bug fixes @@ -124,3 +125,9 @@ Custom choosers should no longer use `wagtail.admin.widgets.chooser.AdminChooser ### `get_snippet_edit_handler` moved to `wagtail.admin.panels.get_edit_handler` The `get_snippet_edit_handler` function in `wagtail.snippets.views.snippets` has been moved to `get_edit_handler` in `wagtail.admin.panels`. + +### `explorer_breadcrumb` template tag has been renamed to `breadcrumbs`, `move_breadcrumb` has been removed + +The `explorer_breadcrumb` template tag is not documented, however if used it will need to be renamed to `breadcrumbs` and the `url_name` is now a required arg. + +The `move_breadcrumb` template tag is no longer used and has been removed.