- Update to v0.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)
OBS-URL: https://build.opensuse.org/request/show/1180796
OBS-URL: https://build.opensuse.org/package/show/Java:packages/commonmark-java?expand=0&rev=5
85 lines
3.6 KiB
Plaintext
85 lines
3.6 KiB
Plaintext
-------------------------------------------------------------------
|
|
Fri Jun 14 04:56:07 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
|
|
|
|
- Update to v0.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)
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Jan 13 04:16:57 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
|
|
|
|
- Update to v0.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)
|
|
- Update to v0.20.0
|
|
* Fixed
|
|
+ GitHub tables: A single pipe (optional whitespace) now ends a
|
|
table instead of crashing or being treated as an empty row,
|
|
for consistency with GitHub (#255).
|
|
+ GitHub strikethrough: A single tilde now also works, and more
|
|
than two tildes are not accepted anymore. This brings us in
|
|
line with what GitHub actually does, which is a bit
|
|
underspecified (#267)
|
|
+ The autolink extension now handles source spans correctly
|
|
(#209)
|
|
- Update to v0.19.0
|
|
* Added
|
|
+ YAML front matter extension: Limited support for single and
|
|
double quoted string values (#260)
|
|
* Changed
|
|
+ Check argument of enabledBlockTypes when building parser
|
|
instead of NPEing later
|
|
- Reproducible builds: use SOURCE_DATE_EPOCH for timestamp
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Oct 26 03:06:11 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
|
|
|
- Build with source and target levels 8
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Sep 23 09:10:07 UTC 2021 - Anton Shvetz <shvetz.anton@gmail.com>
|
|
|
|
- Initial packaging with v0.18.0
|