Changelog
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
- feat: adding in plain endpoint by @jaredwray in https://github.com/jaredwray/mockhttp/pull/74
- feat: adding in text endpoint by @jaredwray in https://github.com/jaredwray/mockhttp/pull/75
- feat: adding in html endpoint by @jaredwray in https://github.com/jaredwray/mockhttp/pull/76
- fix: removing eslint by @jaredwray in https://github.com/jaredwray/mockhttp/pull/77
Full Changelog:...
- feat: adding in custom traffic badge by @jaredwray in https://github.com/jaredwray/mockhttp/pull/65
- feat: adding in auth with basic, bearer, digest by @jaredwray in https://github.com/jaredwray/mockhttp/pull/66
- chore: upgrading typescript to 5.9.2 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/67
- chore: upgrading codecov to v5 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/68
- chore: adding in min for cloud run by @jaredwray in https://github.com/jaredwray/mockhttp/pull/60
- chore: upgrading xo to 1.2.1 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/61
- chore: upgrading vitest to 3.2.4 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/62
- chore: upgrading @scalar/api-reference to 1.32.9 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/63
- fix: adding in application/json for return time on cookies by @jaredwray in https://github.com/jaredwray/mockhttp/pull/52
- chore: upgrading vitest to 3.2.3 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/53
- chore: upgrading tsup to 8.5.0 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/54
- chore: upgrading pino to 9.7.0 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/55
- chore: updating github actions and scripts by @jaredwray in https://github.com/jaredwray/mockhttp/pull/45
- chore: upgrading @swc/core and tsx to latest by @jaredwray in https://github.com/jaredwray/mockhttp/pull/46
- chore: upgrading vitest to 3.1.3 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/47
- chore: upgrading hookified to 1.9.0 by @jaredwray in https://github.com/jaredwray/mockhttp/pull/48