Skip to content

Releases

Fluxwright v0.15.0

Choose a tag to compare

@harshit-d3v harshit-d3v released this 30 Nov 14:45

What's Changed

  • bench: add puppeteer-cluster, crawlee, p50/p99 latency, and CPU% by @harshit-d3v in #148
  • bench: measure full job lifecycle latency in puppeteer-cluster and crawlee by @harshit-d3v in #149
  • docs: publish 5-tool CI benchmark results (run 45939361663) by @harshit-d3v in #150
  • bench: add selenium-webdriver as 6th CI benchmark competitor by @harshit-d3v in #151
  • feat(parity): Playwright compatibility matrix, parity suite, and missing Node/Python page waits by @harshit-d3v in #152
  • fix(benchmarks): use Selenium 4 WebDriver BiDi userContexts for fair per-job isolation by @harshit-d3v in #153
  • ci: speed up GitHub Actions with paths-filter, BuildKit cargo cache, and uv by @harshit-d3v in #154
  • docs(phase1): add llms.txt, migration guide, deploy kit, and verified 6-tool BiDi benchmarks by @harshit-d3v in #155
  • feat(server): async recursive /v1/crawl, declarative CSS extract, and /openapi.json by @harshit-d3v in #157
  • feat(cli,cdp): standalone fluxwright show-trace HTML viewer and FLUXWRIGHT_DEBUG=1 by @harshit-d3v in #156
  • feat(bench,ci,docs): scheduled 2-hour soak CI, cluster scaling bench, and production guide by @harshit-d3v in #158
  • feat: v1.0 stability contract, MCP schema snapshot test, and starter apps by @harshit-d3v in #159
  • feat(sdk): add typed Node and Python FluxwrightClient HTTP SDKs by @harshit-d3v in #160
  • feat(server,cli): multi-tenant auth/quotas, session files & extensions, sticky sessions, and OpenAPI contract by @harshit-d3v in #161
  • chore: add NOTICE file with copyright attribution by @harshit-d3v in #162
  • chore: credit Harshit Prakash as author across packages, docs and citation by @harshit-d3v in #164
  • docs: add npm, PyPI and license badges by @harshit-d3v in #163

Full Changelog: v0.14.0...v0.15.0

Fluxwright v0.14.0

Choose a tag to compare

@harshit-d3v harshit-d3v released this 26 Nov 13:50
3c364be

Fluxwright v0.14.0

3-Tier Hybrid Execution Engine

  • Tier 1 pure-Rust HTTP fast path (POST /v1/scrape & POST /v1/map): DNS-pinned, SSRF-safe HTTP/1.1 + HTTPS fetcher (rustls + ring) and html5ever HTML-to-Markdown / link / include_sitemap extractor. mode defaults to "auto" (accepting "auto", "http", or "browser"), reports engine: "http" | "browser" and fallback_reason, defaults resource_preset to "scraping" on non-visual scrape/map calls, and exposes fluxwright_fastpath_hits_total and fluxwright_fastpath_fallbacks_total on Prometheus /metrics.
  • Tier 2 opt-in external light-CDP hook (--fast-cdp-endpoint): Connects non-visual escalated scrapes/maps to an external lightweight CDP server (such as Moli, Obscura, or Lightpanda) with graceful -32601 Method Not Found capability fallback and zero AGPL entanglement.
  • Tier 3 low-memory Chromium options: Opt-in --low-memory launch flags and --recycle-rss-mb RSS recycling threshold across CLI, server, and Rust LaunchOptions::low_memory / EngineBuilder::low_memory.

