All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
- Build failures using the hex package due to CMake cache files accidentally included there
- Changelog is now available at hexdocs
- Breaking: CMake is now required at compile-time due to it being lexbor's build system
- Breaking: namespaces are no longer automatically appended. i.e
<svg> </svg>
will be{"svg", [], []}
instead of{"svg:svg", [], []}
- Breaking: when using
:nil_self_closing
flag, only valid void elements will havenil
in children - Now deprecated myhtml was switched to lexbor
- The worker process now communicates with the node via stdio, instead of TCP, which was known to cause issues on BSD systems
FastHtml.Pool
for fast_html workers. There is a default pool ofSystem.schedulers_online/0
workers, but a custom pool can be started if desired, or it can be disabled altogether. SeeFastHtml.Pool
module documentation for more info
- C-Node not respawning after being killed.
- Incorrect behavior when parsing empty attribute values. Instead of an empty string the attribute name was returned.
:fast_html.decode_fragment
- Errors from C-Node not being reported, timing out instead
- BREAKING:
:fast_html.decode
now returns an array of nodes at the top level, instead of a single node. This was done because it's possible to have more than one root node, for example in (<!-- a comment --> <html> </html>
both the comment and thehtml
tag are root nodes).
- Worker going into infinite loop when decoding a document with more than one root node.