Scrapeman

Changelog

Every shipped release of Scrapeman. Format follows Keep a Changelog; versions follow SemVer. Newest first. Issue references link to the GitHub tracker.

v0.6.7 —

First release since 0.6.5. Crash and correctness fixes for request history, a memory audit that bounds several structures that grew over long sessions, and UI polish. Bundles the prepared-but-untagged 0.6.6 work.

Fixed

  • History could crash the app on boot. The store eagerly read, parsed, and decompressed every entry on open. On a large workspace (4692 entries, a 284 MB file) the renderer heap passed 3.8 GB and crashed at ~8 s. The store now reads only the tail of the file in 256 KB chunks (O(window), not O(file)) and decompresses a full body only when an entry is opened. Retention stays unlimited and the existing file is read untouched. UTF-8 characters that straddle a chunk boundary are rejoined at the byte level.
  • Older history needed a manual "Load older" click. The infinite-scroll observer attached once on mount, but the sentinel only renders after history loads, so it observed nothing and never fired. The observer now re-attaches when the sentinel appears, scopes to the scroll container, and prefetches ~600 px ahead. The button is gone; older days stream in on scroll.
  • A trailing Scrape.do option was swallowed into the nested URL value. Pasting ?token={{token}}&url=https://site/?a=1&b=2&super=true folded &super=true into the url value instead of giving it its own param row, because the nested-URL fold never terminated. The fold now ends when a chunk's key is a known Scrape.do option (on Scrape.do hosts); generic proxy hosts keep folding.
  • URL caret drifted onto the letters after a {{var}}. The {{var}} highlight overlay used padding and a heavier font weight, so the overlaid token was wider than the real input text and the native caret slid past every variable. Highlights are now width-neutral (colour and background only). Affects every highlighted input — URL bar, params, headers, auth.
  • Active tab stayed off-screen when the tab strip overflowed. Switching tabs (click, Cmd+W, keyboard, boot restore) now scrolls the active tab into view. File-backed tab ids are escaped so paths with selector-special characters do not throw.
  • Modal dialogs flashed off-center before snapping to the middle. The shared entrance keyframe set transform: translateY(...), which overrode each centered dialog's translate(-50%, -50%) while the animation ran, so the dialog painted off-center for a frame then jumped. Centered dialogs now fade in, leaving their centering transform intact. Popovers and menus keep the slide.

Added

  • Large history bodies offload to per-entry sidecar blobs. A request or response body over 64 KB is written to a sidecar file (history/blobs/<hash>/<id>.{body,resp}.gz); the index keeps only a reference and size, so list and tail reads stay small. The full body is read from the sidecar on entry open. Backward compatible: inline entries still read and the on-disk file is never rewritten.

Changed

  • Memory audit — bounded several structures that grew during long sessions. History windows are capped (the in-memory cache and the rendered list, older entries stay on disk and remain searchable). WebSocket message timelines are capped on both sides, each connection's ProxyAgent is closed on reconnect, and closing a WebSocket tab now disconnects it. The HTTP engine reuses undici dispatchers instead of creating one per request. The load runner caps its latency and header samples and recomputes percentiles at most every 100 ms (the final result stays exact). Collection-run results and per-tab response bodies are bounded too.

Tests

  • 606 passing in http-core (+6 sidecar), 105 in apps/desktop (+5 nested-URL parse). 7 skipped. Typecheck clean.

v0.6.6 —

Settings panel surfaces the auto-updater; load test gets two live charts and a graceful Stop. Prepared as 0.6.6 and shipped within v0.6.7.

