Skip to content

Bump floki from 0.37.1 to 0.38.1#129

Merged
ericmj merged 1 commit intomainfrom
dependabot/hex/floki-0.38.1
Mar 29, 2026
Merged

Bump floki from 0.37.1 to 0.38.1#129
ericmj merged 1 commit intomainfrom
dependabot/hex/floki-0.38.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 29, 2026

Bumps floki from 0.37.1 to 0.38.1.

Release notes

Sourced from floki's releases.

v0.38.1

Performance

This version contains major performance improvements in the following functions:

  • Floki.filter_out/2.
  • Floki.find/2 - with some improvements to specific selectors, like classes and attribute selectors.
  • Floki.text/2.

Those functions are not only faster, but are now using less memory. Please check the PRs related to this release if you want to better understand the numbers.

All the improvements in this version were made by Barna Kovacs - @​preciz, so shout out and thanks to him!

Pull requests

New Contributors

Full Changelog: philss/floki@v0.38.0...v0.38.1

v0.38.0

Added

... (truncated)

Changelog

Sourced from floki's changelog.

[0.38.1] - 2026-03-17

Performance

This version contains major performance improvements in the following functions:

  • Floki.filter_out/2.
  • Floki.find/2 - with some improvements to specific selectors, like classes and attribute selectors.
  • Floki.text/2.

Those functions are not only faster, but are now using less memory. Please check the PRs related to this release if you want to better understand the numbers.

All the improvements in this version were made by Barna Kovacs - @​preciz, so shout out and thanks to him!

Fixed

Remove a warning about an unused require Logger that pops up when using Elixir v1.20.

[0.38.0] - 2025-06-14

Added

  • This version adds initial support for the :has pseudo-selector. It is a great addition that enables finding elements containing matching children.

    Examples for selectors:

    • "div:has(h1)"
    • "div:has(h1, p, span)"
    • "div:has(p.foo)"
    • "div:has(img[src='https://example.com'])"
    • "tr:has(*:fl-contains('TEST'))"

    Note that combinators like ">" are not allowed yet.

    Thank you @​bvobart for this feature!

... (truncated)

Commits
  • a3a6291 Release v0.38.1 (#662)
  • a8afbd8 Optimize class matching in Floki.Selector (#665)
  • f50d7f2 Optimize FlatText.get/3 memory usage and speed (#664)
  • d6f8407 Optimize Finder.get_siblings/2 memory usage and speed (#663)
  • 2051793 Fix unused require Logger warning in parser_test.exs (#661)
  • 67c1125 Optimize Finder.get_descendant_ids/2 memory usage and speed (#660)
  • 5eda2f2 Optimize HTMLTree to_tuple conversion using Enum.reduce (#657)
  • 921e932 Enable tuple traversal optimization for multiple selectors (#652)
  • 26b91e8 Speed up attribute lookup (#651)
  • ab1d361 Make filter_out faster (#650)
  • Additional commits viewable in compare view

@dependabot dependabot bot added dependencies Pull requests that update a dependency file elixir Pull requests that update elixir code labels Mar 29, 2026
@ericmj
Copy link
Copy Markdown
Member

ericmj commented Mar 29, 2026

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/hex/floki-0.38.1 branch from 6a69273 to fb9613d Compare March 29, 2026 17:27
Bumps [floki](https://github.com/philss/floki) from 0.37.1 to 0.38.1.
- [Release notes](https://github.com/philss/floki/releases)
- [Changelog](https://github.com/philss/floki/blob/main/CHANGELOG.md)
- [Commits](philss/floki@v0.37.1...v0.38.1)

---
updated-dependencies:
- dependency-name: floki
  dependency-version: 0.38.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/hex/floki-0.38.1 branch from fb9613d to 56570e5 Compare March 29, 2026 17:31
@ericmj ericmj merged commit de2df56 into main Mar 29, 2026
12 checks passed
@ericmj ericmj deleted the dependabot/hex/floki-0.38.1 branch March 29, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file elixir Pull requests that update elixir code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant