Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,21 @@ planned; the next minor with new canonical DSL primitives is
the Kotlin standard library transitively. Consumers that
relied on `kotlin-stdlib` flowing through GraphCompose must
declare it explicitly.
- Replaced the `flexmark-all` aggregator dependency with the three
modules actually referenced by `MarkDownParser`: `flexmark`
(core parser + AST), `flexmark-util-ast` (Node / NodeVisitor /
VisitHandler), and `flexmark-util-data` (MutableDataSet). No
extension modules (tables, footnotes, gfm-strikethrough, etc.)
are used by GraphCompose. Consumers that relied on extensions
flowing through GraphCompose must depend on the relevant
`flexmark-ext-*` modules explicitly.
- Added `jcl-over-slf4j` as an explicit compile dependency. PDFBox
3.0.7's `PDDocument.<clinit>` calls `org.apache.commons.logging.
LogFactory` directly; we exclude PDFBox's own `commons-logging`
artifact to keep one logging facade, and the bridge routes those
calls through SLF4J. Previously the bridge was provided
transitively via `flexmark-all`; making it explicit keeps the
classpath reproducible after the flexmark narrowing above.

### Internal

Expand Down
37 changes: 36 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,21 @@
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!--
commons-logging → SLF4J bridge. PDFBox's static initializer
(`PDDocument.<clinit>`) still calls `org.apache.commons.logging.
LogFactory` directly. We exclude PDFBox's own `commons-logging`
artefact to keep a single logging facade and route those calls
through SLF4J via this drop-in replacement. Previously this
class was on the classpath transitively via `flexmark-all` —
F3 (v1.6.7) narrowed flexmark to its core modules and made
the bridge explicit so the build is reproducible.
-->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${slf4j.version}</version>
</dependency>

<dependency>
<groupId>org.apache.pdfbox</groupId>
Expand All @@ -135,9 +150,29 @@
</exclusions>
</dependency>

<!--
Flexmark markdown parser. F3 (v1.6.7) narrowed `flexmark-all`
down to the modules actually referenced by
`com.demcha.compose.engine.text.markdown.MarkDownParser`:
- `flexmark` — Parser + `com.vladsch.flexmark.ast.*`
(Heading, ListItem, Emphasis, etc.)
- `flexmark-util-ast` — Node, NodeVisitor, VisitHandler
- `flexmark-util-data` — MutableDataSet
No extension modules (tables, footnotes, gfm) are used.
-->
<dependency>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark</artifactId>
<version>${flexmark.version}</version>
</dependency>
<dependency>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-util-ast</artifactId>
<version>${flexmark.version}</version>
</dependency>
<dependency>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-all</artifactId>
<artifactId>flexmark-util-data</artifactId>
<version>${flexmark.version}</version>
</dependency>

Expand Down