1
1
jsoup changelog
2
2
3
- *** Release 1.10.2 [PENDING ]
3
+ *** Release 1.10.2 [2017-Jan-02 ]
4
4
* Improved startup time, particularly on Android, by reducing garbage generation and CPU execution time when loading
5
5
the HTML entity files. About 1.72x faster in this area.
6
6
@@ -13,24 +13,24 @@ jsoup changelog
13
13
14
14
* Added the new selector :containsData(), to find elements that hold data, like script and style tags.
15
15
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
+
16
24
* Allow the Jsoup.Connect thread to be interrupted when reading the input stream; helps when reading from a long stream
17
25
of data that doesn't read timeout.
18
26
<https://github.com/jhy/jsoup/pull/712>
19
27
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.
23
31
24
32
* Increased the default connect/read timeout in Jsoup.Connect to 30 seconds.
25
33
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
-
34
34
* Jsoup.Connect now detects if a header value is actually in UTF-8 vs the HTTP spec of ISO-8859, and converts
35
35
the header value appropriately. This improves compatibility with servers that are configured incorrectly.
36
36
0 commit comments