diff --git a/CHANGELOG.md b/CHANGELOG.md
index f98fe97d..fb412397 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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!
@@ -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
diff --git a/commonmark-ext-autolink/pom.xml b/commonmark-ext-autolink/pom.xml
index 9e879640..9271f9f8 100644
--- a/commonmark-ext-autolink/pom.xml
+++ b/commonmark-ext-autolink/pom.xml
@@ -4,7 +4,7 @@
org.commonmark
commonmark-parent
- 0.23.1-SNAPSHOT
+ 0.24.0-SNAPSHOT
commonmark-ext-autolink
diff --git a/commonmark-ext-footnotes/pom.xml b/commonmark-ext-footnotes/pom.xml
index 36204b77..13f14af0 100644
--- a/commonmark-ext-footnotes/pom.xml
+++ b/commonmark-ext-footnotes/pom.xml
@@ -4,7 +4,7 @@
org.commonmark
commonmark-parent
- 0.23.1-SNAPSHOT
+ 0.24.0-SNAPSHOT
commonmark-ext-footnotes
diff --git a/commonmark-ext-gfm-strikethrough/pom.xml b/commonmark-ext-gfm-strikethrough/pom.xml
index 40c234e8..fbb8a109 100644
--- a/commonmark-ext-gfm-strikethrough/pom.xml
+++ b/commonmark-ext-gfm-strikethrough/pom.xml
@@ -4,7 +4,7 @@
org.commonmark
commonmark-parent
- 0.23.1-SNAPSHOT
+ 0.24.0-SNAPSHOT
commonmark-ext-gfm-strikethrough
diff --git a/commonmark-ext-gfm-tables/pom.xml b/commonmark-ext-gfm-tables/pom.xml
index 06e82824..f12f7148 100644
--- a/commonmark-ext-gfm-tables/pom.xml
+++ b/commonmark-ext-gfm-tables/pom.xml
@@ -4,7 +4,7 @@
org.commonmark
commonmark-parent
- 0.23.1-SNAPSHOT
+ 0.24.0-SNAPSHOT
commonmark-ext-gfm-tables
diff --git a/commonmark-ext-heading-anchor/pom.xml b/commonmark-ext-heading-anchor/pom.xml
index 8998cb4c..96b9055b 100644
--- a/commonmark-ext-heading-anchor/pom.xml
+++ b/commonmark-ext-heading-anchor/pom.xml
@@ -4,7 +4,7 @@
org.commonmark
commonmark-parent
- 0.23.1-SNAPSHOT
+ 0.24.0-SNAPSHOT
commonmark-ext-heading-anchor
diff --git a/commonmark-ext-image-attributes/pom.xml b/commonmark-ext-image-attributes/pom.xml
index c706a1fe..8b8d4f15 100644
--- a/commonmark-ext-image-attributes/pom.xml
+++ b/commonmark-ext-image-attributes/pom.xml
@@ -4,7 +4,7 @@
org.commonmark
commonmark-parent
- 0.23.1-SNAPSHOT
+ 0.24.0-SNAPSHOT
commonmark-ext-image-attributes
diff --git a/commonmark-ext-ins/pom.xml b/commonmark-ext-ins/pom.xml
index 277dad07..bee56157 100644
--- a/commonmark-ext-ins/pom.xml
+++ b/commonmark-ext-ins/pom.xml
@@ -4,7 +4,7 @@
org.commonmark
commonmark-parent
- 0.23.1-SNAPSHOT
+ 0.24.0-SNAPSHOT
commonmark-ext-ins
diff --git a/commonmark-ext-task-list-items/pom.xml b/commonmark-ext-task-list-items/pom.xml
index 1a42059d..52a86a80 100644
--- a/commonmark-ext-task-list-items/pom.xml
+++ b/commonmark-ext-task-list-items/pom.xml
@@ -4,7 +4,7 @@
org.commonmark
commonmark-parent
- 0.23.1-SNAPSHOT
+ 0.24.0-SNAPSHOT
commonmark-ext-task-list-items
diff --git a/commonmark-ext-yaml-front-matter/pom.xml b/commonmark-ext-yaml-front-matter/pom.xml
index 079aaf46..97da86bb 100644
--- a/commonmark-ext-yaml-front-matter/pom.xml
+++ b/commonmark-ext-yaml-front-matter/pom.xml
@@ -4,7 +4,7 @@
commonmark-parent
org.commonmark
- 0.23.1-SNAPSHOT
+ 0.24.0-SNAPSHOT
commonmark-ext-yaml-front-matter
diff --git a/commonmark-integration-test/pom.xml b/commonmark-integration-test/pom.xml
index e82661ed..4f6843e1 100644
--- a/commonmark-integration-test/pom.xml
+++ b/commonmark-integration-test/pom.xml
@@ -4,7 +4,7 @@
org.commonmark
commonmark-parent
- 0.23.1-SNAPSHOT
+ 0.24.0-SNAPSHOT
commonmark-integration-test
diff --git a/commonmark-test-util/pom.xml b/commonmark-test-util/pom.xml
index a8c8c73a..795b1a1c 100644
--- a/commonmark-test-util/pom.xml
+++ b/commonmark-test-util/pom.xml
@@ -4,7 +4,7 @@
org.commonmark
commonmark-parent
- 0.23.1-SNAPSHOT
+ 0.24.0-SNAPSHOT
commonmark-test-util
diff --git a/commonmark/pom.xml b/commonmark/pom.xml
index 4495fd13..4c2cb19d 100644
--- a/commonmark/pom.xml
+++ b/commonmark/pom.xml
@@ -4,7 +4,7 @@
org.commonmark
commonmark-parent
- 0.23.1-SNAPSHOT
+ 0.24.0-SNAPSHOT
commonmark
diff --git a/pom.xml b/pom.xml
index d8b597c2..9e1cd25c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
org.commonmark
commonmark-parent
- 0.23.1-SNAPSHOT
+ 0.24.0-SNAPSHOT
commonmark-java parent
Java implementation of CommonMark, a specification of the Markdown format for turning plain text into formatted
@@ -112,52 +112,52 @@
org.commonmark
commonmark
- 0.23.1-SNAPSHOT
+ 0.24.0-SNAPSHOT
org.commonmark
commonmark-ext-autolink
- 0.23.1-SNAPSHOT
+ 0.24.0-SNAPSHOT
org.commonmark
commonmark-ext-image-attributes
- 0.23.1-SNAPSHOT
+ 0.24.0-SNAPSHOT
org.commonmark
commonmark-ext-ins
- 0.23.1-SNAPSHOT
+ 0.24.0-SNAPSHOT
org.commonmark
commonmark-ext-gfm-strikethrough
- 0.23.1-SNAPSHOT
+ 0.24.0-SNAPSHOT
org.commonmark
commonmark-ext-gfm-tables
- 0.23.1-SNAPSHOT
+ 0.24.0-SNAPSHOT
org.commonmark
commonmark-ext-heading-anchor
- 0.23.1-SNAPSHOT
+ 0.24.0-SNAPSHOT
org.commonmark
commonmark-ext-task-list-items
- 0.23.1-SNAPSHOT
+ 0.24.0-SNAPSHOT
org.commonmark
commonmark-ext-yaml-front-matter
- 0.23.1-SNAPSHOT
+ 0.24.0-SNAPSHOT
org.commonmark
commonmark-test-util
- 0.23.1-SNAPSHOT
+ 0.24.0-SNAPSHOT