Skip to content

refactor(templates): drop the v2 suffix from the cover-letter package#282

Merged
DemchaAV merged 1 commit into
2.0-devfrom
refactor/2.0-drop-coverletter-v2-suffix
Jul 1, 2026
Merged

refactor(templates): drop the v2 suffix from the cover-letter package#282
DemchaAV merged 1 commit into
2.0-devfrom
refactor/2.0-drop-coverletter-v2-suffix

Conversation

@DemchaAV

@DemchaAV DemchaAV commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Why

Third of the four per-family suffix drops (invoice ✅ → proposal ✅ → cover-letter → cv), same mechanics as #280/#281.

What

  • git mv the coverletter/v2 sub-packages (data, components, presets) up to templates/coverletter (main + test); rewrite templates.coverletter.v2templates.coverletter across all 40 referencing files.
  • Fix the prose {@code coverletter.v2} mentions (parent + presets package-info, ExecutiveLetter widgets note, the gallery example).
  • The cv.v2 cross-imports (CvIdentity/CvName/SectionLookup) are untouched — they rename with cv in the next PR.
  • Pure rename: CoverLetterV2VisualParityTest passes against the unchanged committed baselines — every letter preset renders identically.

Deferred (as before): docs/api-stability.md §4 tier row + the v2-layered docs walkthrough (3-13); the examples-own examples/templates/coverletter/v2/ dir (its ShowcaseMetadata path still points at the real, unmoved example files).

Tests

./mvnw verify javadoc:javadoc -pl . — 1378 tests, 0 failures, javadoc clean. Examples + benchmarks compile; perf-smoke + examples-generation smoke (85) green. japicmp report-only on this line.

Third of the four per-family suffix drops. Move the coverletter.v2
sub-packages (data, components, presets) up to templates.coverletter and
rewrite every import and doc reference across the engine, tests, and
examples. The cv.v2 cross-imports (CvIdentity, CvName, SectionLookup) are
untouched until the cv rename. Pure rename — the visual parity test passes
against the unchanged committed baselines, so every letter preset renders
identically.

Tests: ./mvnw verify javadoc:javadoc -pl . — 1378 tests, 0 failures, javadoc
clean; examples + benchmarks compile; perf-smoke + examples-generation smoke
(85) green.
@DemchaAV DemchaAV merged commit 59752cf into 2.0-dev Jul 1, 2026
11 checks passed
@DemchaAV DemchaAV deleted the refactor/2.0-drop-coverletter-v2-suffix branch July 1, 2026 21:34
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