Add mention of html5lib in upgrade considerations (#12031)

pull/12048/head
Thibaud Colas 2024-06-11 12:21:13 +01:00 zatwierdzone przez GitHub
rodzic 33967fc4fe
commit 79ac41a251
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -142,7 +142,7 @@ Many thanks to Ben Morse and Joshua Munn for reporting this issue, and Jake Howa
### Maintenance
* Move RichText HTML whitelist parser to use the faster, built in `html.parser` (Jake Howard)
* Move RichText HTML whitelist parser to use the faster, built in `html.parser` rather than `html5lib` (Jake Howard)
* Remove duplicate 'path' in default_exclude_fields_in_copy (Ramchandra Shahi Thakuri)
* Update unit tests to always use the faster, built in `html.parser` & remove `html5lib` dependency (Jake Howard)
* Adjust Eslint rules for TypeScript files (Karthik Ayangar)
@ -199,6 +199,10 @@ See [](frontend_authentication).
## Upgrade considerations - changes to undocumented internals
### Removal of `html5lib` dependency
Wagtail now uses `html.parser` for its rich text processing, and no longer depends on `html5lib`. If your project relies on `html5lib`, update rich text code to use Wagtails documented rich text APIs like [rewrite handlers](rich_text_rewrite_handlers) and [format converters](rich_text_format_converters). Or update project dependencies to include `html5lib`.
### Deprecation of `user_listing_buttons` template tag
The undocumented `user_listing_buttons` template tag has been deprecated and will be removed in a future release.