# Changelog Notable changes per release. Full notes, including the reasoning behind each change, are on the [releases page](https://github.com/WebDecoy/FCaptcha/releases). This file exists because FCaptcha is a security dependency: anyone deciding whether to take an upgrade should be able to see what moved without reading a diff. **Breaking changes and anything security-relevant are called out explicitly.** The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the project uses [Semantic Versioning](https://semver.org/) — with the caveat that pre-2.0 it has used minor bumps for behaviour changes that a stricter reading would call major. Read the **Breaking** entries rather than the number. ## [Unreleased] ### Added - Collect bounded, content-free click-prelude and global key-timing summaries for paired browser-internal agent research. The new fields are neutral telemetry: they do not emit a detection, alter a score, or affect a token. ## [1.51.3] — 2026-11-23 ### Fixed - The widget could never verify on a device whose clock ran about five minutes or more ahead of the server's: it compared the challenge's server-side expiry with the device clock, saw every fresh challenge as expired, and failed with "Challenge changed before solving". It now measures the challenge's lifetime from when it arrived, on the device clock alone. - Remove the `pointer-movement-never-zero` observation and the related fast-start stealth-CDP score floor. A real Edge user who continued moving a mouse while the page loaded demonstrated that the complete conjunction could occur during ordinary input, so it is not safe evidence of automation. Raw bounded pointer measurements remain available for future research but no longer emit a detection, observation, or blocking verdict. This release changes detector and blocking policy by retiring evidence that a legitimate-user report proved was not specific to automation. Deployments using the Go, Node, or Python server should upgrade. ## [1.51.2] — 2026-11-23 ### Added - Add deployment and installation documentation for CapRover, Better Auth, Unraid Community Apps, and IceStore, plus Artifact Hub image metadata. - Add a project accessibility policy. - Add a bounded hosted-deployment smoke mode that validates `/api/verify` and `/api/score` without reporting hosted FPR or TPR figures from correlated regression samples. ### Maintenance - Refresh the Go 1.27.4 Alpine build image and `actions/setup-go` to 7.1.0. - Update FastAPI to 0.165.0, Pydantic to 2.14.4, python-multipart to 0.0.34, and refresh the hash-locked Python environment. - Update the source-only Nuxt module's Vitest dependency to 5.1.1. There are no scoring, detector-weight, token, proof-of-work primitive, API, or blocking-policy changes in this patch release. ## [1.51.1] — 2026-11-20 ### Added - Add a tested, source-only Nuxt 4 module with an SSR-safe client component, public runtime configuration, script-load lifecycle handling, and explicit server-side verification guidance. The module remains private and is not published to npm in this release. ### Security - Override the Nuxt development tree from vulnerable `minimatch` 10.2.6 to patched 11.0.9. The remaining `picomatch` advisory was withdrawn upstream as not being a security issue and is not treated as a vulnerability. ### Maintenance - Update the Python image to 3.15.2-slim, raise the FastAPI floor to 0.163.0, and refresh the hash-locked Python environment. - Refresh Playwright, jsdom, and Vitest maintenance dependencies used by the browser harness and source-only Nuxt module. - Extend the release-version consistency test to cover the Nuxt manifest and lockfile. There are no scoring, detector-weight, token, proof-of-work primitive, API, or blocking-policy changes in this patch release. ## [1.51.0] — 2026-11-17 ### Added - The widget now advertises its supported challenge-protocol versions and all three servers return the selected `protocolVersion`. Version 1 remains the default for older clients and servers, so mixed-version deployments continue to work during rolling upgrades. - Add tested integration recipes for Gitea, Django with `django-recaptcha`, and Flask-WTF with `flask-recaptcha`, including the required browser and backend endpoint changes. ### Security - The selected protocol version is covered by the challenge signature, offers with no mutually supported version fail closed, and challenge responses now carry `Cache-Control: no-store` so an intermediary cannot share a one-use challenge between visitors. - Document the threat model and staged design for future dynamic browser instrumentation. The proposed design uses a bounded, data-only interpreter; it does not execute server-provided JavaScript and remains observation-only until paired human/agent evidence supports enforcement. There are no scoring, detector-weight, token, proof-of-work primitive, or blocking-policy changes in this release. ## [1.50.1] — 2026-11-16 ### Security - Upgrade the Hono example to `hono` 4.13.16 and `@hono/node-server` 2.1.6, resolving seven upstream advisories reported twice across its manifest and lockfile. The example did not use the affected CSRF, mount, validator, CSS, or WebSocket APIs and binds to loopback, but its direct runtime dependencies are now patched. ### Maintenance - Upgrade the Go server's `web-bot-auth` dependency from 0.4.1 to 0.5.1. - Raise the Python server's FastAPI floor to 0.162.5 and regenerate the hash-locked environment at that version. - Refresh pinned Alpine and Node container digests and the Helm setup action. There are no FCaptcha API, scoring, detector, token, or configuration changes in this patch release. ## [1.50.0] — 2026-11-11 ### Detection - Extend the monitoring-only `identity-coherence-v1` observation with a JavaScript-engine axis. It compares the engine family implied by the User-Agent with bounded error-message, math, and feature-probe measurements across the Go, Node.js, and Python servers. - Require at least two independent measurements to agree before reporting Blink, Gecko, or WebKit. Missing, unfamiliar, and conflicting evidence stays `unknown`; Chrome, Firefox, and Edge on iOS are correctly treated as WebKit, including desktop-mode iPad User-Agents. ### Tests - Add shared measured and synthetic identity fixtures for stock Chrome, Firefox, Safari, iOS browsers, deliberate contradictions, and conflicting measurements. The 507-sample regression gate remains at 0/252 human samples flagged. This observation remains monitoring-only. No production score, recommendation, token issuance, proof-of-work, rate-limit, or blocking-policy behavior changes. ## [1.49.0] — 2026-11-11 ### Added - An official `@webdecoy/fcaptcha-react` package provides an SSR-safe React 18/19 component for the interactive widget. It deduplicates resolved script URLs, destroys widgets on unmount, keeps callbacks current without rerendering the widget, retries failed script loads, and rejects conflicting global verifier configuration. - The wrapper ships TypeScript declarations, backend-verification guidance, and lifecycle coverage for StrictMode, simultaneous instances, early unmount, retries, callback changes, and server-side imports. ### Packaging - GitHub releases now publish the React wrapper alongside the Node server and browser client, with the same release version across all three npm packages. No scoring, server API, or detector behavior changes. ## [1.48.2] — 2026-11-11 ### Security - Go source builds and CI move to Go 1.26.11 / 1.27.4, which fix GO-2026-6859 in the standard library's HTTP/1 server. The minimum supported Go patch version is now 1.26.11, and published Go images build from 1.27.4. ### Measurement - A paired-observation analyzer compares browser-internal captures with their same-mode human controls, screens candidates against every captured human, and requires consistent direction plus leave-one-pair-out detection before marking a signal for promotion review. Operational identifiers, derived variants, and self-reported samples cannot become candidates. No API changes. ## [1.48.1] — 2026-11-10 ### Fixed - Precise clicks are no longer scored as automation on their own. A paired real trackpad control landed 1.62px from target center, inside the former threshold, proving the standalone signal could flag normal human input. Node, Go, and Python now apply the same corrected behavior. - Benchmark replays retain the reviewed capture endpoint, including through derived variants, so invisible `/api/score` sessions are no longer replayed as widget `/api/verify` sessions with fabricated missing-click detections. ### Measurement - The browser-internal corpus now contains five Chrome Auto Browse widget pairs and five invisible pairs: 20 captured samples total. Every capture produced a valid token and an allow verdict. Agent scores overlap their same-browser, same-profile human controls, so no browser-internal enforcement rule or score floor is introduced. No API changes. ## [1.48.0] — 2026-11-09 ### Security - Fast-start stealth-CDP sessions now receive a production score floor of 0.8 when four measured conditions agree: at least 30 pointer and coalescing samples, fewer than 5% zero movement deltas, a CDP console consumer, and a first interaction under 250 ms. Node, Go, and Python enforce the same rule. - The release benchmark catches 10/10 independent captured stealth-CDP sessions (90/90 including derived regressions) while the supported human panel remains at 0/162 flagged. Pointer movement alone remains observation-only because the recorder and some legitimate hardware can produce the same shape. ### Measurement - Experimental browser observations are retained and reported separately from production detections, including base-capture coverage for each observation. This is a verdict behavior change, not a claim of universal stealth detection. An agent can evade this rule by delaying its first interaction, and browser or hardware classes absent from the captured panel remain unproven. No API changes. ## [1.47.3] — 2026-11-09 ### Fixed - The Go server now reads the client's structured canvas fingerprint correctly, matching the Node and Python implementations. Valid canvas captures no longer produce a false "Canvas fingerprinting blocked or failed" detection, and the nested canvas hash once again contributes to Go device identity. ### Measurement - Research exports can stream into the benchmark through bounded standard input without creating an intermediate file. - A dedicated `--research-only` mode replays only ephemeral self-reported samples, isolates each sample under a temporary site key, prints exploratory scores and signals, and refuses release gates or persistent JSON output. No breaking changes. ## [1.47.2] — 2026-11-09 ### Measurement - The benchmark can replay explicitly consented hosted-demo research exports directly from the authenticated NDJSON endpoint or a local export. Imported traces stay in process memory and are never committed to the corpus or written into benchmark JSON output, preserving the demo's seven-day retention boundary. - Self-reported human labels now have their own provenance tier. They remain visible in exploratory browser, OS, input-method, and signal clusters but cannot affect headline false-positive figures, per-signal gates, or derived samples. - The research importer fails closed on schema drift, unsafe object keys, redirects, non-HTTPS URLs, unexpected content types, oversized exports, and malformed labels. It independently strips record and subject identifiers, timestamps, verdicts, user agents, screen geometry, challenge/session/site identifiers, and form field names. ### Changed - Python deployments move to Pydantic 2.14.3, Pydantic Core 2.50.4, and python-multipart 0.0.33 with refreshed hash locks. - Published images rebuild from refreshed pinned Go 1.27.3 Alpine and Node 26 Alpine base-image digests. - Development tooling moves to Playwright 1.65.0 and helm/kind-action 1.15.2. No breaking changes. ## [1.47.1] — 2026-11-08 ### Fixed - Natural trackpad movement no longer receives weak automation detections solely because the pointer reaches the checkbox without overshooting or follows a direct approach. Those checks now stand down when independent tremor and direction-change measurements already indicate a human hand, consistently across the Go, Node, and Python servers. ### Measurement - The benchmark now includes ten captured stealth-CDP agent traces and four non-automated human sessions from Chrome, Safari, and Firefox. It reports capture scenarios separately and gates regressions for agent classes the fixed corpus already detects. - A new importer validates manual capture reports, removes stale challenge state and transport-only headers, and produces replayable corpus samples with explicit browser and input labels. - On the observed macOS sessions, real-browser pointer streams coalesced two or three samples while all five humanized stealth-CDP captures maxed out at one. This is recorded as measured evidence, not a population false-positive claim. ## [1.47.0] — 2026-11-08 ### Security - Token signatures now use a language-neutral v2 canonical format across Go, Node, and Python. Verification remains compatible with legacy tokens during rolling upgrades, and signed claims include hostname, action, and cdata. - The native Node token verification handler now requires the configured verification secret, and its default replay store is shared by all scoring engines in one process. Multi-process deployments still need a shared atomic token store. - Forwarding headers are trusted only from loopback by default. Configure `TRUSTED_PROXIES` with the exact ingress or sidecar ranges in proxied deployments; the Helm chart defaults to trusting none. - Python Web Bot Auth signature headers now fail closed when they cannot be verified, and visitor-controlled reverse DNS lookups were removed from the Go and Python request paths. - Release workflows and third-party Actions are pinned to immutable revisions; manual package-publish entry points were removed and npm publication is bound to the release tag and package version. ### Changed - **Breaking:** callers of the Node library's native `tokenVerifyHandler` must send `secret`. Existing HTTP siteverify compatibility endpoints are unchanged. - **Breaking for proxied deployments:** private network peers are no longer implicitly trusted to set client IP headers. Set `TRUSTED_PROXIES` explicitly or visitors will be attributed to the immediate proxy. - **Breaking for Helm users of `existingSecret`:** set `existingSecretVersion` whenever secret material changes so the Deployment rolls pods predictably. - The bundled demo no longer loads Google Fonts, eliminating an unnecessary third-party request. ## [1.46.2] — 2026-11-03 ### Security - `qs` 6.17.1 and `body-parser` 2.4.0 in the Node server fix GHSA-6pq8-jhm2-2vcw (`qs.stringify` DoS). Upgrade if you use `@webdecoy/fcaptcha` (#147). - The Next.js example moves to `next` 16.4.5, clearing critical and high advisories in `next` <= 16.4.0. This affects only the example app, not the published packages (#148). ### Changed - The Python server image moves from Python 3.14.8 to 3.15.0 (`-slim`). - Dependency updates: fastapi 0.162.0 and pydantic 2.14.2 (Python), redis 6.3.1 (Node), and Alpine 3.24.3 plus refreshed golang and node base images (#144, #145, #146). ## [1.46.1] — 2026-10-21 ### Security - Go builds and the published image move to Go 1.26.10 / 1.27.3, which fix GO-2026-6809 in `crypto/x509`. `govulncheck` reports it as reachable from the Go server. Upgrade if you run the Docker image or build `server-go` (#140). ### Changed - Dependency updates: chi 5.5.0 and miniredis 2.40.0 (Go), fastapi 0.143.2 and pydantic 2.14.1 (Python), and a newer Node 26 base image (#137, #138, #139). ## [1.46.0] — 2026-10-15 ### Changed - **Breaking for `/recaptcha/api/siteverify` callers:** `score` on that path now follows reCAPTCHA v3, where higher is more human (`1 - score`), so an app's existing `score >= threshold` check works. FCaptcha's own score is returned alongside as `fcaptcha_score`. Turnstile and hCaptcha paths are unchanged (#132). ### Fixed - Two checks that fired for ordinary visitors no longer add to the score: the console-attach probe (`cdpRuntime.consoleAttached`), which fired in every real Chrome and Safari session measured, and "Modern macOS UA but SF Pro font not detected", which flagged every Firefox on macOS (#130). ### Added - `pointer-movement-v1` in `experimental.observations`: reports whether pointer moves ever show zero movement, as real mice and trackpads do. Observe-only; it does not affect the score or the token decision (#134). - Next.js App Router example with server-side verification, by [@CreedTech](https://github.com/CreedTech) (#131). ## [1.45.0] — 2026-10-13 ### Added - A checkbox widget inside a `