Skip to content

docs: add the 2.0 module migration guide and modularization ADR#309

Merged
DemchaAV merged 1 commit into
2.0-devfrom
build/2.0-c3b-arch-migration-docs
Jul 6, 2026
Merged

docs: add the 2.0 module migration guide and modularization ADR#309
DemchaAV merged 1 commit into
2.0-devfrom
build/2.0-c3b-arch-migration-docs

Conversation

@DemchaAV

@DemchaAV DemchaAV commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Why

The module split has landed, but there was no consumer-facing guide for the dependency
change and no recorded decision for the architecture. This adds both, and graduates the
api-stability ledger entry from "planned" to "landed".

What

  • ADR 0016 — the multi-module packaging decision: the split into a lean
    graph-compose-core plus render backends and templates, the ServiceLoader backend
    seam, lockstep versioning, and the back-compat graph-compose wrapper that keeps PDF
    rendering out of the box (with the reversal rationale).
  • docs/migration/v2.0.0-modules.md — a dependency-focused migration guide: PDF
    callers are unchanged, lean consumers use graph-compose-core, templates become opt-in
    (graph-compose-templates), and MissingBackendException is the lean-core signal (its
    message quoted verbatim). API-level removals are left to the changelog rather than
    duplicated.
  • api-stability.md § 3 ledger — flip the single-jar-packaging row from planned to
    landed 2.0 and correct it to the shipped topology (the pre-reversal text wrongly said
    graph-compose no longer contains the PDF backend), linking ADR 0016 and the guide.

Tests

  • Documentation guards green (CanonicalSurfaceGuardTest, DocumentationCoverageTest,
    PackageMapGuardTest, VersionConsistencyGuardTest) — 24 tests, 0 failures.
  • A cold fact-check verified every claim against the real poms/code (wrapper topology, lean
    core deps, bundle contents, the verbatim exception message, SPI seams, the ECS-in-render-pdf
    move); all links resolve.

Document the completed module split for consumers and record the decision.

- ADR 0016 captures the multi-module packaging decision: the split into a lean
  graph-compose-core plus render backends and templates, the ServiceLoader
  backend seam, lockstep versioning, and the back-compat wrapper that keeps
  graph-compose rendering PDF out of the box.
- A new migration guide (docs/migration/v2.0.0-modules.md) walks a consumer
  through the dependency change: PDF callers are unchanged, lean consumers use
  graph-compose-core, templates become opt-in, and MissingBackendException is
  the lean-core signal.
- Flip the api-stability section 3 ledger's single-jar-packaging row from
  planned to landed and correct it to the shipped topology.
@DemchaAV DemchaAV merged commit 8bd23ac into 2.0-dev Jul 6, 2026
10 checks passed
@DemchaAV DemchaAV deleted the build/2.0-c3b-arch-migration-docs branch July 6, 2026 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant