@@ -6,6 +6,20 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
66This project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) ,
77with 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):
445459Initial release of commonmark-java, a port of commonmark.js with extensions
446460for 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
0 commit comments