Add changelog & release considerations #12882

main
LB 2025-04-03 08:15:38 +10:00 zatwierdzone przez LB (Ben Johnston)
rodzic 9f04de83d5
commit 46c7c60b49
2 zmienionych plików z 18 dodań i 0 usunięć

Wyświetl plik

@ -40,6 +40,8 @@ Changelog
* Maintenance: Rename `SkipLinkController` to `FocusController` with improved reusability, updated unit tests, and added story (LB (Ben) Johnston)
* Maintenance: Fix CI testing issues with the Stimulus `LocaleController` time zones & non-deterministic page ordering tests (Sage Abdullah)
* Maintenance: Make GitHub highlight `.html` files as Django templates (Jake Howard)
* Maintenance: Remove admin JavaScript imports from shared template includes, moving the imports to the appropriate core admin inclusion locations (Sai Srikar Dumpeti)
* Maintenance: Remove non-editing view inclusions of the `insert_editor_js` hook output, deprecate the wrapper template tag `_editor_js.html` (Sai Srikar Dumpeti, LB (Ben) Johnston)
6.4.1 (21.02.2025)

Wyświetl plik

@ -58,6 +58,8 @@ depth: 1
* Rename `SkipLinkController` to `FocusController` with improved reusability, updated unit tests, and added story (LB (Ben) Johnston)
* Fix CI testing issues with the Stimulus `LocaleController` time zones & non-deterministic page ordering tests (Sage Abdullah)
* Make GitHub highlight `.html` files as Django templates (Jake Howard)
* Remove admin JavaScript imports from shared template includes, moving the imports to the appropriate core admin inclusion locations (Sai Srikar Dumpeti)
* Remove non-editing view inclusions of the `insert_editor_js` hook output, deprecate the wrapper template tag `_editor_js.html` (Sai Srikar Dumpeti, LB (Ben) Johnston)
## Upgrade considerations - changes affecting all projects
@ -74,3 +76,17 @@ The `TAG_LIMIT` and `TAG_SPACES_ALLOWED` settings have been renamed to `WAGTAIL_
## Upgrade considerations - changes affecting Wagtail customisations
## Upgrade considerations - changes to undocumented internals
### Removal of `insert_editor_js` hook output in some non-editor views
The `insert_editor_js` was historically added to some non editing views, these have now been removed.
The confirm bulk move view and the chooser modal view for choosing the new location of bulk move pages will no longer use the hook output `insert_editor_js`. If custom JavaScript is needed in these views, migrate to the documented [](insert_global_admin_js) hook instead.
The `insert_editor_js` hook will continue to be output when editing pages, as documented.
### Deprecation of `wagtail/admin/templates/wagtailadmin/pages/_editor_js.html` template
If your project overrides the undocumented template partial `wagtail/admin/templates/wagtailadmin/pages/_editor_js.html` to inject custom JavaScript into the Wagtail admin, this template will be removed in a future release.
Instead, follow the documented approaches to either use the [](insert_editor_js) hook or the [](insert_global_admin_js) hook.