2019-07-09 17:51:48 +02:00
==========================================
Wagtail 2.7 release notes - IN DEVELOPMENT
==========================================
.. contents ::
:local:
:depth: 1
Wagtail 2.7 is designated a Long Term Support (LTS) release. Long Term Support releases will continue to receive maintenance updates as necessary to address security and data-loss related issues, up until the next LTS release (typically a period of 12 months).
What's new
==========
2019-08-15 16:29:27 +02:00
* Upgraded Elasticsearch client library dependency to 6.4.0 or above, 7.0.0 or above is still supported.
2019-07-09 17:51:48 +02:00
2019-08-15 23:38:37 +02:00
2019-07-09 17:51:48 +02:00
Other features
~~~~~~~~~~~~~~
2019-07-08 09:57:30 +02:00
* Added `` construct_page_listing_buttons `` hook (Michael van Tellingen)
2019-07-04 11:24:05 +02:00
* Added more detailed documentation and troubleshooting for installing OpenCV for feature detection (Daniele Procida)
2019-04-24 23:45:14 +02:00
* Move and refactor upgrade notification JS (Jonny Scholes)
2019-08-15 16:29:27 +02:00
* Remove need for Elasticsearch `` update_all_types `` workaround, upgrade minimum release to 6.4.0 or above (Jonathan Liuti)
2019-08-13 18:24:00 +02:00
* Add ability to insert internal anchor links/links with fragment identifiers in Draftail (rich text) fields (Iman Syed)
2019-08-15 23:38:37 +02:00
* Added Table Block caption for accessibility (Rahmi Pruitt)
2019-07-09 17:51:48 +02:00
Bug fixes
~~~~~~~~~
2019-07-25 11:46:41 +02:00
* Added line breaks to long filenames on multiple image / document uploader (Kevin Howbrook)
2019-07-25 08:49:41 +02:00
* Added https support for Scribd oEmbed provider (Rodrigo)
2019-07-26 22:39:11 +02:00
* Changed StreamField group label color so labels are visible (Catherine Farman)
2019-08-01 12:46:34 +02:00
* Prevented images with a very wide aspect ratio from being displayed distorted in the rich text editor (Iman Syed)
2019-07-17 20:56:52 +02:00
* Prevent exception when deleting a model with a protected One-to-one relationship (Neal Todd)
2019-08-05 19:12:08 +02:00
* Added labels to snippet bulk edit checkboxes for screen reader users (Martey Dodoo)
2019-08-08 13:54:37 +02:00
* Middleware responses during page preview are now properly returned to the user (Matt Westcott)
2019-08-07 23:00:02 +02:00
* Default text of page links in rich text uses the public page title rather than the admin display title (Andy Chosak)
2019-08-07 19:44:32 +02:00
* Specific page permission checks are now enforced when viewing a page revision (Andy Chosak)
2019-08-14 04:53:04 +02:00
* `` pageurl `` and `` slugurl `` tags no longer fail when `` request.site `` is `` None `` (Samir Shah)
2019-04-26 17:40:58 +02:00
* Output form media on add/edit image forms with custom models (Matt Westcott)
2019-07-09 17:51:48 +02:00
Upgrade considerations
======================
2019-07-11 01:47:04 +02:00
`` Page.dummy_request `` is deprecated
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The internal `` Page.dummy_request `` method (which generates an HTTP request object simulating a real page request, for use in previews) has been deprecated, as it did not correctly handle errors generated during middleware processing. Any code that calls this method to render page previews should be updated to use the new method `` Page.make_preview_request(original_request=None, preview_mode=None) `` , which builds the request and calls `` Page.serve_preview `` as a single operation.