chore: bump version and changelog (v0.3.7)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Garry Tan
2026-03-14 14:39:02 -05:00
parent 6dc16dab74
commit 57975da4c2
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -1,5 +1,11 @@
# Changelog
## 0.3.7 — 2026-03-14
### Added
- **Screenshot element/region clipping** — `screenshot` command now supports element crop via CSS selector or @ref (`screenshot "#hero" out.png`, `screenshot @e3 out.png`), region clip (`screenshot --clip x,y,w,h out.png`), and viewport-only mode (`screenshot --viewport out.png`). Uses Playwright's native `locator.screenshot()` and `page.screenshot({ clip })`. Full page remains the default.
- 10 new tests covering all screenshot modes (viewport, CSS, @ref, clip) and error paths (unknown flag, mutual exclusion, invalid coords, path validation, nonexistent selector).
## 0.3.6 — 2026-03-14
### Added
+1 -1
View File
@@ -1 +1 @@
0.3.6
0.3.7