Changelog

v2.0.0 Release

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...
    
Read more →
v1.9.0 Release

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"}
    
Read more →
v1.8.1 Release

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)
Read more →
v1.8.0 Release

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...
    
Read more →
v1.7.0 Release

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)
Read more →
v1.6.0 Release

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 rewriteUrl hook 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    ...
    
Read more →
v1.5.1 Release
Read more →
v1.5.0 Release

Full Changelog:...

Read more →
v1.4.0 Release
Read more →
v1.3.0 Release
Read more →
v1.2.0 Release
Read more →
v1.1.0 Release
Read more →
v1.0.1 Release

Full Changelog: https://github.com/jaredwray/mockhttp/compare/v1.0.0...v1.0.1

Read more →
v1.0.0 Release
Read more →
v0.9.0 Release

Full Changelog: https://github.com/jaredwray/mockhttp/compare/v0.8.0...v0.9.0

Read more →
v0.8.0 Release

Full Changelog:...

Read more →
v0.7.0 Release
Read more →
v0.6.1 Release
Read more →
v0.6.0 Release
Read more →
v0.5.0 Release
Read more →