v0.2.8
This release adds an opt-in WebGL 1 preview, corrects Canvas2D pixel compositing, and improves browser automation, navigation deadlines, and packaging. Standard builds retain their existing WebGL behavior. 147 commits since v0.2.7.
Highlights
- A separate Linux x86-64 preview archive provides a native WebGL 1 subset through
canvas.getContext("webgl"). It starts its graphics helper only when a page requests a WebGL context. The feature requiresnative-webglat build time andOBSCURA_WEBGL_ENABLE=1at runtime (#1719). - Canvas2D now uses straight-alpha RGBA pixels for source-over and multiply compositing and clamps parsed color components. A Chromium-confirmed half-alpha fill changes from
[128,0,0,64]to[255,0,0,128](#1720). - Child-frame classic scripts retain their owning document’s execution state, including
currentScriptanddocument.write()(#1691).
Security
- CLI logs redact proxy credentials (#1709).
- Dependency updates address advisories for
lruandquinn-proto(#1711).
CDP and automation
Browser.closesends its CDP reply before disconnecting.Emulation.setEmulatedMediarecords settings without creating a disposable JavaScript runtime (#1685, #1718).- Live navigation emits
networkAlmostIdle. Target information uses the requesting session’s page, and remote object IDs retain their execution-context identity (#1668, #1592, #1618). - The navigation deadline also bounds blocking inline-script execution. Top-level
--storage-dirreachesfetchandserve(#1704, #1713).
Networking, JavaScript, and rendering
- Stealth User-Agent overrides send matching client hints while preserving explicit header precedence. This improves header consistency. A change in site detection outcomes has not been verified (#1402).
- Data-URL modules, worker-relative resources, and parser-time image handlers receive loading and execution fixes (#1659, #1661, #1660).
- Native controls and direct text use the selected
TextEngine. Image resources survive render warmup batches, nested text wraps around floats, and mixed grid placement edges remain intact (#1686, #1684).
Packaging and validation
- Release archives include SHA-256 checksums (#1711).
- Installation, build, client, and API guides explain how to enable the WebGL preview and where its limits apply (#1731).
- The WebGL preview archive contains a pinned ANGLE/SwiftShader runtime. Its helper requires bubblewrap and Linux user namespaces. Five-platform validation passed, including an extracted-archive smoke test (#1719).
- The rebased Canvas2D change passed render and no-render Core configurations, stealth transport, and all 33 obstacle stages. Its interleaved performance gate compared 38 scenarios over five rounds with no flagged regressions (#1720).
- Engine candidate CI passed render and no-render tests, stealth builds and transport, and all 33 obstacle stages at
f851841e. Manual release validation passed dependency audit, build, smoke, and package jobs for Linux x86-64/ARM64, macOS Intel/ARM64, and Windows. The extracted Linux WebGL preview archive passed its smoke test. Publication was skipped.
Current limitations
- WebGL is an opt-in Linux preview, not full WebGL support. WebGL 2, video and cube-map textures, OffscreenCanvas WebGL, context restoration, and several WebGL 1 methods remain unsupported. It retains at most four contexts per document and gives each helper a cumulative five-second CPU budget. In the recorded comparison, seven of eight unchanged examples rendered expected content. Selected Khronos context tests recorded 129 passes and 53 failures. There is no verified improvement in site detection outcomes (#1719).
- IndexedDB currently rejects more than 1,024 retained connections in one document. A lifecycle repair is still needed (#1727).
- Same-origin child-frame access to
parent.documentandparent.navigatorremains incomplete (#1714). --storage-diris not yet forwarded to multiworkerserveworkers (#1713).
Contributors
Thanks to @BlushingTomato, @DaniilMurai, @Ksrinivas2304, @Luzhanpeng23, @Rashid0312, @alexskinner, @cosmin-staicu, @debojitsaha, @enzo-berry, @g-baskin, @lisa0314, @lkarlslund, @robbiebusinessacc, @thejesh23, and @velinxs for contributions to this release.
Full Changelog: v0.2.7...6c8cf19