mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
ee99f91aa5
* Prevents n+1 query count when getting a list of pages with view restrictions * Add query count checks to public/not_public tests
60 lines
3.4 KiB
ReStructuredText
60 lines
3.4 KiB
ReStructuredText
===========================================
|
|
Wagtail 2.10 release notes - IN DEVELOPMENT
|
|
===========================================
|
|
|
|
.. contents::
|
|
:local:
|
|
:depth: 1
|
|
|
|
|
|
What's new
|
|
==========
|
|
|
|
|
|
Other features
|
|
~~~~~~~~~~~~~~
|
|
|
|
* Reorganised Dockerfile in project template to follow best practices (Tomasz Knapik, Jannik Wempe)
|
|
* Added filtering to locked pages report (Karl Hobley)
|
|
* Adds ability to view a group's users via standalone admin URL and a link to this on the group edit view (Karran Besen)
|
|
* Redirect to previous url when deleting/copying/unpublish a page and modify this url via the relevant hooks (Ascani Carlo)
|
|
* ``AbstractEmailForm`` will use ``SHORT_DATETIME_FORMAT`` and ``SHORT_DATE_FORMAT`` Django settings to format date/time values in email (Haydn Greatnews)
|
|
* ``AbstractEmailForm`` now has a separate method (``render_email``) to build up email content on submission emails. See :ref:`form_builder_render_email`. (Haydn Greatnews)
|
|
* Add ``pre_page_move`` and ``post_page_move`` signals. (Andy Babic)
|
|
* Add ability to sort search promotions on listing page (Chris Ranjana, LB (Ben Johnston))
|
|
* Upgrade internal JS tooling to Gulp v4 & Node v10 (Jim Jazwiecki, Kim LaRocca)
|
|
* Add ``after_publish_page``, ``before_publish_page``, ``after_unpublish_page`` & ``before_unpublish_page`` hooks (Jonatas Baldin, Coen van der Kamp)
|
|
* Add convenience ``page_url`` shortcut to improve how page URLs can be accessed from site settings in Django templates (Andy Babic)
|
|
* Show more granular error messages from Pillow when uploading images (Rick van Hattem)
|
|
* Add ordering to ``Site`` object, so that index page and ``Site`` switcher will be sorted consistently (Coen van der Kamp, Tim Leguijt)
|
|
* Add Reddit to oEmbed provider list (Luke Hardwick)
|
|
* Remove sticky footer on small devices, so that content is not blocked and more easily editable (Saeed Tahmasebi)
|
|
* Add ability to replace the default Wagtail logo in the userbar, via ``branding_logo`` block (Meteor0id)
|
|
* Add ``alt`` property to ``ImageRenditionField`` api representation (Liam Mullens)
|
|
* Add ``purge_revisions`` management command to purge old page revisions (Jacob Topp-Mugglestone, Tom Dyson)
|
|
* Render the Wagtail User Bar on non ``Page`` views (Caitlin White, Coen van der Kamp)
|
|
* Add ability to define ``form_classname`` on ``ListBlock`` & ``StreamBlock`` (LB (Ben Johnston))
|
|
* Add documentation about how to use ``Rustface`` for image feature detection (Neal Todd)
|
|
* Improve performance of public/not_public queries in ``PageQuerySet`` (Timothy Bautista)
|
|
|
|
|
|
Bug fixes
|
|
~~~~~~~~~
|
|
|
|
* Ensure link to add a new user works when no users are visible in the users list (LB (Ben Johnston))
|
|
* ``AbstractEmailForm`` saved submission fields are now aligned with the email content fields, ``form.cleaned_data`` will be used instead of ``form.fields`` (Haydn Greatnews)
|
|
* Removed ARIA ``role="table"`` from TableBlock output (Thibaud Colas)
|
|
* Set Cache-Control header to prevent page preview responses from being cached (Tomas Walch)
|
|
* Accept unicode characters in slugs on the "copy page" form (François Poulain)
|
|
* Support IPv6 domain (Alex Gleason, Coen van der Kamp)
|
|
* Remove top padding when ``FieldRowPanel`` is used inside a ``MultiFieldPanel`` (Jérôme Lebleu)
|
|
|
|
|
|
Upgrade considerations
|
|
======================
|
|
|
|
Removed support for Python 3.5
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
Python 3.5 is no longer supported as of this release; please upgrade to Python 3.6 or above before upgrading Wagtail.
|