2022-04-11 16:57:22 +02:00
# Wagtail 2.16.2 release notes
2022-02-18 11:57:59 +01:00
2022-06-16 12:26:03 +02:00
_April 11, 2022_
2022-03-09 12:48:19 +01:00
```{contents}
---
local:
depth: 1
---
2022-02-18 11:57:59 +01:00
```
## What's new
### Bug fixes
* Update django-treebeard dependency to 4.5.1 or above (Serafeim Papastefanos)
2022-02-18 08:50:39 +01:00
* Fix permission error when sorting pages having page type restrictions (Thijs Kramer)
2022-04-06 18:38:21 +02:00
* Allow bulk publishing of pages without revisions (Andy Chosak)
* Ensure that all descendant pages are logged when deleting a page, not just immediate children (Jake Howard)
2022-04-06 20:26:25 +02:00
* Refactor `FormPagesListView` in wagtail.contrib.forms to avoid undefined `locale` variable when subclassing (Dan Braghis)
2022-04-10 11:10:02 +02:00
* Ensure page copy in Wagtail admin doesn't ignore `exclude_fields_in_copy` (John-Scott Atlakson)
* Generate new translation keys for translatable `Orderable` s when page is copied without being published (Kalob Taulien, Dan Braghis)
* Ignore `GenericRelation` when copying pages (John-Scott Atlakson)
2022-04-11 11:28:29 +02:00
* Ensure 'next' links from image / document listings do not redirect back to partial AJAX view (Matt Westcott)
2022-04-11 14:11:56 +02:00
* Skip creation of automatic redirects when page cannot be routed (Matt Westcott)
2022-04-11 16:52:57 +02:00
* Prevent JS errors on locale switcher in page chooser (Matt Westcott)
2022-04-06 14:18:32 +02:00
## Upgrade considerations
### Jinja2 compatibility
2022-05-26 23:42:05 +02:00
Developers using Jinja2 templating should note that the template tags in this release (and earlier releases in the 2.15.x and 2.16.x series) are compatible with Jinja2 2.11.x and 3.0.x. Jinja2 2.11.x is unmaintained and requires `markupsafe` to be pinned to version `<2.1` to work; Jinja2 3.1.x has breaking changes and is not compatible. We therefore recommend that you use Jinja2 3.0.x, or 2.11.x with fully pinned dependencies.