Skip to content

refactor(templates): remove the dead builtin composer substrate#275

Merged
DemchaAV merged 1 commit into
2.0-devfrom
refactor/2.0-remove-builtin-substrate
Jun 30, 2026
Merged

refactor(templates): remove the dead builtin composer substrate#275
DemchaAV merged 1 commit into
2.0-devfrom
refactor/2.0-remove-builtin-substrate

Conversation

@DemchaAV

Copy link
Copy Markdown
Owner

Why

With the invoice/proposal builtins and the weekly-schedule builtin removed, their private support packages have no remaining caller. Verified orphaned across all file types (no reflection / META-INF/services / string-FQN).

What

Delete:

  • support/business — the invoice/proposal composers (InvoiceTemplateComposer, ProposalTemplateComposer), BusinessDocument{Styles,SceneStyles,LayoutPolicy} + package-info.
  • support/schedule/WeeklyScheduleTemplateComposer + package-info, and the singular templates/theme/WeeklyScheduleTheme it drove.

support.common (shared helpers) and the data.schedule document spec (still consumed by examples + tests) stay. Trimmed the stale support + themes package-info prose that named the removed packages.

docs/architecture/package-map.md / overview.md still list these as live packages — that's part of the docs/ledger pass.

Tests

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

With the invoice/proposal builtins and the weekly-schedule builtin gone,
their private support packages have no remaining caller: support.business
(the invoice/proposal composers, styles, and layout policy) and
support.schedule's WeeklyScheduleTemplateComposer, plus the singular
templates.theme.WeeklyScheduleTheme it drove.

Delete those packages. The shared support.common helpers and the
data.schedule document spec (still consumed by examples + tests) stay.
Trim the stale support and themes package-info prose that named the
removed packages.

Tests: ./mvnw verify javadoc:javadoc -pl . — 1602 tests, 0 failures,
javadoc clean; examples + benchmarks compile; perf-smoke + examples
generation smoke green.
@DemchaAV DemchaAV merged commit 73a13e0 into 2.0-dev Jun 30, 2026
11 checks passed
@DemchaAV DemchaAV deleted the refactor/2.0-remove-builtin-substrate branch June 30, 2026 07:24
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