Coralite v0.18.7
Coralite v0.18.7 Release includes updated dependencies, enhanced callback control, better type checking support, and refined scaffolding behavior.
Key Improvements #
- Updated core dependencies across package and template files to ensure compatibility with latest tooling and security standards.
- Added
abortsupport toonSetandonUpdatecallbacks in collections, allowing developers to halt processing mid-flow when conditions are not met. - Enabled JavaScript type checking via the
checkJsoption, improving code quality for projects using plain JavaScript with type annotations. - Enhanced the
parseModulefunction in the core to return anisTemplateflag when a template is missing, making it easier to distinguish between valid and invalid module states. - Improved scaffolding UX by adding a command prompt to the footer, helping users understand next steps during project setup.
Bug Fixes #
- Resolved an issue where invalid templates were being added to collections, improving data integrity and preventing runtime errors.
- Updated social meta URLs to point to coralite.dev, ensuring consistent branding and correct sharing behavior on social platforms.
Documentation & Infrastructure #
- Updated documentation links to use coralite.dev as the primary source, simplifying access and improving discoverability.
- Updated
package.jsonauthor information to reflect current maintainership and project ownership.
Development & Tooling #
- Refined string formatting in configuration files for consistency and readability.
- Updated the
@stylisticESLint plugin to target JavaScript scope and corrected rule paths, improving linting accuracy and performance. - Added an empty template to test fixtures, ensuring test coverage includes edge cases during development.
How to Upgrade #
Update your project dependencies using either the CLI tool or the scaffolding tool:
npm install coralite@0.18.1
Or update the scaffolding tool:
npm install coralite-scripts@0.18.1
After upgrading, verify your project builds and runs as expected. Check the full changelog for details on all changes.
