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
==========
2018-10-25 00:45:17 +02:00
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).
2018-10-29 11:28:05 +01:00
* Added ability to run individual tests through tox (Benjamin Bach)
2018-10-30 02:20:27 +01:00
* 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)
2018-10-31 17:06:39 +01:00
* Added last login to the user overview (Noah B Johnson)
2018-10-28 14:02:26 +01:00
* Changed design of image editing page (Janneke Janssen, Ben Enright)
2018-11-14 15:41:45 +01:00
* Added Slovak character map for JavaScript slug generation (Andy Chosak)
2018-11-22 00:08:36 +01:00
* 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)
2018-11-22 12:26:26 +01:00
* 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)
2018-11-22 00:08:36 +01:00
* 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)
2018-11-19 12:02:09 +01:00
* Bulk deletion button for snippets is now hidden until items are selected (Karl Hobley)
2018-10-17 12:46:56 +02:00
Bug fixes
~~~~~~~~~
2018-10-16 21:22:23 +02:00
* 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)
2018-10-27 17:43:46 +02:00
* 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)
2018-10-28 13:48:04 +01:00
* Allow custom logos of any height in the admin menu (Meteor0id)
2018-11-01 23:57:55 +01:00
* 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)
2018-10-17 18:50:48 +02:00
* Redirects now return 404 when destination is unspecified or a page with no site (Hillary Jeffrey)
2018-11-04 22:46:42 +01:00
* Refactor all breakpoint definitions, removing style overlaps (Janneke Janssen)
2018-11-20 17:14:36 +01:00
* 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)
2018-10-28 11:21:30 +01:00
* Sitemap generator now allows passing a sitemap instance in the URL configuration (Mitchel Cabuloy, Dan Braghis)
2018-10-16 21:22:23 +02:00
2018-10-17 12:46:56 +02:00
Upgrade considerations
======================
2018-10-17 15:54:18 +02:00
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.