@jaredwray/mockhttp@1.8.0 — 2026-06-18
Add request bins for capturing and inspecting HTTP requests; refresh runtime and build dependencies.
Features
-
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 "http://localhost:3000/b/$ID/webhook?source=stripe" \ -H 'content-type: application/json' \ -d '{"event":"payment.succeeded"}' curl "http://localhost:3000/bins/$ID/requests" | jq
Documentation
- expand Request Bins section with end-to-end examples and API reference (
c860005, #150)
Internal
- cover MockHttp bin integration; harden against negative
maxRequestsPerBin(d6356c1, #150) - run deploy-site
testandbuildin parallel, gate deploy on both (133115d, #149) - upgrade hookified 2.2.0 → 3.0.0 (
58e0717, #157) - upgrade @scalar/api-reference 1.55.3 → 1.59.3 (
1209de0, #156) - upgrade @fastify/swagger-ui 5.2.6 → 6.0.0 (
b37285c, #155) - upgrade @fastify/rate-limit 10.3.0 → 11.0.0 (
3c7e14a, #154) - upgrade GitHub Actions — checkout v7, codecov-action v7 (
318c34a, #153) - upgrade TypeScript and build tooling — @swc/core, tsx, tsdown (
c474f8d, #152) - upgrade code quality dependencies — biome, vitest (
b06c1e6, #151)
Contributors
- @jaredwray (11)
Full List of Changes
- ci(deploy-site): run test and build in parallel by @jaredwray in #149
- feat: add request bins for inspecting captured HTTP requests by @jaredwray in #150
- root - chore: upgrade code quality dependencies by @jaredwray in #151
- root - chore: upgrade TypeScript and build tooling by @jaredwray in #152
- root - chore: upgrade GitHub Actions (breaking) by @jaredwray in #153
- root - chore: upgrade @fastify/rate-limit (breaking) by @jaredwray in #154
- root - chore: upgrade @fastify/swagger-ui (breaking) by @jaredwray in #155
- root - chore: upgrade @scalar/api-reference by @jaredwray in #156
- root - chore: upgrade hookified (breaking) by @jaredwray in #157
Full diff: v1.6.1...v1.7.0