Releases: mxschmitt/playwright-go
v0.6100.0
Roll to v1.61.1
This release rolls the bundled Playwright driver to v1.61.1 (Chromium 149.0.7827.55, Firefox 151.0, WebKit 26.5).
Important
This release pins a new driver version. After upgrading, reinstall the driver:
go run github.com/mxschmitt/playwright-go/cmd/playwright@v0.6100.0 install --with-deps
Note
The module path has moved from github.com/playwright-community/playwright-go to github.com/mxschmitt/playwright-go. Update your imports accordingly.
What's Changed
- docs: fix broken links and tidy README/CONTRIBUTING by @mxschmitt in #613
- ci: only cancel in-progress runs for pull requests by @mxschmitt in #614
- test: add reusable withRetry helper for flaky WebKit folder upload by @mxschmitt in #616
- feat: assemble driver from npm + nodejs.org instead of deprecated CDN by @mxschmitt in #615
- chore: roll to Playwright v1.61.1 by @mxschmitt in #617
- feat: allow PLAYWRIGHT_CLI_PATH to point directly at cli.js by @mxschmitt in #618
- chore: migrate from playwright-community org to mxschmitt by @mxschmitt in #619
- docs: fix coveralls badge not rendering in README by @mxschmitt in #620
Full Changelog: v0.6000.0...v0.6100.0
v0.6000.0
Roll to Playwright v1.60.0
This release rolls the driver from Playwright v1.57.0 → v1.60.0 and brings the Go client in line with the upstream TypeScript client. Browser versions: Chromium 148.0.7778.96, Firefox 150.0.2, WebKit 26.4.
Important
Driver upgrade required. Reinstall the driver/browsers to match this version:
go run github.com/playwright-community/playwright-go/cmd/playwright@v0.6000.0 install --with-deps
Features
- Roll to Playwright v1.60.0 in #592
- Align Go client with upstream Playwright TypeScript client (v1.60.0) in #612
- Add
--no-shelloption to the driver runner in #571 - Add
WithDepsoption to install system dependencies in #572
Bug fixes — deadlocks & data races
- Prevent deadlock when reading request headers in a route handler (#519) in #608
- Prevent deadlock when calling blocking methods inside event handlers in #603
- Prevent jsonPipe deadlock that hung remote connections in #602
- Do not hold the eventRegister lock while running event handlers in #604
- Identify event listeners by closure, not shared code pointer (#323) in #606
- Fix data race between routing and closing context in #567
Bug fixes — other
- Resolve
Locator.Evaluatewith attached state to match upstream in #605 - Resolve relative
recordVideo.dirto an absolute path in #607 - Handle missing timing fields in the CDP response in #581
- Handle null response metadata in #586
- Handle typed request header maps in #587
- Respect default timeout in
SetInputFiles; fix flakyTestPageCloseRacein #595 - Prevent panic in
EvaluateHandlewhen it returns anElementHandlein #597
CI, chores & tests
- Update
go-jose/go-jose/v3to v3.0.5 in #588 - Update GitHub Actions to latest versions in #598
- Add flakiness.io reporter to the test job in #596
- CI test stabilization in #609, #610, #611
- Add
.claude/to.gitignorein #594
Full Changelog: v0.5700.1...v0.6000.0
v0.5700.1
v0.5700.0
v0.5200.1
What's Changed
- docs: modify the playwright driver installation instructions by @canstand in #542
- ci: handle github action faillures by @canstand in #553
- fix(ci): misuse of matrix conditional by @canstand in #559
- fix: ignore nil error for up2date by @liruohrh in #552
- fix: prevent panic in Sizes() by @derekperkins in #544
- fix(ci): github runner deprecated ubuntu 20.04 by @canstand in #560
- test: wait for workerFunction to be defined in worker test by @liruohrh in #561
- fix: waiter#RunAndWait maybe cause deadlock. by @liruohrh in #555
New Contributors
- @liruohrh made their first contribution in #552
- @derekperkins made their first contribution in #544
Full Changelog: v0.5200.0...v0.5200.1
v0.5200.0
v0.5101.0
v0.5001.0
v0.4902.0
What's Changed
- feat: add only-shell option to run options for install chromium headless by @carsonmeyer-wk in #518
Full Changelog: v0.4901.0...v0.4902.0
v0.4901.0
What's Changed
- chore: update jekyll and ruby to solve security alerts by @canstand in #506
- chore: roll to Playwright v1.49.0 by @canstand in #513
- feat: Add logger override option, use
slogand capture driver as logs by @GuyGoldenberg in #497 - chore: roll to Playwright v1.49.1 by @canstand in #515
Full Changelog: v0.4802.0...v0.4901.0