All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.12.1 - TBD
- Remove
process.exitfrom library code, making the code more testable - Update overwrite prompt to use readline and accept Enter as default
- Fix error handling, race condition, and async patterns
- Code cleanups and refactoring
1.12.0 - 2026-01-31
- Add
-y/--yesoption to render command for auto-overwrite without prompting - Add single-key detection for overwrite prompt (no need to press Enter)
- Add live countdown timer during screen recording
- Add
clearLine()utility for better terminal output management - Add tests for improved code reliability
- Switch to
puppeteer-corewith on-demand browser download for lighter installation - Refactor logging to use consistent icons and colors throughout CLI
- Improve terminal clearing behavior with dedicated utilities
- Fix zombie process risk in preview command by improving resource cleanup
- Fix screencast viewport scaling issues with proper input validation
- Ensure browser always closes properly with try/finally blocks
- Fix memory leaks by cleaning up stdin event listeners
- Fix terminal row clearing issues (clearRow improvements)
- Fix user abort handling in render command
- Fix JSON.parse() encoding parameter placement
- Remove unnecessary
process.sendcall ingetCssDoodleLib - Fix various Deno lint warnings
- Improved error handling across static.js and parse.js
- Standardized error handling patterns in all CLI command handlers
1.11.1 - 2025-01-19
- Fix double clearRow and normalize error messages
- Improve console output consistency
1.11.0 - 2025-01-19
- Add
gencommand alias forgenerate - Add
--show-paint-rectsand--show-fps-counteroptions for debugging
- Use
runas the default command when no command is specified
- Fix local css-doodle library path resolution
- Do not add extra line to terminal after stdin finish
- Improve HTML detection in render command
- Fix dependencies security in Puppeteer (upgraded from 24.16.2 to 24.25.0)
1.10.0 - 2025-01-13
- Allow
stdinto render direct HTML content - Enhanced CLI update process with better user feedback
- Fix GPU-related flags for better compatibility
- Fix typo in render command argument description
- Fix typo in gen command example
1.9.1 - 2025-01-10
- Check for new version before updating CLI to prevent unnecessary updates
1.9.0 - 2025-01-09
- Initial support for video recording with
-t/--timeoption - Add
--fullscreenoption for preview mode
- Upgrade Puppeteer to 24.x for improved stability
1.8.0 - 2024-12-20
- Add
usecommand to fetch and use custom versions of css-doodle - Add
configcommand for managing CLI configurations
- Improve CodePen link handling
1.7.0 - 2024-12-10
- Add support for rendering from CodePen URLs
- Add
parsecommand for debugging parsed tokens
- Refactor command structure for better maintainability
1.6.0 - 2024-11-28
- Add scale factor (
-x/--scale) option for higher resolution output - Add delay (
-d/--delay) option for timing screenshot capture
- Improve error messages for missing files
1.5.0 - 2024-11-15
- Add output format selection (
-f/--format) for images and videos - Add window size configuration (
-w/--window)
- Default output format is now PNG for images
1.4.0 - 2024-11-01
- Add
rendercommand for generating static images - Add
preview/runcommand for live preview
- Fix browser window sizing issues
1.3.0 - 2024-10-20
- Initial release with basic CLI functionality
- Support for
.cssand.cssdfile types - File watching for live reload during preview