All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
- Regression of the gcc 10 fix in the hex package, due to an outdated submodule on the publishing machine
- Improved error message on make errors
- lexbor compilation errors with gcc 10
- Inability to use the library with distillery releases due to priv dir being in the source code
- 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_closingflag, only valid void elements will havenilin 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.Poolfor fast_html workers. There is a default pool ofSystem.schedulers_online/0workers, but a custom pool can be started if desired, or it can be disabled altogether. SeeFastHtml.Poolmodule 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.decodenow 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 thehtmltag are root nodes).
- Worker going into infinite loop when decoding a document with more than one root node.