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

Bump org.jsoup:jsoup from 1.16.1 to 1.16.2 #68

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 23, 2023

Bumps org.jsoup:jsoup from 1.16.1 to 1.16.2.

Release notes

Sourced from org.jsoup:jsoup's releases.

jsoup 1.16.2

... (truncated)

Changelog

Sourced from org.jsoup:jsoup's changelog.

jsoup changelog

Release 1.16.2 [PENDING]

  • Improvement: optimized the performance of complex CSS selectors, by adding a cost-based query planner. Evaluators are sorted by their relative execution cost, and executed in order of lower to higher cost. This speeds the matching process by ensuring that simpler evaluations (such as a tag name match) are conducted prior to more complex evaluations (such as an attribute regex, or a deep child scan with a :has).

  • Improvement: added support for and tags (and their children). This includes tag namespaces and case preservation on applicable tags and attributes. jhy/jsoup#2008

  • Improvement: when converting jsoup Documents to W3C Documents in W3CDom, HTML documents will be placed in the http://www.w3.org/1999/xhtml namespace by default, per the HTML5 spec. This can be controlled by setting W3CDom#namespaceAware(false). jhy/jsoup#1848

  • Improvement: speed optimized the Structural Evaluators by memoizing previous evaluations. Particularly the ~ (any preceding sibling) and :nth-of-type selectors are improved. jhy/jsoup#1956

  • Improvement: tweaked the performance of the Element nextElementSibling, previousElementSibling, firstElementSibling, lastElementSibling, firstElementChild, and lastElementChild. They now inplace filter/skip in the child-node list, vs having to allocate and scan a complete Element filtered list.

  • Improvement: optimized internal methods that previously called Element.children() to use filter/skip child-node list accessors instead, reducing new Element List allocations.

  • Improvement: tweaked the performance of parsing :pseudo selectors.

  • Improvement: when using the :empty pseudo-selector, blank textnodes are now considered empty. Previously, an element containing any whitespace was not considered empty. jhy/jsoup#1976

  • Improvement: in forms, should be excluded from formData() (and hence from form submissions). jhy/jsoup#2010

  • Improvement: in Safelist, made isSafeTag and isSafeAttribute public methods, for extensibility. jhy/jsoup#1780

  • Bugfix: form elements and empty elements (such as img) did not have their attributes de-duplicated. jhy/jsoup#1950

  • Bugfix: if Document.OutputSettings was cloned from a clone, an NPE would be thrown when used. jhy/jsoup#1964

  • Bugfix: in Jsoup.connect(url), URL paths containing a %2B were incorrectly recoded to a '+', or a '+' was recoded to a ' '. Fixed by reverting to the previous behavior of not encoding supplied paths, other than normalizing to ASCII. jhy/jsoup#1952

... (truncated)

Commits
  • db6dc74 [maven-release-plugin] prepare release jsoup-1.16.2
  • da4e275 Update some URL tests
  • 6ccd158 Escape supplemental characters correctly
  • f0eb6bd Don't recode ascii only strings
  • 9de27fa Only attempt to correct 8559 -> UTF on response headers
  • eff1521 Clear child nodes' parent on parent.empty()
  • 545145a Update testcase
  • 7a83ffe Made getEnforcedAttributes public
  • 8a59792 Make isSafe* public
  • 5f20fcc Prevent noscript tags in Safelist
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot will merge this PR once CI passes on it, as requested by @awelless.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Oct 23, 2023
Copy link
Owner

@awelless awelless left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

Bumps [org.jsoup:jsoup](https://github.com/jhy/jsoup) from 1.16.1 to 1.16.2.
- [Release notes](https://github.com/jhy/jsoup/releases)
- [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES)
- [Commits](jhy/jsoup@jsoup-1.16.1...jsoup-1.16.2)

---
updated-dependencies:
- dependency-name: org.jsoup:jsoup
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/gradle/org.jsoup-jsoup-1.16.2 branch from 34b2731 to 37e6297 Compare October 23, 2023 10:56
Copy link
Owner

@awelless awelless left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot merged commit dcc5552 into master Oct 23, 2023
5 checks passed
@dependabot dependabot bot deleted the dependabot/gradle/org.jsoup-jsoup-1.16.2 branch October 23, 2023 11:04
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 java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant