Skip to content

Commit

Permalink
Merge pull request #353 from commonmark/release-0.24
Browse files Browse the repository at this point in the history
Prepare release 0.24
  • Loading branch information
robinst authored Oct 21, 2024
2 parents 13cbd23 + ea85a7d commit c1d0326
Show file tree
Hide file tree
Showing 14 changed files with 38 additions and 23 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html),
with the exception that 0.x versions can break between minor versions.

## [0.24.0] - 2024-10-21
### Added
- `SourceSpan` on nodes now have a `getInputIndex` to get the index within the
original input string (in addition to the existing line/column indexes).
This is useful when looking up the input source: It can now be done using
`substring` instead of having to split the input into lines first (#348)
- Configurable line break rendering for `TextContentRenderer` via `lineBreakRendering`
on the builder; e.g. `LineBreakRendering.SEPARATE_BLOCKS` will render an empty
line between blocks (#344)
### Changed
- Adopted small changes from OpenJDK vendoring to make updates easier for them (#343)
### Fixed
- Enable overriding of built-in node rendering for `TextContentRenderer` (#346)

## [0.23.0] - 2024-09-16
### Added
- New extension for footnotes!
Expand Down Expand Up @@ -445,6 +459,7 @@ API breaking changes (caused by changes in spec):
Initial release of commonmark-java, a port of commonmark.js with extensions
for autolinking URLs, GitHub flavored strikethrough and tables.

[0.24.0]: https://github.com/commonmark/commonmark-java/compare/commonmark-parent-0.23.0...commonmark-parent-0.24.0
[0.23.0]: https://github.com/commonmark/commonmark-java/compare/commonmark-parent-0.22.0...commonmark-parent-0.23.0
[0.22.0]: https://github.com/commonmark/commonmark-java/compare/commonmark-parent-0.21.0...commonmark-parent-0.22.0
[0.21.0]: https://github.com/commonmark/commonmark-java/compare/commonmark-parent-0.20.0...commonmark-parent-0.21.0
Expand Down
2 changes: 1 addition & 1 deletion commonmark-ext-autolink/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.commonmark</groupId>
<artifactId>commonmark-parent</artifactId>
<version>0.23.1-SNAPSHOT</version>
<version>0.24.0-SNAPSHOT</version>
</parent>

<artifactId>commonmark-ext-autolink</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion commonmark-ext-footnotes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.commonmark</groupId>
<artifactId>commonmark-parent</artifactId>
<version>0.23.1-SNAPSHOT</version>
<version>0.24.0-SNAPSHOT</version>
</parent>

<artifactId>commonmark-ext-footnotes</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion commonmark-ext-gfm-strikethrough/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.commonmark</groupId>
<artifactId>commonmark-parent</artifactId>
<version>0.23.1-SNAPSHOT</version>
<version>0.24.0-SNAPSHOT</version>
</parent>

<artifactId>commonmark-ext-gfm-strikethrough</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion commonmark-ext-gfm-tables/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.commonmark</groupId>
<artifactId>commonmark-parent</artifactId>
<version>0.23.1-SNAPSHOT</version>
<version>0.24.0-SNAPSHOT</version>
</parent>

<artifactId>commonmark-ext-gfm-tables</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion commonmark-ext-heading-anchor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.commonmark</groupId>
<artifactId>commonmark-parent</artifactId>
<version>0.23.1-SNAPSHOT</version>
<version>0.24.0-SNAPSHOT</version>
</parent>

<artifactId>commonmark-ext-heading-anchor</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion commonmark-ext-image-attributes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.commonmark</groupId>
<artifactId>commonmark-parent</artifactId>
<version>0.23.1-SNAPSHOT</version>
<version>0.24.0-SNAPSHOT</version>
</parent>

<artifactId>commonmark-ext-image-attributes</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion commonmark-ext-ins/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.commonmark</groupId>
<artifactId>commonmark-parent</artifactId>
<version>0.23.1-SNAPSHOT</version>
<version>0.24.0-SNAPSHOT</version>
</parent>

<artifactId>commonmark-ext-ins</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion commonmark-ext-task-list-items/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.commonmark</groupId>
<artifactId>commonmark-parent</artifactId>
<version>0.23.1-SNAPSHOT</version>
<version>0.24.0-SNAPSHOT</version>
</parent>

<artifactId>commonmark-ext-task-list-items</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion commonmark-ext-yaml-front-matter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>commonmark-parent</artifactId>
<groupId>org.commonmark</groupId>
<version>0.23.1-SNAPSHOT</version>
<version>0.24.0-SNAPSHOT</version>
</parent>

<artifactId>commonmark-ext-yaml-front-matter</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion commonmark-integration-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.commonmark</groupId>
<artifactId>commonmark-parent</artifactId>
<version>0.23.1-SNAPSHOT</version>
<version>0.24.0-SNAPSHOT</version>
</parent>

<artifactId>commonmark-integration-test</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion commonmark-test-util/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.commonmark</groupId>
<artifactId>commonmark-parent</artifactId>
<version>0.23.1-SNAPSHOT</version>
<version>0.24.0-SNAPSHOT</version>
</parent>

<artifactId>commonmark-test-util</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion commonmark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.commonmark</groupId>
<artifactId>commonmark-parent</artifactId>
<version>0.23.1-SNAPSHOT</version>
<version>0.24.0-SNAPSHOT</version>
</parent>

<artifactId>commonmark</artifactId>
Expand Down
22 changes: 11 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.commonmark</groupId>
<artifactId>commonmark-parent</artifactId>
<version>0.23.1-SNAPSHOT</version>
<version>0.24.0-SNAPSHOT</version>
<name>commonmark-java parent</name>
<description>
Java implementation of CommonMark, a specification of the Markdown format for turning plain text into formatted
Expand Down Expand Up @@ -112,52 +112,52 @@
<dependency>
<groupId>org.commonmark</groupId>
<artifactId>commonmark</artifactId>
<version>0.23.1-SNAPSHOT</version>
<version>0.24.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.commonmark</groupId>
<artifactId>commonmark-ext-autolink</artifactId>
<version>0.23.1-SNAPSHOT</version>
<version>0.24.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.commonmark</groupId>
<artifactId>commonmark-ext-image-attributes</artifactId>
<version>0.23.1-SNAPSHOT</version>
<version>0.24.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.commonmark</groupId>
<artifactId>commonmark-ext-ins</artifactId>
<version>0.23.1-SNAPSHOT</version>
<version>0.24.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.commonmark</groupId>
<artifactId>commonmark-ext-gfm-strikethrough</artifactId>
<version>0.23.1-SNAPSHOT</version>
<version>0.24.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.commonmark</groupId>
<artifactId>commonmark-ext-gfm-tables</artifactId>
<version>0.23.1-SNAPSHOT</version>
<version>0.24.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.commonmark</groupId>
<artifactId>commonmark-ext-heading-anchor</artifactId>
<version>0.23.1-SNAPSHOT</version>
<version>0.24.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.commonmark</groupId>
<artifactId>commonmark-ext-task-list-items</artifactId>
<version>0.23.1-SNAPSHOT</version>
<version>0.24.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.commonmark</groupId>
<artifactId>commonmark-ext-yaml-front-matter</artifactId>
<version>0.23.1-SNAPSHOT</version>
<version>0.24.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.commonmark</groupId>
<artifactId>commonmark-test-util</artifactId>
<version>0.23.1-SNAPSHOT</version>
<version>0.24.0-SNAPSHOT</version>
</dependency>

<!-- Common test dependencies -->
Expand Down

0 comments on commit c1d0326

Please sign in to comment.