Coralite v0.11.0
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
importattributes, enabling dynamic imports of external resources during template rendering. - Rewrote component definitions to use tokens instead of values in the
defineComponentplugin, 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
defineComponenthas changed fromoptions.valuestooptions.tokens. Update component definitions to usetokensinstead ofvalues.
Improvements and Fixes #
- Updated
ignoreByAttributedocumentation to reflect the new object-based configuration format. - Fixed template parent path resolution using
dirnameinstead ofpathnamefor consistent file handling. - Removed unused test scripts to streamline the build process.
- Updated
jsconfig.jsonformatting to fix trailing commas in module resolution settings. - Added an introductory GIF animation to documentation for visual clarity.
Get the release #
npm install coralite@0.11.0
For detailed information on all changes, refer to the git v0.11.0 changelog
Related posts
- Coralite v0.18.7 Release Notes - 18 Oct 25
- Coralite v0.18.6 Release Notes - 24 Sept 25
- Coralite v0.18.5 Release Notes - 18 Sept 25
