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 jsoup from 1.15.4 to 1.16.1 #414

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 17, 2023

Bumps jsoup from 1.15.4 to 1.16.1.

Release notes

Sourced from jsoup's releases.

jsoup 1.16.1

Changelog

Sourced from 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: 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 preceeding 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.

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

  • Change: removed previously deprecated methods Document#normalise, Element#forEach(org.jsoup.helper.Consumer<>), Node#forEach(org.jsoup.helper.Consumer<>), and the org.jsoup.helper.Consumer interface; the latter being a previously required compatibility shim prior to Android's de-sugaring support.

Release 1.16.1 [29-Apr-2023]

  • Improvement: in Jsoup.connect(url), natively support URLs with Unicode characters in the path or query string, without having to be escaped by the caller. jhy/jsoup#1914

  • Improvement: Calling Node.remove() on a node with no parent is now a no-op, vs a validation error. jhy/jsoup#1898

  • Bugfix: aligned the HTML Tree Builder processing steps for AfterBody and AfterAfterBody to the updated WHATWG standard, to not pop the stack to close or elements. This prevents an errant closing preceding structure. Also added appropriate error message outputs in this case. jhy/jsoup#1851

  • Bugfix: Corrected support for ruby elements (, , , and ) to current spec. jhy/jsoup#1294

  • Bugfix: When using Node.before(node) or Node.after(node), if the incoming node was a sibling of the context node,

... (truncated)

Commits
  • 062ebdb [maven-release-plugin] prepare release jsoup-1.16.1
  • 8e2b868 Nested inlineable elements should indent
  • d9544a4 Fixed an assert
  • f0ae81b Check the buffer is fully read if looking for absent content
  • 78aeac1 Test for end source range
  • 907d09e Add new tests for CharacterReader (#1931)
  • e92c363 Bump animal-sniffer-maven-plugin from 1.22 to 1.23 (#1924)
  • 321be7c Bump maven-resources-plugin from 3.3.0 to 3.3.1 (#1925)
  • c93ea51 Clone Token.Characters into PendingTableCharacters
  • dea4969 Updated AfterBody and AfterAfterBody to current spec
  • 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 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 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)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 17, 2023
@sokomishalov sokomishalov merged commit 68406a8 into master Jul 17, 2023
@delete-merged-branch delete-merged-branch bot deleted the dependabot/maven/org.jsoup-jsoup-1.16.1 branch July 17, 2023 09:03
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