From eaa7ce93a980a5327e52564fa5dfc5eef16c26fb Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Mon, 16 Mar 2026 19:23:29 -0700 Subject: [PATCH] chore: bump version and changelog (v0.4.5) Co-Authored-By: Claude Opus 4.6 --- CHANGELOG.md | 15 +++++++++++++++ VERSION | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d61ba4f2..530f0e75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## 0.4.5 — 2026-03-16 + +### Fixed + +- **`$B js "const x = await fetch(...); return x.status"` now works.** The `js` command used to wrap everything as an expression — so `const`, semicolons, and multi-line code all broke. It now detects statements and uses a block wrapper, just like `eval` already did. +- **Clicking a dropdown option no longer hangs forever.** If an agent sees `@e3 [option] "Admin"` in a snapshot and runs `click @e3`, gstack now auto-selects that option instead of hanging on an impossible Playwright click. The right thing just happens. +- **When click is the wrong tool, gstack tells you.** Clicking an `