Skip to content

refactor(templates): drop the v2 suffix from the cv package#283

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

refactor(templates): drop the v2 suffix from the cv package#283
DemchaAV merged 1 commit into
2.0-devfrom
refactor/2.0-drop-cv-v2-suffix

Conversation

@DemchaAV

@DemchaAV DemchaAV commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Why

Last of the four per-family suffix drops (invoice ✅ → proposal ✅ → cover-letter ✅ → cv). With this, the layered templates carry no v2 package segment.

What (136 files: 78 renames, 57 edits, 1 delete)

  • git mv the cv/v2 sub-packages (components, data, presets, widgets) + AUTHORS.md up to templates/cv/ (main + test); rewrite the engine FQN document.templates.cv.v2document.templates.cv across all 132 referencing files, plus the engine-source prose paths (cv/v2/widgetscv/widgets, etc.) and the deferred cover-letter cross-imports (CvIdentity/CvName/SectionLookup).
  • package-info merge: dropped the short cv/package-info.java stub and promoted the rich cv/v2 author-guide up, cutting its stale note about a now-removed Gen-2 cv.* stack.
  • Examples untouched: the examples module keeps its own examples.templates.cv.v2 package (its source dir is unchanged) — only its engine imports were repointed. Baselines resolve via a hardcoded cv-v2-layered resource label, independent of the Java package.
  • Pure rename: CvV2VisualParityTest passes against the unchanged committed baselines — every CV preset renders identically. Independently cold-eye verified (examples-package integrity, package-info merge, baseline constant all held).

Deferred to the docs/ledger pass (3-13)

Path links in docs/*.md + examples/README.md still say cv/v2/... (broken markdown links only — not gated by verify/javadoc/smokes), the docs/api-stability.md §4 tier rows, and the cosmetic V2-in-identifier names + examples' own v2 dirs.

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.

Last of the four per-family suffix drops. Move the cv.v2 sub-packages
(components, data, presets, widgets), AUTHORS.md, and the author-guide
package-info up to templates.cv, and rewrite every engine import and doc
reference across the engine, tests, examples, and benchmarks. The two
package-info files are merged: the short cv stub is dropped and the rich
cv.v2 author guide is promoted, with its stale note about a
now-removed Gen-2 cv.* stack cut. Pure rename — the visual parity test
passes against the unchanged committed baselines, so every cv preset
renders identically.

The examples module keeps its own examples.templates.cv.v2 package (its
source directory is unchanged); only its engine imports are repointed.

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 b49ebcc into 2.0-dev Jul 1, 2026
11 checks passed
@DemchaAV DemchaAV deleted the refactor/2.0-drop-cv-v2-suffix branch July 1, 2026 21:52
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