Releases: kevinschaul/depict
Releases · kevinschaul/depict
v0.2.1
Full Changelog: v0.2.0...v0.2.1
v0.2.0
Migrate from PhantomJS to Puppeteer with modern CLI
Major rewrite to modernize the library:
- Replace PhantomJS with Puppeteer for better browser automation
- Modernize to ES6+ syntax (import, const, template literals, async/await)
- Update CLI interface:
- URL is now positional argument
- Output file uses -o/--output flag (default: screenshot.png)
- Replace --call-phantom with --wait-for-selector for cleaner API
- Unified --timeout for both page load and selector waiting
- Add --verbose flag (silent by default)
- Add --quality for JPEG output
- Add --width/--height for viewport control
- Remove unintuitive shortcuts (keep only -o and -s)
- Add JPEG output support with quality control
- Add .gitignore for node_modules and generated images
- Update README with real-world examples and modern usage