From 11af8123f722e6f36e940c8dc9c36aeb71aeacda Mon Sep 17 00:00:00 2001 From: Andy Babic Date: Thu, 20 Jun 2019 16:06:59 +0100 Subject: [PATCH] Release notes for #5183 --- CHANGELOG.txt | 2 ++ docs/releases/2.6.rst | 2 ++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index f6973a5c6d..068c551886 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -27,6 +27,7 @@ Changelog * Updated group edit view to expose the Permission object for each checkbox (George Hickman) * Improve performance of Pages for Moderation panel (Fidel Ramos) * Add more contextual information for screen readers in the explorer menu’s links (Helen Chapman) + * Added `process_child_object` and `exclude_fields` arguments to ``Page.copy()`` to make it easier for third-party apps to customise copy behavior (Karl Hobley) * Fix: ModelAdmin no longer fails when filtering over a foreign key relation (Jason Dilworth, Matt Westcott) * Fix: The Wagtail version number is now visible within the Settings menu (Kevin Howbrook) * Fix: Scaling images now rounds values to an integer so that images render without errors (Adrian Brunyate) @@ -52,6 +53,7 @@ Changelog * Fix: Ensure the 'add child page' button displays when focused (Helen Chapman, Katie Locke) * Fix: Remove tab order customisations in CMS admin (Jordan Bauer) * Fix: Add labels to permission checkboxes for screen reader users (Helen Chapman, Katie Locke) + * Fix: Page.copy() no longer copies child objects when the accesssor name is included in `exclude_fields_in_copy` (Karl Hobley) 2.5.1 (07.05.2019) diff --git a/docs/releases/2.6.rst b/docs/releases/2.6.rst index 9c0f874f58..0cb77fd0bd 100644 --- a/docs/releases/2.6.rst +++ b/docs/releases/2.6.rst @@ -65,6 +65,7 @@ Other features * Added support for custom search handler classes to modeladmin's IndexView, and added a class that uses the default Wagtail search backend for searching (Seb Brown, Andy Babic) * Update group edit view to expose the ``Permission`` object for each checkbox (George Hickman) * Improve performance of Pages for Moderation panel (Fidel Ramos) + * Added ``process_child_object`` and ``exclude_fields`` arguments to ``Page.copy()`` to make it easier for third-party apps to customise copy behavior (Karl Hobley) Bug fixes @@ -84,6 +85,7 @@ Bug fixes * Prevent text from overlapping in focal point editing UI (Beth Menzies) * Restore custom "Date" icon for scheduled publishing panel in Edit page’s Settings tab (Helen Chapman) * Added missing form media to user edit form template (Matt Westcott) + * ``Page.copy()`` no longer copies child objects when the accesssor name is included in ``exclude_fields_in_copy`` (Karl Hobley) Upgrade considerations