Coralite v0.8.1
Coralite’s v0.8.1 release introduces critical improvements to its HTML module static site generator, focusing on robustness in CI/CD pipelines, parser reliability, and code maintainability.
Core Functionality #
- Enhanced the parser with a safety check to verify the presence of slot attributes before assigning them to named slots, preventing runtime errors during template processing.
Infrastructure Improvements #
- Added a new CI workflow step to execute
pnpm link
, ensuring consistent package linking across build and test environments. - Resolved symlink-related issues on Linux by updating compatibility checks in CI configurations.
Code Refactoring #
- Simplified directory handling by replacing custom functions with standard
document.path
properties for better consistency. - Standardised template variable notation to use
$prefix
syntax, improving readability and maintainability of templates. - Removed redundant utility functions, streamlining the codebase for future enhancements.
Administrative Updates #
- Updated package metadata with a dedicated bugs reporting URL for user feedback.
- Refactored bin path configurations to align with modern module structures.
Get the release #
npm install coralite@0.8.1
For detailed information on all changes, refer to the git v0.8.1 changelog
Related posts
- Coralite v0.11.3 - 18 June 25
- Coralite v0.11.2 - 15 June 25
- Coralite v0.11.1 - 5 June 25