chore(deps): update dependency org.jsoup:jsoup to v1.18.2 #43

Merged
Xefir merged 1 commits from renovate/org.jsoup-jsoup-1.x into master 2024-11-27 08:38:14 +00:00
Owner

This PR contains the following updates:

Package Type Update Change
org.jsoup:jsoup (source) dependencies patch 1.18.1 -> 1.18.2

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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [org.jsoup:jsoup](https://jsoup.org/) ([source](https://github.com/jhy/jsoup)) | dependencies | patch | `1.18.1` -> `1.18.2` | --- ### Release Notes <details> <summary>jhy/jsoup (org.jsoup:jsoup)</summary> ### [`v1.18.2`](https://github.com/jhy/jsoup/blob/HEAD/CHANGES.md#1182-2024-Nov-27) ##### 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](https://github.com/jhy/jsoup/pull/2186) - Speed optimized `html()` and `Entities.escape()` when the input contains UTF characters in a supplementary plane, by around 49%. [2183](https://github.com/jhy/jsoup/pull/2183) - The form associated elements returned by `FormElement.elements()` now reflect changes made to the DOM, subsequently to the original parse. [2140](https://github.com/jhy/jsoup/issues/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](https://github.com/jhy/jsoup/pull/2182) - Selected Elements can now be position swapped inline using `Elements#set()`. [2212](https://github.com/jhy/jsoup/issues/2212) ##### Bug Fixes - `Element.cssSelector()` would fail if the element's class contained a `*` character. [2169](https://github.com/jhy/jsoup/issues/2169) - When tracking source ranges, a text node following an invalid self-closing element may be left untracked. [2175](https://github.com/jhy/jsoup/issues/2175) - When a document has no doctype, or a doctype not named `html`, it should be parsed in Quirks Mode. [2197](https://github.com/jhy/jsoup/issues/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](https://github.com/jhy/jsoup/issues/2187) - A selector query that included multiple `:has()` components in a nested `:has()` might incorrectly execute. [2131](https://github.com/jhy/jsoup/issues/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](https://jsoup.org/cookbook/web/request-session) method to maintain a cookie jar, as that applies appropriate path selection on cookies when making requests. [1831](https://github.com/jhy/jsoup/issues/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](https://github.com/jhy/jsoup/issues/2207) - Fixed incorrect tracking of source ranges for attributes merged from late-occurring elements that were implicitly created (`html` or `body`). [2204](https://github.com/jhy/jsoup/issues/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](https://github.com/jhy/jsoup/issues/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](https://github.com/jhy/jsoup/issues/1483) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xODEuNiIsInVwZGF0ZWRJblZlciI6IjM3LjE4MS42IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
Xefir added 1 commit 2024-11-27 06:53:53 +00:00
chore(deps): update dependency org.jsoup:jsoup to v1.18.2
All checks were successful
apk / build (push) Successful in 8m18s
d8c567545e
Xefir merged commit 27376cfe2f into master 2024-11-27 08:38:14 +00:00
Xefir deleted branch renovate/org.jsoup-jsoup-1.x 2024-11-27 08:38:14 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Xefir/sharewithtitle#43
No description provided.