floki v0.24.0 Release Notes

Release Date: 2020-01-01 // over 4 years ago
  • โž• Added

    • Add support for fast_html, which is a "C Node" wrapping Lexborisov's myhtml - thanks @rinpatch
    • โž• Add setup to run our test suite against all parsers on CI - thanks @rinpatch
    • ๐Ÿ“œ Add Floki.parse_document/1 and Floki.parse_fragment/1 in order to correct parse documents ๐Ÿ“œ and fragments of documents - it also prevents the confusion and inconsistency of parse/1.
    • ๐Ÿ”ง Configure dialyxir in order to run Dializer easily.

    ๐Ÿ”„ Changed

    • ๐Ÿ—„ Deprecate Floki.parse/1 and all the functions that uses it underneath. This means that all ๐Ÿ—„ the functions that accepted HTML as binary are deprecated as well. This includes find/2, attr/4, filter_out/2, text/2 and attribute/2. The recommendation is to use those functions with an ๐Ÿ“œ already parsed document or fragment.
    • โœ‚ Remove support for Elixir 1.5.