| | | |
Offset 1, 10 lines modified | Offset 1, 56 lines modified |
1 | jsoup·changelog | 1 | jsoup·changelog |
| |
2 | ****·Release·1.12.2·[PENDING] | 2 | ***·Release·1.13.1·[PENDING] |
| 3 | ··*·Improvement:·added·Element#closest(selector),·which·walks·up·the·tree·to·find·the·nearest·element·matching·the |
| 4 | ····selector. |
| 5 | ····<https://github.com/jhy/jsoup/issues/1326> |
| |
| 6 | ··*·Improvement:·memory·optimizations,·reducing·the·retained·size·of·a·Document·by·~·39%,·and·allocations·by·~·9%: |
| 7 | ······1.·Attributes·holder·in·Elements·is·only·created·if·the·element·has·attributes |
| 8 | ······2.·Only·track·the·baseUri·in·an·element·when·it·is·set·via·DOM·to·a·new·value·for·a·given·tree |
| 9 | ······3.·After·parsing,·do·not·retain·the·input·character·reader·(and·associated·buffers)·in·the·Document#parser |
| |
| 10 | ··*·Improvement:·substantial·parse·speed·improvements·vs·1.12.x·(bringing·back·to·par·with·previous·releases). |
| 11 | ····<https://github.com/jhy/jsoup/issues/1327> |
| |
| 12 | ··*·Improvement:·when·pretty-printing,·comments·in·inline·tags·are·not·pushed·to·a·newline |
| |
| 13 | ··*·Improvement:·added·Attributes#hasDeclaredValueForKey(key)·and·Attribute#hasDeclaredValueForKeyIgnoreCase(),·to·check |
| 14 | ····if·an·attribute·is·set·but·has·no·value.·Useful·in·place·of·the·deprecated·and·removed·BooleanAttribute·class·and |
| 15 | ····instanceof·test. |
| |
| 16 | ··*·Improvement:·removed·old·methods·and·classes·that·were·marked·deprecated·in·previous·releases. |
| |
| 17 | ··*·Improvement:·added·Element#select(Evaluator)·and·Element#selectFirst(Evaluator),·to·allow·re-use·of·a·parsed·CSS |
| 18 | ····selector·if·using·the·same·evaluator·many·times. |
| 19 | ····<https://github.com/jhy/jsoup/issues/1319> |
| |
| 20 | ··*·Improvement:·added·Elements#forms(),·Elements#textNodes(),·Elements#dataNodes(),·and·Elements#comments(),·as·a |
| 21 | ····convenient·way·to·get·access·to·these·node·types·directly·from·an·element·selection. |
| |
| 22 | ··*·Improvement:·preserve·whitespace·before·html·and·head·tag,·if·pretty-printing·is·off. |
| |
| 23 | ··*·Bugfix:·in·a·<select>·tag,·a·second·<optgroup>·would·not·automatically·close·an·earlier·open·<optgroup> |
| 24 | ····<https://github.com/jhy/jsoup/issues/1313> |
| |
| 25 | ··*·Bugfix:·in·CharacterReader·when·parsing·an·input·stream,·could·throw·a·Mark·Invalid·exception·if·the·reader·was |
| 26 | ····marked,·a·bufferUp·occurred,·and·then·the·reader·was·rewound. |
| 27 | ····<https://github.com/jhy/jsoup/issues/1324> |
| |
| 28 | ··*·Bugfix:·empty·tags·and·form·tags·did·not·have·their·attributes·normalized·(lower-cased·by·default) |
| 29 | ····<https://github.com/jhy/jsoup/pull/1323> |
| |
| 30 | ··*·Bugfix:·when·preserve·case·was·set·to·on,·the·HTML·pretty-print·formatter·didn't·indent·capitalized·tags·correctly. |
| |
| 31 | ··*·Bugfix:·ensure·that·script·and·style·contents·are·parsed·into·DataNodes,·not·TextNodes,·when·in·case-sensitive |
| 32 | ····parse·mode. |
| |
| |
| 33 | ****·Release·1.12.2·[2020-Feb-08] |
3 | ··*·Improvement:·the·:has()·selector·now·supports·relative·selectors.·For·example,·the·query | 34 | ··*·Improvement:·the·:has()·selector·now·supports·relative·selectors.·For·example,·the·query |
4 | ····"div:has(>·a)"·will·select·all·"div"·elements·that·have·at·least·one·direct·child·"a"·element. | 35 | ····"div:has(>·a)"·will·select·all·"div"·elements·that·have·at·least·one·direct·child·"a"·element. |
5 | ····<https://github.com/jhy/jsoup/pull/1214> | 36 | ····<https://github.com/jhy/jsoup/pull/1214> |
| |
6 | ··*·Improvement:·added·Element·chaining·methods·for·various·overridden·methods·on·Node. | 37 | ··*·Improvement:·added·Element·chaining·methods·for·various·overridden·methods·on·Node. |
7 | ····<https://github.com/jhy/jsoup/issues/1193> | 38 | ····<https://github.com/jhy/jsoup/issues/1193> |
| |