floki v0.18.0 Release Notes

Release Date: 2017-08-05 // over 6 years ago
  • โž• Added

    • โž• Added Floki.attr/4 that receives a function enabling manipulation of attribute values - thanks @erikdsi.
    • Implement the String.Chars protocol for Floki.Selector.
    • Implement the Enumerable protocol for Floki.HTMLTree.

    ๐Ÿ”„ Changed

    • ๐Ÿ”„ Changed Floki.transform/2 to Floki.map/2 and Floki.Finder.apply_transform/2 to Floki.Finder.map/2 - thanks @aphillipo.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix Floki.raw_html/1 to consider XML prefixes - thanks @sergey-kintsel.
    • ๐Ÿ›  Fix raw_html for self closing tags with content - thanks @navinpeiris.

    โœ‚ Removed

    • โœ‚ Removed support for Elixir 1.2.