From e3523f38d47f7c793575bede3121e669f9e8c1f1 Mon Sep 17 00:00:00 2001 From: Robin Stocker Date: Sun, 1 Nov 2026 17:18:27 +1100 Subject: [PATCH 1/2] Prepare CHANGELOG for version 0.32.0 --- CHANGELOG.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a114aee0..e014443d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,19 @@ 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.32.0] - 2026-11-01 +### Added +- `Scanner` API for extensions now has `findPrev` methods to search backwards, + which can be useful for some syntax (#466) +### Changed +- Fix Android incompatibility with minSdk < 30: The minSdk required is now 24. +### Fixed +- Allow consecutive question marks in inline processing instructions (#471) +- Allow HTML declarations with lowercase letters and without whitespace (#469) +- Reject link reference definitions with unbalanced parentheses in the destination (#470) +- Don't let lists interrupt a paragraph with only link reference definitions (#472) +- `MarkdownRenderer`: Preserve literal ampersands in links and images (#468) + ## [0.31.0] - 2026-10-22 ### Changed - To get link text in `LinkProcessor`, `Scanner` needs to be passed to @@ -615,6 +628,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.32.0]: https://github.com/commonmark/commonmark-java/compare/commonmark-parent-0.31.0...commonmark-parent-0.32.0 [0.31.0]: https://github.com/commonmark/commonmark-java/compare/commonmark-parent-0.30.1...commonmark-parent-0.31.0 [0.30.1]: https://github.com/commonmark/commonmark-java/compare/commonmark-parent-0.30.0...commonmark-parent-0.30.1 [0.30.0]: https://github.com/commonmark/commonmark-java/compare/commonmark-parent-0.29.0...commonmark-parent-0.30.0 From 38c4d9f2726691ab5886d64fd1d05871a0473d0a Mon Sep 17 00:00:00 2001 From: Robin Stocker Date: Sun, 1 Nov 2026 17:19:01 +1100 Subject: [PATCH 2/2] mvn versions:set -DnewVersion=0.32.0-SNAPSHOT --- commonmark-ext-autolink/pom.xml | 2 +- commonmark-ext-footnotes/pom.xml | 2 +- commonmark-ext-gfm-alerts/pom.xml | 2 +- commonmark-ext-gfm-strikethrough/pom.xml | 2 +- commonmark-ext-gfm-tables/pom.xml | 2 +- commonmark-ext-heading-anchor/pom.xml | 2 +- commonmark-ext-image-attributes/pom.xml | 2 +- commonmark-ext-ins/pom.xml | 2 +- commonmark-ext-task-list-items/pom.xml | 2 +- commonmark-ext-yaml-front-matter/pom.xml | 2 +- commonmark-integration-test/pom.xml | 2 +- commonmark-test-util/pom.xml | 2 +- commonmark/pom.xml | 2 +- pom.xml | 26 ++++++++++++------------ 14 files changed, 26 insertions(+), 26 deletions(-) diff --git a/commonmark-ext-autolink/pom.xml b/commonmark-ext-autolink/pom.xml index 2775e4d1..c952feab 100644 --- a/commonmark-ext-autolink/pom.xml +++ b/commonmark-ext-autolink/pom.xml @@ -4,7 +4,7 @@ org.commonmark commonmark-parent - 0.31.1-SNAPSHOT + 0.32.0-SNAPSHOT commonmark-ext-autolink diff --git a/commonmark-ext-footnotes/pom.xml b/commonmark-ext-footnotes/pom.xml index 1f2aa7d4..ad647def 100644 --- a/commonmark-ext-footnotes/pom.xml +++ b/commonmark-ext-footnotes/pom.xml @@ -4,7 +4,7 @@ org.commonmark commonmark-parent - 0.31.1-SNAPSHOT + 0.32.0-SNAPSHOT commonmark-ext-footnotes diff --git a/commonmark-ext-gfm-alerts/pom.xml b/commonmark-ext-gfm-alerts/pom.xml index 6f02cb8f..b3b00024 100644 --- a/commonmark-ext-gfm-alerts/pom.xml +++ b/commonmark-ext-gfm-alerts/pom.xml @@ -4,7 +4,7 @@ org.commonmark commonmark-parent - 0.31.1-SNAPSHOT + 0.32.0-SNAPSHOT commonmark-ext-gfm-alerts diff --git a/commonmark-ext-gfm-strikethrough/pom.xml b/commonmark-ext-gfm-strikethrough/pom.xml index c64e6408..3b6a0092 100644 --- a/commonmark-ext-gfm-strikethrough/pom.xml +++ b/commonmark-ext-gfm-strikethrough/pom.xml @@ -4,7 +4,7 @@ org.commonmark commonmark-parent - 0.31.1-SNAPSHOT + 0.32.0-SNAPSHOT commonmark-ext-gfm-strikethrough diff --git a/commonmark-ext-gfm-tables/pom.xml b/commonmark-ext-gfm-tables/pom.xml index 6b4d9435..4b1a5488 100644 --- a/commonmark-ext-gfm-tables/pom.xml +++ b/commonmark-ext-gfm-tables/pom.xml @@ -4,7 +4,7 @@ org.commonmark commonmark-parent - 0.31.1-SNAPSHOT + 0.32.0-SNAPSHOT commonmark-ext-gfm-tables diff --git a/commonmark-ext-heading-anchor/pom.xml b/commonmark-ext-heading-anchor/pom.xml index 9f480fbc..c4c68dfd 100644 --- a/commonmark-ext-heading-anchor/pom.xml +++ b/commonmark-ext-heading-anchor/pom.xml @@ -4,7 +4,7 @@ org.commonmark commonmark-parent - 0.31.1-SNAPSHOT + 0.32.0-SNAPSHOT commonmark-ext-heading-anchor diff --git a/commonmark-ext-image-attributes/pom.xml b/commonmark-ext-image-attributes/pom.xml index fb87fc99..646d1e0e 100644 --- a/commonmark-ext-image-attributes/pom.xml +++ b/commonmark-ext-image-attributes/pom.xml @@ -4,7 +4,7 @@ org.commonmark commonmark-parent - 0.31.1-SNAPSHOT + 0.32.0-SNAPSHOT commonmark-ext-image-attributes diff --git a/commonmark-ext-ins/pom.xml b/commonmark-ext-ins/pom.xml index 696e66f6..8bba1a35 100644 --- a/commonmark-ext-ins/pom.xml +++ b/commonmark-ext-ins/pom.xml @@ -4,7 +4,7 @@ org.commonmark commonmark-parent - 0.31.1-SNAPSHOT + 0.32.0-SNAPSHOT commonmark-ext-ins diff --git a/commonmark-ext-task-list-items/pom.xml b/commonmark-ext-task-list-items/pom.xml index 21384cd5..8074271c 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.31.1-SNAPSHOT + 0.32.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 eb3e509f..e6577915 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.31.1-SNAPSHOT + 0.32.0-SNAPSHOT commonmark-ext-yaml-front-matter diff --git a/commonmark-integration-test/pom.xml b/commonmark-integration-test/pom.xml index 7dbf79b4..0cb3f563 100644 --- a/commonmark-integration-test/pom.xml +++ b/commonmark-integration-test/pom.xml @@ -4,7 +4,7 @@ org.commonmark commonmark-parent - 0.31.1-SNAPSHOT + 0.32.0-SNAPSHOT commonmark-integration-test diff --git a/commonmark-test-util/pom.xml b/commonmark-test-util/pom.xml index cdb3a6c9..23d3ff36 100644 --- a/commonmark-test-util/pom.xml +++ b/commonmark-test-util/pom.xml @@ -4,7 +4,7 @@ org.commonmark commonmark-parent - 0.31.1-SNAPSHOT + 0.32.0-SNAPSHOT commonmark-test-util diff --git a/commonmark/pom.xml b/commonmark/pom.xml index 2f856038..42da7459 100644 --- a/commonmark/pom.xml +++ b/commonmark/pom.xml @@ -4,7 +4,7 @@ org.commonmark commonmark-parent - 0.31.1-SNAPSHOT + 0.32.0-SNAPSHOT commonmark diff --git a/pom.xml b/pom.xml index fbde20d9..69aecf4c 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.commonmark commonmark-parent - 0.31.1-SNAPSHOT + 0.32.0-SNAPSHOT commonmark-java parent Java implementation of CommonMark, a specification of the Markdown format for turning plain text into formatted @@ -146,62 +146,62 @@ org.commonmark commonmark - 0.31.1-SNAPSHOT + 0.32.0-SNAPSHOT org.commonmark commonmark-ext-autolink - 0.31.1-SNAPSHOT + 0.32.0-SNAPSHOT org.commonmark commonmark-ext-footnotes - 0.31.1-SNAPSHOT + 0.32.0-SNAPSHOT org.commonmark commonmark-ext-image-attributes - 0.31.1-SNAPSHOT + 0.32.0-SNAPSHOT org.commonmark commonmark-ext-ins - 0.31.1-SNAPSHOT + 0.32.0-SNAPSHOT org.commonmark commonmark-ext-gfm-alerts - 0.31.1-SNAPSHOT + 0.32.0-SNAPSHOT org.commonmark commonmark-ext-gfm-strikethrough - 0.31.1-SNAPSHOT + 0.32.0-SNAPSHOT org.commonmark commonmark-ext-gfm-tables - 0.31.1-SNAPSHOT + 0.32.0-SNAPSHOT org.commonmark commonmark-ext-heading-anchor - 0.31.1-SNAPSHOT + 0.32.0-SNAPSHOT org.commonmark commonmark-ext-task-list-items - 0.31.1-SNAPSHOT + 0.32.0-SNAPSHOT org.commonmark commonmark-ext-yaml-front-matter - 0.31.1-SNAPSHOT + 0.32.0-SNAPSHOT org.commonmark commonmark-test-util - 0.31.1-SNAPSHOT + 0.32.0-SNAPSHOT