Skip to content

chore(deps): update dependency floki to v0.38.0#117

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/floki-0.x-lockfile
Open

chore(deps): update dependency floki to v0.38.0#117
renovate[bot] wants to merge 1 commit intomainfrom
renovate/floki-0.x-lockfile

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Mar 23, 2025

This PR contains the following updates:

Package Type Update Change
floki (source) dev minor 0.37.0 -> 0.38.0

Release Notes

philss/floki (floki)

v0.38.0

Compare Source

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!

Fixed
  • Add :style option documentation to Floki.text/2.
    Thanks @​s3cur3 for the fix.

  • Fix deprecation warnings for upcoming Elixir 1.19.

  • Prevent from crashing when selector is an empty string.

Removed
  • Remove support for Elixir 1.14 and OTP 23.

  • Remove deprecated functions and function clauses
    that were accepting strings (binaries).

    Affected functions:

    • parse/1 - removed function
    • map/2 - removed function
    • attr/4 - removed clause
    • find/2 - removed clause
    • text/3 - removed clause
    • text/3 - removed clause
    • attribute/2 - removed clause
    • filter_out/2 - removed clause
  • HTML must be parsed before searching. Functions like Floki.find/2,
    Floki.attribute/2, and other HTML manipulation functions no longer work
    directly with HTML strings
    . The HTML must be parsed first using
    Floki.parse_fragment/2 or Floki.parse_document/2.

    Before:

    html = "<div class='foobar'><p>Hello</p></div>"
    Floki.find(html, "p")
    Floki.attribute(html, "div", "class")

    After:

    html = "<div class='foobar'><p>Hello</p></div>"
    parsed_html = Floki.parse_fragment!(html)
    Floki.find(parsed_html, "p")
    Floki.attribute(parsed_html, "div", "class")

v0.37.1

Compare Source

Fixed
  • Move regex declaration from module tag to inside function.
    This is a fix to be compatible with the upcoming OTP 28.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from Clivern as a code owner March 23, 2025 00:53
@renovate renovate bot force-pushed the renovate/floki-0.x-lockfile branch from 48376e7 to 7b92aa1 Compare April 1, 2025 09:30
@renovate renovate bot force-pushed the renovate/floki-0.x-lockfile branch from 7b92aa1 to 160f8b8 Compare June 15, 2025 06:54
@renovate renovate bot changed the title chore(deps): update dependency floki to v0.37.1 chore(deps): update dependency floki to v0.38.0 Jun 15, 2025
@renovate renovate bot force-pushed the renovate/floki-0.x-lockfile branch from 160f8b8 to 78f6c3e Compare August 10, 2025 13:02
@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Nov 6, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Base automatically changed from release/v0.0.1 to main November 7, 2025 20:08
An error occurred while trying to automatically change base from release/v0.0.1 to main November 7, 2025 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants