2015-06-24 11:28:08 +02:00
==========================================
Wagtail 1.1 release notes - IN DEVELOPMENT
==========================================
.. contents ::
:local:
:depth: 1
What's new
==========
2015-06-29 17:59:31 +02:00
`` specific() `` method on PageQuerySet
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Usually, an operation that retrieves a queryset of pages (such as `` homepage.get_children() `` ) will return them as basic Page instances, which only include the core page data such as title. The `` specific() `` method (e.g. `` homepage.get_children().specific() `` ) now allows them to be retrieved as their most specific type, using the minimum number of queries.
2015-06-24 11:28:08 +02:00
2015-07-29 12:59:10 +02:00
"Promoted search results" has moved into its own module
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Previously, this was implemented in :mod: `~wagtail.wagtailsearch` but now has
been moved into a separate module: :mod: `wagtail.contrib.wagtailsearchpromotions`
2015-08-01 11:13:46 +02:00
Atomic rebuilding of Elasticsearch indexes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The Elasticsearch search backend now accepts an experimental `` ATOMIC_REBUILD `` flag which ensures that the existing search index continues to be available while the `` update_index `` task is running. See :ref: `wagtailsearch_backends_atomic_rebuild` .
2015-06-24 11:28:08 +02:00
Minor features
~~~~~~~~~~~~~~
2015-07-08 17:25:34 +02:00
* Implemented pagination in the page chooser modal
2015-07-21 11:20:58 +02:00
* Changed INSTALLED_APPS in project template to list apps in precedence order
2015-06-24 11:28:08 +02:00
* The `` {% image %} `` tag now supports filters on the image variable, e.g. `` {% image primary_img|default:secondary_img width-500 %} ``
2015-06-25 13:19:22 +02:00
* Moved the style guide menu item into the Settings sub-menu
2015-07-08 17:25:34 +02:00
* Search backends can now be specified by module (e.g. `` wagtail.wagtailsearch.backends.elasticsearch `` ), rather than a specific class (`` wagtail.wagtailsearch.backends.elasticsearch.ElasticSearch `` )
2015-07-15 11:00:46 +02:00
* Added `` descendant_of `` filter to the API
2015-07-19 17:19:14 +02:00
* Added optional directory argument to "wagtail start" command
2015-07-28 12:26:49 +02:00
* Non-superusers can now view/edit/delete sites if they have the correct permissions
2015-07-20 15:49:55 +02:00
* Image file size is now stored in the database, to avoid unnecessary filesystem lookups
2015-07-20 21:09:15 +02:00
* Updated URLs within the admin backend to use namespaces
2015-07-15 12:36:16 +02:00
Bug fixes
~~~~~~~~~
* Text areas in the non-default tab of the page editor now resize to the correct height
2015-07-21 10:52:14 +02:00
* Tabs in "insert link" modal in the rich text editor no longer disappear (Tim Heap)
* H2 elements in rich text fields were accidentally given a click() binding when put insite a collapsible multi field panel
2015-07-29 12:59:10 +02:00
Upgrade considerations
======================
"Promoted search results" no longer in :mod: `~wagtail.wagtailsearch`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This feature has moved into a contrib module so is no longer enabled by default.
To re-enable it, add :mod: `wagtail.contrib.wagtailsearchpromotions` to your `` INSTALLED_APPS `` :
.. code-block :: python
INSTALLED_APPS = [
...
'wagtail.contrib.wagtailsearchpromotions',
...