Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
2-2-0-2023-04-08
[2.2.0] - 2023-04-08
changed
Changed
- Updated vendored lexbor to 2.2.0
2-0-4-2020-09-01
[2.0.4] - 2020-09-01
Fixed
- Regression of the gcc 10 fix in the hex package, due to an outdated submodule on the publishing machine
2-0-3-2020-08-30
[2.0.3] - 2020-08-30
changed-1
Changed
- Improved error message on make errors
2-0-2-2020-08-26
[2.0.2] - 2020-08-26
fixed
Fixed
- lexbor compilation errors with gcc 10
- Inability to use the library with distillery releases due to priv dir being in the source code
2-0-1-2020-08-04
[2.0.1] - 2020-08-04
fixed-1
Fixed
- Build failures using the hex package due to CMake cache files accidentally included there
added
Added
- Changelog is now available at hexdocs
2-0-0-2020-08-01
[2.0.0] - 2020-08-01
changed-2
Changed
- 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
added-1
Added
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
1-0-3-2020-02-10
[1.0.3] - 2020-02-10
fixed-2
Fixed
- C-Node not respawning after being killed.
1-0-2-2020-02-10
[1.0.2] - 2020-02-10
fixed-3
Fixed
- Incorrect behavior when parsing empty attribute values. Instead of an empty string the attribute name was returned.
1-0-1-2019-12-11
[1.0.1] - 2019-12-11
added-2
Added
:fast_html.decode_fragment
fixed-4
Fixed
- Errors from C-Node not being reported, timing out instead
1-0-0-2019-12-02
[1.0.0] - 2019-12-02
changed-3
Changed
- 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).
fixed-5
Fixed
- Worker going into infinite loop when decoding a document with more than one root node.