0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
wagtail/docs/releases/2.4.rst

68 lines
3.7 KiB
ReStructuredText
Raw Normal View History

2018-12-19 16:08:00 +01:00
=========================
Wagtail 2.4 release notes
=========================
2018-10-17 12:46:56 +02:00
.. contents::
:local:
:depth: 1
What's new
==========
New "Welcome to your Wagtail site" Starter Page
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When using the ``wagtail start`` command to make a new site, users will now be greeted with a proper starter page. Thanks to Timothy Allen and Scott Cranfill for pulling this off!
.. figure:: ../_static/images/tutorial/tutorial_1.png
:alt: Wagtail welcome message
2018-10-17 12:46:56 +02:00
Other features
~~~~~~~~~~~~~~
2018-10-17 18:30:34 +02:00
* Added support for Python 3.7 (Matt Westcott)
2018-10-27 12:19:20 +02:00
* Added ``max_count`` option on page models to limit the number of pages of a particular type that can be created (Dan Braghis)
2018-10-27 15:43:37 +02:00
* Document and image choosers now show the document / image's collection (Alejandro Garza, Janneke Janssen)
2018-10-28 14:23:40 +01:00
* New ``image_url`` template tag allows to generate dynamic image URLs, so image renditions are being created outside the main request which improves performance. Requires extra configuration, see :doc:`/advanced_topics/images/image_serve_view` (Yannick Chabbert, Dan Braghis).
* Added ability to run individual tests through tox (Benjamin Bach)
* Collection listings are now ordered by name (Seb Brown)
2018-05-08 16:43:58 +02:00
* Added ``file_hash`` field to documents (Karl Hobley, Dan Braghis)
* Added last login to the user overview (Noah B Johnson)
* Changed design of image editing page (Janneke Janssen, Ben Enright)
* Added Slovak character map for JavaScript slug generation (Andy Chosak)
* Make documentation links on welcome page work for prereleases (Matt Westcott)
* Allow overridden ``copy()`` methods in ``Page`` subclasses to be called from the page copy view (Robert Rollins)
* Users without a preferred language set on their profile now use language selected by Django's ``LocaleMiddleware`` (Benjamin Bach)
* Added hooks to customise the actions menu on the page create/edit views (Matt Westcott)
* Cleanup: Use ``functools.partial()`` instead of ``django.utils.functional.curry()`` (Sergey Fedoseev)
2018-11-30 12:27:35 +01:00
* Added ``before_move_page`` and ``after_move_page`` hooks (Maylon Pedroso)
* Bulk deletion button for snippets is now hidden until items are selected (Karl Hobley)
2018-10-17 12:46:56 +02:00
Bug fixes
~~~~~~~~~
* Query objects returned from ``PageQuerySet.type_q`` can now be merged with ``|`` (Brady Moe)
2018-10-27 14:58:13 +02:00
* Add ``rel="noopener noreferrer"`` to target blank links (Anselm Bradford)
* Additional fields on custom document models now show on the multiple document upload view (Robert Rollins, Sergey Fedoseev)
* Help text does not overflow when using a combination of BooleanField and FieldPanel in page model (Dzianis Sheka)
2018-10-28 09:44:07 +01:00
* Document chooser now displays more useful help message when there are no documents in Wagtail document library (gmmoraes, Stas Rudakou)
* Allow custom logos of any height in the admin menu (Meteor0id)
* Allow nav menu to take up all available space instead of scrolling (Meteor0id)
2018-10-28 15:28:53 +01:00
* Users without the edit permission no longer see "Edit" links in list of pages waiting for moderation (Justin Focus, Fedor Selitsky)
* Redirects now return 404 when destination is unspecified or a page with no site (Hillary Jeffrey)
* Refactor all breakpoint definitions, removing style overlaps (Janneke Janssen)
* Updated draftjs_exporter to 2.1.5 to fix bug in handling adjacent entities (Thibaud Colas)
2018-11-30 13:11:14 +01:00
* Page titles consisting only of stopwords now generate a non-empty default slug (Andy Chosak, Janneke Janssen)
* Sitemap generator now allows passing a sitemap instance in the URL configuration (Mitchel Cabuloy, Dan Braghis)
2018-10-17 12:46:56 +02:00
Upgrade considerations
======================
Removed support for Django 1.11
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Django 1.11 is no longer supported in this release; please upgrade your project to Django 2.0 or 2.1 before upgrading to Wagtail 2.4.