Andy Babic преди 3 години
родител
ревизия
d92b191015
променени са 3 файла, в които са добавени 17 реда и са изтрити 0 реда
  1. 2 0
      CHANGELOG.txt
  2. 2 0
      SPONSORS.md
  3. 13 0
      docs/releases/2.16.md

+ 2 - 0
CHANGELOG.txt

@@ -8,6 +8,8 @@ Changelog
  * Removed support for Python 3.6
  * Added persistent IDs for ListBlock items, allowing commenting and improvements to revision comparisons (Matt Westcott, Tidjani Dia)
  * Added Aging Pages report (Tidjani Dia)
+ * Added automatic redirect creation feature (Andy Babic, with sponsorship from [The National Archives](https://www.nationalarchives.gov.uk))
+ * Added `page_slug_changed` signal for pages (Andy Babic)
  * Add more SketchFab oEmbed patterns for models (Tom Usher)
  * Add collapse option to `StreamField`, `StreamBlock`, and `ListBlock` which will load all sub-blocks initially collapsed (Matt Westcott)
  * Private pages can now be fetched over the API (Nabil Khalil)

+ 2 - 0
SPONSORS.md

@@ -45,3 +45,5 @@ The features below were developed thanks to the sponsorship of these organsation
 - Telepath for StreamField editing - [YouGov](https://yougov.co.uk/)
 
 - Commenting - [The Motley Fool](https://www.fool.com/)
+
+- Automatic redirect creation - [The National Archives](https://www.nationalarchives.gov.uk)

+ 13 - 0
docs/releases/2.16.md

@@ -12,11 +12,24 @@
 
 As part of a [wider redesign](https://github.com/wagtail/wagtail/discussions/7739) of Wagtail’s administration interface, we have replaced the sidebar with a slim, keyboard-friendly version. This re-implementation comes with significant accessibility improvements for keyboard and screen reader users, and will enable us to make navigation between views much snappier in the future. Please have a look at [upgrade considerations](#upgrade-considerations) for more details on differences with the previous version.
 
+### Automatic redirect creation
+
+Wagtail projects using the `wagtail.contrib.redirects` app now benefit from 'automatic redirect creation' - which creates redirects for pages and their descedants whenever a URL-impacting change is made; such as a slug being changed, or a page being moved to a different part of the tree.
+
+This feature should be benefitial to most 'standard' Wagtail projects and, in most cases, will have only a minor impact on responsiveness when making such changes. However, if you find this feature is not a good fit for your project, you can disabled it by adding the following to your project settings:
+
+```python
+WAGTAILREDIRECTS_AUTO_CREATE = False
+```
+
+Thank you to [The National Archives](https://www.nationalarchives.gov.uk) for kindly sponsoring this feature.
+
 ### Other features
 
  * Added persistent IDs for ListBlock items, allowing commenting and improvements to revision comparisons (Matt Westcott, Tidjani Dia)
  * Added Aging Pages report (Tidjani Dia)
  * Add more SketchFab oEmbed patterns for models (Tom Usher)
+ * Added `page_slug_changed` signal for Pages (Andy Babic)
  * Add collapse option to `StreamField`, `StreamBlock`, and `ListBlock` which will load all sub-blocks initially collapsed (Matt Westcott)
  * Private pages can now be fetched over the API (Nabil Khalil)
  * Added `alias_of` field to the pages API (Dmitrii Faiazov)