Verified CI Benchmarks (Run 45825257140, ubuntu-latest, chrome-headless-shell 158.0.8127.88)

  • Tier 1 HTTP fast path (benchmarks/fastpath-bench.mjs, 30 reqs x 8 concurrency, 0 failures across 14 scenarios):
    • scrape-static-auto: 518.8 req/s, 13.9 ms p50, 13 MB server RSS (vs 28.9 req/s, 269.7 ms p50, 384 MB RSS in browser scraping mode)
    • map-static-auto: 1,140.7 req/s, 6.7 ms p50, 14 MB server RSS
    • scrape-mixed-auto (80% static / 20% SPA): 130.2 req/s (24 HTTP / 6 browser auto-escalation)
  • 5-minute soak & fleet chaos:
    • soak-5m: 7,898 jobs in 300s (26.3 jobs/s, 43 ms p95), 0.0% failures, 0 leaked Chrome processes, flat RSS after recycling (505 -> 517 -> 443 -> 442 MB)
    • Fleet & chaos: Beat Playwright & Puppeteer in all 8/8 scenarios (66.1 vs 36.3 jobs/s at -36.3% peak RAM on 10-concurrent-browsers; 48.6 jobs/s with 0.0% failures across 9 browser kills in chaos-1000-queued vs 71.3% / 67.7% failures)

Install (All 5 Channels)

  • Rust (crates.io, first release across all 6 workspace crates): cargo add fluxwright@0.14.0 (plus fluxwright-cdp, fluxwright-core, fluxwright-server, fluxwright-cli, fluxwright-mcp)
  • Node/TS: npm install fluxwright@0.14.0
  • Python: pip install fluxwright==0.14.0
  • Docker (multi-arch linux/amd64 + linux/arm64): docker pull ghcr.io/harshit-d3v/fluxwright:0.14.0
  • Prebuilt CLI & MCP binaries (7 targets): Download archives from the Assets below (x86_64/aarch64 Linux gnu, x86_64 Linux musl, macOS Apple silicon & Intel, x86_64/aarch64 Windows).

Fluxwright v0.13.2

Choose a tag to compare

@harshit-d3v harshit-d3v released this 26 Nov 09:31
93d56d2

Patch release fixing POST /v1/map block_cookie_banners deserialization, per-target session replay capture tracking, and target blocker setup when no CDP client is connected.

What changed

  • POST /v1/map block_cookie_banners: Accept "block_cookie_banners": true in MapRequest (crates/fluxwright-server/src/map.rs) and forward it to the underlying crawl job so requests matching docs/SERVER.md no longer return HTTP 422.
  • Per-target session replay tracking & throttling: Track navigation URLs and captured screenshot URLs per observer session (HashMap), record last_frame_at only when a frame capture succeeds, and apply MIN_FRAME_CAPTURE_INTERVAL consistently across Page.frameNavigated and Page.loadEventFired in crates/fluxwright-server/src/sessions.rs.
  • Disconnected session target blocking: Install ensure_preset_blocker inside spawn_session_reaper on newly created session pages and iframes even before a CDP WebSocket client connects.

Fluxwright v0.13.1

Choose a tag to compare

@harshit-d3v harshit-d3v released this 26 Nov 08:08
d31c4ba

Patch release fixing managed session cookie banner blocking, replay frame capture reliability, and 0.13.0 documentation mismatches.

What changed

  • Managed sessions (POST /v1/sessions): Wire block_cookie_banners through GatewayPolicy and BlockerConfig into the CDP gateway Fetch blocker so CMP script origins are blocked across session pages and child iframes alongside resource_preset. Verified by managed_session_blocks_cookie_banners_via_gateway.
  • Session replay frame capture: Add a Page.loadEventFired fallback capture when the initial Page.frameNavigated screenshot did not land, and raise Page.captureScreenshot timeout from 5s to 10s.
  • Docs & metadata: Update stale 21-tool MCP copy to 22-tool, include export_api_calls in tool lists across README.md and www, clarify npm/PyPI 5-target vs GitHub Releases 7-target prebuilt coverage on the landing page, and document block_cookie_banners across /v1/jobs, /v1/sessions, /v1/scrape, and /v1/map in docs/SERVER.md.

Fluxwright v0.13.0

Choose a tag to compare

@harshit-d3v harshit-d3v released this 25 Nov 20:48
e2842ec

What's new in v0.13.0

