Bump org.commonmark:commonmark from 0.20.0 to 0.22.0
Created by: dependabot[bot]
Bumps org.commonmark:commonmark from 0.20.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 renderingTableCell
now hasgetWidth
returning the number of dash and colon characters in the delimiter row, useful for rendering proportional width tables (#296)ThematicBreak
now hasgetLiteral
containing the string that was used in the source when parsing (#309)ListItem
now hasgetMarkerIndent
andgetContentIndent
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 parsingChanged
- Java 11 or later is now required (dropping support for Java 8)
- Update to CommonMark spec 0.31.2
Fixed
- Fix
LinkReferenceDefinition
having nullSourceSpan
when title is present and parsing with source spans option enabled (#310)commonmark-java 0.21.0
Added
- GitHub strikethrough: With the previous version we adjusted the extension to also accept the single tilde syntax. But if you use another extension that uses the single tilde syntax, you will get a conflict. To avoid that,
StrikethroughExtension
can now be configured to require two tildes like before, see Javadoc. (#271)
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 renderingTableCell
now hasgetWidth
returning the number of dash and colon characters in the delimiter row, useful for rendering proportional width tables (#296)ThematicBreak
now hasgetLiteral
containing the string that was used in the source when parsing (#309)ListItem
now hasgetMarkerIndent
andgetContentIndent
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 parsingChanged
- Java 11 or later is now required (dropping support for Java 8)
- Update to CommonMark spec 0.31.2
Fixed
- Fix
LinkReferenceDefinition
having nullSourceSpan
when title is present and parsing with source spans option enabled (#310)[0.21.0] - 2022-11-17
Added
- GitHub strikethrough: With the previous version we adjusted the extension to also accept the single tilde syntax. But if you use another extension that uses the single tilde syntax, you will get a conflict. To avoid that,
StrikethroughExtension
can now be configured to require two tildes like before, see Javadoc.
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 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)