Coralite v0.38.5 Released
Coralite v0.38.5 is now available. This release resolves styling and runtime loading issues for imperative-only components, aligns Playwright testing environments, and updates core workspace dependencies.
Deterministic Styling for Imperative Components #
Previously, components rendered imperatively—such as those created dynamically via client-side APIs instead of being declared in the HTML template—could fail to receive layout styles or be omitted from the client-side component bundle manifest. This occurred because declarative, imperative, and plugin-injected component collections were tracked separately.
To resolve this, we refactored component dependency collection in renderer.js to consolidate all page components into a single deterministic set. This unified set is now used to:
- Populate the
coralite-componentsstyle tag, ensuring thatdisplay: contentsis correctly applied to imperative-only components. - Filter the client manifest so that all required component bundles are properly included in the page runtime.
A regression test has been added in packages/coralite/tests/e2e/style-behavior.test.js to verify that imperative-only components reliably receive their layout styles.
Workspace Dependency and Tooling Updates #
This version updates several workspace-wide packages to their latest compatible versions to ensure stability, performance, and developer environment parity:
- Playwright & CI: Playwright has been updated to version 1.61.0 in
packages/coralite/package.json, and the corresponding Docker image in thetest-e2e.ymlworkflow has been upgraded to match, keeping testing behavior consistent between local environments and CI. - Development Tooling: Upgraded core tools including
typescript,eslint,esbuild, andlint-staged. - Shared Utilities: Updated
simple-git,commander,postcss, andsass.
How to Upgrade #
To upgrade to the latest version, update your project dependencies:
npm install coralite@0.38.5
npm install coralite-scripts@0.38.5
