Skip to content

Commit c1d0326

Browse files
authored
Merge pull request #353 from commonmark/release-0.24
Prepare release 0.24
2 parents 13cbd23 + ea85a7d commit c1d0326

File tree

14 files changed

+38
-23
lines changed

14 files changed

+38
-23
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
66
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html),
77
with the exception that 0.x versions can break between minor versions.
88

9+
## [0.24.0] - 2024-10-21
10+
### Added
11+
- `SourceSpan` on nodes now have a `getInputIndex` to get the index within the
12+
original input string (in addition to the existing line/column indexes).
13+
This is useful when looking up the input source: It can now be done using
14+
`substring` instead of having to split the input into lines first (#348)
15+
- Configurable line break rendering for `TextContentRenderer` via `lineBreakRendering`
16+
on the builder; e.g. `LineBreakRendering.SEPARATE_BLOCKS` will render an empty
17+
line between blocks (#344)
18+
### Changed
19+
- Adopted small changes from OpenJDK vendoring to make updates easier for them (#343)
20+
### Fixed
21+
- Enable overriding of built-in node rendering for `TextContentRenderer` (#346)
22+
923
## [0.23.0] - 2024-09-16
1024
### Added
1125
- New extension for footnotes!
@@ -445,6 +459,7 @@ API breaking changes (caused by changes in spec):
445459
Initial release of commonmark-java, a port of commonmark.js with extensions
446460
for autolinking URLs, GitHub flavored strikethrough and tables.
447461
462+
[0.24.0]: https://github.com/commonmark/commonmark-java/compare/commonmark-parent-0.23.0...commonmark-parent-0.24.0
448463
[0.23.0]: https://github.com/commonmark/commonmark-java/compare/commonmark-parent-0.22.0...commonmark-parent-0.23.0
449464
[0.22.0]: https://github.com/commonmark/commonmark-java/compare/commonmark-parent-0.21.0...commonmark-parent-0.22.0
450465
[0.21.0]: https://github.com/commonmark/commonmark-java/compare/commonmark-parent-0.20.0...commonmark-parent-0.21.0

commonmark-ext-autolink/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.commonmark</groupId>
66
<artifactId>commonmark-parent</artifactId>
7-
<version>0.23.1-SNAPSHOT</version>
7+
<version>0.24.0-SNAPSHOT</version>
88
</parent>
99

1010
<artifactId>commonmark-ext-autolink</artifactId>

commonmark-ext-footnotes/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.commonmark</groupId>
66
<artifactId>commonmark-parent</artifactId>
7-
<version>0.23.1-SNAPSHOT</version>
7+
<version>0.24.0-SNAPSHOT</version>
88
</parent>
99

1010
<artifactId>commonmark-ext-footnotes</artifactId>

commonmark-ext-gfm-strikethrough/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.commonmark</groupId>
66
<artifactId>commonmark-parent</artifactId>
7-
<version>0.23.1-SNAPSHOT</version>
7+
<version>0.24.0-SNAPSHOT</version>
88
</parent>
99

1010
<artifactId>commonmark-ext-gfm-strikethrough</artifactId>

commonmark-ext-gfm-tables/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.commonmark</groupId>
66
<artifactId>commonmark-parent</artifactId>
7-
<version>0.23.1-SNAPSHOT</version>
7+
<version>0.24.0-SNAPSHOT</version>
88
</parent>
99

1010
<artifactId>commonmark-ext-gfm-tables</artifactId>

commonmark-ext-heading-anchor/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.commonmark</groupId>
66
<artifactId>commonmark-parent</artifactId>
7-
<version>0.23.1-SNAPSHOT</version>
7+
<version>0.24.0-SNAPSHOT</version>
88
</parent>
99

1010
<artifactId>commonmark-ext-heading-anchor</artifactId>

commonmark-ext-image-attributes/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.commonmark</groupId>
66
<artifactId>commonmark-parent</artifactId>
7-
<version>0.23.1-SNAPSHOT</version>
7+
<version>0.24.0-SNAPSHOT</version>
88
</parent>
99

1010
<artifactId>commonmark-ext-image-attributes</artifactId>

commonmark-ext-ins/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.commonmark</groupId>
66
<artifactId>commonmark-parent</artifactId>
7-
<version>0.23.1-SNAPSHOT</version>
7+
<version>0.24.0-SNAPSHOT</version>
88
</parent>
99

1010
<artifactId>commonmark-ext-ins</artifactId>

commonmark-ext-task-list-items/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.commonmark</groupId>
66
<artifactId>commonmark-parent</artifactId>
7-
<version>0.23.1-SNAPSHOT</version>
7+
<version>0.24.0-SNAPSHOT</version>
88
</parent>
99

1010
<artifactId>commonmark-ext-task-list-items</artifactId>

commonmark-ext-yaml-front-matter/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<artifactId>commonmark-parent</artifactId>
66
<groupId>org.commonmark</groupId>
7-
<version>0.23.1-SNAPSHOT</version>
7+
<version>0.24.0-SNAPSHOT</version>
88
</parent>
99

1010
<artifactId>commonmark-ext-yaml-front-matter</artifactId>

0 commit comments

Comments
 (0)