Release

Coralite v0.3.0

Coralite v0.3.0 enhances HTML module static site generation with improved slot handling, refactored naming for clarity, and updated documentation.

TD
Thomas David January 27, 2025

Coralite’s latest release of its HTML module static site generator introduces critical refinements to component handling, metadata parsing, and developer tooling, with a focus on improving consistency and extensibility in custom element workflows.

Core Functionality

  • Rename core module references from components to coraliteModules for clearer naming conventions and reduced ambiguity in large-scale projects.
  • Add support for default slots and dynamic content insertion in custom elements, enabling more flexible template rendering through enhanced attribute parsing logic.
  • Update JSDoc documentation across key files (e.g., parse.js) to improve clarity and maintainability of the codebase for contributors.
  • Refactor parseModule() function signature to use a element parameter, replacing deprecated customElementSlots for backward compatibility with modern HTML module standards.

Get the release

bash
Code copied!
  npm install coralite@0.3.0

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

TD

Thomas David

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