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
import
attributes, enabling dynamic imports of external resources during template rendering. - Rewrote component definitions to use tokens instead of values in the
defineComponent
plugin, 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
defineComponent
has changed fromoptions.values
tooptions.tokens
. Update component definitions to usetokens
instead ofvalues
.
Improvements and Fixes #
- Updated
ignoreByAttribute
documentation to reflect the new object-based configuration format. - Fixed template parent path resolution using
dirname
instead ofpathname
for consistent file handling. - Removed unused test scripts to streamline the build process.
- Updated
jsconfig.json
formatting 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.11.3 - 18 June 25
- Coralite v0.11.2 - 15 June 25
- Coralite v0.11.1 - 5 June 25