add release notes

- autocomplete API - #4937 & #5960 & #4938
- Python 3.10 #7577
- unit tests #7578
pull/7576/head
LB Johnston 2021-10-07 15:42:32 +10:00
rodzic 160b44ed09
commit 02d6d27a9c
3 zmienionych plików z 17 dodań i 1 usunięć

Wyświetl plik

@ -38,6 +38,8 @@ Changelog
* Add documentation for how to redirect to a separate page on Form builder submissions using ``RoutablePageMixin`` (Nick Smith)
* Refactored index listing views and made column sort-by headings more consistent (Matt Westcott)
* Added the ability to customise the pre-filled Image title on upload and it now defaults to the filename without the file extension (LB Johnston)
* Add support for Python 3.10 (Matt Westcott)
* Introduce, `autocomplete`, a separate method which performs partial matching on specific autocomplete fields. This is useful for suggesting pages to the user in real-time as they type their query. (Karl Hobley, Matt Westcott)
* Fix: Delete button is now correct colour on snippets and modeladmin listings (Brandon Murch)
* Fix: Ensure that StreamBlock / ListBlock-level validation errors are counted towards error counts (Matt Westcott)
* Fix: InlinePanel add button is now keyboard navigatable (Jesse Menn)
@ -61,6 +63,7 @@ Changelog
* Fix: Add full support for custom `edit_handler` usage by adding missing `bind_to` call to `PreviewOnEdit` view (Stefan Hammer)
* Fix: Only show active (not disabled) tasks in the workflow task chooser (LB Johnston)
* Fix: CSS build scripts now output to the correct directory paths on Windows (Vince Salvino)
* Fix: Capture log output from style fallback to avoid noise in unit tests (Matt Westcott)
2.14.1 (12.08.2021)

Wyświetl plik

@ -54,6 +54,8 @@ Other features
* Add documentation for how to redirect to a separate page on Form builder submissions using ``RoutablePageMixin`` (Nick Smith)
* Refactored index listing views and made column sort-by headings more consistent (Matt Westcott)
* Added the ability to customise the pre-filled Image title on upload and it now defaults to the filename without the file extension (LB Johnston)
* Add support for Python 3.10 (Matt Westcott)
* Introduce, ``autocomplete``, a separate method which performs partial matching on specific autocomplete fields. This is useful for suggesting pages to the user in real-time as they type their query. (Karl Hobley, Matt Westcott)
Bug fixes
~~~~~~~~~
@ -80,6 +82,7 @@ Bug fixes
* Tabbing and keyboard interaction on the Wagtail userbar now aligns with ARIA best practices (Storm Heg)
* Add full support for custom ``edit_handler`` usage by adding missing ``bind_to`` call to ``PreviewOnEdit`` view (Stefan Hammer)
* CSS build scripts now output to the correct directory paths on Windows (Vince Salvino)
* Capture log output from style fallback to avoid noise in unit tests (Matt Westcott)
Upgrade considerations
======================
@ -168,3 +171,13 @@ Removed support for Internet Explorer (IE11)
If this affects you or your organisation, consider which alternative browsers you may be able to use.
Wagtail is fully compatible with Microsoft Edge, Microsofts replacement for Internet Explorer. You may consider using its `IE mode <https://docs.microsoft.com/en-us/deployedge/edge-ie-mode>`_ to keep access to IE11-only sites, while other sites and apps like Wagtail can leverage modern browser capabilities.
``search()`` method partial match future deprecation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Before the ``autocomplete()`` method was introduced, the search method also did partial matching.
This behaviour is will be deprecated in a future release and you should either switch to the new
``autocomplete()`` method or pass ``partial_match=False`` into the search method to opt-in to the
new behaviour. The partial matching in ``search()`` will be completely removed in a future release.
See: :ref:`wagtailsearch_searching_pages`

Wyświetl plik

@ -43,7 +43,7 @@ All other methods of ``PageQuerySet`` can be used with ``search()``. For example
.. note::
Before the ``autocomplete()`` method was introduced, the search method also did partial matching. This behaviour is now deprecated and you should
Before the ``autocomplete()`` method was introduced, the search method also did partial matching. This behaviour is will be deprecated and you should
either switch to the new ``autocomplete()`` method or pass ``partial_match=False`` into the search method to opt-in to the new behaviour. The
partial matching in ``search()`` will be completely removed in a future release.