Repository navigation
Releases
Releases · lightpanda-io/browser
1.0.6-rc2
Merge pull request #4773 from lightpanda-io/orderfile-regen
1.0.6-rc1
Merge pull request #4444 from ZedingZhang/fix/domparser-xml-namespace…
1.0.5
Behavior changes
- PandaScript:
page.evaluate()now returns a promise, likepage.goto(). Saved scripts needawaitin front of everypage.evaluate(...). Several evaluates can now run at once withPromise.all. --v8-gc-hint-floor-mbis renamed--v8-gc-request-min-mb. The old name still works but is deprecated.- New
--v8-gc-auto-min-mb, default 32: V8 doesn't start a full GC on its own below this heap size.0keeps V8's default. classify,acceptCookiesandlogincan use Gemini, but only withLIGHTPANDA_DECISION_PROVIDER=gemini. TypeSafe stays the default.agent --savereplays a read-only script once before writing it. If the replay fails or returns nothing, the model gets one turn to fix the script, and the first script is kept, with a warning, when the fix doesn't replay. Scripts that act on a page are written unchecked.- A fetch or XHR whose connection drops before the end of a
Content-Lengthor chunked body now fails, instead of resolving as a complete 200. history.pushState/replaceStateto a URL of another origin throws aSecurityError.- Responses served from the HTTP cache now go through CORS checks.
document.currentScriptisnullwhile a module runs.- The
gototimeout (script API and MCP tool) now bounds the navigation wait, even while a parser-blocking script is loading. - Mouse hit testing skips
inertsubtrees.
Layout
- More realistic
topandheight, with awareness of positioned boxes, tables and text display: gridsupportem,remand basiccalc()lengths;min-heightandmax-height- Text wrapping uses the computed width
- Hit testing: positioned boxes are above the normal flow, negative
z-indexbelow it - Layout, hit testing and bounding rects are much faster (style caches are cleared only where a change can reach)
New Web APIs
NavigateEvent.intercept()ReadableStream.tee()andvalues()XMLHttpRequest.uploadprogress eventsAttr.specified
Web API behavior / fixes
- XHR: re-opening a request in flight doesn't fire
abort/loadend;responseType = 'document'is ignored in a worker - WebSocket
close()while connecting moves toCLOSINGand queues acloseevent Requestkeeps the case of methods other than the six standard onesfetchwithredirect: 'manual'keeps the URL- The
formdataevent gets its own copy of theFormData ResizeObserverstarts from a size of -1×-1- IndexedDB: a pending request keeps its JS object until its event fires (fixes Zone.js apps)
CDP
- Playwright can use the default context before any page:
context.addCookies()works, andpage.close()on the startup page no longer hangs DOM.getBoxModelreturns Chrome's error for an element underdisplay: noneAccessibility.getFullAXTreereports the selected option's label as a combobox valueLP.dumpwithFramesoption: include iframe content in the HTML dump- Crash fix in request interception on an aborted transfer
WebDriver
/alertcommands answerno such alert- Element
/displayed,/computedroleand/computedlabel - Shadow root endpoints:
/element/{id}/shadow,/shadow/{id}/element,/shadow/{id}/elements - Sessions accept
acceptInsecureCerts
BiDi
script.addPreloadScriptandscript.removePreloadScript(noargumentsyet)
Tools / MCP / Agent
lightpanda mcp --tools goto,tree,...exposes only the named tools;--list-toolsprints every name- MCP over HTTP: memory is returned to the OS when a session ends, and the idle default session closes its pages after
--http-session-timeout - PandaScript
page.getCookies() lightpanda runandagentnow apply--cookieand--cookie-jar- Markdown: definition list terms and details go on their own lines
Performance / memory
- Stylesheets with
--load-resources stylesheetare preloaded in parallel - Smaller CSS DOM: rules are created only when JS reads them,
@media/@layer/@supportsparsed once - Smaller nodes and elements (a
divgoes from 80 to 64 bytes) - The page HTML is held once instead of three times (CNN peak memory 65 MB → 54 MB)
fetch()takes the response body instead of copying it- Semantic tree uses less memory (HTML spec: 249 MB → 154 MB)
- Faster
getComputedStyle,nodeList[i]and object wrapping
1.0.5-rc2
Merge pull request #4717 from lightpanda-io/orderfile-regen orderfile: regenerate the hot-code profile
1.0.5-rc1
Merge pull request #4699 from lightpanda-io/script-async-evaluate script: make page.evaluate return a promise
1.0.4
Behavior changes
- Requests to the Fetch "bad ports" (ssh, smtp, pop3, imap, …) are now refused for every request, not only WebSocket.
window.postMessagenow honorstargetOrigin.- A cross-site response can no longer set a
SameSitecookie other thanNone. - Proxy and server credentials are tracked separately, so proxy credentials are no longer sent to the server after a redirect.
- An
about:blank(or src-less) iframe now gets itscontentWindowandcontentDocumenteven without--load-resources iframe. Its HTTP and WebSocket requests are blocked while iframe loading is off. - An HTTP status from 600 to 999 (e.g. LinkedIn's
999) is now reported as-is instead of0. - Trusted
mousedown,mouseup,clickanddblclicknow stop at the first disabled form control, as in Chrome. - Element clicks and hovers from tools now hit the element's center instead of
(0, 0). document.readyStateis nowinteractivewhen deferred scripts run.Network.setUserAgentOverridenow logs a warning when a restricted user agent is ignored.- The HTTP server parses requests more strictly and its routes are guarded against DNS rebinding.
CDP
- Several page targets in one browser context. Console, exception and network events are routed to the right target, and a frame id from another target is rejected
- Accessibility:
ignoredReasonsnow match Chrome (ariaHiddenElement,ariaHiddenSubtree,inertElement,notRendered,notVisible) - Lone surrogate escapes in JSON (
"\udc00") are accepted instead of closing the connection LP.waitUntiland asettledlifecycle eventbeaconadded toLP.configureLoading- A closed browser context no longer leaves its viewport override for the next one
LPcommands described in/json/protocol
Serve / CLI
--wait-until settled(experimental): waits for load, then for the work that can still change the page. Interval timers, long timers and intersection observers don't hold it--v8-gc-hint-floor-mbreplaces the fixed 1 MiB GC hint floor. Off infetch--experimental-features animation: fireanimationstart,animationendandanimationcancelfor CSS animations- Bash 3.2 (macOS) filename completion
New Web APIs
AnimationEventand CSS animation events (behind--experimental-features animation)ClipboardEventInputEvent.getTargetRanges()execCommand('insertParagraph')getComputedStyle().contentresolved from the cascade
Web API behavior / fixes
- Text editors: CKEditor works, and clicks, focus and Tab place the caret in a
contenteditable(Slate, Draft.js) contenteditable: Backspace and Delete merge blocks (nested ones too), side-by-side lists merge, Enter in an empty list item outdents itexecCommand: runs of spaces and spaces at line edges become , so they stay visibleinnerTextkeeps spaces when CSSwhite-spacepreserves them, and puts a newline between rows ofthead,tbodyandtfoot:definedfollows the custom element state; customized built-ins (<button is=...>) now upgrade[CEReactions]forcreateElement/createElementNS; the reactions queue is no longer drained when a constructor returnsa.hashanda.search(and<area>) return""for a lone#or?history.pushState(undefined)no longer breakshistory.state; state that JSON can't encode throwsDataCloneErrorimport()of an already available module settles in a later task, as in Chromewindow.<id>on an iframe's window looks up the iframe's document- Functions called from a realm whose frame is gone no longer crash (
import(),import.meta,postMessage,location) - WebSocket: fragmented messages are reassembled; the server's
Sec-WebSocket-Protocolis checked against the offered list - CORS responses filter their headers
Response.clone()on a stream;pipeTo/pipeThroughfixes- Input
stepUp/stepDownwith fractional steps (0.1 + 0.2gives0.3) matchMedia("")always matches- SVG
getCTM()/getScreenCTM()return an identity matrix on a detached element frameandbasefontare serialized as void elementsdocument.createEvent('inputevent')is rejected;PromiseRejectionEventrequires its optionsnew CSSStyleSheet()sheets are the only onesreplace()acceptsIntersectionObserver: the first check runs on the next tick
Tools / MCP
treedelta: true: returns only the lines that changed since the last call- The page's WebMCP tools are reported in a tool result whenever they change
- Actions that open a window late (after a fetch or a timer) now follow it; new
popupstool lists and switches windows clicksays when the element is disabled or not rendered- Tool arguments are type-checked, and every error names the argument and the problem
treeandmarkdownkeep content that is rendered despitehiddenoraria-hidden- Markdown:
<ol start>, multi-paragraph blockquotes, a blank line before--- - MCP over HTTP: tool output streamed over SSE (the
runtool streams console lines),logging/setLevel, andnotifications/cancellednow stops the call in flight - The
runtool description explains how to load pages in parallel
Performance / stability
- Style caches are invalidated per property group, and a geometry change no longer resets the whole geometry cache
- Smaller CSS declarations (~500 KB saved on a style-heavy site); property names are ids, and style matching compares ids (7%+ faster rebuilds on most frameworks)
- XHR takes the response body instead of copying it
- XPath parsing allocates less
- Crash fixes: abort during a gated transfer, a UAF in custom element upgrade
- The crash reporter exits non-zero when it can't start
curl
Release
- macOS builds run on macOS 15; the Intel build targets baseline x86_64, fixing "Illegal instruction" on older CPUs
- Release candidates (
1.0.4-rc1) are now published
1.0.4-rc1
Merge pull request #4584 from lightpanda-io/pre-release
1.0.3
Behavior changes
serve: the--http-max-concurrentdefault now follows--cdp-max-connections(8× it, between 40 and 256). With the default 16 connections it is 128.fetch --dump markdownnow asks the server for markdown (Accept: text/markdown,...). Atext/markdownresponse is dumped as-is. Not sent with--dump-selector,--wait-selectoror--wait-script.Accessibility.getPartialAXTreenow honorsfetchRelatives, as Chrome does: it returns the node and its relatives, no longer the whole subtree. UsegetFullAXTreeorgetChildAXNodesfor a subtree.DOM.querySelectorwith no match now returnsnodeId: 0instead of an error, as Chrome does.- Touch event handlers (
ontouchstart, …) are removed fromdocumentand elements: Lightpanda doesn't emulate a touch device. navigator.sendBeaconnow checks its arguments. Beacons are still not sent unless--load-resources beaconis set.- The HTTP cache database is deleted and rebuilt when its schema version changes.
waitForStatenow reports a timeout instead of always answering that the page reached the state.- MCP over HTTP: a request on a session closed with
DELETEnow gets a 404 instead of starting a new session. fetch()andnew Request()with a body on GET or HEAD now throw aTypeError.- Scripts inserted from an isolated world (Playwright
setContent,appendChild) now run in the main world. - Event listeners now run in their own world's context, so Playwright's
focus()andselectOption()fire React'sonFocus/onChange.
New Web APIs
AudioContext(WAV only)- Payment Request API:
PaymentRequest,PaymentResponseand their events, behaving like Chrome with no payment app installed NavigateEventonnavigation(intercept()is not implemented)PerformanceNavigationTimingentry for the documentdocument.execCommand:insertText,delete,forwardDelete,selectAll,insertLineBreak, and thestyleWithCSS,useCSSanddefaultParagraphSeparatorsettings. Other commands returnfalseimage.decode()HTMLElement.isContentEditable(real value),HTMLElement.spellcheck,document.designModeTouchconstructor andTouchEventtouch listselementFromPoint/elementsFromPointonShadowRoot- SVG
getBBox() HTMLFrameElement,SecurityPolicyViolationEvent, a stubPath2Dnavigator.mimeTypes(emptyMimeTypeArray)img.sizes;link.relList.supports()fordns-prefetch,preconnectandprefetchHTMLFieldSetElement.elements;abbr,mark,small,wbrand other HTMLElement-only tags are nowHTMLElementinstead ofHTMLUnknownElementonmouseenterandonmouseleavehandlers- Web Crypto:
raw-secretandraw-publickey formats;CryptoKeyis now serializable (structuredClone,postMessage, IndexedDB) MessagePortis now transferableTextDecoderStreamdecodes every encodingTextDecodersupports, with state kept across chunksXMLSerializernow writes XML instead of HTML- WebMCP follows the current spec:
document.modelContext,getTools(),toolchange,registerToolreturns a promise - CSS: native nesting, color parsing, more known properties (
CSS.supports, unknown property errors)
Web API behavior / fixes
- Layout: flex-shrink, horizontal margins,
left/right/inset, and widths from text measurement. Widths are relative to the containing box. Out-of-flow children no longer size their parent, and block boxes start at their parent's left edge positionis now read from stylesheets, not only from the inline style (offsetParent,getComputedStyle)- An iframe without size is now 300×150, and its box is the frame's viewport, so Playwright can click inside it
Range.getClientRects()now returns one rect per selected element or text nodeelementFromPointreturnsnulloutside the viewport- Textarea
scrollHeightnow counts its text, for auto-sizing textareas - Typing and
Input.insertTextnow insert text intocontenteditableelements anddesignModedocuments; Ctrl-A selects all - Selectors:
:in-range/:out-of-range,:default,:scopeon a document;:required/:optionalonly on form controls;[attr^=""],[attr$=""]and[attr*=""]match nothing - Forms:
stepMismatch, Chrome-liketype=emailvalidation (withmultiple),readonlyfields skip validation, emptyactionmeans the document's URL margin,padding,insetandborder-*shorthands now expand into longhandsstyle.x = nullandsetProperty(name, null)now remove the declaration- Media queries accept fractional lengths (
max-width: 767.98px) - Changing a
<style>'s text now clears the style cache - Un-rendered light DOM (slot fallback with assigned content, unslotted children) is now treated as hidden
- A closed
<details>keeps its loose text out ofinnerText <a>and<area>URL setters keep userinfo and reject invalid values; better URL port handlingnavigation.navigate()with a fragment now updateslocationand the entry URLdatasetrejects invalid names and maps a leading capital todata--isEqualNodecompares namespace URIsDOMTokenList.forEachsees mutations made by its callbackselect/selectionchangeevents are now dispatched asynchronously;eventPhaseisAT_TARGETin direct dispatch<dialog>:show()on an open dialog does nothing,closefires asynchronouslyxhr.responseType = 'document'now parses HTML into anHTMLDocumentinnerHTML = ""on an<html>element creates<head>and<body>document.fonts.load()no longer fires load events when there are no font facesnavigator.appVersionnow starts with5.0- Properties moved to the right interfaces (e.g.
titleonDocument); the global's prototype is nowWindow.prototype new WebSocket(url, ['a', 'a'])throws aSyntaxError- A string longer than V8 accepts throws a
RangeErrorinstead of aborting import()of a module that threw rejects with the module's exception- Inline scripts report errors at their position in the document
- Timers run on the initial
about:blankpage - Pending timer cap raised from 8192 to 65536
Scripts
- The parser runs microtasks before preparing a
<script>, so aMutationObservercan change its type first - Dynamic scripts with
async=falserun in order; dynamic scripts can't bedefer; inline modules run like external ones - Already-fetched async scripts now run from a task, after the markup that follows them
<script src="">fireserrorinstead of fetching the page
Cookies / HTTP
- A non-secure origin can't set or overwrite a
Securecookie (RFC 6265bis) - The cookie jar evicts old cookies past Chrome's limits instead of failing the response
- A cookie with neither a name nor a value is ignored; IP addresses are each their own site
- The HTTP cache skips
Rangerequests and URLs with userinfo;Varymatching fixed --http-cache-set-cookie=skip|store|stripadded (experimental,storeandstripneed--experimental-features)- DNS lookups are shared across connections
- The robots.txt cache now expires after 24 hours
- Web Bot Auth:
Signature-Agentis the quoted origin, and each signed request has a nonce
CDP
- File downloads (
Browser.setDownloadBehavior), saved to disk or streamed - Accessibility domain completed:
getRootAXNode,getAXNodeAndAncestors,getChildAXNodes; shadow DOM is now walked in the AX tree Page.setDocumentContent(Puppeteerpage.setContent())Performance.getMetrics(Timestamp,JSHeapUsedSize,JSHeapTotalSize)Input.setInterceptDragsandInput.dispatchDragEventCSS.getComputedStyleForNodeDOM.getContentQuadsandDOM.getBoxModelfor text nodesPage.navigateToHistoryEntryrestores a same-document entry in placeFetch.fulfillRequestnow stores the response's cookiesNetwork.loadingFinished.encodedDataLengthnow reports the bytes received- An unknown context returns Chrome's error code and message
/json/protocolupdated
Tools / MCP
downloadtool, streamed to diskpageToolsandcallPageTool: list and call the page's WebMCP toolsclassify,acceptCookiesandlogintools (TypeSafe Jev withTYPESAFE_API_KEY)- MCP
runtool: run a PandaScript by source or by path - MCP stdio:
notifications/cancelledstops the in-flight tool call tree: ARIAcheckedandexpandedstatesinteractiveElementsreports whether an element is in a fixed or sticky overlay- Structured data: microdata
- A missing required argument is now named in the error;
nullmeans unset - A
backendNodeIdwhose node left the document is rejected - Markdown: empty code spans dropped, no inline markup inside code
- Redacted dumps keep an empty password field empty
Agent
- xAI (Grok) provider,
XAI_API_KEY - LLMD provider and Parallel search (
PARALLEL_API_KEY) - REPL tool commands take a prompt (
/click the add to cart button), recorded with explicit selectors for/save - The REPL exits when its terminal goes away
- Ctrl-C and timeouts now stop a script that loops after an
await
WebDriver
POST /session/{id}/window
Performance / stability
- Compiled scripts (classic and modules) are stored in the HTTP cache
- Single-threaded arena allocator (~10% faster on WPT)
- Faster V8 ↔ Zig calls (~10%)
- Faster style matching, selector lists, class and sibling selectors,
getTag() - Inline transforms no longer drop the cascade's memos
- Cookie jar stored per site
- Arenas free blocks they can't keep instead of keeping them in place
- Response bodies are no longer buffered in the transfer's arena
- Faster startup on macOS
- Crash and UAF fixes:
call_arenain nested calls, EventSource double abort,document.write, structured-clonedFileList,DataCloneErrormessages, WebMCP tool errors...
1.0.2
Behavior changes
- JS page errors now log under a new
page_errorscope at WARN (silence with--log-filter). - Each top-level page now has its own session history; a second page no longer shows up in the first page's back/forward.
--block-private-networksnow blocks more non-routable ranges (CGNAT, benchmarking, multicast, reserved, NAT64).no-corsfetches with a non-safelisted method are now rejected.- An unreadable
--http-cache-dirdatabase is now discarded instead of exiting. - Console values written to the log are now escaped and capped.
New Web APIs
- Web Crypto: Ed25519, X25519, ECDSA, RSA-PSS, RSASSA-PKCS1-v1_5,
wrapKey/unwrapKey+ AES-KW; EC and RSA-OAEP import/export - WebCodecs,
OfflineAudioContext, WebVTT improvements - XML document parsing
setRangeText()on<input>and<textarea>;textarea.textLengthHTMLProgressElementvalue/max/position;HTMLOptionElement.index; missing table APIsdocument.hasFocus();window.outerWidth/outerHeight/screenX/screenY/screenLeft/screenTop:nth-child(An+B of S)and:nth-last-child(An+B of S)PermissionStatusis now anEventTarget;DOMExceptionis now structured-cloneable;ImageDataoverload- Missing global event handlers added to
window,documentandbody
Web API behavior / fixes
- Element widths are now resolved relative to their parent (block, inline, floats, %, min/max-width, basic flex)
- Client rects (
getBoundingClientRect,getClientRects) are now viewport-relative - Mouse events now reach into shadow DOM and iframes
- Escape now closes the topmost modal dialog
- Iframes inside a shadow root now load when their host connects
replaceWithcompliance and cross-document adoption;isEqualNode(null)now returns falseinsertAdjacentHTMLnow works on SVG elements- Trusted key events now report Chrome's legacy
keyCode/which/charCode - Text selection offsets now count UTF-16 code units
TextDecodernow only strips a BOM for UTF-8/UTF-16form.elementsnow lists fieldset, object and output- Sequence arguments now accept any iterable
- Better
getComputedStyle().transform - Fixed CSS nested rule parsing; escapes are now decoded in unquoted attribute selectors
- Cookies are now sent longest path first, then oldest first
- 401/407 responses are now delivered as-is when no auth challenge header is present
CDP
Fetch.continueRequestinterceptResponseis now supportedFetch.continueWithAuthwithDefault/CancelAuthnow delivers the original 401/407, as Chrome doesRuntime.exceptionThrownis now emitted for unhandled promise rejections, with the context the exception was thrown inLog.entryAddedis now emitted for resources that fail to loadDOM.scrollIntoViewIfNeededis now supported (previously a no-op)LP.getPageStatusadded: page issue summary (JS errors, skipped resources, fetch stats). Also included infetchoutput when--jsonis used- Custom ARIA states and focusability are now exposed in the AX tree
- Non-UTF-8 status text and headers are now reported as strings rather than a byte array
- Permission overrides are now cleared when a browser context closes
Serve / CLI
serve --unix-socket <path>added: CDP over a Unix domain socket--remote-allow-originsadded: allow CDP connections that send anOriginheader (rejected by default), matching Chromeservenow honors--cookie-jar: the jar is saved when a connection closes. With multiple connections, last write winsfetch --dump structured_dataaddedfetch --markdown-alternateadded: follow a page'stext/markdownalternate.text/markdowndocuments are now dumped as-is
Tools
markdowntool:alternateoption added- A failed
gotonow closes the page - Tree tool: links kept inside headings, multi-line names kept on one line
Performance / stability
- Reworked TaggedOpaque (less memory)
- The scheduler now runs from a snapshot and no longer runs after every script evaluation
- Faster forgiving base64 decode
- UAF fixes: blob navigation, attribute change, file→blob layout; recursive close during load
- Script rejects no longer run microtasks mid-evaluation
1.0.1
Behavior changes
setImmediateandclearImmediatewere removed (deprecated, not part of the web platform).- MCP and agent modes now load external stylesheets by default.
- Max HTTP redirects raised from 10 to 20, matching the Fetch spec.
- Unsupported protocols are no longer navigated to;
javascript:URLs are run instead of navigated to.
New Web APIs
- Web Locks
- Compression Streams API
- RSA-OAEP in Web Crypto (
generateKey,importKey,encrypt,decrypt) - Custom elements:
ElementInternalsand form-associated callbacks Request.bodyandRequest.textStreamHTMLFormElement.reset, form numeric and named index,form.fieldHTMLTableElement.rows,HTMLSelectElement.remove(index),select.lengthsettertextarea.type,fieldset.type,output.type;HTMLMeterElementaccessorsGlobalEventHandlersattributes onWindowandDocument; document named index- Performance secondary buffer;
performance.timeOriginrelative to the Unix epoch ConsoleandCSSare now proper namespaces; more missing namespace methods
Forms / input
- Implicit submit on Enter; improved form submission; GET submissions replace the action's query
- Fire
changewhen typed text is committed by blur or Enter - Ctrl+A selects the whole value in text fields
- All text edits go through one gated path; better
contenteditabledetection - Single-contact touch for CDP, testdriver and BiDi
- One WebDriver key table shared by BiDi, testdriver and
press - Click press/release sequences shared across input paths and matched to Chrome
- Keydown default actions run only for trusted events
- Range and color inputs get their default value;
input.valuereflects to the attribute in default modes - Skip inputs with an empty name;
:checkedapplies to options; option text strips and collapses whitespace
Web API behavior / fixes
fetchresolves after headers are received; an abort signal aborts a fetch- XHR response header compliance; improved data-URL parsing
- Exceptions from timers, animation frames,
on*handlers, observers and microtasks go toreportError on*handler attributes behave like any other event listenerdocument.openresets loaded frame state; severaldocument.closecrash fixes- Fire
popstateon a fragment navigation; history traverses within a document by entry - Each
Windowgets its ownHistory;LocationURLs resolve against the calling document - Dynamic
<base>updates the document base URL iframereflects and reacts tosrc; sandbox token queries; iframe removal cleanupreplaceChildrenadopts nodes from another document- Classic scripts are decoded with their charset
- Timers accept any value; negative delays clamp to zero
IntersectionObserveronly intersects connected targets- Fix custom element upgrade ordering during fragment parsing; undefined custom elements use the
HTMLElementprototype
CSS / selectors / rendering
- Computed style reports initial values and a resolved
font-size; padding, margin and border widths default to0px text-transformapplied ininnerTextand resolved ingetComputedStylerevertandrevert-layertreated likeinherit- Decode fetched stylesheets; fix tokenizer exponent and hyphen-escape bugs; external stylesheet cap raised to 4 MiB
- Hit testing honors
pointer-events:noneandvisibility:hidden - Visibility inheritance matches Chromium in styles and the AX tree
- Hide a
[popover]that is not showing - Block-level flex and grid containers no longer grow with their items
- Selectors:
:valid/:invalidon every validity constraint,:read-write/:read-onlyper HTML, case-insensitive attribute values, type selectors on XML and foreign elements, pseudo-elements accepted
CDP (Chrome DevTools Protocol)
- Pause requests at the
Fetchresponse stage - Start of the
Debuggerdomain - Emit
Runtime.exceptionThrownfor uncaught page exceptions Page.navigatedWithinDocumentfor fragment navigations and traversals;Target.targetInfoChangedon URL/title change- Honor
Page.navigatereferrer/referrerPolicyand client target filters insetAutoAttach - Keyboard input reaches the focused element inside an iframe;
rawKeyDowndispatches keydown - AX tree:
depthparam, properties written closer to Chrome, accepted without params - Accept the cookie fields Chrome accepts, so
deleteCookieworks
WebDriver / BiDi
- BiDi
browser.getClientWindow - WebDriver window close
- CDP and BiDi cookies built through one Chrome-checked constructor
HTTP / Networking
- Update libcurl to 8.23.0; enable zstd
- Check more HTTP caching headers
- Cookies: keep a session cookie set with
expires -1; accept a UTC zone inexpires --http-curvesto set TLS key exchange groups;--http-debugfor libcurl verbose outputserveaccepts the--advertise-hostname as the WebSocketHost
MCP / agent / tools
- MCP runs each HTTP session on its own thread; idle sessions can be reaped with
--http-session-timeout(off by default) - Agent:
--tracewrites one JSON line per step;--trace-resultsadds tool result text - Agent: tells the model today's date, flags 4xx/5xx navigations, drops stale tool results
- Tree tool:
maxBytesbudget with[more]markers; iframes listed with their URL - Search drops results the browser would block
- Telemetry records tool calls and the MCP client name
Dump / markdown / PDF
- PDF output includes the actual text
--render-fontadds fonts for characters the bundled DejaVu fonts lack (e.g. CJK)- More aggressive clutter stripping;
<template>contents serialized; fenced code blocks keep their language
CLI
completioncommand prints shell completion for bash, fish and zsh
Performance / memory
- Return freed malloc memory to the OS when a connection closes (glibc)
- Cache computed ancestry values and the root node during parse
- Faster
Node.getDocument, owner frame lookup and anchor query matching - Backtrack limit on user-supplied regex
- Limit V8
ArrayBufferallocation to 4 GB; don't copyReadableStreamchunks into the page arena
Stability fixes
- Fix UAF in
MutationObserver - Refuse native calls when terminating; run microtasks only at call depth 0
- Commit an error document when a root navigation fails
- Re-implement
__clear_cacheon Linux arm64 to work around a Zig bug - Log the script that ran out of JS heap
Build / CI
- Upgrade to Zig 0.17
- Unit tests run across parallel processes (about 3x faster)
- Nightly builds strip debug symbols