Accepting request 1180796 from home:urbic:branches:Java:packages

- 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
This commit is contained in:
2024-06-14 16:04:43 +00:00
committed by Git OBS Bridge
parent 3d9adcc9c3
commit 67fd7ee3b0
4 changed files with 48 additions and 6 deletions

View File

@@ -1,3 +1,47 @@
-------------------------------------------------------------------
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>