fix(deps): update dependency org.jsoup:jsoup to v1.18.2 #1136
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.18.1
->1.18.2
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
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[]
andchar[]
arrays used to read and parse the input. 2186
html()
andEntities.escape()
when the input contains UTF characters in a supplementary plane, byaround 49%. 2183
FormElement.elements()
now reflect changes made to the DOM,subsequently to the original parse. 2140
TreeBuilder
, theonNodeInserted()
andonNodeClosed()
events are now also fired for the outermost /root
Document
node. This enables source position tracking on the Document node (which was previously unset). Andit also enables the node traversor to see the outer Document node. 2182
Elements#set()
. 2212Bug Fixes
Element.cssSelector()
would fail if the element's class contained a*
character. 2169
untracked. 2175
html
, it should be parsed in QuirksMode. 2197
div:has(span + a)
, thehas()
component was not working correctly, as the inner combiningquery caused the evaluator to match those against the outer's siblings, not
children. 2187
:has()
components in a nested:has()
might incorrectlyexecute. 2131
Connection.Response#cookies()
will provide the last one set. Generally it is better to usethe Jsoup.newSession method to maintain a cookie jar, as that
applies appropriate path selection on cookies when making requests. 1831
attribute). 2207
created (
html
orbody
). 2204<
as part of a tag name, instead of emitting it as acharacter node. 2230
<
as the start of an attribute name, vs creating a new element. The previous behavior wasintended 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.
This PR was generated by Mend Renovate. View the repository job log.