You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix DocumentationCoverageTest after slim README rewrite
CI was red after v1.5.0 because four section-anchored guards in
DocumentationCoverageTest expected README sections that the slim
landing-page rewrite removed:
- readmeQuickStartShouldUseCanonicalDsl anchored on "### Built-in templates (compose-first)"
- readmeLinePrimitiveSectionShouldUseCanonicalDsl anchored on "## Line primitive"
- readmeTableSectionShouldUseCanonicalDsl anchored on "## Table component"
- readmeContainerGuidanceShouldPreferCanonicalDsl anchored on "### 4. Containers express structure"
Those sections were intentionally cut to slim README from 778 → 151
lines; their content lives in docs/recipes/{tables,shapes,themes}.md
and examples/README.md now.
Replaced the four section-specific tests with one consolidated guard
(readmeShouldUseCanonicalDslAndAvoidLegacyApis) that scans the whole
README:
- Asserts canonical-DSL fingerprints (GraphCompose.document,
DocumentSession, document.pageFlow, BusinessTheme) appear at least
once
- Asserts no legacy markers anywhere in the README — same blocklist
as before plus PdfComposer / TemplateBuilder / MainPageCV /
MainPageCvDTO / ModuleYml so the guard now matches what
CanonicalSurfaceGuardTest enforces for documentation files
Net test delta: -4 + 1 = -3 tests. Suite count drops 675 → 672.
README footer claim updated to match.
JitPack publishes via -DskipTests (jitpack.yml), so the v1.5.0
artifact is unaffected — this is a CI-only hotfix.
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ Most Java PDF libraries hand you low-level drawing commands. GraphCompose gives
27
27
-**Atomic pagination, no manual paging.** Tables split row-by-row, rows are atomic, layer stacks are atomic.
28
28
-**Designer-grade output.** Page backgrounds, section bands, soft panels, accent strips, column spans, layered hero blocks, fluent rich text, and a tokenised `BusinessTheme` are all first-class — not workarounds.
29
29
-**PDFBox rendering, isolated.** PDF backend lives behind a single backend interface. The DOCX backend (Apache POI) is ready for callers who need an editable file.
30
-
-**Tested at every layer.**675 green tests on `develop` (525 → 675 across v1.5), including cinematic-feature tests, shape-as-container clip-path invariants, transform CTM checks, table row-span / zebra / repeated-header tests, public-API leak guards, and a `PdfVisualRegression` harness.
30
+
-**Tested at every layer.**672 green tests on `develop` (525 → 672 across v1.5), including cinematic-feature tests, shape-as-container clip-path invariants, transform CTM checks, table row-span / zebra / repeated-header tests, public-API leak guards, and a `PdfVisualRegression` harness.
31
31
32
32
The current release is **v1.5.0**— the "intuitive" release. v1.5 turns the surface intuitive: shape-as-container with clip path, rotate / scale + per-layer z-index, advanced tables (row span, zebra, totals, repeating header), and two new theme-driven cinematic templates (`InvoiceTemplateV2`, `ProposalTemplateV2`). v1.5 is fully source-compatible with v1.4 — every public record gained back-compat constructors that default the new fields. See [`docs/migration-v1-4-to-v1-5.md`](docs/migration-v1-4-to-v1-5.md).
0 commit comments