Skip to content

Commit

Permalink
Add mention of html5lib in upgrade considerations (wagtail#12031)
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudcolas authored Jun 11, 2024
1 parent 33967fc commit 79ac41a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/releases/6.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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 Wagtail’s 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.
Expand Down

0 comments on commit 79ac41a

Please sign in to comment.