floki v0.29.0 Release Notes

Release Date: 2020-10-02 // 5 months ago
  • โž• Added

    • Add Floki.find_and_update/3 that updates nodes inside a tree, like traverse and update but without allowing changes in the children nodes. There for the tree cannot grow in size, ๐Ÿšš but can have nodes removed.

    ๐Ÿ”„ Changed

    • Deprecate Floki.map/2 because we have now Floki.find_and_update/3 and Floki.traverse_and_update/2 that are powerful APIs. Floki.map/2 can be replaced by Enum.map/2 as well - thanks @josevalim for the idea!
    • โšก๏ธ Update optional dependency fast_html to v2.0.4

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix a bug when parsing a HTML with a XML inside using Mochiweb's parser

    ๐Ÿ‘Œ Improvements

    • โž• Add more typespecs

Previous changes from v0.28.0

  • โž• Added

    • โž• Add suport for :checked pseudo-class selector - thanks @wojtekmach

    ๐Ÿ”„ Changed

    • โฌ‡๏ธ Drop support for Elixir 1.6
    • โšก๏ธ Update version of fast_html to 2.0 in docs and CI - thanks @rinpatch

    ๐Ÿ›  Fixed

    • Fix docs by mentioning HTML nodes supported for traverse_and_update - thanks @hubertlepicki