Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump jsoup from 1.12.1 to 1.13.1 #216

Merged
merged 1 commit into from
Jun 13, 2020

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 13, 2020

Bumps jsoup from 1.12.1 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>

jsoup-1.12.2

No release notes provided.

Changelog

Sourced from jsoup's changelog.

jsoup changelog

*** Release 1.14.1 [PENDING]

  • Change: updated the minimum supported Java version from Java 7 to Java 8.

  • Change: updated the minimum Android API level from 8 to 10.

  • 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 tag, a second would not automatically close an earlier open multiple optgroups without closing tags are incorrectly formatted as html jhy/jsoup#1313 Bugfix: in CharacterReader when parsing an input stream, could throw a Mark Invalid exception if the reader was marked, a bufferUp occurred, and then the reader was rewound. regression: IOException: Mark invalid after upgrade to 1.12.2 jhy/jsoup#1324 Bugfix: empty tags and form tags did not have their attributes normalized (lower-cased by default) Apply attribute normalization to void tags jhy/jsoup#1323 Bugfix: when preserve case was set to on, the HTML pretty-print formatter didn't indent capitalized tags correctly. ... (truncated) Commits dcf3c8b [maven-release-plugin] prepare release jsoup-1.13.1 fb9aa17 Changes for #1327 9675a92 Preserve whitespace in nodes before <head> 328f2e4 Use canned arrays for all searches 5127814 Save a little time - that verification hasn't fired to date ebd2a77 Don't copy String if a char buf is available 696461b Perf - catch comments in one hit 1f5ffb8 Pulled out InBody start and end sequences c693d6e Use switch for start, end tags 9d9e53c Fixed a performance regression in 1.12 Additional commits viewable in compare view Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase. Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: @dependabot rebase will rebase this PR @dependabot recreate will recreate this PR, overwriting any edits that have been made to it @dependabot merge will merge this PR after your CI passes on it @dependabot squash and merge will squash and merge this PR after your CI passes on it @dependabot cancel merge will cancel a previously requested merge and block automerging @dependabot reopen will reopen this PR if it is closed @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 13, 2020
@dependabot dependabot bot force-pushed the dependabot/gradle/org.jsoup-jsoup-1.13.1 branch from 493d90d to 1620be3 Compare June 13, 2020 11:56
@tom-anders tom-anders merged commit d6d1fb4 into master Jun 13, 2020
@dependabot dependabot bot deleted the dependabot/gradle/org.jsoup-jsoup-1.13.1 branch June 13, 2020 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant