From a6e53abd34666f370a342b73ac98934a7fc19db0 Mon Sep 17 00:00:00 2001 From: Karl Hobley Date: Mon, 4 Apr 2016 10:35:32 +0100 Subject: [PATCH] Changelog/release note for #1913 --- CHANGELOG.txt | 2 ++ docs/releases/1.5.rst | 13 +++++++++++++ 2 files changed, 15 insertions(+) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 515208fcea..8898378bf4 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -6,11 +6,13 @@ Changelog * Moved lesser-user actions in the page explorer into a 'More' dropdown * Added a hook `register_page_listing_buttons` for adding action buttons to the page explorer + * The "dynamic serve view" for images has been greatly improved See release notes for details * Added a hook `insert_global_admin_js` for inserting custom JavaScript throughout the admin backend (Tom Dyson) * The type of the ``search_fields`` attribute on ``Page`` models (and other searchable models) has changed from a tuple to a list (Tim Heap) * Use `PasswordChangeForm` when user changes their password, requiring the user to enter their current password (Matthijs Melissen) * Highlight current day in date picker (Jonas Lergell) * Fix: The currently selected day is now highlighted only in the correct month in date pickers (Jonas Lergell) + * Fix: Fixed crash when an image without a source file was resized with the "dynamic serve view" 1.4.2 (31.03.2016) diff --git a/docs/releases/1.5.rst b/docs/releases/1.5.rst index ad992b6b27..67a9a975e9 100644 --- a/docs/releases/1.5.rst +++ b/docs/releases/1.5.rst @@ -10,6 +10,18 @@ Wagtail 1.5 release notes - IN DEVELOPMENT What's new ========== +Improvements to the "Image serve view" +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +:ref:`using_images_outside_wagtail` + +This view, which is used for requesting image thumbnails from an external app, has had some improvements made to it in this release. + + - A "redirect" action has been added which will redirect the user to where the resized image is hosted rather than serving it from the app. This may be beneficial for performance if the images are hosted externally (eg, S3) + - It now takes an optional extra path component which can be used for appending a filename to the end of the URL + - The key is now configurable on the view so you don't have to use your project's ``SECRET_KEY`` + - It's been refactored into a class based view and you can now create multiple serve views with different image models and/or keys + Minor features ~~~~~~~~~~~~~~ @@ -24,6 +36,7 @@ Bug fixes ~~~~~~~~~ * The currently selected day is now highlighted only in the correct month in date pickers (Jonas Lergell) + * Fixed crash when an image without a source file was resized with the "dynamic serve view" Upgrade considerations