github doc-detective/doc-detective v5.8.0

one hour ago

5.8.0 (2026-11-28)

Features

  • add a checkFile step that checks files and browser downloads (43c6b0c)
  • cli: add --overwrite-screenshots and overwriteScreenshots config (a959e08)
  • detect: built-in gherkin file type (a336b7a)
  • mockRequest: answer in sequence and replay HAR files (6278ba3)
  • reporters: add a Cucumber JSON reporter (fb34303)
  • runOn: load matrix values from a JSON file or a sitemap (5b70039)
  • runOn: run a test once per value with matrix (5d46010)
  • screenshot: add mask to ignore changing areas when comparing (74540e6)
  • screenshot: add fullPage and animations to screenshot steps (a509a3d)
  • screenshot: add stable capture, capture-only style, and a fonts wait (2d6753b)
  • screenshot: add threshold, maxDiffPixels, and diff images (d91c18c)

Bug Fixes

  • app-surface: treat { index } app window selectors like a bare index (52966ec)
  • checkFile: fail on an unreadable file and keep $VAR shorthands (27b753e)
  • common: accept a markup actions string as a single action (123aae1)
  • config: accept a string extensions on a fileType (82deb99)
  • detect: dedent multi-line statement bodies before parsing (1ac642a)
  • detect: keep statement text out of the unparsed-statement warning (67dee1c)
  • detect: keep the gherkin step regex linear (fbe2f7e)
  • detect: report inline statements that don't parse (4fe181d)
  • detect: run before and after files for inline test statements (03b5f8f)
  • detect: substitute a runShell fileType's $1 with forward slashes on Windows (20e4ef0)
  • detect: substitute a runShell fileType's $1 without JSON escaping (ecab7b8)
  • dita: type into a uicontrol by its accessible name (c460c98)
  • docs: fill array examples up to minItems in schema references (c1ea010)
  • find: treat a string elementClass as one class for every target (40c4682)
  • gherkin: don't fold an ignored response status into the request (db9cc3a)
  • gherkin: skip ignored emulation steps and keep quotes in fill-in selectors (91ad990)
  • gherkin: warn about a fill-in value with double quotes instead of mistyping it (e208f97)
  • goTo: require a full key after a leading $$matrix. in URLs (53c5f04)
  • mockRequest: escape brackets in a recorded HAR URL's pattern (cc19cb9)
  • mockRequest: fail on a malformed url pattern with harPath (42702f5)
  • mockRequest: fail on unparsable HAR URLs and keep sequence bodies (40ee5b3)
  • mockRequest: keep response headers on requests a glob mock passes through (9f0c234)
  • mockRequest: name the method filter when no HAR entry matches (8fd6249)
  • process: pass quoted args to cmd.exe intact under background.tty (ba93459)
  • recording: skip autoRecord in contexts with no session to record (7d342f9)
  • recording: skip the sessionless autoRecord before spawning ffmpeg (f265c99)
  • recording: warn when the window can't fit Chrome's sharing bar (478da09)
  • record: keep the viewport's size under Chrome's sharing bar (a52fee4)
  • reporters: base64-encode the recording path embedding (521b658)
  • reporters: keep error_message to failed steps in the cucumber report (603634a)
  • reporters: put a failed recording on the failed context step (0d8e6a0)
  • reporters: report context failures, read only PNG screenshots, fix the cucumber output path (34e7622)
  • retries: read goTo targets before masking in the retry probe (1c230ed)
  • retries: retry a Chrome context whose goTo never left about:blank (83f7e5b)
  • runCode: join a relative path onto directory for unresolved steps (b2b4ecc)
  • runCode: save output to the resolved path when directory is set (373c5e1)
  • runOn: keep the after-step marker on matrix steps (8542c0b)
  • runOn: leave surrogate character references in a sitemap as written (7d66b54)
  • runOn: name an empty matrix file, and resolve it against its own folder (c84359c)
  • runOn: split a long ADR sentence and reuse the whole-reference regex (0c196e0)
  • screenshot: always remove capture-only style (b80c418)
  • screenshot: archive the reference bytes that were compared (3b8b557)
  • screenshot: fit fullPage to both axes and keep the page frozen for geometry (62a37bb)
  • screenshot: keep crop and fullPage apart in the reference examples (38718d8)
  • screenshot: keep diff artifacts from repeated steps (805d94f)
  • screenshot: keep each frame's scroll for whole-page live blurs (11a11e9)
  • screenshot: keep paused animations paused and recheck fit per capture (e315273)
  • screenshot: keep recording checkpoints out of overwriteScreenshots (7567990)
  • screenshot: keep the capture style until geometry is read (7fe07fa)
  • screenshot: name the real cause when a page won't fit (3c085c2)
  • screenshot: read annotation geometry before restoring the window (caf8d46)
  • screenshot: recheck size after freezing even when the page first fits (13a8743)
  • screenshot: recheck the page size after freezing animations (c5d3bed)
  • screenshot: restore the scroll after a native full-page capture (6f01033)
  • screenshot: skip only on a proven screen cap; read scroll with rects (6285c38)
  • screenshot: skip Safari full-page captures that can't fit the screen (4722d8e)
  • screenshot: unique diff artifact names and a run-folder fallback (5836b6d)
  • surface: file page-opened tabs under the opener's window (60907b9)

Don't miss a new doc-detective release

NewReleases is sending notifications on new releases.