Coralite v0.8.1
Upgrade to Coralite v0.8.1: Enhanced parser reliability, CI/CD workflow improvements with pnpm link, and streamlined HTML module static site generator code structure. Explore the changelog for key updates.
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.pathproperties for better consistency. - Standardised template variable notation to use
$prefixsyntax, 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