Skip to content

chore(deps): bump org.jsoup:jsoup from 1.22.1 to 1.22.2#781

Merged
mergify[bot] merged 1 commit into
mainfrom
dependabot/maven/org.jsoup-jsoup-1.22.2
May 3, 2026
Merged

chore(deps): bump org.jsoup:jsoup from 1.22.1 to 1.22.2#781
mergify[bot] merged 1 commit into
mainfrom
dependabot/maven/org.jsoup-jsoup-1.22.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 23, 2026

Copy link
Copy Markdown
Contributor

Bumps org.jsoup:jsoup from 1.22.1 to 1.22.2.

Release notes

Sourced from org.jsoup:jsoup's releases.

jsoup Java HTML Parser release 1.22.2

jsoup 1.22.2 is out now, with fixes and refinements across the library. It makes editing the DOM during traversal more predictable, refreshes the default HTML tag definitions with newer elements and better text boundaries, and improves reliability in parsing and HTTP transport. The release also fixes a number of edge cases in cleaning, stream parsing, XML doctype handling, and Android packaging.

jsoup is a Java library for working with real-world HTML and XML. It provides a very convenient API for extracting and manipulating data, using the best of HTML5 DOM methods and CSS selectors.

Download jsoup now.

Improvements

  • Expanded and clarified NodeTraversor support for in-place DOM rewrites during NodeVisitor.head(). Current-node edits such as remove, replace, and unwrap now recover more predictably, while traversal stays within the original root subtree. This makes single-pass tree cleanup and normalization visitors easier to write, for example when unwrapping presentational elements or replacing text nodes as you walk the DOM. #2472
  • Documentation: clarified that a configured Cleaner may be reused across concurrent threads, and that shared Safelist instances should not be mutated while in use. #2473
  • Updated the default HTML TagSet for current HTML elements: added dialog, search, picture, and slot; made ins, del, button, audio, video, and canvas inline by default (Tag#isInline(), aligned to phrasing content in the spec); and added readable Element.text() boundaries for controls and embedded objects via the new Tag.TextBoundary option. This improves pretty-printing and keeps normalized text from running adjacent words together. #2493

Bug Fixes

  • Android (R8/ProGuard): added a rule to ignore the optional re2j dependency when not present. #2459
  • Fixed a NodeTraversor regression in 1.21.2 where removing or replacing the current node during head() could revisit the replacement node and loop indefinitely. The traversal docs now also clarify which inserted nodes are visited in the current pass. #2472
  • Parsing during charset sniffing no longer fails if an advisory available() call throws IOException, as seen on JDK 8 HttpURLConnection. #2474
  • Cleaner no longer makes relative URL attributes in the input document absolute when cleaning or validating a Document. URL normalization now applies only to the cleaned output, and Safelist.isSafeAttribute() is side effect free. #2475
  • Cleaner no longer duplicates enforced attributes when the input Document preserves attribute case. A case-variant source attribute is now replaced by the enforced attribute in the cleaned output. #2476
  • If a per-request SOCKS proxy is configured, jsoup now avoids using the JDK HttpClient, because the JDK would silently ignore that proxy and attempt to connect directly. Those requests now fall back to the legacy HttpURLConnection transport instead, which does support SOCKS. #2468
  • Connection.Response.streamParser() and DataUtil.streamParser(Path, ...) could fail on small inputs without a declared charset, if the initial 5 KB charset sniff fully consumed the input and closed it before the stream parse began. #2483
  • In XML mode, doctypes with an internal subset, such as <!DOCTYPE root [<!ENTITY name "value">]>, now round-trip correctly. The subset is preserved as raw text only; entities are not expanded and external DTDs are not loaded. #2486

Build Changes

  • Migrated the integration test server from Jetty to Netty, which actively maintains support for our minimum JDK target (8). #2491

My sincere thanks to everyone who contributed to this release! If you have any suggestions for the next release, I would love to hear them; please get in touch via jsoup discussions, or with me directly.

You can also follow me (@jhy@tilde.zone) on Mastodon / Fediverse to receive occasional notes about jsoup releases.

Changelog

Sourced from org.jsoup:jsoup's changelog.

1.22.2 (2026-Apr-20)

Improvements

  • Expanded and clarified NodeTraversor support for in-place DOM rewrites during NodeVisitor.head(). Current-node edits such as remove, replace, and unwrap now recover more predictably, while traversal stays within the original root subtree. This makes single-pass tree cleanup and normalization visitors easier to write, for example when unwrapping presentational elements or replacing text nodes as you walk the DOM. #2472
  • Documentation: clarified that a configured Cleaner may be reused across concurrent threads, and that shared Safelist instances should not be mutated while in use. #2473
  • Updated the default HTML TagSet for current HTML elements: added dialog, search, picture, and slot; made ins, del, button, audio, video, and canvas inline by default (Tag#isInline(), aligned to phrasing content in the spec); and added readable Element.text() boundaries for controls and embedded objects via the new Tag.TextBoundary option. This improves pretty-printing and keeps normalized text from running adjacent words together. #2493

Bug Fixes

  • Android (R8/ProGuard): added a rule to ignore the optional re2j dependency when not present. #2459
  • Fixed a NodeTraversor regression in 1.21.2 where removing or replacing the current node during head() could revisit the replacement node and loop indefinitely. The traversal docs now also clarify which inserted nodes are visited in the current pass. #2472
  • Parsing during charset sniffing no longer fails if an advisory available() call throws IOException, as seen on JDK 8 HttpURLConnection. #2474
  • Cleaner no longer makes relative URL attributes in the input document absolute when cleaning or validating a Document. URL normalization now applies only to the cleaned output, and Safelist.isSafeAttribute() is side effect free. #2475
  • Cleaner no longer duplicates enforced attributes when the input Document preserves attribute case. A case-variant source attribute is now replaced by the enforced attribute in the cleaned output. #2476
  • If a per-request SOCKS proxy is configured, jsoup now avoids using the JDK HttpClient, because the JDK would silently ignore that proxy and attempt to connect directly. Those requests now fall back to the legacy HttpURLConnection transport instead, which does support SOCKS. #2468
  • Connection.Response.streamParser() and DataUtil.streamParser(Path, ...) could fail on small inputs without a declared charset, if the initial 5 KB charset sniff fully consumed the input and closed it before the stream parse began. #2483
  • In XML mode, doctypes with an internal subset, such as <!DOCTYPE root [<!ENTITY name "value">]>, now round-trip correctly. The subset is preserved as raw text only; entities are not expanded and external DTDs are not loaded. #2486

Build Changes

  • Migrated the integration test server from Jetty to Netty, which actively maintains support for our minimum JDK target (8). #2491
Commits
  • ac28afe [maven-release-plugin] prepare release jsoup-1.22.2
  • 52f2cd3 Improve entity example in changelog
  • cf6ffe0 Add Tag#TextBoundary option; bring TagSet to spec (#2493)
  • 2be739c Bump github/codeql-action from 4 to 4.35.1 (#2492)
  • 45de7cb Migrate integration test server from Jetty to Netty (#2491)
  • 1df14ed Preserve XML doctype internal subset
  • 06fa52d Adding Contribution Guide
  • d4a8941 Simplify the test; doesn't need the buffer
  • 823709f Don't reuse a fully read sniffed doc for StreamParser
  • e1b0df5 NodeFilter javadoc tweak
  • 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 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)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Apr 23, 2026
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@mergify mergify Bot merged commit a317a3f into main May 3, 2026
11 of 14 checks passed
@dependabot dependabot Bot deleted the dependabot/maven/org.jsoup-jsoup-1.22.2 branch May 3, 2026 09:28
mergify Bot added a commit that referenced this pull request Jun 10, 2026
…ip ci]

Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.6.1 to 3.0.0.
Release notes

*Sourced from [softprops/action-gh-release's releases](https://github.com/softprops/action-gh-release/releases).*

> v3.0.0
> ------
>
> `3.0.0` is a major release that moves the action runtime from Node 20 to Node 24.
> Use `v3` on GitHub-hosted runners and self-hosted fleets that already support the
> Node 24 Actions runtime. If you still need the last Node 20-compatible line, stay on
> `v2.6.2`.
>
> What's Changed
> --------------
>
> ### Other Changes 🔄
>
> * Move the action runtime and bundle target to Node 24
> * Update `@types/node` to the Node 24 line and allow future Dependabot updates
> * Keep the floating major tag on `v3`; `v2` remains pinned to the latest `2.x` release
>
> v2.6.2
> ------
>
> What's Changed
> --------------
>
> ### Other Changes 🔄
>
> * chore(deps): bump picomatch from 4.0.3 to 4.0.4 by [`@​dependabot`](https://github.com/dependabot)[bot] in [softprops/action-gh-release#775](https://redirect.github.com/softprops/action-gh-release/pull/775)
> * chore(deps): bump brace-expansion from 5.0.4 to 5.0.5 by [`@​dependabot`](https://github.com/dependabot)[bot] in [softprops/action-gh-release#777](https://redirect.github.com/softprops/action-gh-release/pull/777)
> * chore(deps): bump vite from 8.0.0 to 8.0.5 by [`@​dependabot`](https://github.com/dependabot)[bot] in [softprops/action-gh-release#781](https://redirect.github.com/softprops/action-gh-release/pull/781)
>
> **Full Changelog**: <softprops/action-gh-release@v2...v2.6.2>


Changelog

*Sourced from [softprops/action-gh-release's changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md).*

> 3.0.0
> -----
>
> `3.0.0` is a major release that moves the action runtime from Node 20 to Node 24.
> Use `v3` on GitHub-hosted runners and self-hosted fleets that already support the
> Node 24 Actions runtime. If you still need the last Node 20-compatible line, stay on
> `v2.6.2`.
>
> What's Changed
> --------------
>
> ### Other Changes 🔄
>
> * Move the action runtime and bundle target to Node 24
> * Update `@types/node` to the Node 24 line and allow future Dependabot updates
> * Keep the floating major tag on `v3`; `v2` remains pinned to the latest `2.x` release
>
> 2.6.2
> -----
>
> What's Changed
> --------------
>
> ### Other Changes 🔄
>
> * chore(deps): bump picomatch from 4.0.3 to 4.0.4 by [`@​dependabot`](https://github.com/dependabot)[bot] in [softprops/action-gh-release#775](https://redirect.github.com/softprops/action-gh-release/pull/775)
> * chore(deps): bump brace-expansion from 5.0.4 to 5.0.5 by [`@​dependabot`](https://github.com/dependabot)[bot] in [softprops/action-gh-release#777](https://redirect.github.com/softprops/action-gh-release/pull/777)
> * chore(deps): bump vite from 8.0.0 to 8.0.5 by [`@​dependabot`](https://github.com/dependabot)[bot] in [softprops/action-gh-release#781](https://redirect.github.com/softprops/action-gh-release/pull/781)
>
> 2.6.1
> -----
>
> `2.6.1` is a patch release focused on restoring linked discussion thread creation when
> `discussion_category_name` is set. It fixes `[#764](https://github.com/softprops/action-gh-release/issues/764)`, where the draft-first publish flow
> stopped carrying the discussion category through the final publish step.
>
> If you still hit an issue after upgrading, please open a report with the bug template and include a minimal repro or sanitized workflow snippet where possible.
>
> What's Changed
> --------------
>
> ### Bug fixes 🐛
>
> * fix: preserve discussion category on publish by [`@​chenrui333`](https://github.com/chenrui333) in [softprops/action-gh-release#765](https://redirect.github.com/softprops/action-gh-release/pull/765)
>
> 2.6.0
> -----
>
> `2.6.0` is a minor release centered on `previous_tag` support for `generate_release_notes`,
> which lets workflows pin GitHub's comparison base explicitly instead of relying on the default range.
> It also includes the recent concurrent asset upload recovery fix, a `working_directory` docs sync,
> a checked-bundle freshness guard for maintainers, and clearer immutable-prerelease guidance where
> GitHub platform behavior imposes constraints on how prerelease asset uploads can be published.
>
> If you still hit an issue after upgrading, please open a report with the bug template and include a minimal repro or sanitized workflow snippet where possible.
>
> What's Changed
> --------------

... (truncated)


Commits

* [`b430933`](softprops/action-gh-release@b430933) release: cut v3.0.0 for Node 24 upgrade ([#670](https://redirect.github.com/softprops/action-gh-release/issues/670))
* [`c2e35e0`](softprops/action-gh-release@c2e35e0) chore(deps): bump the npm group across 1 directory with 7 updates ([#783](https://redirect.github.com/softprops/action-gh-release/issues/783))
* [`3bb1273`](softprops/action-gh-release@3bb1273) release 2.6.2
* [`c34030f`](softprops/action-gh-release@c34030f) chore: bump node to 24.14.1
* [`8975bd0`](softprops/action-gh-release@8975bd0) chore(deps): bump vite from 8.0.0 to 8.0.5 ([#781](https://redirect.github.com/softprops/action-gh-release/issues/781))
* [`f71937f`](softprops/action-gh-release@f71937f) chore(deps): bump brace-expansion from 5.0.4 to 5.0.5 ([#777](https://redirect.github.com/softprops/action-gh-release/issues/777))
* [`3f0d239`](softprops/action-gh-release@3f0d239) chore(deps): bump picomatch from 4.0.3 to 4.0.4 ([#775](https://redirect.github.com/softprops/action-gh-release/issues/775))
* See full diff in [compare view](softprops/action-gh-release@153bb8e...b430933)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=softprops/action-gh-release&package-manager=github\_actions&previous-version=2.6.1&new-version=3.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
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 show  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)
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 dependency_approved java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant