@jaredwray/mockhttp 2.1.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +57 -67
- package/dist/index.d.mts +175 -159
- package/dist/index.mjs +513 -232
- package/package.json +24 -19
- package/site/dist/api/index.html +191 -5
- package/site/dist/api/swagger.json +235 -10
- package/site/dist/changelog/index.html +35 -33
- package/site/dist/changelog/page/2/index.html +33 -30
- package/site/dist/changelog/{v0-2-1 → v3-0-0}/index.html +73 -9
- package/site/dist/changelog/{v0-2-0 → v3-0-1}/index.html +83 -8
- package/site/dist/changelog-latest.json +26 -26
- package/site/dist/changelog.json +26 -26
- package/site/dist/docs/bins/index.html +97 -50
- package/site/dist/docs/configuration/index.html +2 -2
- package/site/dist/docs/hosted/index.html +3 -3
- package/site/dist/docs/how-to-deploy/cloudflare/index.html +8 -8
- package/site/dist/docs/how-to-deploy/docker/index.html +2 -2
- package/site/dist/docs/how-to-deploy/wasmer/index.html +4 -4
- package/site/dist/docs/https/index.html +2 -2
- package/site/dist/docs/index.html +2 -2
- package/site/dist/docs/library/index.html +19 -23
- package/site/dist/docs/taps/index.html +2 -2
- package/site/dist/feed.xml +1 -1
- package/site/dist/index.html +2 -2
- package/site/dist/llms-full.txt +511 -105
- package/site/dist/llms.txt +2 -2
- package/site/dist/search-index.json +1 -1
- package/site/dist/sitemap.xml +1 -1
|
@@ -144,6 +144,40 @@
|
|
|
144
144
|
<main class="versions-container">
|
|
145
145
|
<div class="versions-content">
|
|
146
146
|
<h2 class="home-title">Changelog</h2>
|
|
147
|
+
<div class="changelog-entry">
|
|
148
|
+
<div class="changelog-entry-header">
|
|
149
|
+
<a class="changelog-entry-title" href="/changelog/v3-0-1/">v3.0.1</a>
|
|
150
|
+
<span class="changelog-tag changelog-tag-release">Release</span>
|
|
151
|
+
</div>
|
|
152
|
+
<span class="changelog-entry-date">October 28, 2026</span>
|
|
153
|
+
<div class="changelog-entry-preview">
|
|
154
|
+
<p>Security patches and Worker fixes. /healthz omits scheme, host, username, and password length.</p>
|
|
155
|
+
<ul>
|
|
156
|
+
<li>start the Worker during isolate startup (#248)</li>
|
|
157
|
+
<li>report bin store health and keep a failed connect in process (#249)</li>
|
|
158
|
+
<li>drop every second socket error that has no listener (#250)</li>
|
|
159
|
+
<li>Add redacted URI diagnostics to /healthz (#254)</li>
|
|
160
|
+
<li>open one MongoDB client per Worker request to stop 1101s on bins (#255)</li>
|
|
161
|
+
<li>pin Node 24.22.1 and patched undici (#256)</li>
|
|
162
|
+
</ul>
|
|
163
|
+
</div>
|
|
164
|
+
<span class="changelog-read-more">Read more →</span>
|
|
165
|
+
</div>
|
|
166
|
+
<div class="changelog-entry">
|
|
167
|
+
<div class="changelog-entry-header">
|
|
168
|
+
<a class="changelog-entry-title" href="/changelog/v3-0-0/">v3.0.0</a>
|
|
169
|
+
<span class="changelog-tag changelog-tag-release">Release</span>
|
|
170
|
+
</div>
|
|
171
|
+
<span class="changelog-entry-date">October 20, 2026</span>
|
|
172
|
+
<div class="changelog-entry-preview">
|
|
173
|
+
<p>Request bins now use Keyv via MockHttpBins, and the Worker can store them in MongoDB Atlas.</p>
|
|
174
|
+
<ul>
|
|
175
|
+
<li>Replace <code>BinManager</code>, <code>BinStore</code>, and <code>InMemoryBinStore</code> with async <code>MockHttpBins</code>. <code>mock.bins.start()</code> and <code>mock.bins.stop()</code> are removed. The default <code>maxBodySize</code> is 128 KiB (was 1 MiB). Node engines are now <code>>=22.19.0</code> (was <code>>=22.18.0</code>). (<code>b1ddcc0</code>, #246)
|
|
176
|
+
Migration: assign <code>mock.bins = new MockHttpBins({ keyv })</code> before <code>start()</code> (default store is <code>new Keyv()</code>) and <code>await</code> the bin...</li>
|
|
177
|
+
</ul>
|
|
178
|
+
</div>
|
|
179
|
+
<span class="changelog-read-more">Read more →</span>
|
|
180
|
+
</div>
|
|
147
181
|
<div class="changelog-entry">
|
|
148
182
|
<div class="changelog-entry-header">
|
|
149
183
|
<a class="changelog-entry-title" href="/changelog/v2-1-0/">v2.1.0</a>
|
|
@@ -466,38 +500,6 @@ GET /status/429 ...
|
|
|
466
500
|
<li>feat: adding in auth with basic, bearer, digest by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/66">https://github.com/jaredwray/mockhttp/pull/66</a></li>
|
|
467
501
|
<li>chore: upgrading typescript to 5.9.2 by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/67">https://github.com/jaredwray/mockhttp/pull/67</a></li>
|
|
468
502
|
<li>chore: upgrading codecov to v5 by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/68">https://github.com/jaredwray/mockhttp/pull/68</a></li>
|
|
469
|
-
</ul>
|
|
470
|
-
</div>
|
|
471
|
-
<span class="changelog-read-more">Read more →</span>
|
|
472
|
-
</div>
|
|
473
|
-
<div class="changelog-entry">
|
|
474
|
-
<div class="changelog-entry-header">
|
|
475
|
-
<a class="changelog-entry-title" href="/changelog/v0-6-1/">v0.6.1</a>
|
|
476
|
-
<span class="changelog-tag changelog-tag-release">Release</span>
|
|
477
|
-
</div>
|
|
478
|
-
<span class="changelog-entry-date">July 19, 2025</span>
|
|
479
|
-
<div class="changelog-entry-preview">
|
|
480
|
-
<ul>
|
|
481
|
-
<li>chore: adding in min for cloud run by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/60">https://github.com/jaredwray/mockhttp/pull/60</a></li>
|
|
482
|
-
<li>chore: upgrading xo to 1.2.1 by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/61">https://github.com/jaredwray/mockhttp/pull/61</a></li>
|
|
483
|
-
<li>chore: upgrading vitest to 3.2.4 by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/62">https://github.com/jaredwray/mockhttp/pull/62</a></li>
|
|
484
|
-
<li>chore: upgrading @scalar/api-reference to 1.32.9 by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/63">https://github.com/jaredwray/mockhttp/pull/63</a></li>
|
|
485
|
-
</ul>
|
|
486
|
-
</div>
|
|
487
|
-
<span class="changelog-read-more">Read more →</span>
|
|
488
|
-
</div>
|
|
489
|
-
<div class="changelog-entry">
|
|
490
|
-
<div class="changelog-entry-header">
|
|
491
|
-
<a class="changelog-entry-title" href="/changelog/v0-6-0/">v0.6.0</a>
|
|
492
|
-
<span class="changelog-tag changelog-tag-release">Release</span>
|
|
493
|
-
</div>
|
|
494
|
-
<span class="changelog-entry-date">June 14, 2025</span>
|
|
495
|
-
<div class="changelog-entry-preview">
|
|
496
|
-
<ul>
|
|
497
|
-
<li>fix: adding in application/json for return time on cookies by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/52">https://github.com/jaredwray/mockhttp/pull/52</a></li>
|
|
498
|
-
<li>chore: upgrading vitest to 3.2.3 by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/53">https://github.com/jaredwray/mockhttp/pull/53</a></li>
|
|
499
|
-
<li>chore: upgrading tsup to 8.5.0 by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/54">https://github.com/jaredwray/mockhttp/pull/54</a></li>
|
|
500
|
-
<li>chore: upgrading pino to 9.7.0 by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/55">https://github.com/jaredwray/mockhttp/pull/55</a></li>
|
|
501
503
|
</ul>
|
|
502
504
|
</div>
|
|
503
505
|
<span class="changelog-read-more">Read more →</span>
|
|
@@ -519,7 +521,7 @@ GET /status/429 ...
|
|
|
519
521
|
<a href="https://docula.org/" target="_blank" rel="noopener noreferrer" class="footer__link" aria-label="Docula">
|
|
520
522
|
<svg class="footer__bat" xmlns="http://www.w3.org/2000/svg" viewBox="70 110 360 205" fill="currentColor"><path d="M420,173c-16.76-18-72.78-36.65-131.59-30.58A160.15,160.15,0,0,0,269,120.55c-3.78,4.52-11.15,9.45-19,9.45s-15.23-4.93-19-9.45a160.15,160.15,0,0,0-19.4,21.83C152.78,136.31,96.76,154.94,80,173c48.86,5.86,79.5,34.09,79.5,72.06,52.37,0,77,28,90.5,59.94C263.54,273,288.13,245,340.5,245,340.5,207,371.14,178.8,420,173Z"/><circle cx="239.19" cy="145.36" r="3.32" fill="#fff"/><circle cx="260.81" cy="145.36" r="3.32" fill="#fff"/></svg>
|
|
521
523
|
</a>
|
|
522
|
-
<span class="footer__updated">updated: 2026-10-
|
|
524
|
+
<span class="footer__updated">updated: 2026-10-28</span>
|
|
523
525
|
</footer>
|
|
524
526
|
<script src="/css/highlight/highlight.min.js"></script>
|
|
525
527
|
<script>
|
|
@@ -144,6 +144,38 @@
|
|
|
144
144
|
<main class="versions-container">
|
|
145
145
|
<div class="versions-content">
|
|
146
146
|
<h2 class="home-title">Changelog</h2>
|
|
147
|
+
<div class="changelog-entry">
|
|
148
|
+
<div class="changelog-entry-header">
|
|
149
|
+
<a class="changelog-entry-title" href="/changelog/v0-6-1/">v0.6.1</a>
|
|
150
|
+
<span class="changelog-tag changelog-tag-release">Release</span>
|
|
151
|
+
</div>
|
|
152
|
+
<span class="changelog-entry-date">July 19, 2025</span>
|
|
153
|
+
<div class="changelog-entry-preview">
|
|
154
|
+
<ul>
|
|
155
|
+
<li>chore: adding in min for cloud run by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/60">https://github.com/jaredwray/mockhttp/pull/60</a></li>
|
|
156
|
+
<li>chore: upgrading xo to 1.2.1 by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/61">https://github.com/jaredwray/mockhttp/pull/61</a></li>
|
|
157
|
+
<li>chore: upgrading vitest to 3.2.4 by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/62">https://github.com/jaredwray/mockhttp/pull/62</a></li>
|
|
158
|
+
<li>chore: upgrading @scalar/api-reference to 1.32.9 by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/63">https://github.com/jaredwray/mockhttp/pull/63</a></li>
|
|
159
|
+
</ul>
|
|
160
|
+
</div>
|
|
161
|
+
<span class="changelog-read-more">Read more →</span>
|
|
162
|
+
</div>
|
|
163
|
+
<div class="changelog-entry">
|
|
164
|
+
<div class="changelog-entry-header">
|
|
165
|
+
<a class="changelog-entry-title" href="/changelog/v0-6-0/">v0.6.0</a>
|
|
166
|
+
<span class="changelog-tag changelog-tag-release">Release</span>
|
|
167
|
+
</div>
|
|
168
|
+
<span class="changelog-entry-date">June 14, 2025</span>
|
|
169
|
+
<div class="changelog-entry-preview">
|
|
170
|
+
<ul>
|
|
171
|
+
<li>fix: adding in application/json for return time on cookies by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/52">https://github.com/jaredwray/mockhttp/pull/52</a></li>
|
|
172
|
+
<li>chore: upgrading vitest to 3.2.3 by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/53">https://github.com/jaredwray/mockhttp/pull/53</a></li>
|
|
173
|
+
<li>chore: upgrading tsup to 8.5.0 by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/54">https://github.com/jaredwray/mockhttp/pull/54</a></li>
|
|
174
|
+
<li>chore: upgrading pino to 9.7.0 by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/55">https://github.com/jaredwray/mockhttp/pull/55</a></li>
|
|
175
|
+
</ul>
|
|
176
|
+
</div>
|
|
177
|
+
<span class="changelog-read-more">Read more →</span>
|
|
178
|
+
</div>
|
|
147
179
|
<div class="changelog-entry">
|
|
148
180
|
<div class="changelog-entry-header">
|
|
149
181
|
<a class="changelog-entry-title" href="/changelog/v0-5-0/">v0.5.0</a>
|
|
@@ -266,35 +298,6 @@
|
|
|
266
298
|
</div>
|
|
267
299
|
<span class="changelog-read-more">Read more →</span>
|
|
268
300
|
</div>
|
|
269
|
-
<div class="changelog-entry">
|
|
270
|
-
<div class="changelog-entry-header">
|
|
271
|
-
<a class="changelog-entry-title" href="/changelog/v0-2-1/">v0.2.1</a>
|
|
272
|
-
<span class="changelog-tag changelog-tag-release">Release</span>
|
|
273
|
-
</div>
|
|
274
|
-
<span class="changelog-entry-date">December 13, 2024</span>
|
|
275
|
-
<div class="changelog-entry-preview">
|
|
276
|
-
<ul>
|
|
277
|
-
<li>moving to logging on a single line by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/15">https://github.com/jaredwray/mockhttp/pull/15</a></li>
|
|
278
|
-
<li>upgrading scalar to 1.25.82 by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/16">https://github.com/jaredwray/mockhttp/pull/16</a></li>
|
|
279
|
-
</ul>
|
|
280
|
-
<p><strong>Full Changelog</strong>: <a href="https://github.com/jaredwray/mockhttp/compare/v0.2.0...v0.2.1">https://github.com/jaredwray/mockhttp/compare/v0.2.0...v0.2.1</a></p>
|
|
281
|
-
</div>
|
|
282
|
-
<span class="changelog-read-more">Read more →</span>
|
|
283
|
-
</div>
|
|
284
|
-
<div class="changelog-entry">
|
|
285
|
-
<div class="changelog-entry-header">
|
|
286
|
-
<a class="changelog-entry-title" href="/changelog/v0-2-0/">v0.2.0</a>
|
|
287
|
-
<span class="changelog-tag changelog-tag-release">Release</span>
|
|
288
|
-
</div>
|
|
289
|
-
<span class="changelog-entry-date">December 13, 2024</span>
|
|
290
|
-
<div class="changelog-entry-preview">
|
|
291
|
-
<ul>
|
|
292
|
-
<li>response inspection by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/14">https://github.com/jaredwray/mockhttp/pull/14</a></li>
|
|
293
|
-
</ul>
|
|
294
|
-
<p><strong>Full Changelog</strong>: <a href="https://github.com/jaredwray/mockhttp/compare/v0.1.0...v0.2.0">https://github.com/jaredwray/mockhttp/compare/v0.1.0...v0.2.0</a></p>
|
|
295
|
-
</div>
|
|
296
|
-
<span class="changelog-read-more">Read more →</span>
|
|
297
|
-
</div>
|
|
298
301
|
<nav class="changelog-pagination">
|
|
299
302
|
<a class="changelog-pagination-link" href="/changelog/">← Newer</a>
|
|
300
303
|
<span class="changelog-pagination-info">Page 2 of 2</span>
|
|
@@ -312,7 +315,7 @@
|
|
|
312
315
|
<a href="https://docula.org/" target="_blank" rel="noopener noreferrer" class="footer__link" aria-label="Docula">
|
|
313
316
|
<svg class="footer__bat" xmlns="http://www.w3.org/2000/svg" viewBox="70 110 360 205" fill="currentColor"><path d="M420,173c-16.76-18-72.78-36.65-131.59-30.58A160.15,160.15,0,0,0,269,120.55c-3.78,4.52-11.15,9.45-19,9.45s-15.23-4.93-19-9.45a160.15,160.15,0,0,0-19.4,21.83C152.78,136.31,96.76,154.94,80,173c48.86,5.86,79.5,34.09,79.5,72.06,52.37,0,77,28,90.5,59.94C263.54,273,288.13,245,340.5,245,340.5,207,371.14,178.8,420,173Z"/><circle cx="239.19" cy="145.36" r="3.32" fill="#fff"/><circle cx="260.81" cy="145.36" r="3.32" fill="#fff"/></svg>
|
|
314
317
|
</a>
|
|
315
|
-
<span class="footer__updated">updated: 2026-10-
|
|
318
|
+
<span class="footer__updated">updated: 2026-10-28</span>
|
|
316
319
|
</footer>
|
|
317
320
|
<script src="/css/highlight/highlight.min.js"></script>
|
|
318
321
|
<script>
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
}
|
|
34
34
|
})();
|
|
35
35
|
</script>
|
|
36
|
-
<title>MockHTTP -
|
|
36
|
+
<title>MockHTTP - v3.0.0</title>
|
|
37
37
|
<script type="application/ld+json">
|
|
38
|
-
{"@context":"https://schema.org","@type":"BlogPosting","headline":"
|
|
38
|
+
{"@context":"https://schema.org","@type":"BlogPosting","headline":"v3.0.0","description":"<p>Request bins now use Keyv via MockHttpBins, and the Worker can store them in MongoDB Atlas.</p>\n<ul>\n<li>Replace <code>BinManager</code>, <code>BinStore</code>, and <code>InMemoryBinStore</code> with async <code>MockHttpBins</code>. <code>mock.bins.start()</code> and <code>mock.bins.stop()</code> are removed. The default <code>maxBodySize</code> is 128 KiB (was 1 MiB). Node engines are now <code>>=22.19.0</code> (was <code>>=22.18.0</code>). (<code>b1ddcc0</code>, #246)\r\nMigration: assign <code>mock.bins = new MockHttpBins({ keyv })</code> before <code>start()</code> (default store is <code>new Keyv()</code>) and <code>await</code> the bin...</li>\n</ul>","url":"https://mockhttp.org/changelog/v3-0-0/","publisher":{"@type":"Organization","name":"MockHTTP"},"datePublished":"2026-10-20"}
|
|
39
39
|
</script>
|
|
40
40
|
</head>
|
|
41
41
|
|
|
@@ -148,17 +148,81 @@
|
|
|
148
148
|
</div>
|
|
149
149
|
<div class="changelog-entry changelog-entry-single">
|
|
150
150
|
<div class="changelog-entry-header">
|
|
151
|
-
<h1 class="changelog-entry-title">
|
|
151
|
+
<h1 class="changelog-entry-title">v3.0.0</h1>
|
|
152
152
|
<span class="changelog-tag changelog-tag-release">Release</span>
|
|
153
153
|
</div>
|
|
154
|
-
<span class="changelog-entry-date">
|
|
154
|
+
<span class="changelog-entry-date">October 20, 2026</span>
|
|
155
155
|
<div class="changelog-entry-body">
|
|
156
|
-
<h2 id="
|
|
156
|
+
<h2 id="jaredwraymockhttp300--2026-10-19">@jaredwray/mockhttp@3.0.0 — 2026-10-19</h2>
|
|
157
|
+
<p>Request bins now use Keyv via MockHttpBins, and the Worker can store them in MongoDB Atlas.</p>
|
|
158
|
+
<h3 id="-breaking-changes">⚠ BREAKING CHANGES</h3>
|
|
157
159
|
<ul>
|
|
158
|
-
<li>
|
|
159
|
-
<
|
|
160
|
+
<li>
|
|
161
|
+
<p>Replace <code>BinManager</code>, <code>BinStore</code>, and <code>InMemoryBinStore</code> with async <code>MockHttpBins</code>. <code>mock.bins.start()</code> and <code>mock.bins.stop()</code> are removed. The default <code>maxBodySize</code> is 128 KiB (was 1 MiB). Node engines are now <code>>=22.19.0</code> (was <code>>=22.18.0</code>). (<code>b1ddcc0</code>, #246)
|
|
162
|
+
Migration: assign <code>mock.bins = new MockHttpBins({ keyv })</code> before <code>start()</code> (default store is <code>new Keyv()</code>) and <code>await</code> the bin methods.</p>
|
|
163
|
+
<pre><code class="hljs language-ts"><span class="hljs-keyword">import</span> <span class="hljs-title class_">Keyv</span> <span class="hljs-keyword">from</span> <span class="hljs-string">"keyv"</span>;
|
|
164
|
+
<span class="hljs-keyword">import</span> { <span class="hljs-title class_">MockHttp</span>, <span class="hljs-title class_">MockHttpBins</span> } <span class="hljs-keyword">from</span> <span class="hljs-string">"@jaredwray/mockhttp"</span>;
|
|
165
|
+
|
|
166
|
+
<span class="hljs-keyword">const</span> mock = <span class="hljs-keyword">new</span> <span class="hljs-title class_">MockHttp</span>();
|
|
167
|
+
mock.<span class="hljs-property">bins</span> = <span class="hljs-keyword">new</span> <span class="hljs-title class_">MockHttpBins</span>({ <span class="hljs-attr">keyv</span>: <span class="hljs-keyword">new</span> <span class="hljs-title class_">Keyv</span>(), <span class="hljs-attr">maxBodySize</span>: <span class="hljs-number">128</span> * <span class="hljs-number">1024</span> });
|
|
168
|
+
<span class="hljs-keyword">await</span> mock.<span class="hljs-title function_">start</span>();
|
|
169
|
+
<span class="hljs-keyword">const</span> bin = <span class="hljs-keyword">await</span> mock.<span class="hljs-property">bins</span>.<span class="hljs-title function_">createBin</span>();
|
|
170
|
+
</code></pre>
|
|
171
|
+
</li>
|
|
160
172
|
</ul>
|
|
161
|
-
<
|
|
173
|
+
<h3 id="features">Features</h3>
|
|
174
|
+
<ul>
|
|
175
|
+
<li>
|
|
176
|
+
<p>Store Worker request bins in MongoDB Atlas when <code>MONGODB_URI</code> is set (<code>266157b</code>, #247)</p>
|
|
177
|
+
<pre><code class="hljs language-bash"><span class="hljs-comment"># Cloudflare Worker secret. Bins go in the Atlas `bins` collection.</span>
|
|
178
|
+
<span class="hljs-comment"># Leave MONGODB_URI unset to keep the in-memory Keyv.</span>
|
|
179
|
+
wrangler secret put MONGODB_URI
|
|
180
|
+
</code></pre>
|
|
181
|
+
</li>
|
|
182
|
+
</ul>
|
|
183
|
+
<h3 id="bug-fixes">Bug Fixes</h3>
|
|
184
|
+
<ul>
|
|
185
|
+
<li>security - upgrade fastify proxy-addr, fast-uri, find-my-way, undici (<code>9c52869</code>, #233)</li>
|
|
186
|
+
<li>security - upgrade handlebars, source-map-js (<code>28aa662</code>, #236)</li>
|
|
187
|
+
</ul>
|
|
188
|
+
<h3 id="internal">Internal</h3>
|
|
189
|
+
<ul>
|
|
190
|
+
<li>sync defense-in-depth files from agentic (<code>7fb3ce4</code>, #234)</li>
|
|
191
|
+
<li>upgrade code quality dependencies (<code>a57b990</code>, #235)</li>
|
|
192
|
+
<li>upgrade TypeScript and build tooling (<code>b11fa0f</code>, #237)</li>
|
|
193
|
+
<li>upgrade monorepo tooling (<code>58e8596</code>, #238)</li>
|
|
194
|
+
<li>upgrade GitHub Actions (<code>58bc448</code>, #239)</li>
|
|
195
|
+
<li>upgrade Dev Container images (<code>2047c3c</code>, #240)</li>
|
|
196
|
+
<li>upgrade Fastify dependencies (<code>3e93bea</code>, #241)</li>
|
|
197
|
+
<li>upgrade hookified (<code>d938e6e</code>, #242)</li>
|
|
198
|
+
<li>upgrade pino and pino-pretty (<code>c2a94ad</code>, #243)</li>
|
|
199
|
+
<li>upgrade Docker Node.js runtime image (<code>cd5decf</code>, #244)</li>
|
|
200
|
+
<li>pin the Compose image (<code>74ad4ea</code>, #245)</li>
|
|
201
|
+
</ul>
|
|
202
|
+
<h3 id="contributors">Contributors</h3>
|
|
203
|
+
<ul>
|
|
204
|
+
<li>@jaredwray (11)</li>
|
|
205
|
+
<li>@cursoragent (5)</li>
|
|
206
|
+
</ul>
|
|
207
|
+
<h3 id="full-list-of-changes">Full List of Changes</h3>
|
|
208
|
+
<ul>
|
|
209
|
+
<li>fix: security - upgrade fastify proxy-addr, fast-uri, find-my-way, undici by @jaredwray in #233</li>
|
|
210
|
+
<li>mono - chore: sync defense-in-depth files from agentic by @jaredwray in #234</li>
|
|
211
|
+
<li>mono - chore: upgrade code quality dependencies by @jaredwray in #235</li>
|
|
212
|
+
<li>fix: security - upgrade handlebars, source-map-js by @jaredwray in #236</li>
|
|
213
|
+
<li>mono - chore: upgrade TypeScript and build tooling by @jaredwray in #237</li>
|
|
214
|
+
<li>mono - chore: upgrade monorepo tooling by @jaredwray in #238</li>
|
|
215
|
+
<li>mono - chore: upgrade GitHub Actions by @jaredwray in #239</li>
|
|
216
|
+
<li>mono - chore: upgrade Dev Container images by @jaredwray in #240</li>
|
|
217
|
+
<li>mono - chore: upgrade Fastify dependencies by @jaredwray in #241</li>
|
|
218
|
+
<li>mono - chore: upgrade hookified by @jaredwray in #242</li>
|
|
219
|
+
<li>mono - chore: upgrade pino and pino-pretty by @jaredwray in #243</li>
|
|
220
|
+
<li>mono - chore: upgrade Docker Node.js runtime image by @jaredwray in #244</li>
|
|
221
|
+
<li>mono - chore: pin the Compose image by @jaredwray in #245</li>
|
|
222
|
+
<li>Store request bins in Keyv by @jaredwray in #246</li>
|
|
223
|
+
<li>Store Worker request bins in MongoDB Atlas by @jaredwray in #247</li>
|
|
224
|
+
</ul>
|
|
225
|
+
<p><strong>Full diff:</strong> <a href="https://github.com/jaredwray/mockhttp/compare/v2.1.0...v3.0.0">https://github.com/jaredwray/mockhttp/compare/v2.1.0...v3.0.0</a></p>
|
|
162
226
|
</div>
|
|
163
227
|
</div>
|
|
164
228
|
</div>
|
|
@@ -173,7 +237,7 @@
|
|
|
173
237
|
<a href="https://docula.org/" target="_blank" rel="noopener noreferrer" class="footer__link" aria-label="Docula">
|
|
174
238
|
<svg class="footer__bat" xmlns="http://www.w3.org/2000/svg" viewBox="70 110 360 205" fill="currentColor"><path d="M420,173c-16.76-18-72.78-36.65-131.59-30.58A160.15,160.15,0,0,0,269,120.55c-3.78,4.52-11.15,9.45-19,9.45s-15.23-4.93-19-9.45a160.15,160.15,0,0,0-19.4,21.83C152.78,136.31,96.76,154.94,80,173c48.86,5.86,79.5,34.09,79.5,72.06,52.37,0,77,28,90.5,59.94C263.54,273,288.13,245,340.5,245,340.5,207,371.14,178.8,420,173Z"/><circle cx="239.19" cy="145.36" r="3.32" fill="#fff"/><circle cx="260.81" cy="145.36" r="3.32" fill="#fff"/></svg>
|
|
175
239
|
</a>
|
|
176
|
-
<span class="footer__updated">updated:
|
|
240
|
+
<span class="footer__updated">updated: 2026-10-20</span>
|
|
177
241
|
</footer>
|
|
178
242
|
<script src="/css/highlight/highlight.min.js"></script>
|
|
179
243
|
<script>
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
}
|
|
34
34
|
})();
|
|
35
35
|
</script>
|
|
36
|
-
<title>MockHTTP -
|
|
36
|
+
<title>MockHTTP - v3.0.1</title>
|
|
37
37
|
<script type="application/ld+json">
|
|
38
|
-
{"@context":"https://schema.org","@type":"BlogPosting","headline":"
|
|
38
|
+
{"@context":"https://schema.org","@type":"BlogPosting","headline":"v3.0.1","description":"<p>Security patches and Worker fixes. /healthz omits scheme, host, username, and password length.</p>\n<ul>\n<li>start the Worker during isolate startup (#248)</li>\n<li>report bin store health and keep a failed connect in process (#249)</li>\n<li>drop every second socket error that has no listener (#250)</li>\n<li>Add redacted URI diagnostics to /healthz (#254)</li>\n<li>open one MongoDB client per Worker request to stop 1101s on bins (#255)</li>\n<li>pin Node 24.22.1 and patched undici (#256)</li>\n</ul>","url":"https://mockhttp.org/changelog/v3-0-1/","publisher":{"@type":"Organization","name":"MockHTTP"},"datePublished":"2026-10-28"}
|
|
39
39
|
</script>
|
|
40
40
|
</head>
|
|
41
41
|
|
|
@@ -148,16 +148,91 @@
|
|
|
148
148
|
</div>
|
|
149
149
|
<div class="changelog-entry changelog-entry-single">
|
|
150
150
|
<div class="changelog-entry-header">
|
|
151
|
-
<h1 class="changelog-entry-title">
|
|
151
|
+
<h1 class="changelog-entry-title">v3.0.1</h1>
|
|
152
152
|
<span class="changelog-tag changelog-tag-release">Release</span>
|
|
153
153
|
</div>
|
|
154
|
-
<span class="changelog-entry-date">
|
|
154
|
+
<span class="changelog-entry-date">October 28, 2026</span>
|
|
155
155
|
<div class="changelog-entry-body">
|
|
156
|
-
<h2 id="
|
|
156
|
+
<h2 id="jaredwraymockhttp301--2026-10-28">@jaredwray/mockhttp@3.0.1 — 2026-10-28</h2>
|
|
157
|
+
<p>Security patches and Worker fixes. /healthz omits scheme, host, username, and password length.</p>
|
|
158
|
+
<h3 id="bug-fixes">Bug Fixes</h3>
|
|
157
159
|
<ul>
|
|
158
|
-
<li>
|
|
160
|
+
<li>
|
|
161
|
+
<p>start the Worker during isolate startup (#248)</p>
|
|
162
|
+
</li>
|
|
163
|
+
<li>
|
|
164
|
+
<p>report bin store health and keep a failed connect in process (#249)</p>
|
|
165
|
+
</li>
|
|
166
|
+
<li>
|
|
167
|
+
<p>drop every second socket error that has no listener (#250)</p>
|
|
168
|
+
</li>
|
|
169
|
+
<li>
|
|
170
|
+
<p>Add redacted URI diagnostics to /healthz (#254)</p>
|
|
171
|
+
</li>
|
|
172
|
+
<li>
|
|
173
|
+
<p>open one MongoDB client per Worker request to stop 1101s on bins (#255)</p>
|
|
174
|
+
</li>
|
|
175
|
+
<li>
|
|
176
|
+
<p>pin Node 24.22.1 and patched undici (#256)</p>
|
|
177
|
+
</li>
|
|
178
|
+
<li>
|
|
179
|
+
<p>force miniflare's sharp pin to 0.35.5 (#257)</p>
|
|
180
|
+
</li>
|
|
181
|
+
<li>
|
|
182
|
+
<p>bump zod to 4.6.7 for GHSA-mrhx-c7xc-m3w5 (#258)</p>
|
|
183
|
+
</li>
|
|
184
|
+
<li>
|
|
185
|
+
<p>security - markdown-it 15.0.3 (CVE-2026-111758) (#260)</p>
|
|
186
|
+
</li>
|
|
187
|
+
<li>
|
|
188
|
+
<p>omit scheme and URI identity from /healthz (#262)</p>
|
|
189
|
+
<pre><code class="hljs language-json"><span class="hljs-punctuation">{</span>
|
|
190
|
+
<span class="hljs-attr">"status"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"ok"</span><span class="hljs-punctuation">,</span>
|
|
191
|
+
<span class="hljs-attr">"bins"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
192
|
+
<span class="hljs-attr">"connected"</span><span class="hljs-punctuation">:</span> <span class="hljs-literal"><span class="hljs-keyword">true</span></span><span class="hljs-punctuation">,</span>
|
|
193
|
+
<span class="hljs-attr">"uriPresent"</span><span class="hljs-punctuation">:</span> <span class="hljs-literal"><span class="hljs-keyword">true</span></span><span class="hljs-punctuation">,</span>
|
|
194
|
+
<span class="hljs-attr">"uri"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
|
|
195
|
+
<span class="hljs-attr">"atCount"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1</span><span class="hljs-punctuation">,</span>
|
|
196
|
+
<span class="hljs-attr">"passwordHasPercent"</span><span class="hljs-punctuation">:</span> <span class="hljs-literal"><span class="hljs-keyword">false</span></span>
|
|
197
|
+
<span class="hljs-punctuation">}</span>
|
|
198
|
+
<span class="hljs-punctuation">}</span>
|
|
199
|
+
<span class="hljs-punctuation">}</span>
|
|
200
|
+
</code></pre>
|
|
201
|
+
</li>
|
|
159
202
|
</ul>
|
|
160
|
-
<
|
|
203
|
+
<h3 id="documentation">Documentation</h3>
|
|
204
|
+
<ul>
|
|
205
|
+
<li>remove the empty vars note from the Cloudflare page (#253)</li>
|
|
206
|
+
</ul>
|
|
207
|
+
<h3 id="internal">Internal</h3>
|
|
208
|
+
<ul>
|
|
209
|
+
<li>point worker URI fixtures at example.invalid (#251)</li>
|
|
210
|
+
<li>declare empty Worker vars in Wrangler (#252)</li>
|
|
211
|
+
<li>list LICENSE in the published package files (#259)</li>
|
|
212
|
+
</ul>
|
|
213
|
+
<h3 id="contributors">Contributors</h3>
|
|
214
|
+
<ul>
|
|
215
|
+
<li>@jaredwray (13)</li>
|
|
216
|
+
<li>@cursoragent (1)</li>
|
|
217
|
+
</ul>
|
|
218
|
+
<h3 id="full-list-of-changes">Full List of Changes</h3>
|
|
219
|
+
<ul>
|
|
220
|
+
<li>fix: restore Cloudflare Worker routes after the v3.0.0 startup crash by @jaredwray in #248</li>
|
|
221
|
+
<li>Add GET /healthz and redact bin store errors by @jaredwray in #249</li>
|
|
222
|
+
<li>Use example.invalid for worker test URI fixtures by @jaredwray in #251</li>
|
|
223
|
+
<li>Drop every second socket error that has no listener by @jaredwray in #250</li>
|
|
224
|
+
<li>Declare empty Worker vars in Wrangler by @jaredwray in #252</li>
|
|
225
|
+
<li>Remove the empty vars note from the Cloudflare page by @jaredwray in #253</li>
|
|
226
|
+
<li>Add redacted URI diagnostics to /healthz by @jaredwray in #254</li>
|
|
227
|
+
<li>fix: open one MongoDB client per Worker request to stop 1101s on bins by @jaredwray in #255</li>
|
|
228
|
+
<li>security: pin Node 24.22.1 and patched undici by @jaredwray in #256</li>
|
|
229
|
+
<li>fix: security - upgrade sharp to 0.35.5 (libheif RCE) by @jaredwray in #257</li>
|
|
230
|
+
<li>fix: security - bump zod to 4.6.7 (GHSA-mrhx-c7xc-m3w5) by @jaredwray in #258</li>
|
|
231
|
+
<li>chore: list LICENSE in the published package files by @jaredwray in #259</li>
|
|
232
|
+
<li>fix: security - markdown-it 15.0.3 (CVE-2026-111758) by @jaredwray in #260</li>
|
|
233
|
+
<li>fix: omit scheme and URI identity from /healthz by @jaredwray in #262</li>
|
|
234
|
+
</ul>
|
|
235
|
+
<p><strong>Full diff:</strong> <a href="https://github.com/jaredwray/mockhttp/compare/v3.0.0...v3.0.1">https://github.com/jaredwray/mockhttp/compare/v3.0.0...v3.0.1</a></p>
|
|
161
236
|
</div>
|
|
162
237
|
</div>
|
|
163
238
|
</div>
|
|
@@ -172,7 +247,7 @@
|
|
|
172
247
|
<a href="https://docula.org/" target="_blank" rel="noopener noreferrer" class="footer__link" aria-label="Docula">
|
|
173
248
|
<svg class="footer__bat" xmlns="http://www.w3.org/2000/svg" viewBox="70 110 360 205" fill="currentColor"><path d="M420,173c-16.76-18-72.78-36.65-131.59-30.58A160.15,160.15,0,0,0,269,120.55c-3.78,4.52-11.15,9.45-19,9.45s-15.23-4.93-19-9.45a160.15,160.15,0,0,0-19.4,21.83C152.78,136.31,96.76,154.94,80,173c48.86,5.86,79.5,34.09,79.5,72.06,52.37,0,77,28,90.5,59.94C263.54,273,288.13,245,340.5,245,340.5,207,371.14,178.8,420,173Z"/><circle cx="239.19" cy="145.36" r="3.32" fill="#fff"/><circle cx="260.81" cy="145.36" r="3.32" fill="#fff"/></svg>
|
|
174
249
|
</a>
|
|
175
|
-
<span class="footer__updated">updated:
|
|
250
|
+
<span class="footer__updated">updated: 2026-10-28</span>
|
|
176
251
|
</footer>
|
|
177
252
|
<script src="/css/highlight/highlight.min.js"></script>
|
|
178
253
|
<script>
|
|
@@ -5,6 +5,32 @@
|
|
|
5
5
|
"home_page_url": "https://mockhttp.org/",
|
|
6
6
|
"feed_url": "https://mockhttp.org/changelog-latest.json",
|
|
7
7
|
"items": [
|
|
8
|
+
{
|
|
9
|
+
"id": "v3-0-1",
|
|
10
|
+
"title": "v3.0.1",
|
|
11
|
+
"url": "https://mockhttp.org/changelog/v3-0-1/",
|
|
12
|
+
"date_published": "2026-10-28",
|
|
13
|
+
"date_modified": "2026-10-28",
|
|
14
|
+
"summary": "<p>Security patches and Worker fixes. /healthz omits scheme, host, username, and password length.</p>\n<ul>\n<li>start the Worker during isolate startup (#248)</li>\n<li>report bin store health and keep a failed connect in process (#249)</li>\n<li>drop every second socket error that has no listener (#250)</li>\n<li>Add redacted URI diagnostics to /healthz (#254)</li>\n<li>open one MongoDB client per Worker request to stop 1101s on bins (#255)</li>\n<li>pin Node 24.22.1 and patched undici (#256)</li>\n</ul>",
|
|
15
|
+
"content_html": "<h2 id=\"jaredwraymockhttp301--2026-10-28\">@jaredwray/mockhttp@3.0.1 — 2026-10-28</h2>\n<p>Security patches and Worker fixes. /healthz omits scheme, host, username, and password length.</p>\n<h3 id=\"bug-fixes\">Bug Fixes</h3>\n<ul>\n<li>\n<p>start the Worker during isolate startup (#248)</p>\n</li>\n<li>\n<p>report bin store health and keep a failed connect in process (#249)</p>\n</li>\n<li>\n<p>drop every second socket error that has no listener (#250)</p>\n</li>\n<li>\n<p>Add redacted URI diagnostics to /healthz (#254)</p>\n</li>\n<li>\n<p>open one MongoDB client per Worker request to stop 1101s on bins (#255)</p>\n</li>\n<li>\n<p>pin Node 24.22.1 and patched undici (#256)</p>\n</li>\n<li>\n<p>force miniflare's sharp pin to 0.35.5 (#257)</p>\n</li>\n<li>\n<p>bump zod to 4.6.7 for GHSA-mrhx-c7xc-m3w5 (#258)</p>\n</li>\n<li>\n<p>security - markdown-it 15.0.3 (CVE-2026-111758) (#260)</p>\n</li>\n<li>\n<p>omit scheme and URI identity from /healthz (#262)</p>\n<pre><code class=\"hljs language-json\"><span class=\"hljs-punctuation\">{</span>\r\n <span class=\"hljs-attr\">\"status\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">\"ok\"</span><span class=\"hljs-punctuation\">,</span>\r\n <span class=\"hljs-attr\">\"bins\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-punctuation\">{</span>\r\n <span class=\"hljs-attr\">\"connected\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-literal\"><span class=\"hljs-keyword\">true</span></span><span class=\"hljs-punctuation\">,</span>\r\n <span class=\"hljs-attr\">\"uriPresent\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-literal\"><span class=\"hljs-keyword\">true</span></span><span class=\"hljs-punctuation\">,</span>\r\n <span class=\"hljs-attr\">\"uri\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-punctuation\">{</span>\r\n <span class=\"hljs-attr\">\"atCount\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-number\">1</span><span class=\"hljs-punctuation\">,</span>\r\n <span class=\"hljs-attr\">\"passwordHasPercent\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-literal\"><span class=\"hljs-keyword\">false</span></span>\r\n <span class=\"hljs-punctuation\">}</span>\r\n <span class=\"hljs-punctuation\">}</span>\r\n<span class=\"hljs-punctuation\">}</span>\n</code></pre>\n</li>\n</ul>\n<h3 id=\"documentation\">Documentation</h3>\n<ul>\n<li>remove the empty vars note from the Cloudflare page (#253)</li>\n</ul>\n<h3 id=\"internal\">Internal</h3>\n<ul>\n<li>point worker URI fixtures at example.invalid (#251)</li>\n<li>declare empty Worker vars in Wrangler (#252)</li>\n<li>list LICENSE in the published package files (#259)</li>\n</ul>\n<h3 id=\"contributors\">Contributors</h3>\n<ul>\n<li>@jaredwray (13)</li>\n<li>@cursoragent (1)</li>\n</ul>\n<h3 id=\"full-list-of-changes\">Full List of Changes</h3>\n<ul>\n<li>fix: restore Cloudflare Worker routes after the v3.0.0 startup crash by @jaredwray in #248</li>\n<li>Add GET /healthz and redact bin store errors by @jaredwray in #249</li>\n<li>Use example.invalid for worker test URI fixtures by @jaredwray in #251</li>\n<li>Drop every second socket error that has no listener by @jaredwray in #250</li>\n<li>Declare empty Worker vars in Wrangler by @jaredwray in #252</li>\n<li>Remove the empty vars note from the Cloudflare page by @jaredwray in #253</li>\n<li>Add redacted URI diagnostics to /healthz by @jaredwray in #254</li>\n<li>fix: open one MongoDB client per Worker request to stop 1101s on bins by @jaredwray in #255</li>\n<li>security: pin Node 24.22.1 and patched undici by @jaredwray in #256</li>\n<li>fix: security - upgrade sharp to 0.35.5 (libheif RCE) by @jaredwray in #257</li>\n<li>fix: security - bump zod to 4.6.7 (GHSA-mrhx-c7xc-m3w5) by @jaredwray in #258</li>\n<li>chore: list LICENSE in the published package files by @jaredwray in #259</li>\n<li>fix: security - markdown-it 15.0.3 (CVE-2026-111758) by @jaredwray in #260</li>\n<li>fix: omit scheme and URI identity from /healthz by @jaredwray in #262</li>\n</ul>\n<p><strong>Full diff:</strong> <a href=\"https://github.com/jaredwray/mockhttp/compare/v3.0.0...v3.0.1\">https://github.com/jaredwray/mockhttp/compare/v3.0.0...v3.0.1</a></p>",
|
|
16
|
+
"content_text": "## @jaredwray/mockhttp@3.0.1 — 2026-10-28\r\n\r\nSecurity patches and Worker fixes. /healthz omits scheme, host, username, and password length.\r\n\r\n### Bug Fixes\r\n- start the Worker during isolate startup (#248)\r\n- report bin store health and keep a failed connect in process (#249)\r\n- drop every second socket error that has no listener (#250)\r\n- Add redacted URI diagnostics to /healthz (#254)\r\n- open one MongoDB client per Worker request to stop 1101s on bins (#255)\r\n- pin Node 24.22.1 and patched undici (#256)\r\n- force miniflare's sharp pin to 0.35.5 (#257)\r\n- bump zod to 4.6.7 for GHSA-mrhx-c7xc-m3w5 (#258)\r\n- security - markdown-it 15.0.3 (CVE-2026-111758) (#260)\r\n- omit scheme and URI identity from /healthz (#262)\r\n\r\n ```json\r\n {\r\n \"status\": \"ok\",\r\n \"bins\": {\r\n \"connected\": true,\r\n \"uriPresent\": true,\r\n \"uri\": {\r\n \"atCount\": 1,\r\n \"passwordHasPercent\": false\r\n }\r\n }\r\n }\r\n ```\r\n\r\n### Documentation\r\n- remove the empty vars note from the Cloudflare page (#253)\r\n\r\n### Internal\r\n- point worker URI fixtures at example.invalid (#251)\r\n- declare empty Worker vars in Wrangler (#252)\r\n- list LICENSE in the published package files (#259)\r\n\r\n### Contributors\r\n- @jaredwray (13)\r\n- @cursoragent (1)\r\n\r\n### Full List of Changes\r\n- fix: restore Cloudflare Worker routes after the v3.0.0 startup crash by @jaredwray in #248\r\n- Add GET /healthz and redact bin store errors by @jaredwray in #249\r\n- Use example.invalid for worker test URI fixtures by @jaredwray in #251\r\n- Drop every second socket error that has no listener by @jaredwray in #250\r\n- Declare empty Worker vars in Wrangler by @jaredwray in #252\r\n- Remove the empty vars note from the Cloudflare page by @jaredwray in #253\r\n- Add redacted URI diagnostics to /healthz by @jaredwray in #254\r\n- fix: open one MongoDB client per Worker request to stop 1101s on bins by @jaredwray in #255\r\n- security: pin Node 24.22.1 and patched undici by @jaredwray in #256\r\n- fix: security - upgrade sharp to 0.35.5 (libheif RCE) by @jaredwray in #257\r\n- fix: security - bump zod to 4.6.7 (GHSA-mrhx-c7xc-m3w5) by @jaredwray in #258\r\n- chore: list LICENSE in the published package files by @jaredwray in #259\r\n- fix: security - markdown-it 15.0.3 (CVE-2026-111758) by @jaredwray in #260\r\n- fix: omit scheme and URI identity from /healthz by @jaredwray in #262\r\n\r\n**Full diff:** [https://github.com/jaredwray/mockhttp/compare/v3.0.0...v3.0.1](https://github.com/jaredwray/mockhttp/compare/v3.0.0...v3.0.1)",
|
|
17
|
+
"tags": [
|
|
18
|
+
"Release"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"id": "v3-0-0",
|
|
23
|
+
"title": "v3.0.0",
|
|
24
|
+
"url": "https://mockhttp.org/changelog/v3-0-0/",
|
|
25
|
+
"date_published": "2026-10-20",
|
|
26
|
+
"date_modified": "2026-10-20",
|
|
27
|
+
"summary": "<p>Request bins now use Keyv via MockHttpBins, and the Worker can store them in MongoDB Atlas.</p>\n<ul>\n<li>Replace <code>BinManager</code>, <code>BinStore</code>, and <code>InMemoryBinStore</code> with async <code>MockHttpBins</code>. <code>mock.bins.start()</code> and <code>mock.bins.stop()</code> are removed. The default <code>maxBodySize</code> is 128 KiB (was 1 MiB). Node engines are now <code>>=22.19.0</code> (was <code>>=22.18.0</code>). (<code>b1ddcc0</code>, #246)\r\nMigration: assign <code>mock.bins = new MockHttpBins({ keyv })</code> before <code>start()</code> (default store is <code>new Keyv()</code>) and <code>await</code> the bin...</li>\n</ul>",
|
|
28
|
+
"content_html": "<h2 id=\"jaredwraymockhttp300--2026-10-19\">@jaredwray/mockhttp@3.0.0 — 2026-10-19</h2>\n<p>Request bins now use Keyv via MockHttpBins, and the Worker can store them in MongoDB Atlas.</p>\n<h3 id=\"-breaking-changes\">⚠ BREAKING CHANGES</h3>\n<ul>\n<li>\n<p>Replace <code>BinManager</code>, <code>BinStore</code>, and <code>InMemoryBinStore</code> with async <code>MockHttpBins</code>. <code>mock.bins.start()</code> and <code>mock.bins.stop()</code> are removed. The default <code>maxBodySize</code> is 128 KiB (was 1 MiB). Node engines are now <code>>=22.19.0</code> (was <code>>=22.18.0</code>). (<code>b1ddcc0</code>, #246)\r\nMigration: assign <code>mock.bins = new MockHttpBins({ keyv })</code> before <code>start()</code> (default store is <code>new Keyv()</code>) and <code>await</code> the bin methods.</p>\n<pre><code class=\"hljs language-ts\"><span class=\"hljs-keyword\">import</span> <span class=\"hljs-title class_\">Keyv</span> <span class=\"hljs-keyword\">from</span> <span class=\"hljs-string\">\"keyv\"</span>;\r\n<span class=\"hljs-keyword\">import</span> { <span class=\"hljs-title class_\">MockHttp</span>, <span class=\"hljs-title class_\">MockHttpBins</span> } <span class=\"hljs-keyword\">from</span> <span class=\"hljs-string\">\"@jaredwray/mockhttp\"</span>;\r\n\r\n<span class=\"hljs-keyword\">const</span> mock = <span class=\"hljs-keyword\">new</span> <span class=\"hljs-title class_\">MockHttp</span>();\r\nmock.<span class=\"hljs-property\">bins</span> = <span class=\"hljs-keyword\">new</span> <span class=\"hljs-title class_\">MockHttpBins</span>({ <span class=\"hljs-attr\">keyv</span>: <span class=\"hljs-keyword\">new</span> <span class=\"hljs-title class_\">Keyv</span>(), <span class=\"hljs-attr\">maxBodySize</span>: <span class=\"hljs-number\">128</span> * <span class=\"hljs-number\">1024</span> });\r\n<span class=\"hljs-keyword\">await</span> mock.<span class=\"hljs-title function_\">start</span>();\r\n<span class=\"hljs-keyword\">const</span> bin = <span class=\"hljs-keyword\">await</span> mock.<span class=\"hljs-property\">bins</span>.<span class=\"hljs-title function_\">createBin</span>();\n</code></pre>\n</li>\n</ul>\n<h3 id=\"features\">Features</h3>\n<ul>\n<li>\n<p>Store Worker request bins in MongoDB Atlas when <code>MONGODB_URI</code> is set (<code>266157b</code>, #247)</p>\n<pre><code class=\"hljs language-bash\"><span class=\"hljs-comment\"># Cloudflare Worker secret. Bins go in the Atlas `bins` collection.</span>\r\n<span class=\"hljs-comment\"># Leave MONGODB_URI unset to keep the in-memory Keyv.</span>\r\nwrangler secret put MONGODB_URI\n</code></pre>\n</li>\n</ul>\n<h3 id=\"bug-fixes\">Bug Fixes</h3>\n<ul>\n<li>security - upgrade fastify proxy-addr, fast-uri, find-my-way, undici (<code>9c52869</code>, #233)</li>\n<li>security - upgrade handlebars, source-map-js (<code>28aa662</code>, #236)</li>\n</ul>\n<h3 id=\"internal\">Internal</h3>\n<ul>\n<li>sync defense-in-depth files from agentic (<code>7fb3ce4</code>, #234)</li>\n<li>upgrade code quality dependencies (<code>a57b990</code>, #235)</li>\n<li>upgrade TypeScript and build tooling (<code>b11fa0f</code>, #237)</li>\n<li>upgrade monorepo tooling (<code>58e8596</code>, #238)</li>\n<li>upgrade GitHub Actions (<code>58bc448</code>, #239)</li>\n<li>upgrade Dev Container images (<code>2047c3c</code>, #240)</li>\n<li>upgrade Fastify dependencies (<code>3e93bea</code>, #241)</li>\n<li>upgrade hookified (<code>d938e6e</code>, #242)</li>\n<li>upgrade pino and pino-pretty (<code>c2a94ad</code>, #243)</li>\n<li>upgrade Docker Node.js runtime image (<code>cd5decf</code>, #244)</li>\n<li>pin the Compose image (<code>74ad4ea</code>, #245)</li>\n</ul>\n<h3 id=\"contributors\">Contributors</h3>\n<ul>\n<li>@jaredwray (11)</li>\n<li>@cursoragent (5)</li>\n</ul>\n<h3 id=\"full-list-of-changes\">Full List of Changes</h3>\n<ul>\n<li>fix: security - upgrade fastify proxy-addr, fast-uri, find-my-way, undici by @jaredwray in #233</li>\n<li>mono - chore: sync defense-in-depth files from agentic by @jaredwray in #234</li>\n<li>mono - chore: upgrade code quality dependencies by @jaredwray in #235</li>\n<li>fix: security - upgrade handlebars, source-map-js by @jaredwray in #236</li>\n<li>mono - chore: upgrade TypeScript and build tooling by @jaredwray in #237</li>\n<li>mono - chore: upgrade monorepo tooling by @jaredwray in #238</li>\n<li>mono - chore: upgrade GitHub Actions by @jaredwray in #239</li>\n<li>mono - chore: upgrade Dev Container images by @jaredwray in #240</li>\n<li>mono - chore: upgrade Fastify dependencies by @jaredwray in #241</li>\n<li>mono - chore: upgrade hookified by @jaredwray in #242</li>\n<li>mono - chore: upgrade pino and pino-pretty by @jaredwray in #243</li>\n<li>mono - chore: upgrade Docker Node.js runtime image by @jaredwray in #244</li>\n<li>mono - chore: pin the Compose image by @jaredwray in #245</li>\n<li>Store request bins in Keyv by @jaredwray in #246</li>\n<li>Store Worker request bins in MongoDB Atlas by @jaredwray in #247</li>\n</ul>\n<p><strong>Full diff:</strong> <a href=\"https://github.com/jaredwray/mockhttp/compare/v2.1.0...v3.0.0\">https://github.com/jaredwray/mockhttp/compare/v2.1.0...v3.0.0</a></p>",
|
|
29
|
+
"content_text": "## @jaredwray/mockhttp@3.0.0 — 2026-10-19\r\n\r\nRequest bins now use Keyv via MockHttpBins, and the Worker can store them in MongoDB Atlas.\r\n\r\n### ⚠ BREAKING CHANGES\r\n- Replace `BinManager`, `BinStore`, and `InMemoryBinStore` with async `MockHttpBins`. `mock.bins.start()` and `mock.bins.stop()` are removed. The default `maxBodySize` is 128 KiB (was 1 MiB). Node engines are now `>=22.19.0` (was `>=22.18.0`). (`b1ddcc0`, #246)\r\n Migration: assign `mock.bins = new MockHttpBins({ keyv })` before `start()` (default store is `new Keyv()`) and `await` the bin methods.\r\n\r\n ```ts\r\n import Keyv from \"keyv\";\r\n import { MockHttp, MockHttpBins } from \"@jaredwray/mockhttp\";\r\n\r\n const mock = new MockHttp();\r\n mock.bins = new MockHttpBins({ keyv: new Keyv(), maxBodySize: 128 * 1024 });\r\n await mock.start();\r\n const bin = await mock.bins.createBin();\r\n ```\r\n\r\n### Features\r\n- Store Worker request bins in MongoDB Atlas when `MONGODB_URI` is set (`266157b`, #247)\r\n\r\n ```bash\r\n # Cloudflare Worker secret. Bins go in the Atlas `bins` collection.\r\n # Leave MONGODB_URI unset to keep the in-memory Keyv.\r\n wrangler secret put MONGODB_URI\r\n ```\r\n\r\n### Bug Fixes\r\n- security - upgrade fastify proxy-addr, fast-uri, find-my-way, undici (`9c52869`, #233)\r\n- security - upgrade handlebars, source-map-js (`28aa662`, #236)\r\n\r\n### Internal\r\n- sync defense-in-depth files from agentic (`7fb3ce4`, #234)\r\n- upgrade code quality dependencies (`a57b990`, #235)\r\n- upgrade TypeScript and build tooling (`b11fa0f`, #237)\r\n- upgrade monorepo tooling (`58e8596`, #238)\r\n- upgrade GitHub Actions (`58bc448`, #239)\r\n- upgrade Dev Container images (`2047c3c`, #240)\r\n- upgrade Fastify dependencies (`3e93bea`, #241)\r\n- upgrade hookified (`d938e6e`, #242)\r\n- upgrade pino and pino-pretty (`c2a94ad`, #243)\r\n- upgrade Docker Node.js runtime image (`cd5decf`, #244)\r\n- pin the Compose image (`74ad4ea`, #245)\r\n\r\n### Contributors\r\n- @jaredwray (11)\r\n- @cursoragent (5)\r\n\r\n### Full List of Changes\r\n- fix: security - upgrade fastify proxy-addr, fast-uri, find-my-way, undici by @jaredwray in #233\r\n- mono - chore: sync defense-in-depth files from agentic by @jaredwray in #234\r\n- mono - chore: upgrade code quality dependencies by @jaredwray in #235\r\n- fix: security - upgrade handlebars, source-map-js by @jaredwray in #236\r\n- mono - chore: upgrade TypeScript and build tooling by @jaredwray in #237\r\n- mono - chore: upgrade monorepo tooling by @jaredwray in #238\r\n- mono - chore: upgrade GitHub Actions by @jaredwray in #239\r\n- mono - chore: upgrade Dev Container images by @jaredwray in #240\r\n- mono - chore: upgrade Fastify dependencies by @jaredwray in #241\r\n- mono - chore: upgrade hookified by @jaredwray in #242\r\n- mono - chore: upgrade pino and pino-pretty by @jaredwray in #243\r\n- mono - chore: upgrade Docker Node.js runtime image by @jaredwray in #244\r\n- mono - chore: pin the Compose image by @jaredwray in #245\r\n- Store request bins in Keyv by @jaredwray in #246\r\n- Store Worker request bins in MongoDB Atlas by @jaredwray in #247\r\n\r\n**Full diff:** [https://github.com/jaredwray/mockhttp/compare/v2.1.0...v3.0.0](https://github.com/jaredwray/mockhttp/compare/v2.1.0...v3.0.0)",
|
|
30
|
+
"tags": [
|
|
31
|
+
"Release"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
8
34
|
{
|
|
9
35
|
"id": "v2-1-0",
|
|
10
36
|
"title": "v2.1.0",
|
|
@@ -238,32 +264,6 @@
|
|
|
238
264
|
"tags": [
|
|
239
265
|
"Release"
|
|
240
266
|
]
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"id": "v0-6-1",
|
|
244
|
-
"title": "v0.6.1",
|
|
245
|
-
"url": "https://mockhttp.org/changelog/v0-6-1/",
|
|
246
|
-
"date_published": "2025-07-19",
|
|
247
|
-
"date_modified": "2025-07-19",
|
|
248
|
-
"summary": "<ul>\n<li>chore: adding in min for cloud run by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/60\">https://github.com/jaredwray/mockhttp/pull/60</a></li>\n<li>chore: upgrading xo to 1.2.1 by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/61\">https://github.com/jaredwray/mockhttp/pull/61</a></li>\n<li>chore: upgrading vitest to 3.2.4 by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/62\">https://github.com/jaredwray/mockhttp/pull/62</a></li>\n<li>chore: upgrading @scalar/api-reference to 1.32.9 by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/63\">https://github.com/jaredwray/mockhttp/pull/63</a></li>\n</ul>",
|
|
249
|
-
"content_html": "<h2 id=\"whats-changed\">What's Changed</h2>\n<ul>\n<li>chore: adding in min for cloud run by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/60\">https://github.com/jaredwray/mockhttp/pull/60</a></li>\n<li>chore: upgrading xo to 1.2.1 by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/61\">https://github.com/jaredwray/mockhttp/pull/61</a></li>\n<li>chore: upgrading vitest to 3.2.4 by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/62\">https://github.com/jaredwray/mockhttp/pull/62</a></li>\n<li>chore: upgrading @scalar/api-reference to 1.32.9 by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/63\">https://github.com/jaredwray/mockhttp/pull/63</a></li>\n<li>chore: upgrading hookified to 1.10.0 by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/64\">https://github.com/jaredwray/mockhttp/pull/64</a></li>\n</ul>\n<p><strong>Full Changelog</strong>: <a href=\"https://github.com/jaredwray/mockhttp/compare/v0.6.0...v0.6.1\">https://github.com/jaredwray/mockhttp/compare/v0.6.0...v0.6.1</a></p>",
|
|
250
|
-
"content_text": "## What's Changed\r\n* chore: adding in min for cloud run by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/60](https://github.com/jaredwray/mockhttp/pull/60)\r\n* chore: upgrading xo to 1.2.1 by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/61](https://github.com/jaredwray/mockhttp/pull/61)\r\n* chore: upgrading vitest to 3.2.4 by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/62](https://github.com/jaredwray/mockhttp/pull/62)\r\n* chore: upgrading @scalar/api-reference to 1.32.9 by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/63](https://github.com/jaredwray/mockhttp/pull/63)\r\n* chore: upgrading hookified to 1.10.0 by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/64](https://github.com/jaredwray/mockhttp/pull/64)\r\n\r\n\r\n**Full Changelog**: [https://github.com/jaredwray/mockhttp/compare/v0.6.0...v0.6.1](https://github.com/jaredwray/mockhttp/compare/v0.6.0...v0.6.1)",
|
|
251
|
-
"tags": [
|
|
252
|
-
"Release"
|
|
253
|
-
]
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
"id": "v0-6-0",
|
|
257
|
-
"title": "v0.6.0",
|
|
258
|
-
"url": "https://mockhttp.org/changelog/v0-6-0/",
|
|
259
|
-
"date_published": "2025-06-14",
|
|
260
|
-
"date_modified": "2025-06-14",
|
|
261
|
-
"summary": "<ul>\n<li>fix: adding in application/json for return time on cookies by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/52\">https://github.com/jaredwray/mockhttp/pull/52</a></li>\n<li>chore: upgrading vitest to 3.2.3 by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/53\">https://github.com/jaredwray/mockhttp/pull/53</a></li>\n<li>chore: upgrading tsup to 8.5.0 by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/54\">https://github.com/jaredwray/mockhttp/pull/54</a></li>\n<li>chore: upgrading pino to 9.7.0 by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/55\">https://github.com/jaredwray/mockhttp/pull/55</a></li>\n</ul>",
|
|
262
|
-
"content_html": "<h2 id=\"whats-changed\">What's Changed</h2>\n<ul>\n<li>fix: adding in application/json for return time on cookies by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/52\">https://github.com/jaredwray/mockhttp/pull/52</a></li>\n<li>chore: upgrading vitest to 3.2.3 by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/53\">https://github.com/jaredwray/mockhttp/pull/53</a></li>\n<li>chore: upgrading tsup to 8.5.0 by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/54\">https://github.com/jaredwray/mockhttp/pull/54</a></li>\n<li>chore: upgrading pino to 9.7.0 by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/55\">https://github.com/jaredwray/mockhttp/pull/55</a></li>\n<li>chore: upgrading hookified to 1.9.1 by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/56\">https://github.com/jaredwray/mockhttp/pull/56</a></li>\n<li>chore: upgrading xo to 1.1.0 by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/57\">https://github.com/jaredwray/mockhttp/pull/57</a></li>\n<li>chore: upgrading fastify to 5.4.0 by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/58\">https://github.com/jaredwray/mockhttp/pull/58</a></li>\n<li>feat: adding in the anything route from httpbin by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/59\">https://github.com/jaredwray/mockhttp/pull/59</a></li>\n</ul>\n<p><strong>Full Changelog</strong>: <a href=\"https://github.com/jaredwray/mockhttp/compare/v0.5.0...v0.6.0\">https://github.com/jaredwray/mockhttp/compare/v0.5.0...v0.6.0</a></p>",
|
|
263
|
-
"content_text": "## What's Changed\r\n* fix: adding in application/json for return time on cookies by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/52](https://github.com/jaredwray/mockhttp/pull/52)\r\n* chore: upgrading vitest to 3.2.3 by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/53](https://github.com/jaredwray/mockhttp/pull/53)\r\n* chore: upgrading tsup to 8.5.0 by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/54](https://github.com/jaredwray/mockhttp/pull/54)\r\n* chore: upgrading pino to 9.7.0 by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/55](https://github.com/jaredwray/mockhttp/pull/55)\r\n* chore: upgrading hookified to 1.9.1 by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/56](https://github.com/jaredwray/mockhttp/pull/56)\r\n* chore: upgrading xo to 1.1.0 by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/57](https://github.com/jaredwray/mockhttp/pull/57)\r\n* chore: upgrading fastify to 5.4.0 by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/58](https://github.com/jaredwray/mockhttp/pull/58)\r\n* feat: adding in the anything route from httpbin by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/59](https://github.com/jaredwray/mockhttp/pull/59)\r\n\r\n\r\n**Full Changelog**: [https://github.com/jaredwray/mockhttp/compare/v0.5.0...v0.6.0](https://github.com/jaredwray/mockhttp/compare/v0.5.0...v0.6.0)",
|
|
264
|
-
"tags": [
|
|
265
|
-
"Release"
|
|
266
|
-
]
|
|
267
267
|
}
|
|
268
268
|
]
|
|
269
269
|
}
|