Skip to content

Releases: philss/floki

v0.35.4

20 Feb 02:04
v0.35.4
b66034f

Choose a tag to compare

Fixed

  • Fix regression in the order of elements in Floki.find/2

Pull requests

Full Changelog: v0.35.3...v0.35.4

v0.35.3

25 Jan 20:29
3bdbc28

Choose a tag to compare

This release has great performance improvements, thanks to the PRs
from @ypconstante!

Most of the main functions, such as Floki.raw_html/2 and Floki.find/2 are
faster and are using less memory. It's something like twice as fast, and half
usage of memory for find/2, for example.

Fixed

  • Add :leex to Mix compilers. Fixes the build when running with dev version of Elixir.
    Thanks @wojtekmach.

  • Fix Floki.raw_html/2 when a tree using attributes as maps is given.
    Thanks @SupaMic.

  • Add a guard to Floki.find/2 so people can have a better error message when an
    invalid input is given. Thanks @Hajto.

  • Fix parsers to consider IO data as inputs. This may change in the next version
    of Floki, as I plan to drop support for IO data.
    Thanks @ypconstante.

Removed

  • Remove outdated Gleam wrapper code. The external functions syntax in Gleam
    has changed. So now
    the wrapper is not needed anymore.
    Thanks @michallepicki.

Pull requests

New Contributors

Full Changelog: v0.35.2...v0.35.3

v0.35.0

13 Oct 18:17
bc410df

Choose a tag to compare

Added

  • Add support for parsing attributes as maps.

    This makes parse_document/2 and parse_fragment/2 accept the option
    :attributes_as_maps to change the behaviour and return attributes as
    maps instead of lists of tuples.
    The only parser that does not support it yet is the fast_html.

Changed

  • Drop support for Elixir v1.11.

  • Change the log level of parsing logger calls from "info" to "debug".
    This will help to reduce the amount of noise in production apps.

Pull requests

Full Changelog: v0.34.3...v0.35.0
Official Changelog: https://hexdocs.pm/floki/changelog.html

v0.34.3

02 Jun 20:59
fc07c14

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.34.2...v0.34.3
Official Changelog: https://github.com/philss/floki/blob/main/CHANGELOG.md

v0.34.2

24 Feb 21:21
eb0f61b

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.34.1...v0.34.2

v0.34.1

24 Feb 21:12
4e0f0ea

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.34.0...v0.34.1

v0.34.0

03 Nov 19:51
9182671

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.33.1...v0.34.0
Official Changelog*: https://hexdocs.pm/floki/changelog.html

v0.33.0

28 Jun 14:57
5a04965

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://hexdocs.pm/floki/changelog.html
Full Diff: v0.32.1...v0.33.0

v0.32.1

28 Mar 22:14
61cd712

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://hexdocs.pm/floki/changelog.html
Diff: v0.32.0...v0.32.1

PS: this was published on 2022-03-24. I forgot to release here on GitHub.

v0.32.0

18 Oct 17:16
v0.32.0
a30a7b8

Choose a tag to compare

Added

  • Add an HTML tokenizer written in Elixir - this still experimental and it's not stable API yet.
  • Add support for HTML IDs containing periods in the selectors - thanks @Hugo-Hache
  • Add support for case-insensitive CSS attribute selectors - thanks @fcapovilla
  • Add the :root pseudo-class selector - thanks @fcapovilla

Full Changelog: v0.31.0...v0.32.0

This is the first release using GitHub releases. The project will keep using the CHANGELOG.md file for documenting the changes - see it from our HexDocs page here: https://hexdocs.pm/floki/changelog.html

Happy hacking! :)