3.8 KiB
3.8 KiB
Changelog
0.0.77
Changes
- Use
workspace:^for local Playwriter dependency: Switchedplaywriterfromworkspace:*toworkspace:^inextension/package.jsonto avoid pinned workspace versions when package metadata is packed.
0.0.76
Bug Fixes
- Write Prism assets to the active extension output directory:
scripts/download-prism.tsnow respectsPLAYWRITER_EXTENSION_DISTinstead of always writing todist/src. This fixes release builds (dist-release) missingprism.min.jsandprism-bash.min.jsused bywelcome.html.
0.0.75
Changes
- Remove
alarmspermission and keepalive: Removedchrome.alarmskeepalive added in 0.0.73. ThemaintainLoopwhile-loop andsetInterval(checkMemory)already keep the service worker alive. The alarm was a no-op that required an unnecessary permission.
0.0.74
Bug Fixes
- Fix Target.detachFromTarget routing on root CDP session: Commands sent without a top-level sessionId (e.g. from Playwright's root browser session) now resolve the target tab via
params.sessionIdfallback. Previously the extension threw "No tab found" which caused cascading disconnects and instability. (#40) - No-op stale Target.detachFromTarget: Unknown or already-cleaned-up sessions return
{}instead of throwing, preventing error cascading during rapid connect/disconnect cycles. - Always re-apply tab group color: Tab group title and color are now re-applied on every sync to prevent Chrome from resetting them to white/unlabeled.
0.0.73
Bug Fixes
- Service worker keepalive via chrome.alarms: Added
chrome.alarmskeepalive to prevent Chrome MV3 from terminating the service worker when idle. Without this, themaintainLoopstops, the WebSocket closes, and the extension silently disconnects from the relay server — causingsession newto fail with "Extension did not connect within timeout."
0.0.72
Bug Fixes
- Use runtime-scoped root CDP tab session IDs: Root tab sessions now use
pw-tab-<scope>-<n>instead ofpw-tab-<n>, where scope is a random value generated once per extension runtime. This prevents session ID collisions across multiple connected Chrome profiles.
0.0.71
Bug Fixes
- Route Runtime.enable to child CDP sessions: Runtime enable/disable now uses the incoming
sessionIdwhen targeting OOPIF child sessions instead of always using the tab root session. This fixes missingRuntime.executionContextCreatedevents for child iframe targets, which could cause iframe locator operations to hang.
0.0.69
Features
- First extension keeps connection: When multiple Playwriter extensions are installed, the actively-used one (with tabs) now keeps the connection. New extensions are rejected with code 4002 instead of taking over.
- Smarter reconnection: Extension now polls
/extension/statusforactiveTargetscount and only attempts reconnection when the other extension has no active tabs.
Bug Fixes
- Proper state handling for 4002 rejection: Fixed issue where extension would keep retrying forever when rejected during WebSocket handshake. Now correctly enters
extension-replacedpolling state.
0.0.68
Bug Fixes
- Improved connection reliability: Use
127.0.0.1instead oflocalhostto avoid DNS/IPv6 resolution issues - Global connection timeout: Added 15-second global timeout wrapper around
connect()to prevent hanging forever when individual timeouts fail - Better WebSocket handling: Added
settledflag to properly handle timeout/open/error/close race conditions
Changes
- Faster retry loop: Reduced retry attempts from 30 to 5 since
maintainLoopretries every 3 seconds anyway - Allow own extension pages: Added
OUR_EXTENSION_IDSto allow attaching to our own extension pages while blocking other extensions
0.0.67
- Initial changelog