Skip to content

Commit d79f498

Browse files
committed
Changelog release prep
1 parent 577b154 commit d79f498

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

CHANGES

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
jsoup changelog
22

3-
*** Release 1.10.2 [PENDING]
3+
*** Release 1.10.2 [2017-Jan-02]
44
* Improved startup time, particularly on Android, by reducing garbage generation and CPU execution time when loading
55
the HTML entity files. About 1.72x faster in this area.
66

@@ -13,24 +13,24 @@ jsoup changelog
1313

1414
* Added the new selector :containsData(), to find elements that hold data, like script and style tags.
1515

16+
* Changed Jsoup.isValid(bodyHtml) to validate that the input contains only body HTML that is safe according to the
17+
whitelist, and does not include HTML errors. And in the Jsoup.Cleaner.isValid(Document) method, make sure the doc
18+
only includes body HTML.
19+
<https://github.com/jhy/jsoup/issues/245>
20+
<https://github.com/jhy/jsoup/issues/632>
21+
22+
* In Whitelists, validate that a removed protocol exists before removing said protocol.
23+
1624
* Allow the Jsoup.Connect thread to be interrupted when reading the input stream; helps when reading from a long stream
1725
of data that doesn't read timeout.
1826
<https://github.com/jhy/jsoup/pull/712>
1927

20-
* Jsoup.Connect now uses a desktop user-agent by default. Many users were getting caught by not specifying a
21-
user-agent, and so the default of 'Java' was used. That causes many servers to return different content than what
22-
they would to a desktop browser, and what the developer was expecting.
28+
* Jsoup.Connect now uses a desktop user agent by default. Many developers were getting caught by not specifying the
29+
user agent, and sending the default 'Java'. That causes many servers to return different content than what they would
30+
to a desktop browser, and what the developer was expecting.
2331

2432
* Increased the default connect/read timeout in Jsoup.Connect to 30 seconds.
2533

26-
* In Whitelists, validate that a removed protocol exists before removing said protocol.
27-
28-
* Changed Jsoup.isValid(bodyHtml) to validate that the input contains only body HTML that is safe according to the
29-
whitelist, and does not include HTML errors. And in the Jsoup.Cleaner.isValid(Document) method, make sure the doc
30-
only includes body HTML.
31-
<https://github.com/jhy/jsoup/issues/245>
32-
<https://github.com/jhy/jsoup/issues/632>
33-
3434
* Jsoup.Connect now detects if a header value is actually in UTF-8 vs the HTTP spec of ISO-8859, and converts
3535
the header value appropriately. This improves compatibility with servers that are configured incorrectly.
3636

0 commit comments

Comments
 (0)