v8.0.0
Breaking
- The deprecated
FeedHandler
class has been removed #1166- See #1166 for how to migrate.
- Typescript >= 4.5 is now required; see #1242
- The types from
domhandler
anddomutils
have changed, the deprecatednormalizeWhitespace
option was removed #1164 - The parser was updated to no longer concatenate strings. This led to several changes of internal interfaces. #1045
- This reduces the memory overhead when parsing streams, and avoids copying memory.
- Breaking if you were previously extending internals.
Features
htmlparser2
is now a dual CommonJS & ESM module #1165
Other changes
- Updated for
entities
' updated decoding tree structure #1146 - Highlight special close-implies-open logic by @vassudanagunta in #1047
- Update Events/07 test to clarify interpretation of tag end slashes by @vassudanagunta in #1046
- Suggest
parse5
for HTML compliance by @vassudanagunta in #1147
New Contributors
- @vassudanagunta made their first contribution in #1047
Full Changelog: v7.2.0...v8.0.0