0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

Release / deprecation notes for #4777

This commit is contained in:
Matt Westcott 2018-09-28 22:41:01 +01:00
parent 69642a5184
commit 44e5beb481
2 changed files with 43 additions and 0 deletions

View File

@ -20,6 +20,7 @@ Changelog
* Fix: Restored localisation in date/time pickers (David Moore, Thibaud Colas)
* Fix: Tag input field no longer treats 'б' on Russian keyboards as a comma (Michael Borisov)
* Fix: Disabled autocomplete dropdowns on date/time chooser fields (Janneke Janssen)
* Fix: Split up `wagtail.admin.forms` to make it less prone to circular imports (Matt Westcott)
2.2.2 (29.08.2018)

View File

@ -43,6 +43,48 @@ Bug fixes
* Restored localisation in date/time pickers (David Moore, Thibaud Colas)
* Tag input field no longer treats 'б' on Russian keyboards as a comma (Michael Borisov)
* Disabled autocomplete dropdowns on date/time chooser fields (Janneke Janssen)
* Split up ``wagtail.admin.forms`` to make it less prone to circular imports (Matt Westcott)
Upgrade considerations
======================
``wagtail.admin.forms`` reorganised
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The ``wagtail.admin.forms`` module has been split up into submodules to make it less prone to producing circular imports, particularly when a custom user model is in use. The following (undocumented) definitions have now been moved to new locations:
+----------------------------------------------+---------------------------------------+
| Definition | New location |
+==============================================+=======================================+
| LoginForm | wagtail.admin.forms.auth |
+----------------------------------------------+---------------------------------------+
| PasswordResetForm | wagtail.admin.forms.auth |
+----------------------------------------------+---------------------------------------+
| URLOrAbsolutePathValidator | wagtail.admin.forms.choosers |
+----------------------------------------------+---------------------------------------+
| URLOrAbsolutePathField | wagtail.admin.forms.choosers |
+----------------------------------------------+---------------------------------------+
| ExternalLinkChooserForm | wagtail.admin.forms.choosers |
+----------------------------------------------+---------------------------------------+
| EmailLinkChooserForm | wagtail.admin.forms.choosers |
+----------------------------------------------+---------------------------------------+
| CollectionViewRestrictionForm | wagtail.admin.forms.collections |
+----------------------------------------------+---------------------------------------+
| CollectionForm | wagtail.admin.forms.collections |
+----------------------------------------------+---------------------------------------+
| BaseCollectionMemberForm | wagtail.admin.forms.collections |
+----------------------------------------------+---------------------------------------+
| BaseGroupCollectionMemberPermissionFormSet | wagtail.admin.forms.collections |
+----------------------------------------------+---------------------------------------+
| collection_member_permission_formset_factory | wagtail.admin.forms.collections |
+----------------------------------------------+---------------------------------------+
| CopyForm | wagtail.admin.forms.pages |
+----------------------------------------------+---------------------------------------+
| PageViewRestrictionForm | wagtail.admin.forms.pages |
+----------------------------------------------+---------------------------------------+
| SearchForm | wagtail.admin.forms.search |
+----------------------------------------------+---------------------------------------+
| BaseViewRestrictionForm | wagtail.admin.forms.view_restrictions |
+----------------------------------------------+---------------------------------------+
The following definitions remain in ``wagtail.admin.forms``: ``FORM_FIELD_OVERRIDES``, ``DIRECT_FORM_FIELD_OVERRIDES``, ``formfield_for_dbfield``, ``WagtailAdminModelFormMetaclass``, ``WagtailAdminModelForm`` and ``WagtailAdminPageForm``.