Skip to content

v0.7.4

Choose a tag to compare

@github-actions github-actions released this 27 Oct 19:17
· 343 commits to main since this release
002c0ff
  • Every dependency this release builds, tests and ships with is at its latest release: pydantic 2.14.1, pydantic-settings 2.16.1, websockets 17.3, ruff 0.17.3, pytest 9.1.1, pre-commit 4.7.0, Biome 2.6.3 and @types/node 26.6.5 among them. ty, the preview type checker the gate runs, moved to 0.0.92, which evaluates annotations at runtime on Python 3.13; the five modules that annotate with pydantic's JsonValue now import from __future__ import annotations, so their JsonValue | None annotations resolve as types rather than as an unsupported | at import.

  • A click that only redraws a page already read no longer buys another read. Sorting a list, closing a banner, opening a tab or expanding a row set the run owing a full reader call, which re-read facts the notes already held. The run now compares the page with what it has read from that document: a block it never read, or a quoted value the page no longer shows, still sends the read, and a pending order or a control the reader named is always read. The reader is also sent only the guidance its page can use, so a page with no records or pager no longer carries the tally, ranking and paging instructions. A click that saves the same file an earlier click saved is reported as changing nothing, so a run stops clicking one export link over and over. Both cores carry the change.

  • A connect_cdp on the Rust core that is cancelled while it opens now closes the tab and DevTools session it opened. Before, a cancellation that landed as the page was arriving left both open in the browser.

  • A download the run cannot keep is now reported, and the ceiling is the caller's. Downloads arrive whole over the DevTools socket, so a run keeps them up to Config.max_download_bytes (512 MiB by default) and used to drop anything larger without a word: no artifact, no count, no error, so a run that clicked a large export reported success with no file. Over the ceiling the response's stated Content-Length is refused before the body is fetched, the refusal is recorded, and the observation says [Download not kept: ... nothing was saved] once so the run reports the file as not downloaded. A caller that knows the size of the file it asked for, such as a workspace export or a database dump, raises the limit deliberately. The file's name now comes from the response's filename* (RFC 5987, including a language tag) with a safe fallback to the URL's path segment, so a signed query string no longer becomes part of the name on disk. responseHeaders is read in either shape CDP delivers it in.

  • The Arch package builds the Rust core from the sdist with cargo and maturin, so it is now one package per architecture (x86_64, aarch64) rather than any.

  • The Rust core is the default. run_task, connect_cdp, fastbrowse, fastbrowse serve and fastbrowse-mcp run on it, and the npm packages ship the Rust binary and the Node addon instead of the frozen Python package. On the fixture suites it reaches the same results as the Python core on all 36 tasks, from the same model responses, with 18x less agent CPU, 54x faster startup and 5x less memory (bench/results/rust-vs-python.md). FASTBROWSE_PYTHON_CORE=1 runs the Python core instead, for this release only: 0.9.0 removes it (ADR 0004). FASTBROWSE_RUST_CORE is gone. The fixture eval suites now run through run_task, so they measure the core the package runs.

  • The fastbrowse package on PyPI carries the Rust core as fastbrowse._native. It ships as one wheel per platform (macOS arm64 and x64, Linux x64 and arm64, Windows x64), each serving CPython 3.13 and later, instead of one pure-Python wheel, and you no longer install a separate fastbrowse-native build. Installing from the sdist needs a Rust toolchain. With FASTBROWSE_RUST_CORE=1 the fastbrowse and fastbrowse-mcp commands run the Rust CLI in-process, and fastbrowse-mcp then works without the mcp extra. The Python core is still the default (ADR 0004).

  • connect_cdp runs on the Rust core with FASTBROWSE_RUST_CORE=1. The page it yields has the Python page's methods (observe, capture, act, navigate, screenshot, address, origin, document_changed, response_status, artifacts, withhold_frames), takes and returns the same models, and raises the same browser errors. check_access and an artifact_sink of your own cross as they do for run_task.

  • A run on the Rust core that is cancelled now stops the plan and shortcut it began at startup, and waits for them, before the cancellation reaches the caller, as the Python core does. Before, once the run was under way, those calls ran on to the end, paid for, after run_task had returned.

  • record and cursor work on the Rust core. It used to refuse both with "record and cursor are not built into this binary". Now a recorded run writes the plain and the captioned video, ends on the result card, and reports both in recordings, as the Python core does. A recording that cannot start, for example with no ffmpeg on PATH, raises RecordingError. cursor draws through the Cua Driver where it can and is a no-op elsewhere.

  • With FASTBROWSE_RUST_CORE=1, every run_task call runs on the Rust core. It used to fall back to Python whenever an argument had no field in the serve protocol: your own jev or llm client, an http client, check_access, a non-default Config, a cloud key, allowed_origins, cloud options or fetch. Those objects now stay in Python and the core calls back into them, so they behave as they did on Python. A client's ledger reservations count against the run's limits, and a response it validates is checked against the core's own schema. There is one difference: an exception from your Jev, LLM or HTTP client that is not one of their own errors now fails only that call, as any client failure does, rather than propagating out of run_task. A call the run had started but no longer waits on, such as the plan begun while a browser was failing to start, can no longer end the run. This is the first step toward running Rust by default (ADR 0004).