Release

Coralite v0.11.0

Coralite v0.11.0 updates its HTML module static site generator with support for import attributes, improved component token handling, Learn more.

TD
Thomas David June 4, 2025

Coralite v0.11.0 introduces foundational features for building and rendering static websites, with a focus on component-based architecture and metadata extraction.

Core Functionality

  • Added support for import attributes, enabling dynamic imports of external resources during template rendering.
  • Rewrote component definitions to use tokens instead of values in the defineComponent plugin, aligning parameter naming with its purpose.
  • Improved test suite with a new test for parsing cast names from local JSON files.

Breaking Changes

  • ignoreByAttribute now expects an array of objects with { name: ‘data-ignore’, value: ‘true’ } instead of string pairs. Update configurations accordingly.
  • The parameter name in defineComponent has changed from options.values to options.tokens. Update component definitions to use tokens instead of values.

Improvements and Fixes

  • Updated ignoreByAttribute documentation to reflect the new object-based configuration format.
  • Fixed template parent path resolution using dirname instead of pathname for consistent file handling.
  • Removed unused test scripts to streamline the build process.
  • Updated jsconfig.json formatting to fix trailing commas in module resolution settings.
  • Added an introductory GIF animation to documentation for visual clarity.

Get the release

bash
Code copied!
  npm install coralite@0.11.0

For detailed information on all changes, refer to the git v0.11.0 changelog

TD

Thomas David

Creator of Coralite. Writing about the intersection of native web APIs, compiler design, and AI-assisted development.