wagtail/docs/releases/0.8.rst

58 wiersze
3.4 KiB
ReStructuredText
Czysty Zwykły widok Historia

2014-10-22 09:58:11 +00:00
==========================================
Wagtail 0.8 release notes - IN DEVELOPMENT
==========================================
.. contents::
:local:
:depth: 1
What's new
==========
Minor features
~~~~~~~~~~~~~~
2014-10-23 16:31:54 +00:00
* Page operations (creation, publishing, copying etc) are now logged via Python's ``logging`` framework; to configure this, add a logger entry for ``'wagtail'`` or ``'wagtail.core'`` to the ``LOGGING`` setup in your settings file.
* The save button on the page edit page now redirects the user back to the edit page instead of the explorer
2014-10-14 17:04:20 +00:00
* Signal handlers for ``wagtail.wagtailsearch`` and ``wagtail.contrib.wagtailfrontendcache`` are now automatically registered when using Django 1.7 or above.
2014-10-27 17:15:06 +00:00
* Added a Django 1.7 system check to ensure that foreign keys from Page models are set to ``on_delete=SET_NULL``, to prevent inadvertent (and tree-breaking) page deletions
2014-10-29 16:26:22 +00:00
* Improved error reporting on image upload, including ability to set a maximum file size via a new setting ``WAGTAILIMAGES_MAX_UPLOAD_SIZE``
Bug fixes
~~~~~~~~~
2014-10-14 17:11:33 +00:00
* Replaced references of .username with .get_username() on users for better custom user model support
2014-10-17 08:02:38 +00:00
* Unpinned dependency versions for six and requests to help prevent dependency conflicts
2014-10-22 21:08:40 +00:00
* Fixed TypeError when getting embed HTML with oembed on Python 3
2014-10-23 11:57:04 +00:00
* Made HTML whitelisting in rich text fields more robust at catching disallowed URL schemes such as ``jav\tascript:``
2014-10-24 09:52:03 +00:00
* ``created_at`` timestamps on page revisions were not being preserved on page copy, causing revisions to get out of sequence
2014-10-24 09:58:54 +00:00
* When copying pages recursively, revisions of sub-pages were being copied regardless of the ``copy_revisions`` flag
2014-10-24 15:42:38 +00:00
* Updated the migration dependencies within the project template to ensure that Wagtail's own migrations consistently apply first
2014-10-27 17:44:28 +00:00
* The cache of site root paths is now cleared when a site is deleted
2014-10-28 15:48:16 +00:00
* Search indexing now prevents pages from being indexed multiple times, as both the base Page model and the specific subclass
2014-10-29 16:38:55 +00:00
* Search indexing now avoids trying to index abstract models
2014-10-28 16:28:57 +00:00
* Fixed references to "username" in login form help text for better custom user model support
2014-10-28 21:15:18 +00:00
* Later items in a model's search_field list now consistently override earlier items, allowing subclasses to redefine rules from the parent
2014-10-30 14:47:14 +00:00
* Image uploader now accepts JPEG images that PIL reports as being in MPO format
* Multiple checkbox fields on form-builder forms did not correctly save multiple values
2014-10-30 15:34:56 +00:00
* Editing a page's slug and saving it without publishing could sometimes cause the URL paths of child pages to be corrupted
2014-10-31 10:47:19 +00:00
* ``latest_revision_created_at`` was being cleared on page publish, causing the page to drop to the bottom of explorer listings
Upgrade considerations
======================
2014-10-30 15:34:56 +00:00
Corrupted URL paths may need fixing
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This release fixes a bug in Wagtail 0.7 where editing a parent page's slug could cause the URL paths of child pages to become corrupted. To ensure that your database does not contain any corrupted URL paths, it is recommended that you run ``./manage.py set_url_paths`` after upgrading.
Automatic registration of signal handlers (Django 1.7+)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signal handlers for the ``wagtailsearch`` core app and ``wagtailfrontendcache`` contrib app are automatically registered when using Django 1.7. Calls to ``register_signal_handlers`` from your ``urls.py`` can be removed.