Coralite v0.2.0

Thomas David -

Coralite’s latest release of its HTML module static site generator introduces significant improvements in processing structured data, component architecture, and developer tooling. This update replaces legacy regex-based parsing with HTML-centric methods, enhances module handling for complex components, and improves documentation across the codebase.

Core Functionality #

The release prioritises robustness in document processing by shifting from regex to dedicated HTML parsing. This change enables more accurate extraction of metadata and structured content while supporting advanced features such as non-recursive requests in getHTML, page aggregation, and improved slot handling for component rendering.

Code Improvements and Documentation #

The update includes extensive updates to JSDoc comments across core functions, ensuring clarity for developers working with Coralite’s APIs. Specific improvements include:

Build and Configuration Updates #

The release updates build configurations to target ES2022, ensuring compatibility with modern JavaScript environments. A dedicated executable file is now used for CLI operations, alongside updated package.json dependencies for HTML parsing and other enhancements.

Get the release #

bash
Code copied!
npm install coralite@0.2.0

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

Related posts

More blog posts