All Versions
52
Latest Version
Avg Release Cycle
48 days
Latest Release
48 days ago

Changelog History
Page 1

  • v0.26.0

    February 17, 2020

    ➕ Added

    • ➕ Add support for the pseudo-class selectors :nth-last-child and :nth-last-of-type

    🛠 Fixed

    • Fix the typespecs of Floki.traverse_and_update/3 - thanks @RichMorin

    🔄 Changed

    • ⚡️ Update optional dependency fast_html to v1.0.3
  • v0.25.0

    January 26, 2020

    ➕ Added

    • 📜 Add Floki.parse_fragment!/1 and Floki.parse_document!/1 that has the same functionality of the functions without the bang, but they return the document or fragment without the either tuple 👻 and will raise exception in case of errors - thanks @schneiderderek
    • Add Floki.traverse_and_update/3 which accepts an accumulator which is useful to keep the state while traversing the HTML tree - thanks @Dalgona

    🔄 Changed

    • ⚡️ Update the html_entities dependency from v0.5.0 to v0.5.1
  • v0.24.0

    January 01, 2020

    ➕ 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.
  • v0.23.1

    December 01, 2019

    🛠 Fixed

    • 📜 It fixes the Mochiweb parser when there is an invalid charref.
  • v0.23.0

    September 11, 2019

    🔄 Changed

    • ✂ Remove mochiweb as a hex dependency. It brings the code from the original project to Floki's codebase - thanks @josevalim
  • v0.22.0

    August 21, 2019

    ➕ Added

    • Add Floki.traverse_and_update/2 that works in similar way to Floki.map/2 but ⚡️ traverse the tree and update the children elements. The difference from "map" is that this function can create a tree with more or less nodes. - thanks @ericlathrop

    🔄 Changed

    • ✂ Remove support for Elixir 1.4.
  • v0.21.0

    April 18, 2019

    ➕ Added

    • ➕ Add a possibility to filter style tags on Floki.text/2 - thanks @Vict0rynox

    🛠 Fixed

    • 🛠 Fix Floki.text/2 to consider the previous filter of js when filtering style - thanks @Vict0rynox
    • 🛠 Fix typespecs for Floki.filter_out/2 - thanks @myfreeweb

    🔄 Changed

    • ⬇️ Drop support for Elixir 1.3 and below - thanks @herbstrith
  • v0.20.4

    September 24, 2018

    🛠 Fixed

    • 🛠 Fix Floki.raw_html to accept lists as attribute values - thanks @katehedgpeth
  • v0.20.3

    June 22, 2018

    🛠 Fixed

    • 🛠 Fix style and script tags with comments - thanks @francois2metz
  • v0.20.2

    May 10, 2018

    🛠 Fixed

    • 🛠 Fix Floki.raw_html/1 to correct handle quotes and double quotes on attributes - thanks @grych