Changelog
Bin management requires an owner token. A reserved header name returns HTTP 400.
-
Bin management routes require an owner token.
MockHttpBinsthrows whenidLengthis not a positive integer (#275) Migration: ReadtokenfromPOST /bins. SendAuthorization: Bearer <token>on each later/binscall. The capture path/b/:idstays open. In-process methods such asgetBindo not require the token.# Before 4.0.0 POST /bins → 200 { "id", "url",...
Patch security issues in mongodb, Node.js, set-cookie-parser, and minimatch, and fix the Wasmer install.
-
mount pnpm-workspace.yaml during the Wasmer install (#263)
-
security - mongodb 7.8.0 (CVE-2026-119179) (#264)
-
pin Node.js 24.22.3 for the November security release (#266)
-
security - set-cookie-parser 2.7.3 (AIKIDO-2026-269475) (#267)
-
security - minimatch 11.0.5 (CVE-2026-118764) (#268)
-
remove stale minimumReleaseAgeExclude entries (#265)
-
@jaredwray (5)
Security patches and Worker fixes. /healthz omits scheme, host, username, and password length.
- start the Worker during isolate startup (#248)
- report bin store health and keep a failed connect in process (#249)
- drop every second socket error that has no listener (#250)
- Add redacted URI diagnostics to /healthz (#254)
- open one MongoDB client per Worker request to stop 1101s on bins (#255)
- pin Node 24.22.1 and patched undici (#256)
Request bins now use Keyv via MockHttpBins, and the Worker can store them in MongoDB Atlas.
- Replace
BinManager,BinStore, andInMemoryBinStorewith asyncMockHttpBins.mock.bins.start()andmock.bins.stop()are removed. The defaultmaxBodySizeis 128 KiB (was 1 MiB). Node engines are now>=22.19.0(was>=22.18.0). (b1ddcc0, #246) Migration: assignmock.bins = new MockHttpBins({ keyv })beforestart()(default store isnew Keyv()) andawaitthe bin...
Add AUTO_DETECT_PORT=false so the process keeps PORT, and include the docs site in the npm package.
-
Deploy the Node server to Wasmer Edge (#225)
PORT=3000 AUTO_DETECT_PORT=false node dist/index.mjs -
include Docula site in the npm tarball (#222)
-
deploy Wasmer with a remote build (#226)
-
deploy Wasmer through the Anybuild file (#228)
-
add Drydock review badge to README (#224)
-
rename Hosted Service page to MockHttp.org Live (#230)
Replace Scalar with a Docula site, run mockhttp.org on a Worker, and add initialize().
-
replace Scalar with a Docula documentation site (#209)
# Before 1.10.0 After 1.10.0 GET / → Scalar UI Docula Getting Started GET /docs → Swagger UI Docula docs GET /docs/json → OpenAPI JSON 404 GET /api/ → (none) Interactive OpenAPI GET...
Stable indexed response-format templates, plus security hardening and dependency refreshes.
-
add stable response format output via optional template index (#181)
# Same index → byte-identical JSON. Omit the index for the previous random pick. curl http://localhost:3000/json/1 curl http://localhost:3000/html/1 curl http://localhost:3000/json/99 # → 404 {"error":"Template index must be between 1 and 5"}
Dependency maintenance: refresh runtime and build dependencies (incl. @fastify/static v10).
- update fastify, @fastify/cookie, @fastify/helmet, @fastify/rate-limit, @fastify/swagger, @fastify/swagger-ui to latest (
62d073a, #174) - update @fastify/static to 10 (major) (
71501e3, #178) - update @scalar/api-reference to latest (
7efd744, #176) - update hookified to latest (
f46b91a, #177) - update @biomejs/biome, @swc/core, tsx to latest (
68584a6, #175)
Add request bins for capturing and inspecting HTTP requests; refresh runtime and build dependencies.
-
add request bins for inspecting captured HTTP requests (
41e3d20, #150)Mint an ephemeral URL, send arbitrary requests to it, and read back what was captured — useful for webhook debugging.
# Create a bin, send a request to it, then inspect what was captured ID=$(curl -s -X POST http://localhost:3000/bins | jq -r .id) curl -X POST...
Routine maintenance: dependency refresh (fastify, @scalar/api-reference, hookified), pnpm 11 supply-chain baseline, and GitHub Actions major upgrades.
- upgrade hookified 2.1.1 → 2.2.0 (
e431858, #147) - upgrade @scalar/api-reference 1.52.1 → 1.55.3 (
e07afea, #146) - upgrade @fastify/static 9.1.0→9.1.3, @fastify/swagger-ui 5.2.5→5.2.6, fastify 5.8.4→5.8.5 (
bcfddf6, #145)
Flexible URL matching: trailing path segments fall back to the parsable route prefix (fixes #137).
-
ignore trailing path segments after the parsable portion (
6f82897, #139)A Fastify
rewriteUrlhook progressively strips trailing segments when only the static catch-all wildcard or nothing matches. Query strings are preserved and the first path segment is never stripped, so genuinely unknown URLs still 404.# Before — only an exact match worked: GET /status/429 ...
- chore: upgrading biome, vitest, swc to latest by @jaredwray in https://github.com/jaredwray/mockhttp/pull/130
- chore: upgrading fastify to 5.8.4 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/131
- chore: upgrading hookified to 2.1.1 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/132
- chore: upgrading @scalar/api-reference to 1.52.1 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/133
- chore: upgrading swc, biome, vitest, and rimraf by @jaredwray in https://github.com/jaredwray/mockhttp/pull/127
- chore: upgrading fastify and scalar by @jaredwray in https://github.com/jaredwray/mockhttp/pull/128
- feat: adding in http2 support by @jaredwray in https://github.com/jaredwray/mockhttp/pull/129
Full Changelog:...
- chore: removing route export files from code coverage by @jaredwray in https://github.com/jaredwray/mockhttp/pull/117
- chore: upgrading vitest and support modules to latest by @jaredwray in https://github.com/jaredwray/mockhttp/pull/118
- chore: upgrading fastify and supporting modules to latest by @jaredwray in https://github.com/jaredwray/mockhttp/pull/119
- chore: upgrading pino to 10.3.1 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/120
- fix: [Aikido] Fix security issue in glob via minor version upgrade from 11.0.3 to 11.1.0 by @aikido-autofix[bot] in https://github.com/jaredwray/mockhttp/pull/107
- chore: upgrading vitest to 4.0.16 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/109
- chore: upgrading hookified to 1.15.0 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/110
- chore: upgrading pino to 10.1.1 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/111
- chore: moving to nodejs 24 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/100
- chore: upgradint tsup to 8.5.1 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/101
- chore: upgrading hookified to 1.14.0 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/102
- chore: upgrading vitest to 4.0.15 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/103
- chore: removing minify as it causes debugging issues by @jaredwray in https://github.com/jaredwray/mockhttp/pull/91
- fix: updating readme with correct spelling by @jaredwray in https://github.com/jaredwray/mockhttp/pull/92
- chore: upgrading vitest to 4.0.8 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/93
- chore: upgrading pino to 10.1.0 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/94
- fix: delete endpoing allows string, JSON, or any by @jaredwray in https://github.com/jaredwray/mockhttp/pull/90
Full Changelog: https://github.com/jaredwray/mockhttp/compare/v1.0.0...v1.0.1
- fix: docker no longer runs as default user by @jaredwray in https://github.com/jaredwray/mockhttp/pull/80
- chore: upgrading @biomejs/biome to 2.2.5 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/81
- chore: upgrading pino to 10.0.0 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/82
- chore: upgrading hookified to 1.12.1 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/83
- feat: adding in multiple http methods for plain, html, and text by @jaredwray in https://github.com/jaredwray/mockhttp/pull/78
Full Changelog: https://github.com/jaredwray/mockhttp/compare/v0.8.0...v0.9.0