TheRandomLabs / CurseAPI

A Java library for handling interactions with CurseForge.
MIT License
30 stars 3 forks source link

Bump jsoup from 1.12.2 to 1.13.1 #26

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Bumps jsoup from 1.12.2 to 1.13.1.

Release notes

Sourced from jsoup's releases.

jsoup 1.13.1

See the release notes.

<dependency>
  <!-- jsoup HTML parser library @ https://jsoup.org/ -->
  <groupId>org.jsoup</groupId>
  <artifactId>jsoup</artifactId>
  <version>1.13.1</version>
</dependency>
Changelog

Sourced from jsoup's changelog.

jsoup changelog

*** Release 1.13.2 [PENDING]

  • Improvement: added support for loading and parsing gzipped HTML files in Jsoup.parse(File in, charset, baseUri).

*** Release 1.13.1 [2020-Feb-29]

  • Improvement: added Element#closest(selector), which walks up the tree to find the nearest element matching the selector. jhy/jsoup#1326

  • Improvement: memory optimizations, reducing the retained size of a Document by ~ 39%, and allocations by ~ 9%:

    1. Attributes holder in Elements is only created if the element has attributes
    2. Only track the baseUri in an element when it is set via DOM to a new value for a given tree
    3. After parsing, do not retain the input character reader (and associated buffers) in the Document#parser
  • Improvement: substantial parse speed improvements vs 1.12.x (bringing back to par with previous releases). jhy/jsoup#1327

  • Improvement: when pretty-printing, comments in inline tags are not pushed to a newline

  • Improvement: added Attributes#hasDeclaredValueForKey(key) and Attribute#hasDeclaredValueForKeyIgnoreCase(), to check if an attribute is set but has no value. Useful in place of the deprecated and removed BooleanAttribute class and instanceof test.

  • Improvement: removed old methods and classes that were marked deprecated in previous releases.

  • Improvement: added Element#select(Evaluator) and Element#selectFirst(Evaluator), to allow re-use of a parsed CSS selector if using the same evaluator many times. jhy/jsoup#1319

  • Improvement: added Elements#forms(), Elements#textNodes(), Elements#dataNodes(), and Elements#comments(), as a convenient way to get access to these node types directly from an element selection.

  • Improvement: preserve whitespace before html and head tag, if pretty-printing is off.

  • Bugfix: in a