Searchable Session Replay, Network/HAR/API Export & Dashboard Upgrade

  • GET /v1/sessions/{id}/replay: Searchable per-session timeline (nav, console, network, frame events with ?q=, ?kind=, ?include_frames=true|false) and optional throttled JPEG frame capture ("record_frames": true on POST /v1/sessions), plus a 15-minute retained replay ring (MAX_RETAINED_REPLAYS = 32) that survives DELETE /v1/sessions/{id} and TTL expiry.
  • GET /v1/sessions/{id}/network: Live or retained request log supporting ?filter=, ?api_only=true (xhr/fetch + JSON/GraphQL responses), ?format=json|har (HAR 1.2 export), and default redaction of authorization, cookie, set-cookie, x-api-key, and proxy-authorization (?include_auth=true to opt in).
  • Dashboard Managed Sessions UI (/dashboard): New Managed Sessions table with Live, searchable Replay, and Network / API modal viewers.

Synchronous Site Link Discovery (POST /v1/map) & Opt-In BYOB Sessions

  • POST /v1/map: Single-request rendered link discovery deduplicating http:/https: anchors with same_origin, include_subdomains, search, and limit filters under SSRF validation.
  • Opt-in BYOB cdp_endpoint on POST /v1/sessions: Enable with fluxwright serve --allow-session-cdp-endpoint (ServerConfig::allow_session_cdp_endpoint, fail-closed 403 when off) to attach external browsers (e.g. Patchright or local stealth Chrome) into Fluxwright's managed session, Live View, and Replay pipeline.

