Skip to content

Bump org.commonmark:commonmark from 0.21.0 to 0.22.0#257

Merged
EricWittmann merged 1 commit into
mainfrom
dependabot/maven/org.commonmark-commonmark-0.22.0
Apr 1, 2024
Merged

Bump org.commonmark:commonmark from 0.21.0 to 0.22.0#257
EricWittmann merged 1 commit into
mainfrom
dependabot/maven/org.commonmark-commonmark-0.22.0

Conversation

@dependabot
Copy link
Copy Markdown
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>
@EricWittmann EricWittmann merged commit 7b9c1ef into main Apr 1, 2024
@dependabot dependabot Bot deleted the dependabot/maven/org.commonmark-commonmark-0.22.0 branch April 1, 2024 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant