Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency org.jsoup:jsoup to v1.18.2 #3795

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 27, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.jsoup:jsoup (source) 1.18.1 -> 1.18.2 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

jhy/jsoup (org.jsoup:jsoup)

v1.18.2

Improvements
  • Optimized the throughput and memory use throughout the input read and parse flows, with heap allocations and GC
    down between -6% and -89%, and throughput improved up to +143% for small inputs. Most inputs sizes will see
    throughput increases of ~ 20%. These performance improvements come through recycling the backing byte[] and char[]
    arrays used to read and parse the input. 2186
  • Speed optimized html() and Entities.escape() when the input contains UTF characters in a supplementary plane, by
    around 49%. 2183
  • The form associated elements returned by FormElement.elements() now reflect changes made to the DOM,
    subsequently to the original parse. 2140
  • In the TreeBuilder, the onNodeInserted() and onNodeClosed() events are now also fired for the outermost /
    root Document node. This enables source position tracking on the Document node (which was previously unset). And
    it also enables the node traversor to see the outer Document node. 2182
  • Selected Elements can now be position swapped inline using
    Elements#set(). 2212
Bug Fixes
  • Element.cssSelector() would fail if the element's class contained a *
    character. 2169
  • When tracking source ranges, a text node following an invalid self-closing element may be left
    untracked. 2175
  • When a document has no doctype, or a doctype not named html, it should be parsed in Quirks
    Mode. 2197
  • With a selector like div:has(span + a), the has() component was not working correctly, as the inner combining
    query caused the evaluator to match those against the outer's siblings, not
    children. 2187
  • A selector query that included multiple :has() components in a nested :has() might incorrectly
    execute. 2131
  • When cookie names in a response are duplicated, the simple view of cookies available via
    Connection.Response#cookies() will provide the last one set. Generally it is better to use
    the Jsoup.newSession method to maintain a cookie jar, as that
    applies appropriate path selection on cookies when making requests. 1831
  • When parsing named HTML entities, base entities should resolve if they are a prefix of the input token (and not in an
    attribute). 2207
  • Fixed incorrect tracking of source ranges for attributes merged from late-occurring elements that were implicitly
    created (html or body). 2204
  • Follow the current HTML specification in the tokenizer to allow < as part of a tag name, instead of emitting it as a
    character node. 2230
  • Similarly, allow a < as the start of an attribute name, vs creating a new element. The previous behavior was
    intended to parse closer to what we anticipated the author's intent to be, but that does not align to the spec or to
    how browsers behave. 1483

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 added the dependencies Pull requests that update a dependency file label Nov 27, 2024
Copy link

codecov bot commented Nov 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 41.60%. Comparing base (5d79459) to head (44a0e20).
Report is 4 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3795      +/-   ##
===========================================
- Coverage    41.61%   41.60%   -0.01%     
===========================================
  Files          450      450              
  Lines        11856    11856              
  Branches      2589     2589              
===========================================
- Hits          4934     4933       -1     
  Misses        6080     6080              
- Partials       842      843       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@frett frett enabled auto-merge (rebase) November 27, 2024 16:37
@frett frett merged commit 38a077a into develop Nov 27, 2024
12 checks passed
@frett frett deleted the renovate/org.jsoup-jsoup-1.x branch November 27, 2024 16:37
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant