Skip to content

v0.0.2 — Include template utilities in distributed CSS

Choose a tag to compare

@FloKnapp FloKnapp released this 14 Oct 20:29
· 13 commits to main since this release
0291346

CMS templates now contribute their Tailwind utilities to the distributed stylesheet. In v0.0.1 the explicit source path pointed at the nonexistent src/views directory, so utilities used only by templates could be missing even though rebuilding the stylesheet produced a reproducible result.

The source now points at the package's actual top-level views directory, and the shipped CSS has been regenerated. A CLI build regression verifies that a template-only utility is emitted and unrelated local HTML is excluded. It fails against the old path and passes with this correction; CI runs it alongside the 25 existing builder tests.

For an existing installation, update the CMS package, then run vendor/bin/naf nafcms:assets:publish and vendor/bin/naf nafcms:assets:check from the host root. Review any host-modified asset collision reported by the publisher. No database migration is added by this patch.

Validation at the exact release commit includes 493 PHP tests / 2455 assertions, PHP 8.3 minimum NAF dependencies and PHP 8.3/8.4/8.5 compatibility, PHPStan, style, Composer/npm audits, MariaDB migrations, package/archive checks and the real fresh-host smoke. Exact merge CI.

This patch completes the first CMS preview publication. The preview compatibility limits described in v0.0.1 still apply.