jsoup 1.17.1 #2064
Closed
jhy
started this conversation in
Show and tell
jsoup 1.17.1
#2064
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
jsoup 1.17.1 is out now with support for request-level authentication, attribute name & value source ranges, stream() iterable support, and a bunch of other improvements and bug fixes.
Many thanks to everyone who contributed to this release!
Improvements
Elements
list, added direct support forElements#set(int, Element)
,Elements#remove(int)
,Elements#remove(Object)
,Elements#clear()
,Elements#removeAll()
,Elements#retainAll()
,Elements#removeIf()
,Elements#replaceAll()
. These methods update the original DOM, as well as the Elements list. More.NodeIterator
class for efficient node tree traversal using the Iterator interface. Added StreamElement#stream()
andNode#nodeStream()
methods for fluent composable stream pipelines of node traversals. More.EscapeMode
as default when changing theOutputSettings
syntax toXML
.:is(selector list)
pseudo-selector to find elements that match any selectors in the selector list. This enhances readability for largeOR
ed selectors. More.Range.isImplicit()
. More.Attribute#sourceRange()
provides the ranges. More.ConstrainableInputStream
withControllableInputStream
. More.Jsoup.connect()
to include any XML mimetype. More.Bug Fixes
CDATA
nodes when outputting withXML
syntax. More.>
could match elements above the root context element. More.,
Or combinator in a sub-query were incorrectly skipped. More.W3CDom
where the conversion would fail if the jsoup input document contained an empty doctype. The doctype is now discarded, and the conversion continues.Build Improvements
Changes
Connection.Response.bodyStream()
is now a plainBufferedInputStream
. More.This discussion was created from the release jsoup 1.17.1.
Beta Was this translation helpful? Give feedback.
All reactions