@mbtest/mountebank 2.9.2-beta.9050
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/LICENSE +21 -0
- package/README.md +94 -0
- package/bin/mb +136 -0
- package/package.json +71 -0
- package/releases.json +52 -0
- package/src/cli/api.js +112 -0
- package/src/cli/cli.js +420 -0
- package/src/controllers/configController.js +64 -0
- package/src/controllers/feedController.js +115 -0
- package/src/controllers/homeController.js +58 -0
- package/src/controllers/imposterController.js +328 -0
- package/src/controllers/impostersController.js +215 -0
- package/src/controllers/logsController.js +52 -0
- package/src/models/behaviors.js +553 -0
- package/src/models/behaviorsValidator.js +186 -0
- package/src/models/compatibility.js +133 -0
- package/src/models/dryRunValidator.js +261 -0
- package/src/models/filesystemBackedImpostersRepository.js +908 -0
- package/src/models/http/baseHttpServer.js +207 -0
- package/src/models/http/headersMap.js +87 -0
- package/src/models/http/httpProxy.js +230 -0
- package/src/models/http/httpRequest.js +82 -0
- package/src/models/http/httpServer.js +18 -0
- package/src/models/http/index.js +18 -0
- package/src/models/https/cert/mb-cert.pem +20 -0
- package/src/models/https/cert/mb-csr.pem +16 -0
- package/src/models/https/cert/mb-key.pem +27 -0
- package/src/models/https/httpsServer.js +42 -0
- package/src/models/https/index.js +18 -0
- package/src/models/imposter.js +243 -0
- package/src/models/imposterPrinter.js +120 -0
- package/src/models/impostersRepository.js +49 -0
- package/src/models/inMemoryImpostersRepository.js +418 -0
- package/src/models/jsonpath.js +44 -0
- package/src/models/mbConnection.js +107 -0
- package/src/models/predicates.js +438 -0
- package/src/models/protocols.js +242 -0
- package/src/models/responseResolver.js +398 -0
- package/src/models/smtp/index.js +16 -0
- package/src/models/smtp/smtpRequest.js +60 -0
- package/src/models/smtp/smtpServer.js +109 -0
- package/src/models/tcp/index.js +18 -0
- package/src/models/tcp/tcpProxy.js +110 -0
- package/src/models/tcp/tcpRequest.js +23 -0
- package/src/models/tcp/tcpServer.js +156 -0
- package/src/models/tcp/tcpValidator.js +19 -0
- package/src/models/xpath.js +95 -0
- package/src/mountebank.js +245 -0
- package/src/public/images/arrow_down.png +0 -0
- package/src/public/images/arrow_up.png +0 -0
- package/src/public/images/book.jpg +0 -0
- package/src/public/images/dataflow.png +0 -0
- package/src/public/images/favicon.ico +0 -0
- package/src/public/images/forkme_right_orange_ff7600.png +0 -0
- package/src/public/images/mountebank.png +0 -0
- package/src/public/images/overview.gif +0 -0
- package/src/public/images/quote.png +0 -0
- package/src/public/images/tw-logo.png +0 -0
- package/src/public/scripts/jquery/jquery-3.6.1.min.js +2 -0
- package/src/public/scripts/urlHashHandler.js +31 -0
- package/src/public/stylesheets/application.css +424 -0
- package/src/public/stylesheets/ie.css +14 -0
- package/src/public/stylesheets/imposters.css +121 -0
- package/src/public/stylesheets/jqueryui/1.10.4/themes/smoothness/jquery-ui.css +1178 -0
- package/src/util/combinators.js +68 -0
- package/src/util/date.js +51 -0
- package/src/util/errors.js +55 -0
- package/src/util/helpers.js +131 -0
- package/src/util/inherit.js +28 -0
- package/src/util/ip.js +54 -0
- package/src/util/logger.js +83 -0
- package/src/util/middleware.js +256 -0
- package/src/util/scopedLogger.js +47 -0
- package/src/views/_footer.ejs +20 -0
- package/src/views/_header.ejs +113 -0
- package/src/views/_imposter.ejs +8 -0
- package/src/views/config.ejs +71 -0
- package/src/views/docs/api/behaviors/copy.ejs +427 -0
- package/src/views/docs/api/behaviors/decorate.ejs +182 -0
- package/src/views/docs/api/behaviors/lookup.ejs +220 -0
- package/src/views/docs/api/behaviors/shellTransform.ejs +153 -0
- package/src/views/docs/api/behaviors/wait.ejs +121 -0
- package/src/views/docs/api/behaviors.ejs +141 -0
- package/src/views/docs/api/contracts/addStub-description.ejs +10 -0
- package/src/views/docs/api/contracts/addStub.ejs +10 -0
- package/src/views/docs/api/contracts/config-description.ejs +32 -0
- package/src/views/docs/api/contracts/config.ejs +23 -0
- package/src/views/docs/api/contracts/home-description.ejs +18 -0
- package/src/views/docs/api/contracts/home.ejs +13 -0
- package/src/views/docs/api/contracts/imposter-description.ejs +439 -0
- package/src/views/docs/api/contracts/imposter.ejs +182 -0
- package/src/views/docs/api/contracts/imposters-description.ejs +13 -0
- package/src/views/docs/api/contracts/imposters.ejs +13 -0
- package/src/views/docs/api/contracts/logs-description.ejs +3 -0
- package/src/views/docs/api/contracts/logs.ejs +14 -0
- package/src/views/docs/api/contracts/stub-description.ejs +4 -0
- package/src/views/docs/api/contracts/stub.ejs +7 -0
- package/src/views/docs/api/contracts/stubs-description.ejs +4 -0
- package/src/views/docs/api/contracts/stubs.ejs +11 -0
- package/src/views/docs/api/contracts.ejs +133 -0
- package/src/views/docs/api/errors.ejs +64 -0
- package/src/views/docs/api/fault/connectionReset.ejs +31 -0
- package/src/views/docs/api/fault/randomDataThenClose.ejs +31 -0
- package/src/views/docs/api/faults.ejs +57 -0
- package/src/views/docs/api/injection.ejs +426 -0
- package/src/views/docs/api/json.ejs +205 -0
- package/src/views/docs/api/jsonpath.ejs +210 -0
- package/src/views/docs/api/mocks.ejs +130 -0
- package/src/views/docs/api/overview.ejs +968 -0
- package/src/views/docs/api/predicates/and.ejs +62 -0
- package/src/views/docs/api/predicates/contains.ejs +64 -0
- package/src/views/docs/api/predicates/deepEquals.ejs +114 -0
- package/src/views/docs/api/predicates/endsWith.ejs +66 -0
- package/src/views/docs/api/predicates/equals.ejs +125 -0
- package/src/views/docs/api/predicates/exists.ejs +118 -0
- package/src/views/docs/api/predicates/inject.ejs +67 -0
- package/src/views/docs/api/predicates/matches.ejs +66 -0
- package/src/views/docs/api/predicates/not.ejs +52 -0
- package/src/views/docs/api/predicates/or.ejs +79 -0
- package/src/views/docs/api/predicates/startsWith.ejs +62 -0
- package/src/views/docs/api/predicates.ejs +382 -0
- package/src/views/docs/api/proxies.ejs +191 -0
- package/src/views/docs/api/proxy/addDecorateBehavior.ejs +115 -0
- package/src/views/docs/api/proxy/addWaitBehavior.ejs +96 -0
- package/src/views/docs/api/proxy/injectHeaders.ejs +91 -0
- package/src/views/docs/api/proxy/predicateGenerators.ejs +600 -0
- package/src/views/docs/api/proxy/proxyModes.ejs +495 -0
- package/src/views/docs/api/stubs.ejs +391 -0
- package/src/views/docs/api/xpath.ejs +281 -0
- package/src/views/docs/cli/configFiles.ejs +133 -0
- package/src/views/docs/cli/customFormatters.ejs +53 -0
- package/src/views/docs/cli/help.ejs +6 -0
- package/src/views/docs/cli/replay.ejs +42 -0
- package/src/views/docs/cli/restart.ejs +10 -0
- package/src/views/docs/cli/save.ejs +68 -0
- package/src/views/docs/cli/start.ejs +234 -0
- package/src/views/docs/cli/stop.ejs +32 -0
- package/src/views/docs/commandLine.ejs +93 -0
- package/src/views/docs/communityExtensions.ejs +233 -0
- package/src/views/docs/gettingStarted.ejs +146 -0
- package/src/views/docs/mentalModel.ejs +51 -0
- package/src/views/docs/protocols/custom.ejs +231 -0
- package/src/views/docs/protocols/http.ejs +238 -0
- package/src/views/docs/protocols/https.ejs +246 -0
- package/src/views/docs/protocols/smtp.ejs +142 -0
- package/src/views/docs/protocols/tcp.ejs +431 -0
- package/src/views/docs/security.ejs +38 -0
- package/src/views/faqs.ejs +65 -0
- package/src/views/feed.ejs +33 -0
- package/src/views/imposter.ejs +22 -0
- package/src/views/imposters.ejs +33 -0
- package/src/views/index.ejs +89 -0
- package/src/views/license.ejs +30 -0
- package/src/views/logs.ejs +77 -0
- package/src/views/releases/v1.1.0.ejs +55 -0
- package/src/views/releases/v1.1.36.ejs +84 -0
- package/src/views/releases/v1.1.72.ejs +92 -0
- package/src/views/releases/v1.10.0.ejs +108 -0
- package/src/views/releases/v1.11.0.ejs +109 -0
- package/src/views/releases/v1.12.0.ejs +96 -0
- package/src/views/releases/v1.13.0.ejs +118 -0
- package/src/views/releases/v1.14.0.ejs +107 -0
- package/src/views/releases/v1.14.1.ejs +94 -0
- package/src/views/releases/v1.15.0.ejs +113 -0
- package/src/views/releases/v1.16.0.ejs +104 -0
- package/src/views/releases/v1.2.0.ejs +78 -0
- package/src/views/releases/v1.2.103.ejs +86 -0
- package/src/views/releases/v1.2.122.ejs +86 -0
- package/src/views/releases/v1.2.30.ejs +84 -0
- package/src/views/releases/v1.2.45.ejs +84 -0
- package/src/views/releases/v1.2.56.ejs +79 -0
- package/src/views/releases/v1.3.0.ejs +86 -0
- package/src/views/releases/v1.3.1.ejs +100 -0
- package/src/views/releases/v1.4.0.ejs +96 -0
- package/src/views/releases/v1.4.1.ejs +103 -0
- package/src/views/releases/v1.4.2.ejs +100 -0
- package/src/views/releases/v1.4.3.ejs +113 -0
- package/src/views/releases/v1.5.0.ejs +104 -0
- package/src/views/releases/v1.5.1.ejs +91 -0
- package/src/views/releases/v1.6.0.ejs +109 -0
- package/src/views/releases/v1.7.0.ejs +113 -0
- package/src/views/releases/v1.7.1.ejs +90 -0
- package/src/views/releases/v1.7.2.ejs +96 -0
- package/src/views/releases/v1.8.0.ejs +121 -0
- package/src/views/releases/v1.9.0.ejs +111 -0
- package/src/views/releases/v2.0.0.ejs +159 -0
- package/src/views/releases/v2.1.0.ejs +121 -0
- package/src/views/releases/v2.1.1.ejs +106 -0
- package/src/views/releases/v2.1.2.ejs +84 -0
- package/src/views/releases/v2.2.0.ejs +115 -0
- package/src/views/releases/v2.2.1.ejs +102 -0
- package/src/views/releases/v2.3.0.ejs +121 -0
- package/src/views/releases/v2.3.1.ejs +100 -0
- package/src/views/releases/v2.3.2.ejs +102 -0
- package/src/views/releases/v2.3.3.ejs +97 -0
- package/src/views/releases/v2.4.0.ejs +114 -0
- package/src/views/releases/v2.5.0.ejs +51 -0
- package/src/views/releases/v2.6.0.ejs +35 -0
- package/src/views/releases/v2.7.0.ejs +32 -0
- package/src/views/releases/v2.8.0.ejs +36 -0
- package/src/views/releases/v2.8.1.ejs +7 -0
- package/src/views/releases/v2.8.2.ejs +26 -0
- package/src/views/releases/v2.9.0.ejs +32 -0
- package/src/views/releases/v2.9.1.ejs +10 -0
- package/src/views/releases.ejs +26 -0
- package/src/views/sitemap.ejs +36 -0
- package/src/views/support.ejs +14 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
<h1>v<%= releaseVersion %></h1>
|
|
2
|
+
|
|
3
|
+
<p class='info-icon'>Be sure to keep up with the latest releases by subscribing to the
|
|
4
|
+
<a href='http://www.mbtest.dev/feed'>ATOM feed</a>.</p>
|
|
5
|
+
|
|
6
|
+
<p>This patch release resolves another security vulnerability unearthed by
|
|
7
|
+
<a href='https://github.com/dcRUSTy'>dcRUSTy</a>. This release, combined with
|
|
8
|
+
<a href='//<%= host %>/releases/v2.3.1'>v2.3.1</a> released yesterday, resolve
|
|
9
|
+
high priority security concerns.</p>
|
|
10
|
+
|
|
11
|
+
<p>Thanks again to dcRUSTy in reporting both the vulnerabilities causing a release this weekend.
|
|
12
|
+
For those interested, the
|
|
13
|
+
<a href='https://github.com/mountebank-testing/mountebank/blob/master/SECURITY.md'>security policy</a> contains
|
|
14
|
+
instructions on reporting security vulnerabilities, and I welcome feedback on improving the process moving
|
|
15
|
+
forward. I will always aspire to release significant security fixes on an accelerated schedule.</p>
|
|
16
|
+
|
|
17
|
+
<h2>Bug Fixes</h2>
|
|
18
|
+
<ul class='bullet-list'>
|
|
19
|
+
<li>The <code>/releases</code> pages allowed a
|
|
20
|
+
<a href='https://github.com/mountebank-testing/mountebank/issues/567'>path traversal</a> vulnerability, potentially
|
|
21
|
+
exposing other files on the filesystem.</li>
|
|
22
|
+
</ul>
|
|
23
|
+
|
|
24
|
+
<h2>Contributors</h2>
|
|
25
|
+
<p>Many thanks to the following kind folks for help with this release, either through bug reports,
|
|
26
|
+
suggestions, or direct code contributions:</p>
|
|
27
|
+
|
|
28
|
+
<ul class='bullet-list'>
|
|
29
|
+
<li>dcRUSTy</li>
|
|
30
|
+
</ul>
|
|
31
|
+
|
|
32
|
+
<h2>Install</h2>
|
|
33
|
+
|
|
34
|
+
<pre><code>npm install -g mountebank@<%= releaseVersion %></code></pre>
|
|
35
|
+
|
|
36
|
+
<p>or:</p>
|
|
37
|
+
|
|
38
|
+
<table>
|
|
39
|
+
<tr>
|
|
40
|
+
<th>Option</th>
|
|
41
|
+
<th>node.js required?</th>
|
|
42
|
+
<th>sudo required?</th>
|
|
43
|
+
<th>links</th>
|
|
44
|
+
<th>Description</th>
|
|
45
|
+
</tr>
|
|
46
|
+
<tr>
|
|
47
|
+
<td>Self-contained archives</td>
|
|
48
|
+
<td>No</td>
|
|
49
|
+
<td>No</td>
|
|
50
|
+
<td style="min-width: 5em;">
|
|
51
|
+
<ul>
|
|
52
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-darwin-x64.tar.gz">osx</a></li>
|
|
53
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-linux-x86.tar.gz">linux x86</a></li>
|
|
54
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-linux-x64.tar.gz">linux x64</a></li>
|
|
55
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-win-x86.zip">win x86<sup>*</sup></a></li>
|
|
56
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-win-x64.zip">win x64<sup>*</sup></a></li>
|
|
57
|
+
</ul>
|
|
58
|
+
</td>
|
|
59
|
+
<td>Simply unpack and run <code>mb</code> from inside</td>
|
|
60
|
+
</tr>
|
|
61
|
+
<tr>
|
|
62
|
+
<td>OS-specific packages</td>
|
|
63
|
+
<td>No</td>
|
|
64
|
+
<td>Yes</td>
|
|
65
|
+
<td>
|
|
66
|
+
<ul>
|
|
67
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>.pkg">pkg</a></li>
|
|
68
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-<%= releaseVersion %>-1.x86_64.rpm">rpm</a></li>
|
|
69
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank_<%= releaseVersion %>_amd64.deb">deb</a></li>
|
|
70
|
+
</ul>
|
|
71
|
+
</td>
|
|
72
|
+
<td>Puts <code>mb</code> at <code>/usr/local/bin</code>, which is generally in the <code>PATH</code>.</td>
|
|
73
|
+
</tr>
|
|
74
|
+
<tr>
|
|
75
|
+
<td>source tarball</td>
|
|
76
|
+
<td>Yes</td>
|
|
77
|
+
<td>No</td>
|
|
78
|
+
<td>
|
|
79
|
+
<ul>
|
|
80
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-npm.tar.gz">mb</a></li>
|
|
81
|
+
</ul>
|
|
82
|
+
</td>
|
|
83
|
+
<td>source tarball if you roll that way.</td>
|
|
84
|
+
</tr>
|
|
85
|
+
</table>
|
|
86
|
+
|
|
87
|
+
<h2 id='windows-path-limitations'>Windows path limitations</h2>
|
|
88
|
+
|
|
89
|
+
<p><sup>*</sup>mountebank wishes very much for your Windows experience to be hassle-free, but he is simply not qualified to address
|
|
90
|
+
a particular constraint of Windows Explorer. For legacy reasons, some Windows applications, including most notably Windows Explorer,
|
|
91
|
+
have a maximum number of characters allowed in a path of 260 characters. As mountebank writes these words, the longest path he
|
|
92
|
+
includes in the zip files is around 175 characters. The zip file name, which is likely to represent itself as <i>two</i>
|
|
93
|
+
nested directories if you use the defaults to unzip it, will be around 25 characters. That gives you very little wiggle room.
|
|
94
|
+
If you unzip the file in your users directory, you may very likely get an error because of this constraint.</p>
|
|
95
|
+
|
|
96
|
+
<p>The following solutions will all work:</p>
|
|
97
|
+
|
|
98
|
+
<ul class='bullet-list'>
|
|
99
|
+
<li>Unzip to the root of your C: drive (or a similar small path)</li>
|
|
100
|
+
<li>Use <a href='http://www.7-zip.org/'>7zip</a> to unzip the file instead of Windows Explorer</li>
|
|
101
|
+
<li>Use <code>npm</code> to install mountebank instead of the zip file</li>
|
|
102
|
+
</ul>
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
<h1>v<%= releaseVersion %></h1>
|
|
2
|
+
|
|
3
|
+
<p class='info-icon'>Be sure to keep up with the latest releases by subscribing to the
|
|
4
|
+
<a href='http://www.mbtest.dev/feed'>ATOM feed</a>.</p>
|
|
5
|
+
|
|
6
|
+
<p>This patch release resolves another security vulnerability unearthed by the amazing
|
|
7
|
+
<a href='https://github.com/dcRUSTy'>dcRUSTy</a>.</p>
|
|
8
|
+
|
|
9
|
+
<h2>Bug Fixes</h2>
|
|
10
|
+
<ul class='bullet-list'>
|
|
11
|
+
<li>Previously, CORS was enabled for all origins, which created a CSRF vulnerability that would allow
|
|
12
|
+
a malicious site to potentially execute remote code through JavaScript injection. Now, CORS is disabled
|
|
13
|
+
by default, requiring you to pass all safe origins on the command line to enable it. Use the new
|
|
14
|
+
<a href='//<%= host %>/docs/commandLine'><code>--origin</code></a> CLI flag to pass in safe origins.</li>
|
|
15
|
+
<li>Ensure <code>numberOfRequests</code> is reset to 0 when sending a <code>DELETE</code> request
|
|
16
|
+
to <code>/imposters/:port/savedRequests</code></li>
|
|
17
|
+
</ul>
|
|
18
|
+
|
|
19
|
+
<h2>Contributors</h2>
|
|
20
|
+
<p>Many thanks to the following kind folks for help with this release, either through bug reports,
|
|
21
|
+
suggestions, or direct code contributions:</p>
|
|
22
|
+
|
|
23
|
+
<ul class='bullet-list'>
|
|
24
|
+
<li>dcRUSTy</li>
|
|
25
|
+
</ul>
|
|
26
|
+
|
|
27
|
+
<h2>Install</h2>
|
|
28
|
+
|
|
29
|
+
<pre><code>npm install -g mountebank@<%= releaseVersion %></code></pre>
|
|
30
|
+
|
|
31
|
+
<p>or:</p>
|
|
32
|
+
|
|
33
|
+
<table>
|
|
34
|
+
<tr>
|
|
35
|
+
<th>Option</th>
|
|
36
|
+
<th>node.js required?</th>
|
|
37
|
+
<th>sudo required?</th>
|
|
38
|
+
<th>links</th>
|
|
39
|
+
<th>Description</th>
|
|
40
|
+
</tr>
|
|
41
|
+
<tr>
|
|
42
|
+
<td>Self-contained archives</td>
|
|
43
|
+
<td>No</td>
|
|
44
|
+
<td>No</td>
|
|
45
|
+
<td style="min-width: 5em;">
|
|
46
|
+
<ul>
|
|
47
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-darwin-x64.tar.gz">osx</a></li>
|
|
48
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-linux-x86.tar.gz">linux x86</a></li>
|
|
49
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-linux-x64.tar.gz">linux x64</a></li>
|
|
50
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-win-x86.zip">win x86<sup>*</sup></a></li>
|
|
51
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-win-x64.zip">win x64<sup>*</sup></a></li>
|
|
52
|
+
</ul>
|
|
53
|
+
</td>
|
|
54
|
+
<td>Simply unpack and run <code>mb</code> from inside</td>
|
|
55
|
+
</tr>
|
|
56
|
+
<tr>
|
|
57
|
+
<td>OS-specific packages</td>
|
|
58
|
+
<td>No</td>
|
|
59
|
+
<td>Yes</td>
|
|
60
|
+
<td>
|
|
61
|
+
<ul>
|
|
62
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>.pkg">pkg</a></li>
|
|
63
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-<%= releaseVersion %>-1.x86_64.rpm">rpm</a></li>
|
|
64
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank_<%= releaseVersion %>_amd64.deb">deb</a></li>
|
|
65
|
+
</ul>
|
|
66
|
+
</td>
|
|
67
|
+
<td>Puts <code>mb</code> at <code>/usr/local/bin</code>, which is generally in the <code>PATH</code>.</td>
|
|
68
|
+
</tr>
|
|
69
|
+
<tr>
|
|
70
|
+
<td>source tarball</td>
|
|
71
|
+
<td>Yes</td>
|
|
72
|
+
<td>No</td>
|
|
73
|
+
<td>
|
|
74
|
+
<ul>
|
|
75
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-npm.tar.gz">mb</a></li>
|
|
76
|
+
</ul>
|
|
77
|
+
</td>
|
|
78
|
+
<td>source tarball if you roll that way.</td>
|
|
79
|
+
</tr>
|
|
80
|
+
</table>
|
|
81
|
+
|
|
82
|
+
<h2 id='windows-path-limitations'>Windows path limitations</h2>
|
|
83
|
+
|
|
84
|
+
<p><sup>*</sup>mountebank wishes very much for your Windows experience to be hassle-free, but he is simply not qualified to address
|
|
85
|
+
a particular constraint of Windows Explorer. For legacy reasons, some Windows applications, including most notably Windows Explorer,
|
|
86
|
+
have a maximum number of characters allowed in a path of 260 characters. As mountebank writes these words, the longest path he
|
|
87
|
+
includes in the zip files is around 175 characters. The zip file name, which is likely to represent itself as <i>two</i>
|
|
88
|
+
nested directories if you use the defaults to unzip it, will be around 25 characters. That gives you very little wiggle room.
|
|
89
|
+
If you unzip the file in your users directory, you may very likely get an error because of this constraint.</p>
|
|
90
|
+
|
|
91
|
+
<p>The following solutions will all work:</p>
|
|
92
|
+
|
|
93
|
+
<ul class='bullet-list'>
|
|
94
|
+
<li>Unzip to the root of your C: drive (or a similar small path)</li>
|
|
95
|
+
<li>Use <a href='http://www.7-zip.org/'>7zip</a> to unzip the file instead of Windows Explorer</li>
|
|
96
|
+
<li>Use <code>npm</code> to install mountebank instead of the zip file</li>
|
|
97
|
+
</ul>
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
<h1>v<%= releaseVersion %></h1>
|
|
2
|
+
|
|
3
|
+
<p class='info-icon'>Be sure to keep up with the latest releases by subscribing to the
|
|
4
|
+
<a href='http://www.mbtest.dev/feed'>ATOM feed</a>.</p>
|
|
5
|
+
|
|
6
|
+
<p>This release adds a significant amount of startup customization to mountebank.</p>
|
|
7
|
+
|
|
8
|
+
<h2>New Features</h2>
|
|
9
|
+
<ul class='bullet-list'>
|
|
10
|
+
<li>Support for custom formatters when loading mountebank using the <code>configfile</code>
|
|
11
|
+
CLI option or when saving test data using <code>mb save</code>. See the new
|
|
12
|
+
<a href='//<%= host %>/docs/commandLine#custom-formatters'><code>formatter</code> CLI option</a> for details.</li>
|
|
13
|
+
<li>Allow passing a custom <code>data</code> object to <code>stringify</code> functions in the default
|
|
14
|
+
EJS formatter for the <a href='//<%= host %>/docs/commandLine#config-files'><code>configfile</code> CLI option</a></li>
|
|
15
|
+
<li>Support gzip request content encodings, so predicates work on compressed requests.</li>
|
|
16
|
+
<li>Allow customizing the logging format with the <code><a href='//<%= host %>/docs/commandLine#start'>log</a></code>
|
|
17
|
+
command line parameter.</li>
|
|
18
|
+
<li>Added the <code><a href='//<%= host %>/docs/commandLine#start'>rcfile</a></code>
|
|
19
|
+
command line parameter, allowing you to keep startup configuration in a JSON file.</li>
|
|
20
|
+
<li>Added <a href='//<%= host %>/metrics'>Prometheus metrics</a> to help troubleshoot bottlenecks.</li>
|
|
21
|
+
<li>Reduced the Docker image size</li>
|
|
22
|
+
<li>Moved the 'No predicate match' message from the debug logs to the info logs to help troubleshooting
|
|
23
|
+
when mountebank is generating a default response.</li>
|
|
24
|
+
</ul>
|
|
25
|
+
|
|
26
|
+
<h2>Bug Fixes</h2>
|
|
27
|
+
<ul class='bullet-list'>
|
|
28
|
+
<li>Correctly show the imposter <code>name</code> on the <a href='//<%= host %>/imposters'>imposters page</a>.</li>
|
|
29
|
+
<li>Fixed bug passing large requests or responses to the <code>shellTransform</code> behavior on Windows.</li>
|
|
30
|
+
<li>Allow <code>copy</code> behavior to replace JSON keys as well as data.</li>
|
|
31
|
+
</ul>
|
|
32
|
+
|
|
33
|
+
<h2>Contributors</h2>
|
|
34
|
+
<p>Many thanks to the following kind folks for help with this release, either through bug reports,
|
|
35
|
+
suggestions, or direct code contributions:</p>
|
|
36
|
+
|
|
37
|
+
<ul class='bullet-list'>
|
|
38
|
+
<li>Craig Harris</li>
|
|
39
|
+
<li>dcRUSTy</li>
|
|
40
|
+
<li>Colin Newell</li>
|
|
41
|
+
<li>Kishan B</li>
|
|
42
|
+
</ul>
|
|
43
|
+
|
|
44
|
+
<h2>Install</h2>
|
|
45
|
+
|
|
46
|
+
<pre><code>npm install -g mountebank@<%= releaseVersion %></code></pre>
|
|
47
|
+
|
|
48
|
+
<p>or:</p>
|
|
49
|
+
|
|
50
|
+
<table>
|
|
51
|
+
<tr>
|
|
52
|
+
<th>Option</th>
|
|
53
|
+
<th>node.js required?</th>
|
|
54
|
+
<th>sudo required?</th>
|
|
55
|
+
<th>links</th>
|
|
56
|
+
<th>Description</th>
|
|
57
|
+
</tr>
|
|
58
|
+
<tr>
|
|
59
|
+
<td>Self-contained archives</td>
|
|
60
|
+
<td>No</td>
|
|
61
|
+
<td>No</td>
|
|
62
|
+
<td style="min-width: 5em;">
|
|
63
|
+
<ul>
|
|
64
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-darwin-x64.tar.gz">osx</a></li>
|
|
65
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-linux-x86.tar.gz">linux x86</a></li>
|
|
66
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-linux-x64.tar.gz">linux x64</a></li>
|
|
67
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-win-x86.zip">win x86<sup>*</sup></a></li>
|
|
68
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-win-x64.zip">win x64<sup>*</sup></a></li>
|
|
69
|
+
</ul>
|
|
70
|
+
</td>
|
|
71
|
+
<td>Simply unpack and run <code>mb</code> from inside</td>
|
|
72
|
+
</tr>
|
|
73
|
+
<tr>
|
|
74
|
+
<td>OS-specific packages</td>
|
|
75
|
+
<td>No</td>
|
|
76
|
+
<td>Yes</td>
|
|
77
|
+
<td>
|
|
78
|
+
<ul>
|
|
79
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>.pkg">pkg</a></li>
|
|
80
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-<%= releaseVersion %>-1.x86_64.rpm">rpm</a></li>
|
|
81
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank_<%= releaseVersion %>_amd64.deb">deb</a></li>
|
|
82
|
+
</ul>
|
|
83
|
+
</td>
|
|
84
|
+
<td>Puts <code>mb</code> at <code>/usr/local/bin</code>, which is generally in the <code>PATH</code>.</td>
|
|
85
|
+
</tr>
|
|
86
|
+
<tr>
|
|
87
|
+
<td>source tarball</td>
|
|
88
|
+
<td>Yes</td>
|
|
89
|
+
<td>No</td>
|
|
90
|
+
<td>
|
|
91
|
+
<ul>
|
|
92
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-npm.tar.gz">mb</a></li>
|
|
93
|
+
</ul>
|
|
94
|
+
</td>
|
|
95
|
+
<td>source tarball if you roll that way.</td>
|
|
96
|
+
</tr>
|
|
97
|
+
</table>
|
|
98
|
+
|
|
99
|
+
<h2 id='windows-path-limitations'>Windows path limitations</h2>
|
|
100
|
+
|
|
101
|
+
<p><sup>*</sup>mountebank wishes very much for your Windows experience to be hassle-free, but he is simply not qualified to address
|
|
102
|
+
a particular constraint of Windows Explorer. For legacy reasons, some Windows applications, including most notably Windows Explorer,
|
|
103
|
+
have a maximum number of characters allowed in a path of 260 characters. As mountebank writes these words, the longest path he
|
|
104
|
+
includes in the zip files is around 175 characters. The zip file name, which is likely to represent itself as <i>two</i>
|
|
105
|
+
nested directories if you use the defaults to unzip it, will be around 25 characters. That gives you very little wiggle room.
|
|
106
|
+
If you unzip the file in your users directory, you may very likely get an error because of this constraint.</p>
|
|
107
|
+
|
|
108
|
+
<p>The following solutions will all work:</p>
|
|
109
|
+
|
|
110
|
+
<ul class='bullet-list'>
|
|
111
|
+
<li>Unzip to the root of your C: drive (or a similar small path)</li>
|
|
112
|
+
<li>Use <a href='http://www.7-zip.org/'>7zip</a> to unzip the file instead of Windows Explorer</li>
|
|
113
|
+
<li>Use <code>npm</code> to install mountebank instead of the zip file</li>
|
|
114
|
+
</ul>
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
<h1>v<%= releaseVersion %></h1>
|
|
2
|
+
|
|
3
|
+
<p class='info-icon'>Be sure to keep up with the latest releases by subscribing to the
|
|
4
|
+
<a href='http://www.mbtest.dev/feed'>ATOM feed</a>.</p>
|
|
5
|
+
|
|
6
|
+
<p>This release is largely centered around modernizing the codebase and simplifying the build process.
|
|
7
|
+
That involved removing some previously supported install options:</p>
|
|
8
|
+
|
|
9
|
+
<h2>Install changes</h2>
|
|
10
|
+
<ul class='bullet-list'>
|
|
11
|
+
<li>The only supported installation options are now npm and Docker. The OS-specific install
|
|
12
|
+
packages available previously were not used enough to justify the considerable complexity they
|
|
13
|
+
added to the build process.</li>
|
|
14
|
+
<li>After some confusion, I reverted the Dockerfile back to use <code>CMD</code> instead of
|
|
15
|
+
<code>ENTRYPOINT</code>, which allows you use <code>mb</code> on the <code>docker run</code> command.
|
|
16
|
+
An example is listed on the <a href='//<%= host %>/docs/gettingStarted'>getting started</a> page.</li>
|
|
17
|
+
</ul>
|
|
18
|
+
|
|
19
|
+
<h2>New Features</h2>
|
|
20
|
+
<ul class='bullet-list'>
|
|
21
|
+
<li>Support the HTTP CONNECT method in http proxies</li>
|
|
22
|
+
<li>Better support for embedding mountebank into a node express app for those who want to bypass the CLI</li>
|
|
23
|
+
</ul>
|
|
24
|
+
|
|
25
|
+
<h2>Bug Fixes</h2>
|
|
26
|
+
<ul class='bullet-list'>
|
|
27
|
+
<li>Ensure there is always a logging transport to avoid logger errors on startup</li>
|
|
28
|
+
<li>Ensure that the <code>defaultResponse</code> and <code>endOfRequestResolver</code>
|
|
29
|
+
is returned as part of the imposter configuration</li>
|
|
30
|
+
<li>Fix detection of compressed encodings beyond gzip for http</li>
|
|
31
|
+
<li>Fix Windows <code>shellTransform</code> bug with long commands</li>
|
|
32
|
+
</ul>
|
|
33
|
+
|
|
34
|
+
<h2>Contributors</h2>
|
|
35
|
+
<p>Many thanks to the following kind folks for help with this release, either through bug reports,
|
|
36
|
+
suggestions, or direct code contributions:</p>
|
|
37
|
+
|
|
38
|
+
<ul class='bullet-list'>
|
|
39
|
+
<li>Angela</li>
|
|
40
|
+
<li>Daegon Kim</li>
|
|
41
|
+
<li>William Yang</li>
|
|
42
|
+
<li>Jacob Bolda</li>
|
|
43
|
+
<li>o.drapeza</li>
|
|
44
|
+
<li>rossanthony</li>
|
|
45
|
+
<li>Tomasz Zwierzchon</li>
|
|
46
|
+
</ul>
|
|
47
|
+
|
|
48
|
+
<h2>Install</h2>
|
|
49
|
+
|
|
50
|
+
<pre><code>npm install -g mountebank@<%= releaseVersion %></code></pre>
|
|
51
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<h1>v<%= releaseVersion %></h1>
|
|
2
|
+
|
|
3
|
+
<p class='info-icon'>Be sure to keep up with the latest releases by subscribing to the
|
|
4
|
+
<a href='http://www.mbtest.dev/feed'>ATOM feed</a>.</p>
|
|
5
|
+
|
|
6
|
+
<h2>New Features</h2>
|
|
7
|
+
<ul class='bullet-list'>
|
|
8
|
+
<li>Added a new <a href='//<%= host %>/docs/api/faults'><code>fault</code> response type</a>
|
|
9
|
+
that simulates network failures.</li>
|
|
10
|
+
<li>Added a new <a href='//<%= host %>/docs/api/proxies#proxy-predicate-generators'><code>ignore</code>
|
|
11
|
+
field</a> to <code>predicateGenerators</code> to enable you
|
|
12
|
+
to exclude certain request fields from the generated predicate</li>
|
|
13
|
+
</ul>
|
|
14
|
+
|
|
15
|
+
<h2>Bug Fixes</h2>
|
|
16
|
+
<ul class='bullet-list'>
|
|
17
|
+
<li>Fixed UI on /imposters page</li>
|
|
18
|
+
<li>Fixed some documentation bugs</li>
|
|
19
|
+
</ul>
|
|
20
|
+
|
|
21
|
+
<h2>Contributors</h2>
|
|
22
|
+
<p>Many thanks to the following kind folks for help with this release, either through bug reports,
|
|
23
|
+
suggestions, or direct code contributions:</p>
|
|
24
|
+
|
|
25
|
+
<ul class='bullet-list'>
|
|
26
|
+
<li>Thyago Machado</li>
|
|
27
|
+
<li>gerard sek</li>
|
|
28
|
+
<li>David Connolly</li>
|
|
29
|
+
<li>Christian Bewernitz</li>
|
|
30
|
+
<li>Matt Mills</li>
|
|
31
|
+
</ul>
|
|
32
|
+
|
|
33
|
+
<h2>Install</h2>
|
|
34
|
+
|
|
35
|
+
<pre><code>npm install -g mountebank@<%= releaseVersion %></code></pre>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<h1>v<%= releaseVersion %></h1>
|
|
2
|
+
|
|
3
|
+
<p class='info-icon'>Be sure to keep up with the latest releases by subscribing to the
|
|
4
|
+
<a href='http://www.mbtest.dev/feed'>ATOM feed</a>.</p>
|
|
5
|
+
|
|
6
|
+
<h2>New Features</h2>
|
|
7
|
+
<ul class='bullet-list'>
|
|
8
|
+
<li>Added a number of new community contributions to protocols!</li>
|
|
9
|
+
<li>Mountebank will now issue a warn log message on potentially unsafe regular expressions</li>
|
|
10
|
+
</ul>
|
|
11
|
+
|
|
12
|
+
<h2>Bug Fixes</h2>
|
|
13
|
+
<ul class='bullet-list'>
|
|
14
|
+
<li>Fixed issue with a bad request when adding a stub crashing mountebank</li>
|
|
15
|
+
<li>Fixed an issue saving proxied JSON HTTP bodies as JSON instead of a string</li>
|
|
16
|
+
<li>Fixed a few bugs in the documentation</li>
|
|
17
|
+
</ul>
|
|
18
|
+
|
|
19
|
+
<h2>Contributors</h2>
|
|
20
|
+
<p>Many thanks to the following kind folks for help with this release, either through bug reports,
|
|
21
|
+
suggestions, or direct code contributions:</p>
|
|
22
|
+
|
|
23
|
+
<ul class='bullet-list'>
|
|
24
|
+
<li>Venkat Palivela</li>
|
|
25
|
+
<li>Christian Sahlmann</li>
|
|
26
|
+
<li>Marco Gario</li>
|
|
27
|
+
<li>Isabelle Carter</li>
|
|
28
|
+
</ul>
|
|
29
|
+
|
|
30
|
+
<h2>Install</h2>
|
|
31
|
+
|
|
32
|
+
<pre><code>npm install -g mountebank@<%= releaseVersion %></code></pre>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<h1>v<%= releaseVersion %></h1>
|
|
2
|
+
|
|
3
|
+
<p class='info-icon'>Be sure to keep up with the latest releases by subscribing to the
|
|
4
|
+
<a href='http://www.mbtest.dev/feed'>ATOM feed</a>.</p>
|
|
5
|
+
|
|
6
|
+
<h2>New Features</h2>
|
|
7
|
+
<ul class='bullet-list'>
|
|
8
|
+
<li>Support for multi-platform Docker builds to include ARM</li>
|
|
9
|
+
<li>Support for <code>rejectUnauthorized</code> flag on
|
|
10
|
+
<a href='//<%= host %>/docs/protocols/https'>https servers</a> to allow certificate validation.</li>
|
|
11
|
+
</ul>
|
|
12
|
+
|
|
13
|
+
<h2>Bug Fixes</h2>
|
|
14
|
+
<ul class='bullet-list'>
|
|
15
|
+
<li>Reverted to ENTRYPOINT instead of CMD for Docker runs since <code>mb</code> is the only command</li>
|
|
16
|
+
<li>Performance improvements (JavaScript <code>require</code> optimizations)</li>
|
|
17
|
+
<li>Support for basic <a href='//<%= host %>/docs/commandLine#start'><code>apikey CLI parameter</code></a>
|
|
18
|
+
for validation</li>
|
|
19
|
+
<li>Security patches for dependencies</li>
|
|
20
|
+
</ul>
|
|
21
|
+
|
|
22
|
+
<h2>Contributors</h2>
|
|
23
|
+
<p>Many thanks to the following kind folks for help with this release, either through bug reports,
|
|
24
|
+
suggestions, or direct code contributions:</p>
|
|
25
|
+
|
|
26
|
+
<ul class='bullet-list'>
|
|
27
|
+
<li>Emanuel Zienecker</li>
|
|
28
|
+
<li>Peter Pompeii</li>
|
|
29
|
+
<li>Sampo Kivistö</li>
|
|
30
|
+
<li>Yeong Sheng, Tan</li>
|
|
31
|
+
<li>Jonathan James Choy</li>
|
|
32
|
+
</ul>
|
|
33
|
+
|
|
34
|
+
<h2>Install</h2>
|
|
35
|
+
|
|
36
|
+
<pre><code>npm install -g mountebank@<%= releaseVersion %></code></pre>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<h1>v<%= releaseVersion %></h1>
|
|
2
|
+
|
|
3
|
+
<p class='info-icon'>Be sure to keep up with the latest releases by subscribing to the
|
|
4
|
+
<a href='http://www.mbtest.dev/feed'>ATOM feed</a>.</p>
|
|
5
|
+
|
|
6
|
+
<p>This release served only to fix a deployment issue. Please see
|
|
7
|
+
<a href='//<%= host %>/releases/v2.8.0'>v2.8.0</a> for release notes</p>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<h1>v<%= releaseVersion %></h1>
|
|
2
|
+
|
|
3
|
+
<p class='info-icon'>Be sure to keep up with the latest releases by subscribing to the
|
|
4
|
+
<a href='http://www.mbtest.dev/feed'>ATOM feed</a>.</p>
|
|
5
|
+
|
|
6
|
+
<h2>New Features</h2>
|
|
7
|
+
<ul class='bullet-list'>
|
|
8
|
+
<li>Added 3rd party <a href='//<%= host %>/docs/communityExtensions'>database options</a></li>
|
|
9
|
+
</ul>
|
|
10
|
+
|
|
11
|
+
<h2>Bug Fixes</h2>
|
|
12
|
+
<ul class='bullet-list'>
|
|
13
|
+
<li>Fixed file locking issues with <code>--datadir</code></li>
|
|
14
|
+
</ul>
|
|
15
|
+
|
|
16
|
+
<h2>Contributors</h2>
|
|
17
|
+
<p>Many thanks to the following kind folks for help with this release, either through bug reports,
|
|
18
|
+
suggestions, or direct code contributions:</p>
|
|
19
|
+
|
|
20
|
+
<ul class='bullet-list'>
|
|
21
|
+
<li>Mike Gore</li>
|
|
22
|
+
</ul>
|
|
23
|
+
|
|
24
|
+
<h2>Install</h2>
|
|
25
|
+
|
|
26
|
+
<pre><code>npm install -g mountebank@<%= releaseVersion %></code></pre>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<h1>v<%= releaseVersion %></h1>
|
|
2
|
+
|
|
3
|
+
<p class='info-icon'>Be sure to keep up with the latest releases by subscribing to the
|
|
4
|
+
<a href='http://www.mbtest.dev/feed'>ATOM feed</a>.</p>
|
|
5
|
+
|
|
6
|
+
<h2>New Features</h2>
|
|
7
|
+
<ul class='bullet-list'>
|
|
8
|
+
<li>Improved Prometheus metrics collection</li>
|
|
9
|
+
</ul>
|
|
10
|
+
|
|
11
|
+
<h2>Bug Fixes</h2>
|
|
12
|
+
<ul class='bullet-list'>
|
|
13
|
+
<li>Increase https default cert and key length</li>
|
|
14
|
+
<li>Additional error handling on http proxies</li>
|
|
15
|
+
</ul>
|
|
16
|
+
|
|
17
|
+
<h2>Contributors</h2>
|
|
18
|
+
<p>Many thanks to the following kind folks for help with this release, either through bug reports,
|
|
19
|
+
suggestions, or direct code contributions:</p>
|
|
20
|
+
|
|
21
|
+
<ul class='bullet-list'>
|
|
22
|
+
<li>Arvind Sridharan</li>
|
|
23
|
+
<li>MakersAll8</li>
|
|
24
|
+
<li>Tan Yeong Sheng</li>
|
|
25
|
+
<li>Deivid de Assis Teixeira</li>
|
|
26
|
+
<li>Xiao Li</li>
|
|
27
|
+
<li>Charlie Groves</li>
|
|
28
|
+
</ul>
|
|
29
|
+
|
|
30
|
+
<h2>Install</h2>
|
|
31
|
+
|
|
32
|
+
<pre><code>npm install -g mountebank@<%= releaseVersion %></code></pre>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<h1>v<%= releaseVersion %></h1>
|
|
2
|
+
|
|
3
|
+
<p class='info-icon'>Be sure to keep up with the latest releases by subscribing to the
|
|
4
|
+
<a href='http://www.mbtest.dev/feed'>ATOM feed</a>.</p>
|
|
5
|
+
|
|
6
|
+
<p>v2.9.1 was released simply to fix a deployment version mismatch of v2.9.0; there are no other functional changes</p>
|
|
7
|
+
|
|
8
|
+
<h2>Install</h2>
|
|
9
|
+
|
|
10
|
+
<pre><code>npm install -g mountebank@<%= releaseVersion %></code></pre>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<%
|
|
2
|
+
title = 'releases'
|
|
3
|
+
description = 'All past releases of mountebank, saved for posterity'
|
|
4
|
+
%>
|
|
5
|
+
|
|
6
|
+
<%- include('_header') -%>
|
|
7
|
+
|
|
8
|
+
<h1>Releases</h1>
|
|
9
|
+
|
|
10
|
+
<p>Below are the releases starting with the most recent. Subscribe to the
|
|
11
|
+
<a href='/feed'>ATOM feed</a> to stay up to date with future releases.</p>
|
|
12
|
+
|
|
13
|
+
<table>
|
|
14
|
+
<tr>
|
|
15
|
+
<th>Version</th>
|
|
16
|
+
<th>Release Date</th>
|
|
17
|
+
</tr>
|
|
18
|
+
<% releases.forEach(release => { %>
|
|
19
|
+
<tr>
|
|
20
|
+
<td><a href='/releases/<%= release.version %>'><%= release.version %></a></td>
|
|
21
|
+
<td><%= release.date %></td>
|
|
22
|
+
</tr>
|
|
23
|
+
<% }); %>
|
|
24
|
+
</table>
|
|
25
|
+
|
|
26
|
+
<%- include('_footer') -%>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
http://www.mbtest.dev/
|
|
2
|
+
http://www.mbtest.dev/imposters
|
|
3
|
+
http://www.mbtest.dev/logs
|
|
4
|
+
http://www.mbtest.dev/config
|
|
5
|
+
http://www.mbtest.dev/feed
|
|
6
|
+
http://www.mbtest.dev/support
|
|
7
|
+
http://www.mbtest.dev/license
|
|
8
|
+
http://www.mbtest.dev/faqs
|
|
9
|
+
http://www.mbtest.dev/docs/gettingStarted
|
|
10
|
+
http://www.mbtest.dev/docs/mentalModel
|
|
11
|
+
http://www.mbtest.dev/docs/commandLine
|
|
12
|
+
http://www.mbtest.dev/docs/security
|
|
13
|
+
http://www.mbtest.dev/docs/communityExtensions
|
|
14
|
+
http://www.mbtest.dev/docs/api/overview
|
|
15
|
+
http://www.mbtest.dev/docs/api/contracts
|
|
16
|
+
http://www.mbtest.dev/docs/api/mocks
|
|
17
|
+
http://www.mbtest.dev/docs/api/stubs
|
|
18
|
+
http://www.mbtest.dev/docs/api/predicates
|
|
19
|
+
http://www.mbtest.dev/docs/api/xpath
|
|
20
|
+
http://www.mbtest.dev/docs/api/json
|
|
21
|
+
http://www.mbtest.dev/docs/api/jsonpath
|
|
22
|
+
http://www.mbtest.dev/docs/api/proxies
|
|
23
|
+
http://www.mbtest.dev/docs/api/injection
|
|
24
|
+
http://www.mbtest.dev/docs/api/behaviors
|
|
25
|
+
http://www.mbtest.dev/docs/api/errors
|
|
26
|
+
http://www.mbtest.dev/docs/api/faults
|
|
27
|
+
http://www.mbtest.dev/docs/protocols/http
|
|
28
|
+
http://www.mbtest.dev/docs/protocols/https
|
|
29
|
+
http://www.mbtest.dev/docs/protocols/tcp
|
|
30
|
+
http://www.mbtest.dev/docs/protocols/smtp
|
|
31
|
+
http://www.mbtest.dev/docs/protocols/custom
|
|
32
|
+
http://www.mbtest.dev/metrics
|
|
33
|
+
http://www.mbtest.dev/releases
|
|
34
|
+
<% releases.forEach (release => { -%>
|
|
35
|
+
http://www.mbtest.dev/releases/<%= release.version %>
|
|
36
|
+
<% }); -%>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<%
|
|
2
|
+
title = 'support'
|
|
3
|
+
description = 'Ask questions about anything related to mountebank on our Google Group'
|
|
4
|
+
%>
|
|
5
|
+
|
|
6
|
+
<%- include('_header') -%>
|
|
7
|
+
|
|
8
|
+
<h1>Support</h1>
|
|
9
|
+
|
|
10
|
+
<p>mountebank is sorry you're having trouble, but he is eager to help. A
|
|
11
|
+
<a href='https://groups.google.com/forum/#!forum/mountebank-discuss'>Google group</a>
|
|
12
|
+
has been set up to help you. Don't be shy!</p>
|
|
13
|
+
|
|
14
|
+
<%- include('_footer') -%>
|