8000 [deps]: Bump org.commonmark:commonmark from 0.21.0 to 0.22.0 by dependabot[bot] · Pull Request #2196 · javalin/javalin · GitHub
[go: up one dir, main page]

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

[deps]: Bump org.commonmark:commonmark from 0.21.0 to 0.22.0 #2196

Merged

Conversation

dependabot[bot]
Copy link
Contributor
@dependabot dependabot bot commented on behalf of github Mar 18, 2024

Bumps org.commonmark:commonmark from 0.21.0 to 0.22.0.

Release notes

Sourced from org.commonmark:commonmark's releases.

commonmark-java 0.22.0

Added

  • New MarkdownRenderer for rendering nodes to Markdown (CommonMark)! Note that while care is taken to produce equivalent Markdown, some differences in the original Markdown (if parsed) are not preserved, such as:
    • The type of heading used
    • The type of link used (reference links will be rendered as inline links)
    • Whether special characters are escaped or not
    • Leading and trailing whitespace
  • Modular JAR (JPMS): All artifacts now include module descriptors (module-info) so jlink can be used; the old Automatic-Module-Name manifest entries were removed
  • New package org.commonmark.parser.beta containing classes that are not part of the stable API but are exported from the module because they might be useful for extension parsers
  • New package org.commonmark.text for text related utilities that are useful for both parsing and rendering
  • TableCell now has getWidth returning the number of dash and colon characters in the delimiter row, useful for rendering proportional width tables (#296)
  • ThematicBreak now has getLiteral containing the string that was used in the source when parsing (#309)
  • ListItem now has getMarkerIndent and getContentIndent for retrieving the space between the start of the line and the marker/content
  • Deprecated a some properties of BulletList, OrderedList, FencedCodeBlock and replaced with nullable ones because they might not be set when constructing these nodes manually instead of via parsing

Changed

  • Java 11 or later is now required (dropping support for Java 8)
  • Update to CommonMark spec 0.31.2

Fixed

  • Fix LinkReferenceDefinition having null SourceSpan when title is present and parsing with source spans option enabled (#310)
Changelog

Sourced from org.commonmark:commonmark's changelog.

[0.22.0] - 2024-03-15

Added

  • New MarkdownRenderer for rendering nodes to Markdown (CommonMark)! Note that while care is taken to produce equivalent Markdown, some differences in the original Markdown (if parsed) are not preserved, such as:
    • The type of heading used
    • The type of link used (reference links will be rendered as inline links)
    • Whether special characters are escaped or not
    • Leading and trailing whitespace
  • Modular JAR (JPMS): All artifacts now include module descriptors (module-info) so jlink can be used; the old Automatic-Module-Name manifest entries were removed
  • New package org.commonmark.parser.beta containing classes that are not part of the stable API but are exported from the module because they might be useful for extension parsers
  • New package org.commonmark.text for text related utilities that are useful for both parsing and rendering
  • TableCell now has getWidth returning the number of dash and colon characters in the delimiter row, useful for rendering proportional width tables (#296)
  • ThematicBreak now has getLiteral containing the string that was used in the source when parsing (#309)
  • ListItem now has getMarkerIndent and getContentIndent for retrieving the space between the start of the line and the marker/content
  • Deprecated a some properties of BulletList, OrderedList, FencedCodeBlock and replaced with nullable ones because they might not be set when constructing these nodes manually instead of via parsing

Changed

  • Java 11 or later is now required (dropping support for Java 8)
  • Update to CommonMark spec 0.31.2

Fixed

  • Fix LinkReferenceDefinition having null SourceSpan when title is present and parsing with source spans option enabled (#310)
Commits
  • 913d438 [maven-release-plugin] prepare release commonmark-parent-0.22.0
  • ef730f6 Merge pull request #313 from commonmark/prepare-0.22
  • bd4012e Prepare for version 0.22.0
  • c5fe419 Prepare CHANGELOG for release 0.22
  • 260bd2e Merge pull request #312 from commonmark/fix-markdown-renderer-fenced-code-blo...
  • 8b7f928 Fix markdown renderer for manually created fenced code blocks
  • ccdf1a3 Merge pull request #311 from commonmark/fix-markdown-renderer-lists-from-ast
  • 16c6ff2 Fix markdown renderer for manually created list nodes
  • 4a6b944 Merge pull request #310 from commonmark/issue-292
  • 21fc1df Fix LinkReferenceDefinition having null SourceSpan when title is present
  • Additional commits viewable in compare view

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [org.commonmark:commonmark](https://github.com/commonmark/commonmark-java) from 0.21.0 to 0.22.0.
- [Release notes](https://github.com/commonmark/commonmark-java/releases)
- [Changelog](https://github.com/commonmark/commonmark-java/blob/main/CHANGELOG.md)
- [Commits](commonmark/commonmark-java@commonmark-parent-0.21.0...commonmark-parent-0.22.0)

---
updated-dependencies:
- dependency-name: org.commonmark:commonmark
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 18, 2024
Copy link
codecov bot commented Mar 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.32%. Comparing base (8df3092) to head (2eecd88).

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #2196   +/-   ##
=========================================
  Coverage     86.32%   86.32%           
  Complexity     1298     1298           
=========================================
  Files           148      148           
  Lines          4044     4044           
  Branches        507      507           
=========================================
  Hits           3491     3491           
+ Misses          334      333    -1     
- Partials        219      220    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tipsy tipsy merged commit 04eb032 into master Mar 18, 2024
28 checks passed
@tipsy tipsy deleted the dependabot/maven/master/org.commonmark-commonmark-0.22.0 branch March 18, 2024 06:32
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
0