AI-Agent Guardrails & Observe-Once API Export

  • Snapshot Revisions & Pinned Refs (@eN@rK): AriaSnapshot.revision increments on every snapshot and resets/bumps across navigations across Rust, Node (revision: number), Python, and fluxwright-mcp (rev: N header). Passing @eN@rK fails fast with a clear stale-ref error if the page mutated or navigated.
  • MCP export_api_calls (Tool #22): Captures structured xhr/fetch/JSON calls with headers + post_data in json or curl format (auth headers redacted by default) so agents can replay APIs directly via APIRequestContext.
  • Cookie-Banner Blocking Preset (block_cookie_banners): Curated COOKIE_BANNER_URL_PATTERNS preset across Rust (JobOptions::block_cookie_banners(true)), /v1/jobs, /v1/scrape, and /v1/sessions.

Agent Framework Adapters & Stability

  • examples/adapters/: Drop-in starter adapters for Browser-Use, Stagehand v3, and Vercel AI SDK (plus fluxwright-mcp --http).
  • Python macOS cross-origin iframe fix: Stabilized test_multi_tab_popups_and_frames using auto-retrying expect().

Install

  • Node/TS: npm install fluxwright@0.13.0
  • Python: pip install fluxwright==0.13.0
  • Rust: cargo add fluxwright@0.13.0
  • Docker: docker pull ghcr.io/harshit-d3v/fluxwright:0.13.0
  • Binaries: Download prebuilt archives from the assets below (Linux x64/ARM64/musl, macOS x64/ARM64, Windows x64/ARM64).

Fluxwright v0.12.0

Choose a tag to compare

@harshit-d3v harshit-d3v released this 25 Nov 07:13
87ad3a3

What's new in v0.12.0

Self-hosted Managed Cloud Sessions (/v1/sessions)

  • Launch and manage TTL-backed persistent Chrome contexts in your own fluxwright serve fleet:
    • POST /v1/sessions — mint an isolated browser session with configurable ttl_secs, keep_alive, priority, resource_preset, profile / persist_profile, proxy_session, initial viewport, and live_view_mode (read_only or interactive). Returns cdp_ws_url / cdp_path and a paired signed live_view_url.
    • GET /v1/sessions, GET /v1/sessions/{id}, POST /v1/sessions/{id}/extend, DELETE /v1/sessions/{id} — inspect active sessions, extend TTLs (along with active embed tokens), or tear down and persist profiles cleanly.
    • GET /v1/sessions/{id}/cdp — reconnectable WebSocket CDP gateway preserving tabs, storage, cookies, resource_preset blocking, and Emulation.setDeviceMetricsOverride viewports across CDP client disconnects when keep_alive is enabled.

Synchronous Scrape & Render API (POST /v1/scrape)

  • Single-request extraction bypassing the async /v1/jobs ring, returning any combination of markdown, html, text, snapshot, screenshot_base64 (including Set-of-Marks screenshot_annotate), and pdf_base64 in one JSON response alongside url, title, and duration_ms.

Multi-arch Docker Images on GHCR & Release CI Hygiene

  • Automated multi-arch (linux/amd64 + linux/arm64) image builds published to ghcr.io/harshit-d3v/fluxwright:latest (v0.12.0, 0.12.0, 0.12).
  • Tag-gated npm and PyPI publishing workflows to prevent duplicate runs on main.

Install

  • Node/TS: npm install fluxwright@0.12.0
  • Python: pip install fluxwright==0.12.0
  • Rust: cargo add fluxwright@0.12.0
  • Docker: docker pull ghcr.io/harshit-d3v/fluxwright:0.12.0
  • Binaries: Download prebuilt archives from the assets below (Linux x64/ARM64/musl, macOS x64/ARM64, Windows x64/ARM64).

Fluxwright v0.11.0

Choose a tag to compare

@harshit-d3v harshit-d3v released this 23 Nov 17:42
682623d

Fluxwright v0.11.0

Highlights

  • Speed & Efficiency Reclaim (+13.6% to +46.5% faster than Playwright, up to -37.3% peak RAM):
    • Session-routed CDP event dispatch (PageLog), pipe/WebSocket write coalescing, single-lock channel setup, and pipelined context download/page creation (#125).
    • Removed default --site-per-process from chrome-headless-shell launches (pass --site-per-process explicitly when OOPIF newCDPSession is needed on chrome-headless-shell) and skipped background prewarming on browsers actively serving jobs (#131).
    • Verified on GitHub Actions ubuntu-latest (run 45227204313, chrome-headless-shell 158.0.8127.36): Fluxwright beat Playwright and Puppeteer in all 8 scenarios with 0.0% failures and 0 leaked processes (50.7 vs 34.6 jobs/s and 3,951 vs 6,298 MB on 10-concurrent-browsers; 52.0 vs 41.6 PDFs/s; 49.2 jobs/s with 0.0% failures across 9 browser kills in chaos-1000-queued vs 69.9% failures on both).
  • AI-Agent & Cloud Browser Differentiators:
    • fluxwright-mcp --http <ADDR> Streamable HTTP MCP transport with FLUXWRIGHT_MCP_TOKEN bearer auth and isolated per-session browser contexts (#124).
    • Diff-only accessibility snapshots (snapshot({ diff: true })) with live @eN refs and Set-of-Marks annotated screenshots (screenshot({ annotate: true })) across Rust, Node, Python, fluxwright-server, and fluxwright-mcp (#128).
    • Signed HMAC-SHA256 job webhooks (webhook + --webhook-secret, DNS-pinned SSRF protection, retries), OTLP/HTTP JSON trace exporter (--otlp-endpoint), and embeddable signed Live View URLs (POST /v1/live/{id}/embed with read_only / interactive enforcement) (#126).
  • Playwright E2E Parity Polish:
    • screenshot({ mask, maskColor, animations, caret }) and toHaveScreenshot masking across Rust, Node, Python, and fluxwright-server (#128).
    • Deterministic page.clock (install, setFixedTime, setSystemTime, pauseAt, fastForward, runFor, resume), route(..., { times }), and route.fallback(overrides) stacking across Rust, Node, and Python (#129).
  • Prebuilt Binaries (7 targets):
    • Added static Linux (x86_64-unknown-linux-musl) and Windows ARM64 (aarch64-pc-windows-msvc) archives alongside x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu, aarch64-apple-darwin, x86_64-apple-darwin, and x86_64-pc-windows-msvc (#130).
    • Serialized release workflow concurrency groups across main and v* tags (#123) and stabilized macOS Python/Node probe & screenshot timeouts (#127, #131).

Install

  • Node: npm install fluxwright@0.11.0
  • Python: pip install fluxwright==0.11.0
  • Binaries: Download fluxwright-cli and fluxwright-mcp archives from the Assets below.

Fluxwright v0.10.0

Choose a tag to compare

@harshit-d3v harshit-d3v released this 22 Nov 20:38
1032a34

Highlights in Fluxwright v0.10.0

Full-stack E2E testing batteries across Rust, Node/TS, and Python

  • Auto-retrying web-first expect() assertions: page and locator matchers (toBeVisible, toHaveText, toContainText, toHaveValue, toHaveAttribute, toHaveClass, toHaveCount, toHaveTitle, toHaveURL, .not, custom timeouts, expect.soft, expect.configure/expect.set_options).
  • Playwright Trace Viewer .zip context tracing: context.tracing (start, startChunk, stopChunk, stop) capturing actions, CDP screencast frames, bounded DOM frame-snapshot events, console logs, page errors, and network activity (npx playwright show-trace trace.zip).
  • Video recording & visual screenshot regression: per-page recordVideo (record_video_dir in Python) + page.video() recording WebM (ffmpeg) or pure-code MJPEG-in-AVI fallback, plus auto-retrying toHaveScreenshot() (to_have_screenshot) PNG pixel diffing with animation freezing, dual-background alpha diffing, and FLUXWRIGHT_UPDATE_SNAPSHOTS=1.
  • Built-in test runners: Node fluxwright/test + fluxwright-test CLI (--workers, --shard, --retries, --grep, fluxwright.config.*, HTML/JSON/list reporters) and auto-loaded Python pytest plugin (pytest11 entry point with failure traces, video, and screenshots).

Open Shadow DOM piercing by default

  • CSS and locator engines pierce open Shadow DOM roots and <slot> forwarding by default with deterministic composed-tree ordering (css:light= opt-out when light-DOM matching is needed).

Cluster, gateway, and cross-SDK hardening

  • SQLite durable job store: --store <FILE> and --result-ttl-secs <SECS> on fluxwright coordinate persist queued/running jobs and finished job results across coordinator restarts.
  • Coordinator-wide per-host limits: --max-per-host <N> and --min-host-delay-ms <MS> enforce fleet-wide concurrency and spacing across workers without head-of-line blocking.
  • CDP gateway & OOPIF security/compatibility: stricter gateway origin/boundary enforcement, --site-per-process support for OOPIF newCDPSession, and 30 cross-SDK E2E audit fixes across Rust, Node, Python, HTTP server, and MCP.

Prebuilt artifacts

  • GitHub Releases: CLI (fluxwright) and MCP server (fluxwright-mcp) archives for Windows x64, macOS arm64/x64, and Linux x64/arm64.
  • npm: fluxwright@0.10.0 + platform native packages (@0.10.0).
  • PyPI: fluxwright==0.10.0 wheels (5 targets) + source distribution.

Fluxwright v0.9.0

Choose a tag to compare

@harshit-d3v harshit-d3v released this 22 Nov 07:42

What's New in Fluxwright v0.9.0

  • Distribution & linux-arm64: Prebuilt fluxwright-cli and fluxwright-mcp binaries plus Node.js and Python bindings across linux-x64, linux-arm64, darwin-x64, darwin-arm64, and win32-x64, alongside crates.io package metadata preparation.
  • Pooled CDP WebSocket Gateway: Connect existing Playwright, Puppeteer, and Chrome DevTools clients directly via GET /cdp and GET /json/version.
  • AI-Agent Accessibility Snapshots & 21-Tool MCP: Interactive @eN reference snapshots, clean HTML-to-Markdown extraction, and an upgraded 21-tool fluxwright-mcp server.
  • Live Screencast & HITL in /dashboard: Real-time viewport streaming with interactive mouse, keyboard, and pause/resume controls for human-in-the-loop takeovers.
  • Named Profiles, Proxy/Session Pool & Adaptive Concurrency: Persistent profile state, sticky proxy/session routing with quarantine/recovery, and adaptive concurrency limits driven by host memory/CPU pressure and tail latency.
  • High-Saturation p95 Tuning & Cluster Hardening: Improved high-concurrency dispatch latency and coordinator/worker authentication and TLS hardening.

v0.8.0

Choose a tag to compare

@harshit-d3v harshit-d3v released this 21 Nov 17:05

Fluxwright v0.8.0: Playwright-parity automation engine with pre-warmed contexts, resource presets, HAR 1.2, WebSockets, Web Workers, APIRequestContext, newCDPSession, multi-tab contexts/popups/frames, fluxwright install, and hardened cluster worker management + dashboard. Verified faster than Playwright across all 8 CI benchmark scenarios.