Added

  • Settings → Updates panel (subset of #35). Shows the installed version, the latest version on GitHub Releases, when the last check happened, and a Check now button that forces a fresh poll without waiting for the four-hour interval. An auto-check toggle silences the upgrade banner; the preference persists across restarts. When newer, an "Open release page" button deep-links to the GitHub tag.
  • Load test latency + status charts (M11 follow-up). The metrics block now ends with two inline SVG charts: a latency-over-time polyline with P50 / P95 reference lines, and a status-code histogram colour-coding 2xx / 3xx / 4xx / 5xx / network-error buckets. Both update on every iteration. Runs over 300 iterations down-sample the latency series so the path stays under ~300 vertices.
  • First-launch welcome dialog (M10 polish). Shown once per machine on the first run: three quick-start cards (open URL bar / pick a workspace / pick from recent), a six-shortcut crib sheet, and a "Read the docs" link. A localStorage flag suppresses it on every subsequent launch.

Changed

  • Load test Stop is now a soft drain. Hitting Stop used to abort everything — in-flight requests were cancelled mid-handshake, so the metrics ended with synthetic status: 0 entries. The runner now takes a hard-abort signal (app quit / window close) and a soft-drain signal (the user-facing Stop). Drain stops workers from pulling new iterations but lets every in-flight request finish, so the final metrics reflect actual server outcomes.
  • Zoom level persists across launches. ⌘+ / ⌘- / ⌘0 saves the new zoom level; the next launch restores it once the renderer finishes loading. Bounded to Electron's accepted range.

Notes

  • Automatic background download + one-click install (the rest of #35) is still pending and tracked in the roadmap.

Tests

  • 589 passing in http-core (+3 graceful-drain), 100 in apps/desktop (+14 chart helpers). 7 skipped. Typecheck clean.

v0.6.5 —

Patch release. Two bug fixes.

Fixed

  • Compressed text/event-stream responses rendered as garbled bytes. The SSE branch in the executor consumed the response stream directly without decompressing first, so an upstream sending Content-Encoding: gzip / br / deflate (Cloudflare, OpenAI's /v1/chat/completions, anti-bot CDNs) showed up as garbage in the Raw mode and produced zero events in the Events view. The fix reads the body bytes through readBodyCapped and runs them through the same decodeBody path the non-SSE branch uses, then hands the decompressed buffer to the SSE parser. Postman handled this transparently; we now match. 4 regression tests cover identity / gzip / brotli / deflate paths.
  • A nested URL as a query parameter value exploded into separate rows (#88). Typing ?url=https://target.com?a=1&b=2 parsed the inner & as a top-level param separator, producing three rows where the user wanted one. paramsFromUrl now greedy-merges: when the previous chunk's value already contains a ?, subsequent &-split chunks fold back into that value. Falls back to the standard split the moment a clean (non-?) value appears, so plain ?foo=bar&baz=qux still parses to two rows. Matches the Scrape.do convention of pasting the target URL raw. 5 regression tests cover the nested URL, plain params, URL-typed value without inner query, empty query, and valueless keys.

v0.6.4 —

Patch release. Bigger than the version number suggests — body editor got rebuilt on top of CodeMirror, three polish items, two bug fixes.

Added

  • Request body editor — CodeMirror with syntax highlighting + {{var}} decoration + autocomplete. Replaces the plain textarea. JSON / XML / HTML / JavaScript bodies get language-aware syntax colouring (key / string / number palette, like the response viewer's pretty mode); {{var}} placeholders render in the accent palette when known, destructive palette when undefined, regardless of language. Typing {{ opens a popover listing every active environment variable plus the built-in dynamics (random, uuid, timestamp, timestampSec, isoDate, randomInt); selecting an option closes the braces automatically so the user doesn't have to type }}. Popover styling matches the URL bar's variable picker — same "Variables" header, font, accent colour, "built-in" badge.
  • Lenient JSON beautify with auto-fix. Shift+Cmd+F (and the Beautify button) now run a three-stage parse: strict JSON.parse first, then JSON5 (trailing commas, single-quoted strings, unquoted keys, comments) on failure, then a missing-comma repair pass that reads the V8 parser's error position and inserts a comma there, retrying up to 30 times. So { "a": 1\n "b": 2 } formats to valid JSON in one click. When auto-fix kicks in a "Fixed common JSON issues" toast appears so the user knows their bytes were touched beyond indentation. 7 new tests cover the lenient paths.
  • Inline JSON lint gutter. When body type is JSON, parse errors render as a red icon in the gutter and a single squiggle at the offending position — VSCode-style. Lint suppresses while a {{var}} is in the body so the resolver-time braces don't false-positive.

Fixed

  • {{var}} in the URL host segment broke the request (#86). When the user typed {{base_url}}/users and base_url resolved to a full URL like https://api.example.com, the renderer's normalizeUrlSchema saw an unrecognised scheme prefix and prepended its own http://, producing http://https://api.example.com/users. undici then refused to parse the result. The renderer now leaves any URL that starts with {{ alone — the actual scheme is decided after variable resolution in the main process. 5 regression tests cover the placeholder, mid-URL placeholder, and existing-scheme cases.
  • HTML preview rendered without styles or images. Two issues compounded: the parent renderer's CSP only allowed 'self' for style-src / img-src / font-src, blocking every external resource the scraped page tried to load; and the iframe ran with srcDoc's about:srcdoc origin, so relative URLs (<link href="/assets/main.css">) had no server to resolve against. Fix: relaxed the prod CSP to allow https: and http: for those three media types (script-src and connect-src stay locked down — the iframe still runs with sandbox="" so no scripts execute), and inject <base href="<final URL>"> at the top of <head> so relative URLs resolve to the originating server. The base href prefers the last redirect destination, falls back to the executor's sentUrl, then the URL the user typed. 7 unit tests cover the injection paths.
  • Post-update changelog modal: H3 section names (Added, Fixed, Notes, Tests) are no longer force-uppercased — they render in sentence case as written in the source. Bullet glyphs switched from CSS list-disc to a small dot for tighter alignment. Inline links ([text](url)) now render as actual links, and bare issue references like (#79) auto-link to the GitHub issue tracker. Body text bumped from 12px to 13px for readability.

Notes

  • #87 (request body JSON formatting) closed as already-shipped — the Beautify button + Shift+Cmd+F shortcut have lived on the body type bar since v0.5.x. The lenient + auto-fix work above lifts the same path well past what #87 explicitly asked for.

Tests

  • 582 passing in http-core, 81 in apps/desktop (+5 normalizeUrlSchema, +7 injectBaseHref, +7 lenient JSON formatting). 7 skipped. Typecheck clean across all three packages.

v0.6.3 —

Patch release. One bug fix.

Fixed

  • Params tab kept stale rows after the URL bar was cleared. When the user cut or otherwise removed the query string from the URL, enabled rows in the Params tab survived because the sync logic short-circuited on URLs without ?. Now every setUrl call merges against the freshly parsed URL params: enabled rows whose key disappeared from the URL drop out (matching the in-?-query branch's behaviour), disabled rows stay untouched. 3 new tests in store.test.ts cover URL-cleared, query-stripped, and disabled-row-preserved cases.

v0.6.2 —

Patch release. One bug fix.

Fixed

  • Tabs sometimes lost on app restart. The boot path went through an intermediate tabs: [] set before reading the saved snapshot — and the persistence subscriber's requestAnimationFrame could fire during that window, overwriting the saved snapshot with the empty placeholder before openWorkspace finished reading it. The race was visible on slower disks / slower IPC, where the seven await get().loadX() calls between the empty-set and the snapshot read gave the RAF enough time to flush. Now openWorkspace reads the snapshot synchronously and seeds the initial set with the restored tabs directly, so the store never goes through an empty state. activeEnvironment restore is still deferred to after loadEnvironments (it needs the env list to validate against).

v0.6.1 —

Patch release. Splits the global string-utilities ask (#81) into three follow-ups; lands two of them.

Added

  • Per-request raw-body toggle (#83). New Settings → Body toggle: when on, {{var}} placeholders inside the request body ship verbatim instead of resolving from the active environment. URL, headers, params, auth still resolve. Use case: server-side template proxies and placeholder-validation endpoints that expect literal {{...}} syntax. Default off, so existing requests keep the previous behaviour. Persisted as options.rawBody: true in the .sman YAML.
  • Right-click string transforms — Stringify / Destringify + selection-aware mode (#84). The cell context menu already had URL encode/decode and base64 encode/decode; now it also has Stringify (escape for embedding in a JSON string literal) and Destringify (the inverse). All six transforms apply to the current selection when the focused input has one; otherwise to the whole field. The transformed range is re-selected so a user can round-trip with another menu pick. Copy / paste also honour the selection.

Notes

  • #81 closed and split into three issues: #83 (raw-body, shipped), #84 (transforms, shipped), #85 (plugin system, parked for discussion). #85 is added to the roadmap parking lot until concrete user demand surfaces a transform that doesn't fit as a built-in.

Tests

  • 582 passing in http-core (+4 new — 2 resolver rawBody, 2 format round-trip), 59 in apps/desktop (+12 new transform helpers). 7 skipped. Typecheck clean.

v0.6.0 —

Minor release. Four open issues land — three real friction points in the scraping use case (TLS verification toggle, restart restore, parallel-send crash fix) and a small polish on top of the existing auto-update banner.

Added

  • TLS certificate verification toggle (#80). The data model and per-request UI toggle existed since v0.2.0 but the executor never actually read the value, so the switch was a no-op — every request went through with verification on. Now the toggle wires through to undici's connect.rejectUnauthorized for both the direct Agent and the ProxyAgent. Behaviour matches curl's -k / --insecure. The URL bar shows a red Insecure badge while the toggle is on, and the per-request Settings tab renders a destructive-styled warning banner. New "Network" tab in Settings holds the global default that new tabs/requests start at, persisted to localStorage. Hermetic regression test spins up an HTTPS server with an OpenSSL-generated self-signed cert.
  • Restore unsaved tabs on restart (#71, #82). Per-workspace tab snapshots already existed in memory for the workspace-switch flow. Now they persist to localStorage so a full app restart doesn't lose unsaved drafts. Builder state (URL, headers, params, body, auth, settings, scripts) and tab metadata round-trip; transient runtime — execution responses, websocket connections, load test runs, parallel-burst HUD — is stripped before saving so a stale "sending…" banner never resurfaces. Writes are coalesced to one per animation frame.
  • Post-update changelog popup (#72). The first time you launch a new build, a dialog renders the matching CHANGELOG section(s) for everything between the last-launched version and the current one. CHANGELOG.md is bundled into the renderer at build time so it works offline. "View on GitHub" link in the corner deep-links to the release tag. Skipped on first install.

Fixed

  • App crash when holding Cmd+R for several seconds. OS key-repeat at ~30 Hz queued hundreds of concurrent IPC executes — each pinning a full ExecutedResponse with body data in main and triggering a history write on completion. The main process eventually OOMed and the renderer lost its IPC link. Now capped at 32 simultaneous parallel sends per tab; excess keystrokes are silently dropped. A 1–2 s burst still fans out fully (the common case for flakiness probes), worst-case memory stays bounded.

Tests

  • 578 passing in http-core (3 new TLS), 47 in apps/desktop (3 new snapshot persistence + 9 new changelog parser). 7 skipped. Typecheck clean across all three packages.

Notes

  • Auto-update infrastructure (4-hour GitHub Releases poll, dismissable banner) was already shipped in v0.4.x. This release builds on top with the post-update dialog (#72) but does not yet add automatic background download — that's tracked under #35 for a future release.
  • Collection / folder / global-with-precedence inheritance for the SSL toggle is deferred — this release covers per-request and global default. Common scraping flows (self-signed proxies, mitmproxy debug, expired-cert legacy targets) are unblocked.

v0.5.2 —

Patch release. Two new shortcuts, a curl-import rewrite, scraping-targeted infrastructure fixes, and a layout default flip.

Added

  • Cmd+R parallel send (Insomnia parity). Each press fires another request without cancelling the in-flight one; the response panel shows whichever parallel send finishes last. Holding Cmd+R fires at the OS key-repeat rate, so a one-second hold = ~30 RPS micro burst — useful for flakiness probes or warming up an endpoint before a load run. The existing Cmd+Enter (send-or-cancel) is unchanged.
  • Live HUD for parallel sends. A floating panel in the bottom-right tracks every fired Cmd+R request with a status dot (pending → success / 4xx / error), HTTP status, and elapsed duration. Header summarises totals (in flight / ok / err). Stays open after the burst settles; × button dismisses. Bounded to the last 50 entries so a long Cmd+R hold doesn't bloat the DOM.
  • Keyboard shortcut cheat sheet in Settings. New "Keyboard shortcuts" tab in the Settings dialog lists every binding grouped by Request / Tabs / Navigation / Git, sourced from a static registry kept in sync with the actual handlers.
  • Run-parameters pills in the load test panel. While a run is live the metrics block now shows total · concurrency · delay · status · body ⊃ "..." pills so the user can confirm what's actually being executed at a glance.
  • Top/bottom split is the new default. Fresh installs land with the request above the response. Existing users keep their stored preference. The split-orientation toggle in the status bar is also now disabled (greyed) on the load test and websocket panes since the response panel is hidden in those views.
  • Larger status bar icons (~+20%): SVG 14 → 17 px, button hit area 20 → 24 px, bar height 22 → 26 px.

Changed

  • Curl import rewritten on top of @scrape-do/curl-parser. Standard surface (URL, method, basic auth, user-agent, cookies, boolean flags, multipart, urlencoded body) goes through the upstream package; we extract -d / -H / -F values, proxy/referer flags, and ANSI-C $'...' quoting ourselves before handing off, since upstream loses backslashes inside single quotes and escaped double quotes inside double quotes. 4 new tests on top of the existing 22.

Fixed

  • Headers Overflow Error on scrape.do responses. undici's default maxHeaderSize of 16 KiB rejected legitimate Cloudflare-fronted and anti-bot responses (rotating cookies, signed proof-of-work tokens, debug trailers). Bumped to 256 KiB on both the direct Agent and ProxyAgent paths. HeadersOverflowError now surfaces as a clear protocol-kind ExecutorError with a descriptive message instead of a raw undici stack. 2 new regression tests (32 KiB and 128 KiB Set-Cookie).
  • Load test events log auto-scroll missed the "Done in …" summary line. The scroll effect only fired on events.length changes, so the trailing summary that renders after the last event ended up below the visible window. Added progress?.done to the dependency list.
  • Watched-header toast covered the column titles. The "added to watched headers" toast in the Response Headers tab was sticky-top-0, stacking on top of the Name / Value column labels. Now floats as a small pill in the top-right corner with pointer-events:none.
  • Cmd+R was reloading the page. Custom application menu drops the Cmd/Ctrl+R accelerator from "Reload" so the renderer's Cmd+R shortcut is reachable. Force Reload keeps Cmd/Ctrl+Shift+R for dev refreshes.

Tests

  • 575 passing in http-core (4 new curl, 2 new headers-overflow), 35 in apps/desktop. 7 skipped. Typecheck clean across all three packages.

v0.5.1 —

Patch release. Bug fixes from dogfooding plus two small additions on top of 0.5.0.

Added

  • Watched response headers in load runs (#79). Track up to 10 response headers (e.g. Scrape.do-Rotations) and see their value distribution per status code. Lives at three levels: workspace default in .scrapeman/collection.yaml, per-run override in the load test config, and a click-to-add + button on the Response Headers tab. Scrape.do-* headers auto-track by default. Numeric headers get min/max/avg/p50/p95/p99 stats when at least 95% parse and at least 5 samples land. 15 new tests cover the aggregator, status stratification, numeric mode threshold, and chip cap.
  • Per-request cookie jar toggle (#23 follow-up). Settings tab now has a "Use cookie jar" checkbox so a single request can opt out of the workspace jar without disabling it globally. Matches Postman's per-request override.

Fixed

  • Load test auto-scroll, empty number inputs, failed-body capture (#74 #77 #78). The events log now sticks to the bottom while a run is live and lets the user scroll up to pause it. Number inputs (Total / Concurrency / Delay) accept empty values during edit and clamp on blur. Failed iteration bodies can be saved into a ring buffer (cap 1 to 1000) and exported as JSON for offline triage.
  • Screenshot modal vs global shortcuts (#75). Closing the screenshot preview no longer fires the global Cmd+W tab-close shortcut.
  • Workspace rename keeps the open tab in sync (#76). Renaming a request in the sidebar updates the matching tab's path so subsequent saves write to the new location.

Tests

  • 569 passing in http-core (15 new for watched headers), 35 in apps/desktop. 7 skipped. Typecheck clean across all three packages.

v0.5.0 —

Big-feature release. Eleven previously-open issues land in this cut.

Added

  • WebSocket client (#24). New WebSocketPanel mounted as a builder pane: URL bar, status dot, connect/disconnect, message timeline with ↓ / ↑ / ● / ○ row badges, JSON expand, send box, auto-scroll toggle, export timeline as JSON. Core wraps undici's WebSocket with reconnect, ping latency, per-connection proxy, and a shared timeline. Per-tab Tab.websocket state survives tab switches.
  • Collection runner (#21). New RunnerPanel (Radix dialog, opened from sidebar folder context-menu "Run folder…"). Sequential or parallel modes with concurrency, per-request delay, optional iterations, CSV-driven iteration. Live pass/fail rows with expand-for-details, abort mid-run. Export the run as JSON, CSV, or HTML.
  • Cookie manager UI (#23). Domain filter, manual add / inline edit, httpOnly value masking with reveal toggle, JSON + Netscape exports, paste-import that accepts both document.cookie strings and Netscape cookies.txt bodies. New cookies:set IPC backed by WorkspaceCookieJar.setCookie.
  • OpenAPI / Swagger import (#27). Parse OpenAPI 3.0.x / 3.1.x and Swagger 2.0 from file or URL. Tags become folders, paths/methods become requests, security schemes become auth, server URLs go to {{base_url}}. Local $ref resolved one hop. New ImportOpenApiDialog and command-palette entry.
  • Pre-request / post-response scripts (#20). Node vm sandbox with a bru API (getVar / setVar / getEnvVar / setEnvVar / sendRequest / built-in dynamics), req mutable proxy, res read-only proxy with auto-JSON body parse, captured console.*, minimal test() / expect().toBe(). New Scripts pane with two CodeMirror editors and a Scripts response tab that renders the console + assertion failures. Scripts round-trip through .sman as YAML literal blocks.
  • Multi-workspace Phase 1 (#61). WorkspaceSwitcher dropdown above the sidebar tab strip lists every open workspace with active check and per-row close. Switching snapshots the previous workspace's UI state (tabs, activeTabId, closedTabStack, activeEnvironment, responseSearch) and restores the destination's snapshot. openWorkspaces and lastActiveWorkspace persist to localStorage.
  • Dev Tools panel (#28). New response tab next to Body / Headers: timing waterfall (DNS / TCP / TLS / TTFB / Download), the actual sent URL and headers (post variable resolve, scrape-do compose, auth), redirect chain with statuses + Location, TLS peer cert (subject CN, issuer CN, validFrom / validTo, fingerprint256), remote IP / port, HTTP version, compressed vs decoded size. Script console section reads ExecutedResponse.scriptConsole.
  • OAuth 2.0 + OpenID Connect (#37). Authorization Code and Authorization Code + PKCE in addition to client_credentials. Refresh-token flow with proactive 30s-before-expiry refresh. Loopback callback listener via Electron's net module, state and PKCE code_verifier verified on callback. OIDC discovery via .well-known/openid-configuration auto-fills endpoints + scopes. accessTokenPlacement chooses between Authorization header, query param, or form body. JWT inspector decodes the access token and id_token header + payload (display only) with a live exp countdown.
  • Scraping-first features (#31). Per-request rateLimit (fixed delay + optional jitter min/max) honoured by Collection Runner and Load Runner. UA preset picker (Scrapeman default, Chrome / Firefox / Safari / Mobile Safari / Googlebot / curl). Anti-bot signal detection (Cloudflare, 429, CAPTCHA, bot-block) populates ExecutedResponse.antiBotSignal; renderer shows a dismissable banner above the body. Rotating proxy: ProxyConfig.rotate.{ urls, strategy } with round-robin or random selection.
  • Scoped variables + folder-level auth inheritance (#30). Resolution order Request > Folder > Collection > Environment > Global. New file format files: .scrapeman/globals.yaml, .scrapeman/collection.yaml, _folder.yaml per folder. Folder + collection settings dialogs (Variables / Auth tabs); AuthTab shows Inherited from /<folder> when a request inherits.
  • SSE Events mode in response viewer (#25). Detects text/event-stream (or sseEvents populated) and adds an Events mode that renders one block per event with id / event / retry pills and the data field as JSON tree (when JSON) or monospace. Export as JSON.
  • Path-in-name save (#69). The save dialog accepts api/users/list-style names; missing folders are auto-created under the workspace root. .. and . segments are rejected; the final path goes through resolveSafe.
  • Response viewer polish: HTML pretty mode now actually indents the output (new formatHtml tag-aware printer); default mode for JSON / HTML / XML / JS / CSS / image / pdf flips to the structured view (Tree / Pretty / Preview) when the user has not pinned a mode; raw stays one click away.

Fixed

  • bash ANSI-C curl import. curl ... --data-raw $'[{"q":"\u0021"}]' (Chrome's "Copy as cURL (bash)") now expands ! → !, \n → newline, \t → tab, \xHH, \NNN octal, \\ \' \". Previously the body landed with a stray $ prefix and unresolved escapes, so GraphQL servers rejected it with a parse error. Two regression tests cover the GraphQL-style and mixed-escape cases.

Tests

  • 548 passing in http-core, 35 in apps/desktop. 7 skipped. Typecheck clean across all three packages.

v0.4.1 —

Added

  • Syntax highlighting for every pretty-mode response kind. JSON, XML, JavaScript and CSS responses now render through the same read-only CodeMirror viewer HTML has been using. HtmlEditor became the general CodeMirrorViewer behind the scenes; each kind pulls its @codemirror/lang-* pack and the oneDark theme in dark mode. Search navigation (Enter / Shift+Enter) scrolls and selects the active match inside the editor for all five kinds; the 500 KB large-body warning banner now fires for all of them too.
  • Command palette "Add URL parameter" (cmd+k, View section). Switches the active request tab to the Params pane and focuses the first empty Key cell, appending a new row when every existing one is already filled.
  • Tab-to-create in the Params table. When the table is empty and you tab into it, a new row is appended and the cursor lands in the Key cell. Matches Postman's behaviour. Existing Shift+Enter (insert below) and Tab-from-last-row (append) shortcuts unchanged.

Fixed

  • Regression coverage for the load runner. A new integration test file asserts that {{random}}, {{uuid}}, {{timestamp}} and {{isoDate}} resolve fresh every iteration (100 {{random}} iterations produce ≥ 95 distinct URLs), and that normalizeUrl runs per iteration so scheme-less, port-only and empty-host URLs reach the server the same way they do for a single-shot send.

Tests

  • 338 tests pass across http-core and desktop; 7 skipped. Typecheck clean in all three packages.

v0.4.0 —

Added

  • Screenshot capture button in the request header. Hides the sidebar, tab bar and action buttons, then opens a modal with the PNG and a copy-to-clipboard button that uses Electron's native clipboard.writeImage. A "Tested with Scrapeman" watermark sits in the bottom-right of the captured frame.
  • Git pull now prompts on diverged branches instead of aborting. Dialog offers Rebase, Merge commit, or Cancel; the pick is passed through IPC to git pull --rebase or git pull --no-rebase --no-ff. Auth, network, and merge-conflict errors render as plain English banners. A three-second inline badge confirms the pull strategy that ran.
  • Drag-to-reorder rows in Params and Headers. Hover-only grip handle on the left; a two-pixel accent line appears above or below the hovered row based on cursor position, and the drop lands at that edge.
  • Bulk header edit. Pencil toggle at the top-right of the Headers table opens a textarea where each line is Key: Value; a // prefix disables that line. Round-trip between table and textarea is lossless, {{var}} placeholders preserved.
  • JSON body beautify. Button shows up when body mode is json; Shift+Cmd+F (macOS) or Shift+Ctrl+F (Windows/Linux) runs the same format from inside the editor. Body containing unresolved {{var}} is skipped with a toast.
  • Response body search runs over a @tanstack/react-virtual pipeline: 150ms debounce, line-indexed match table, and only the visible rows hit the DOM. A 5 MB body stays under 30 ms per keystroke. HTML responses now have a CodeMirror pretty view with one-dark in dark mode and a size warning above 500 KB.
  • normalizeUrl(raw) in http-core handles scheme-less URLs (localhost/api), port-only (:80/path), and empty host (:/path) by prepending http:// and defaulting the host to 0.0.0.0. Runs after variable resolution so {{host}} still works.
  • .sman is now the primary file extension. Legacy .req.yaml files are read as-is; the first save rewrites them to .sman and deletes the old path. Collisions resolve to .sman. Parser accepts scrapeman: "1.0" and scrapeman: "2.0"; the writer always emits 2.0.
  • Per-tab sub-pane memory. Each request tab remembers whether it was on Params, Headers, Body, Auth, Settings, Code or Load when you left it.
  • Response body validator. Settings tab has an "Expected text" input; when set, the response status bar shows a green check or red cross chip reporting whether the decoded body contains the substring. {{var}} supported.
  • Load runs land in history with a LoadRunSummary (sent, succeeded, failed, validationFailures, elapsedMs, rps, p50, p95, p99, min, max, statusHistogram, errorKinds).
  • Load test shows the active validation rules while the run is live: status = 2xx and body ⊃ "success" chips appear next to the progress bar and on the initial spinner screen.
  • Hover descriptions on every load-test metric: RPS, p50, p95, p99, min, max, Inflight, Success rate, Failed, Validation fail.

Fixed

  • Response body and execution state no longer leak between tabs when you switch tabs before the response lands. The store captures the target tab id at send time and writes back via a new mutateById helper instead of whichever tab happens to be active.
  • Load test state is now per-tab. Config, run id, progress snapshot, and event log live on Tab.loadTest in the store; tab switches and sidebar toggles preserve them. Closing a tab aborts its running load run so the main process does not keep firing events at a dead tab id.
  • Response viewer toolbars (status metrics bar, body/headers switcher) and the Headers panel column header are now opaque and sticky. Virtualized body text no longer bleeds into the chrome when restoring from history or retrying.
  • Virtualized rows in raw and pretty no longer overlap. The inner <pre> used whitespace-pre-wrap break-words while the outer height was pinned to 18 px, so long lines wrapped visually and drew over the next row. Flattened to a single whitespace-pre div and widened the slab to max-content; long lines now scroll horizontally inside the overflow-auto parent.
  • Active search match is centered both vertically and horizontally. Vertical scroll goes through the virtualizer; horizontal scroll is computed from the mark's getBoundingClientRect() and applied to parent.scrollLeft, which sidesteps the contain: strict + absolute-positioned slab combination that broke scrollIntoView.
  • HTML pretty mode follows search navigation. Enter / Shift+Enter map the active match into a CodeMirror SelectionRange and dispatch scrollIntoView(range, { y: 'center', x: 'center' }); the read-only selection highlight doubles as the active-match cue.
  • Executor and scrape.do composer stopped re-appending request.params onto URLs. The URL bar is now the single source of truth for the outgoing URL; request.params stays in the file format for round-tripping disabled rows but never reaches the wire. Fixes duplicated token= in the scrape.do envelope ("Wrong query parameter. You are sending multiple value via same parameter('token')") and {{var}} going through unresolved.
  • Disabled URL params survive tab switches, disk saves, and reloads. Added disabledParams: string[] to the file format; all params round-trip with their enabled flag.
  • Params row order is preserved when toggling the enabled checkbox. Previously [disabled..., enabled...] regrouping reshuffled the list on reload.
  • HeadersEditor no longer imports from @scrapeman/http-core. The top-level export dragged undici into the renderer bundle and the browser crashed with process is not defined. The bulk helpers moved to apps/desktop/src/renderer/src/utils/header-bulk.ts.
  • git pull --ff-only no longer fatals on diverged branches (see Added).

Changed

  • Request execution contract: request.url is canonical. request.params is metadata for the file format only and is not appended to the URL by the executor or by composeScrapeDoRequest.

Tests

  • Test files: 22 passed in http-core, 2 in apps/desktop.
  • Total: 332 tests pass, 7 skipped.
  • pnpm -r typecheck clean in all three packages.

v0.3.2 and earlier

Run git log --grep='release:' in the scrapeman repo for prior version notes.