Hacker, author of https://xitter.cf/t.co/gqoEGxZDWk; working on something new. Previously with @awscloud. Also see @jhy@tilde.zone on Mastodon.

NSW, Australia
Joined January 2008
I'm happy to announce that jsoup 1.23.2 is out now! It brings closer alignment with the HTML, XML, URL, and form submission specifications; improves XML and W3C DOM conversion; and makes HTTP workloads more efficient through broader JDK HttpClient reuse.
2
5
141
I've just released #jsoup 1.23.1, with substantial performance and memory improvements across the HTML parser. Against 1.22.2, ordinary string parsing is 18% faster on average in our benchmarks; source-tracked parsing is 70% faster while allocating 64% fewer bytes.
1
2
5
970
Also: improved noscript, SVG, MathML and CDATA parsing; safer HTTP redirects; new DOM APIs; and a Cleaner security fix affecting custom Safelists that permit raw-text elements. The built-ins are unaffected.
1
68
I've just released #jsoup 1.22.2. This release 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.
1
1
90
I'm happy to announce the release of #jsoup 1.22.1! This adds support for the re2j regular expression engine for regex-based CSS selectors, a configurable maximum parser depth, and brings a bunch of bug fixes and improvements.
1
1
2
247
Details at jsoup.org/news/release-1.22.… This release marks 15 years of jsoup development.
1
141
Happy to announce that #jsoup 1.21.2 is out! Adds custom SSLContext support in HTTP/2 connections, brings DOM/fragment parsing perf gains, and fixes some edge cases in parsing, traversal, cloning, and concurrent reads. jsoup.org/news/release-1.21.…
5
180
Very happy to announce that I've just released jsoup 1.20.1! Lots of improvements and bug fixes -- improved HTML parse rules to align with modern browsers, improved XML namespace handling, and a redesigned HTML pretty-printer for better consistency and customizability.
1
1
6
190
This release also delivers performance optimizations, new API enhancements such as flexible tag definitions via TagSet, concise CSS selectors, and parser thread-safety improvements. Big thanks to everyone who helped out. jsoup.org/news/release-1.20.…
1
87
The next version of #jsoup will (finally!) support making http/2 requests, if you're running on Java 11+. It still works down to Java 8 if you need that.
2
1
4
139
It's a drop-in update with no changes required for existing Jsoup.connect() code, other than setting a system property (jsoup.useHttpClient) to enable.
1
64
The implementation uses Java's multi-release JAR feature to make requests via the HttpClient impl if it's available, or will fallback to the current HttpURLConnection. This also gives a path to http/3 support when that PEP lands in Java. github.com/jhy/jsoup/pull/22…
1
64
I've been working on improving parse throughput and reducing memory allocations in jsoup (Java HTML parser) by recycling char[] and byte[] buffers between invocations—avoiding unnecessary heap allocations and garbage collection. Details: github.com/jhy/jsoup/pull/21…
1
2
131
As a result, heap allocations (bytes/op) are down by -6% to -89%, and throughput has improved by -2% to +143% (with the biggest gains for smaller inputs). These improvements will be in the next release of jsoup, 1.18.2 (coming soon!)
1
2
73