2014-07-10 18:24:42 +02:00
==========================================
Wagtail 0.5 release notes - IN DEVELOPMENT
==========================================
2014-07-10 18:08:54 +02:00
2014-07-10 18:21:42 +02:00
.. contents ::
2014-07-10 18:11:23 +02:00
:local:
2014-07-10 18:21:42 +02:00
:depth: 1
2014-07-10 18:11:23 +02:00
2014-07-17 14:26:07 +02:00
What's new
==========
2014-07-10 18:08:54 +02:00
2014-07-24 13:33:47 +02:00
Multiple image uploader
~~~~~~~~~~~~~~~~~~~~~~~
The image uploader UI has been improved to allow multiples to be uploaded quickly.
2014-07-29 18:19:50 +02:00
Image feature detection
~~~~~~~~~~~~~~~~~~~~~~~
Wagtail can now apply face and feature detection on images using `OpenCV <http://opencv.org/> `_ , and use this to intelligently crop images.
:ref: `image_feature_detection`
2014-07-21 17:03:28 +02:00
RoutablePage
~~~~~~~~~~~~
A `` RoutablePage `` model has been added to allow embedding Django-style URL routing within a page.
:ref: `routable_page`
2014-07-10 18:08:54 +02:00
Minor features
~~~~~~~~~~~~~~
2014-07-14 19:25:14 +02:00
Core
----
* Hooks can now be defined using decorator syntax:
.. code-block :: python
@hooks.register('construct_main_menu')
def construct_main_menu(request, menu_items):
menu_items.append(
MenuItem('Kittens!', '/kittens/', classnames='icon icon-folder-inverse', order=1000)
)
2014-07-17 14:26:07 +02:00
* The lxml library (used for whitelisting and rewriting of rich text fields) has been replaced with the pure-python html5lib library, to simplify installation.
2014-07-22 12:09:02 +02:00
* A `` page_unpublished `` signal has been added.
2014-07-17 14:26:07 +02:00
2014-07-10 18:08:54 +02:00
2014-07-18 16:14:36 +02:00
Admin
-----
* Explorer nav now rendered separately and fetched with AJAX when needed.
2014-07-18 17:58:38 +02:00
This improves the general performance of the admin interface for large sites.
2014-07-18 16:14:36 +02:00
2014-07-10 18:08:54 +02:00
Bug fixes
~~~~~~~~~
2014-07-24 12:33:58 +02:00
* Updates to tag fields are now properly committed to the database when publishing directly from the page edit interface.
2014-07-10 18:08:54 +02:00
2014-07-29 18:19:50 +02:00
Upgrade considerations
======================
New fields on Image and Rendition models
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Several new fields have been added to the Image and Rendition models to support :ref: `image_feature_detection` . These will be added to the database when you run `` ./manage.py migrate `` . If you have defined a custom image model (by extending the `` wagtailimages.AbstractImage `` and `` wagtailimages.AbstractRendition `` classes and specifying `` WAGTAILIMAGES_IMAGE_MODEL `` in settings), the change needs to be applied to that model's database table too. Running the command::
./manage.py schemamigration myapp --auto add_image_focal_point_fields``
(with 'myapp' replaced with your app name) will generate the necessary migration file.
2014-07-10 18:08:54 +02:00
Deprecated features
===================