@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,113 @@
|
|
|
1
|
+
<h1>v<%= releaseVersion %></h1>
|
|
2
|
+
|
|
3
|
+
<p>This release is primarily focused on the contributor experience, which means most of the
|
|
4
|
+
development isn't user-facing. Historically, pull requests always failed the build, even when they were
|
|
5
|
+
perfectly valid, due to significant tech debt in the CI configuration. I've moved mountebank
|
|
6
|
+
to <a href='https://circleci.com/gh/bbyars/workflows/mountebank'>CircleCI</a> as the
|
|
7
|
+
primary CI server to better visualize the workflow and made the PR verifications much simpler.</p>
|
|
8
|
+
|
|
9
|
+
<p>This release also adds support for node v10 (some SMTP libraries had to change), and removes
|
|
10
|
+
support for node v4.</p>
|
|
11
|
+
|
|
12
|
+
<p class='info-icon'>Be sure to keep up with the latest releases by subscribing to the
|
|
13
|
+
<a href='http://www.mbtest.dev/feed'>ATOM feed</a>.</p>
|
|
14
|
+
|
|
15
|
+
<h2>New Features</h2>
|
|
16
|
+
<ul class='bullet-list'>
|
|
17
|
+
<li>Always log to the console so you can <a href='https://github.com/mountebank-testing/mountebank/issues/318'>pipe logs</a>
|
|
18
|
+
to other processes</li>
|
|
19
|
+
<li>Updated <a href='//<%= host %>/docs/communityExtensions'>libraries page</a></li>
|
|
20
|
+
<li>Added a <a href='//<%= host %>/docs/mentalModel'>mental model diagram</a> for beginners</li>
|
|
21
|
+
</ul>
|
|
22
|
+
|
|
23
|
+
<h2>Bug Fixes</h2>
|
|
24
|
+
<ul class='bullet-list'>
|
|
25
|
+
<li>Fix form parsing when a modifier is attached to the application/x-www-form-urlencoded content type</li>
|
|
26
|
+
<li>Fixed a problem where the <code>matches</code> predicate
|
|
27
|
+
<a href='https://github.com/mountebank-testing/mountebank/issues/361'>misapplied case sensitivity</a> when used
|
|
28
|
+
with a jsonpath selector</li>
|
|
29
|
+
<li>The logs web view properly escapes HTML/XML</li>
|
|
30
|
+
</ul>
|
|
31
|
+
|
|
32
|
+
<h2>Contributors</h2>
|
|
33
|
+
<p>Many thanks to the following kind folks for help with this release, either through bug reports,
|
|
34
|
+
suggestions, or direct code contributions:</p>
|
|
35
|
+
|
|
36
|
+
<ul class='bullet-list'>
|
|
37
|
+
<li>Franz Wong</li>
|
|
38
|
+
<li>Leo Gutiérrez Ramírez</li>
|
|
39
|
+
<li>Mario Giampietri</li>
|
|
40
|
+
<li>Simon Brunning</li>
|
|
41
|
+
</ul>
|
|
42
|
+
|
|
43
|
+
<h2>Install</h2>
|
|
44
|
+
|
|
45
|
+
<pre><code>npm install -g mountebank@<%= releaseVersion %></code></pre>
|
|
46
|
+
|
|
47
|
+
<p>or:</p>
|
|
48
|
+
|
|
49
|
+
<table>
|
|
50
|
+
<tr>
|
|
51
|
+
<th>Option</th>
|
|
52
|
+
<th>node.js required?</th>
|
|
53
|
+
<th>sudo required?</th>
|
|
54
|
+
<th>links</th>
|
|
55
|
+
<th>Description</th>
|
|
56
|
+
</tr>
|
|
57
|
+
<tr>
|
|
58
|
+
<td>Self-contained archives</td>
|
|
59
|
+
<td>No</td>
|
|
60
|
+
<td>No</td>
|
|
61
|
+
<td style="min-width: 5em;">
|
|
62
|
+
<ul>
|
|
63
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-darwin-x64.tar.gz">osx</a></li>
|
|
64
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-linux-x86.tar.gz">linux x86</a></li>
|
|
65
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-linux-x64.tar.gz">linux x64</a></li>
|
|
66
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-win-x86.zip">win x86<sup>*</sup></a></li>
|
|
67
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-win-x64.zip">win x64<sup>*</sup></a></li>
|
|
68
|
+
</ul>
|
|
69
|
+
</td>
|
|
70
|
+
<td>Simply unpack and run <code>mb</code> from inside</td>
|
|
71
|
+
</tr>
|
|
72
|
+
<tr>
|
|
73
|
+
<td>OS-specific packages</td>
|
|
74
|
+
<td>No</td>
|
|
75
|
+
<td>Yes</td>
|
|
76
|
+
<td>
|
|
77
|
+
<ul>
|
|
78
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>.pkg">pkg</a></li>
|
|
79
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-<%= releaseVersion %>-1.x86_64.rpm">rpm</a></li>
|
|
80
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank_<%= releaseVersion %>_amd64.deb">deb</a></li>
|
|
81
|
+
</ul>
|
|
82
|
+
</td>
|
|
83
|
+
<td>Puts <code>mb</code> at <code>/usr/local/bin</code>, which is generally in the <code>PATH</code>.</td>
|
|
84
|
+
</tr>
|
|
85
|
+
<tr>
|
|
86
|
+
<td>source tarball</td>
|
|
87
|
+
<td>Yes</td>
|
|
88
|
+
<td>No</td>
|
|
89
|
+
<td>
|
|
90
|
+
<ul>
|
|
91
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-npm.tar.gz">mb</a></li>
|
|
92
|
+
</ul>
|
|
93
|
+
</td>
|
|
94
|
+
<td>source tarball if you roll that way.</td>
|
|
95
|
+
</tr>
|
|
96
|
+
</table>
|
|
97
|
+
|
|
98
|
+
<h2 id='windows-path-limitations'>Windows path limitations</h2>
|
|
99
|
+
|
|
100
|
+
<p><sup>*</sup>mountebank wishes very much for your Windows experience to be hassle-free, but he is simply not qualified to address
|
|
101
|
+
a particular constraint of Windows Explorer. For legacy reasons, some Windows applications, including most notably Windows Explorer,
|
|
102
|
+
have a maximum number of characters allowed in a path of 260 characters. As mountebank writes these words, the longest path he
|
|
103
|
+
includes in the zip files is around 175 characters. The zip file name, which is likely to represent itself as <i>two</i>
|
|
104
|
+
nested directories if you use the defaults to unzip it, will be around 25 characters. That gives you very little wiggle room.
|
|
105
|
+
If you unzip the file in your users directory, you may very likely get an error because of this constraint.</p>
|
|
106
|
+
|
|
107
|
+
<p>The following solutions will all work:</p>
|
|
108
|
+
|
|
109
|
+
<ul class='bullet-list'>
|
|
110
|
+
<li>Unzip to the root of your C: drive (or a similar small path)</li>
|
|
111
|
+
<li>Use <a href='http://www.7-zip.org/'>7zip</a> to unzip the file instead of Windows Explorer</li>
|
|
112
|
+
<li>Use <code>npm</code> to install mountebank instead of the zip file</li>
|
|
113
|
+
</ul>
|
|
@@ -0,0 +1,104 @@
|
|
|
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>Renamed the <a href='//<%= host %>/docs/api/overview#delete-proxy-responses'>API</a>
|
|
9
|
+
from <code>DELETE /imposters/:port/requests</code> to
|
|
10
|
+
<code>DELETE /imposters/:port/savedProxyResponses</code> to better reflect the intent.
|
|
11
|
+
The old call still works for backwards compatibility.</li>
|
|
12
|
+
</ul>
|
|
13
|
+
|
|
14
|
+
<h2>Bug Fixes</h2>
|
|
15
|
+
<ul class='bullet-list'>
|
|
16
|
+
<li>Keep Host header during proxying if set with injectHeaders</li>
|
|
17
|
+
<li>Fixed issue with file log rotation</li>
|
|
18
|
+
<li>Support passing imposter state through compound predicate operators combined with
|
|
19
|
+
predicate injection</li>
|
|
20
|
+
</ul>
|
|
21
|
+
|
|
22
|
+
<p>Thanks to Mario Giampietri, the codebase has also been upgraded to ES2015</p>
|
|
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>Mario Giampietri</li>
|
|
30
|
+
<li>Mark Fulton</li>
|
|
31
|
+
<li>Colin Schoen</li>
|
|
32
|
+
</ul>
|
|
33
|
+
|
|
34
|
+
<h2>Install</h2>
|
|
35
|
+
|
|
36
|
+
<pre><code>npm install -g mountebank@<%= releaseVersion %></code></pre>
|
|
37
|
+
|
|
38
|
+
<p>or:</p>
|
|
39
|
+
|
|
40
|
+
<table>
|
|
41
|
+
<tr>
|
|
42
|
+
<th>Option</th>
|
|
43
|
+
<th>node.js required?</th>
|
|
44
|
+
<th>sudo required?</th>
|
|
45
|
+
<th>links</th>
|
|
46
|
+
<th>Description</th>
|
|
47
|
+
</tr>
|
|
48
|
+
<tr>
|
|
49
|
+
<td>Self-contained archives</td>
|
|
50
|
+
<td>No</td>
|
|
51
|
+
<td>No</td>
|
|
52
|
+
<td style="min-width: 5em;">
|
|
53
|
+
<ul>
|
|
54
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-darwin-x64.tar.gz">osx</a></li>
|
|
55
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-linux-x86.tar.gz">linux x86</a></li>
|
|
56
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-linux-x64.tar.gz">linux x64</a></li>
|
|
57
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-win-x86.zip">win x86<sup>*</sup></a></li>
|
|
58
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-win-x64.zip">win x64<sup>*</sup></a></li>
|
|
59
|
+
</ul>
|
|
60
|
+
</td>
|
|
61
|
+
<td>Simply unpack and run <code>mb</code> from inside</td>
|
|
62
|
+
</tr>
|
|
63
|
+
<tr>
|
|
64
|
+
<td>OS-specific packages</td>
|
|
65
|
+
<td>No</td>
|
|
66
|
+
<td>Yes</td>
|
|
67
|
+
<td>
|
|
68
|
+
<ul>
|
|
69
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>.pkg">pkg</a></li>
|
|
70
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-<%= releaseVersion %>-1.x86_64.rpm">rpm</a></li>
|
|
71
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank_<%= releaseVersion %>_amd64.deb">deb</a></li>
|
|
72
|
+
</ul>
|
|
73
|
+
</td>
|
|
74
|
+
<td>Puts <code>mb</code> at <code>/usr/local/bin</code>, which is generally in the <code>PATH</code>.</td>
|
|
75
|
+
</tr>
|
|
76
|
+
<tr>
|
|
77
|
+
<td>source tarball</td>
|
|
78
|
+
<td>Yes</td>
|
|
79
|
+
<td>No</td>
|
|
80
|
+
<td>
|
|
81
|
+
<ul>
|
|
82
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-npm.tar.gz">mb</a></li>
|
|
83
|
+
</ul>
|
|
84
|
+
</td>
|
|
85
|
+
<td>source tarball if you roll that way.</td>
|
|
86
|
+
</tr>
|
|
87
|
+
</table>
|
|
88
|
+
|
|
89
|
+
<h2 id='windows-path-limitations'>Windows path limitations</h2>
|
|
90
|
+
|
|
91
|
+
<p><sup>*</sup>mountebank wishes very much for your Windows experience to be hassle-free, but he is simply not qualified to address
|
|
92
|
+
a particular constraint of Windows Explorer. For legacy reasons, some Windows applications, including most notably Windows Explorer,
|
|
93
|
+
have a maximum number of characters allowed in a path of 260 characters. As mountebank writes these words, the longest path he
|
|
94
|
+
includes in the zip files is around 175 characters. The zip file name, which is likely to represent itself as <i>two</i>
|
|
95
|
+
nested directories if you use the defaults to unzip it, will be around 25 characters. That gives you very little wiggle room.
|
|
96
|
+
If you unzip the file in your users directory, you may very likely get an error because of this constraint.</p>
|
|
97
|
+
|
|
98
|
+
<p>The following solutions will all work:</p>
|
|
99
|
+
|
|
100
|
+
<ul class='bullet-list'>
|
|
101
|
+
<li>Unzip to the root of your C: drive (or a similar small path)</li>
|
|
102
|
+
<li>Use <a href='http://www.7-zip.org/'>7zip</a> to unzip the file instead of Windows Explorer</li>
|
|
103
|
+
<li>Use <code>npm</code> to install mountebank instead of the zip file</li>
|
|
104
|
+
</ul>
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
<h1>v1.2.0</h1>
|
|
2
|
+
|
|
3
|
+
<p>The following changes are part of this release. It followed so closely on the heels of
|
|
4
|
+
the <a href='/releases/v1.1.72'>v1.1.72</a> release that you may want to look at those
|
|
5
|
+
release notes as well.</p>
|
|
6
|
+
|
|
7
|
+
<h2>New Features</h2>
|
|
8
|
+
<ul class='bullet-list'>
|
|
9
|
+
<li>A new <a href='/docs/api/behaviors'><code>decorate</code> behavior</a> to support
|
|
10
|
+
post-processing responses before sending them.</li>
|
|
11
|
+
<li>A new <code>removeProxies</code> query parameter to support easier record-playback
|
|
12
|
+
behavior for <a href='/docs/api/proxies'>proxy stubs</a>.</li>
|
|
13
|
+
<li>The <a href='/docs/api/overview#delete-imposter'>delete single imposter</a> and
|
|
14
|
+
<a href='/docs/api/overview#delete-imposters'>delete all imposters</a> API calls
|
|
15
|
+
now both accept the <code>replayable</code> and <code>removeProxies</code> query
|
|
16
|
+
params.</li>
|
|
17
|
+
<li>Improved validation during imposter creation to make using the API easier.
|
|
18
|
+
Previously, mountebank would only validate (at best) the first response of each stub
|
|
19
|
+
during creation due to the complexity of validating all scenarios.
|
|
20
|
+
Now, all responses always get validated.</li>
|
|
21
|
+
</ul>
|
|
22
|
+
|
|
23
|
+
<h2>Install</h2>
|
|
24
|
+
|
|
25
|
+
<pre><code>
|
|
26
|
+
npm install -g mountebank@1.2.0 --production
|
|
27
|
+
</code></pre>
|
|
28
|
+
|
|
29
|
+
<p>or:</p>
|
|
30
|
+
|
|
31
|
+
<table>
|
|
32
|
+
<tr>
|
|
33
|
+
<th>Option</th>
|
|
34
|
+
<th>node.js required?</th>
|
|
35
|
+
<th>sudo required?</th>
|
|
36
|
+
<th>links</th>
|
|
37
|
+
<th>Description</th>
|
|
38
|
+
</tr>
|
|
39
|
+
<tr>
|
|
40
|
+
<td>Self-contained archives</td>
|
|
41
|
+
<td>No</td>
|
|
42
|
+
<td>No</td>
|
|
43
|
+
<td style="min-width: 5em;">
|
|
44
|
+
<ul>
|
|
45
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.0-darwin-x64.tar.gz">osx</a></li>
|
|
46
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.0-linux-x86.tar.gz">linux x86</a></li>
|
|
47
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.0-linux-x64.tar.gz">linux x64</a></li>
|
|
48
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.0-win-x86.zip">win x86</a></li>
|
|
49
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.0-win-x64.zip">win x64</a></li>
|
|
50
|
+
</ul>
|
|
51
|
+
</td>
|
|
52
|
+
<td>Simply unpack and run <code>mb</code> from inside</td>
|
|
53
|
+
</tr>
|
|
54
|
+
<tr>
|
|
55
|
+
<td>OS-specific packages</td>
|
|
56
|
+
<td>No</td>
|
|
57
|
+
<td>Yes</td>
|
|
58
|
+
<td>
|
|
59
|
+
<ul>
|
|
60
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.0.pkg">pkg</a></li>
|
|
61
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-1.2.0-1.x86_64.rpm">rpm</a></li>
|
|
62
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank_1.2.0_amd64.deb">deb</a></li>
|
|
63
|
+
</ul>
|
|
64
|
+
</td>
|
|
65
|
+
<td>Puts <code>mb</code> at <code>/usr/local/bin</code>, which is generally in the <code>PATH</code>.</td>
|
|
66
|
+
</tr>
|
|
67
|
+
<tr>
|
|
68
|
+
<td>source tarball</td>
|
|
69
|
+
<td>Yes</td>
|
|
70
|
+
<td>No</td>
|
|
71
|
+
<td>
|
|
72
|
+
<ul>
|
|
73
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.0-npm.tar.gz">mb</a></li>
|
|
74
|
+
</ul>
|
|
75
|
+
</td>
|
|
76
|
+
<td>source tarball if you roll that way.</td>
|
|
77
|
+
</tr>
|
|
78
|
+
</table>
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
<h1>v1.2.103</h1>
|
|
2
|
+
|
|
3
|
+
<p>The following changes are part of this release.</p>
|
|
4
|
+
|
|
5
|
+
<h2>New Features</h2>
|
|
6
|
+
<ul class='bullet-list'>
|
|
7
|
+
<li>Extended the <a href='http://<%= host %>/docs/commandLine#config-file'><code>config files</code></a>,
|
|
8
|
+
templating to support converting multi-line includes as a single-line JSON string to support things
|
|
9
|
+
like JavaScript functions and XML bodies. Note that the file globbing approach previously supported
|
|
10
|
+
by the <code>--configfile</code> option is no longer supported. There were some cross-platform issues
|
|
11
|
+
with the approach, and it is completely replaced by templating.</li>
|
|
12
|
+
<li>Minor SEO enhancements to the website.</li>
|
|
13
|
+
<li><i>Very</i> early SOAP support. Stay tuned, it's coming...</li>
|
|
14
|
+
</ul>
|
|
15
|
+
|
|
16
|
+
<h2>Bug Fixes</h2>
|
|
17
|
+
<ul class='bullet-list'>
|
|
18
|
+
<li>Fixed problem setting the host header when proxying HTTP to a different host</li>
|
|
19
|
+
<li>Fixed Windows <code>--configfile</code> issues. An <a href='https://ci.appveyor.com/project/bbyars/mountebank'>
|
|
20
|
+
AppVeyor</a> continuous integration build is now used to catch Windows problems early.</li>
|
|
21
|
+
</ul>
|
|
22
|
+
|
|
23
|
+
<p>Many thanks to the following kind folk for help with this release, for reporting issues
|
|
24
|
+
and helping to diagnose the problem using the tcp protocol for large requests:</p>
|
|
25
|
+
|
|
26
|
+
<ul class='bullet-list'>
|
|
27
|
+
<li>James Thomas</li>
|
|
28
|
+
<li>Alex Nishikawa</li>
|
|
29
|
+
</ul>
|
|
30
|
+
|
|
31
|
+
<h2>Install</h2>
|
|
32
|
+
|
|
33
|
+
<pre><code>
|
|
34
|
+
npm install -g mountebank@1.2.103 --production
|
|
35
|
+
</code></pre>
|
|
36
|
+
|
|
37
|
+
<p>or:</p>
|
|
38
|
+
|
|
39
|
+
<table>
|
|
40
|
+
<tr>
|
|
41
|
+
<th>Option</th>
|
|
42
|
+
<th>node.js required?</th>
|
|
43
|
+
<th>sudo required?</th>
|
|
44
|
+
<th>links</th>
|
|
45
|
+
<th>Description</th>
|
|
46
|
+
</tr>
|
|
47
|
+
<tr>
|
|
48
|
+
<td>Self-contained archives</td>
|
|
49
|
+
<td>No</td>
|
|
50
|
+
<td>No</td>
|
|
51
|
+
<td style="min-width: 5em;">
|
|
52
|
+
<ul>
|
|
53
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.103-darwin-x64.tar.gz">osx</a></li>
|
|
54
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.103-linux-x86.tar.gz">linux x86</a></li>
|
|
55
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.103-linux-x64.tar.gz">linux x64</a></li>
|
|
56
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.103-win-x86.zip">win x86</a></li>
|
|
57
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.103-win-x64.zip">win x64</a></li>
|
|
58
|
+
</ul>
|
|
59
|
+
</td>
|
|
60
|
+
<td>Simply unpack and run <code>mb</code> from inside</td>
|
|
61
|
+
</tr>
|
|
62
|
+
<tr>
|
|
63
|
+
<td>OS-specific packages</td>
|
|
64
|
+
<td>No</td>
|
|
65
|
+
<td>Yes</td>
|
|
66
|
+
<td>
|
|
67
|
+
<ul>
|
|
68
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.103.pkg">pkg</a></li>
|
|
69
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-1.2.103-1.x86_64.rpm">rpm</a></li>
|
|
70
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank_1.2.103_amd64.deb">deb</a></li>
|
|
71
|
+
</ul>
|
|
72
|
+
</td>
|
|
73
|
+
<td>Puts <code>mb</code> at <code>/usr/local/bin</code>, which is generally in the <code>PATH</code>.</td>
|
|
74
|
+
</tr>
|
|
75
|
+
<tr>
|
|
76
|
+
<td>source tarball</td>
|
|
77
|
+
<td>Yes</td>
|
|
78
|
+
<td>No</td>
|
|
79
|
+
<td>
|
|
80
|
+
<ul>
|
|
81
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.103-npm.tar.gz">mb</a></li>
|
|
82
|
+
</ul>
|
|
83
|
+
</td>
|
|
84
|
+
<td>source tarball if you roll that way.</td>
|
|
85
|
+
</tr>
|
|
86
|
+
</table>
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
<h1>v1.2.122</h1>
|
|
2
|
+
|
|
3
|
+
<p>The following changes are part of this release.</p>
|
|
4
|
+
|
|
5
|
+
<h2>New Features</h2>
|
|
6
|
+
<ul class='bullet-list'>
|
|
7
|
+
<li>Support for <a href='http://<%= host %>/docs/protocols/https'>mutual authentication</a> in
|
|
8
|
+
https imposters</li>
|
|
9
|
+
<li>Support for <a href='http://<%= host %>/docs/api/proxies'>https proxies</a> requiring
|
|
10
|
+
mutual authentication</li>
|
|
11
|
+
<li>Support for a different <a href='http://<%= host %>/docs/protocols/https'>certificate / key pair</a> for
|
|
12
|
+
every https imposters. The <code>--</code> command line parameter is no longer supported, as this is now
|
|
13
|
+
a first class member of the API.</li>
|
|
14
|
+
<li>Exposing the certificate / key pair metadata when you <code>GET</code> an https imposter.</li>
|
|
15
|
+
<li>Support cross-origin requests via a new <a href='http://<%= host %>/docs/commandLine'>command line parameter</a>.</li>
|
|
16
|
+
</ul>
|
|
17
|
+
|
|
18
|
+
<h2>Bug Fixes</h2>
|
|
19
|
+
<ul class='bullet-list'>
|
|
20
|
+
<li>Fixed build problems that guaranteed every pull request would fail CI (sorry!!!)</li>
|
|
21
|
+
</ul>
|
|
22
|
+
|
|
23
|
+
<p>Many thanks to the following kind folk for help with this release:</p>
|
|
24
|
+
|
|
25
|
+
<ul class='bullet-list'>
|
|
26
|
+
<li>James Thomas</li>
|
|
27
|
+
<li>Nils Janson</li>
|
|
28
|
+
<li>Jason Reid</li>
|
|
29
|
+
</ul>
|
|
30
|
+
|
|
31
|
+
<h2>Install</h2>
|
|
32
|
+
|
|
33
|
+
<pre><code>
|
|
34
|
+
npm install -g mountebank@1.2.122 --production
|
|
35
|
+
</code></pre>
|
|
36
|
+
|
|
37
|
+
<p>or:</p>
|
|
38
|
+
|
|
39
|
+
<table>
|
|
40
|
+
<tr>
|
|
41
|
+
<th>Option</th>
|
|
42
|
+
<th>node.js required?</th>
|
|
43
|
+
<th>sudo required?</th>
|
|
44
|
+
<th>links</th>
|
|
45
|
+
<th>Description</th>
|
|
46
|
+
</tr>
|
|
47
|
+
<tr>
|
|
48
|
+
<td>Self-contained archives</td>
|
|
49
|
+
<td>No</td>
|
|
50
|
+
<td>No</td>
|
|
51
|
+
<td style="min-width: 5em;">
|
|
52
|
+
<ul>
|
|
53
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.122-darwin-x64.tar.gz">osx</a></li>
|
|
54
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.122-linux-x86.tar.gz">linux x86</a></li>
|
|
55
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.122-linux-x64.tar.gz">linux x64</a></li>
|
|
56
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.122-win-x86.zip">win x86</a></li>
|
|
57
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.122-win-x64.zip">win x64</a></li>
|
|
58
|
+
</ul>
|
|
59
|
+
</td>
|
|
60
|
+
<td>Simply unpack and run <code>mb</code> from inside</td>
|
|
61
|
+
</tr>
|
|
62
|
+
<tr>
|
|
63
|
+
<td>OS-specific packages</td>
|
|
64
|
+
<td>No</td>
|
|
65
|
+
<td>Yes</td>
|
|
66
|
+
<td>
|
|
67
|
+
<ul>
|
|
68
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.122.pkg">pkg</a></li>
|
|
69
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-1.2.122-1.x86_64.rpm">rpm</a></li>
|
|
70
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank_1.2.122_amd64.deb">deb</a></li>
|
|
71
|
+
</ul>
|
|
72
|
+
</td>
|
|
73
|
+
<td>Puts <code>mb</code> at <code>/usr/local/bin</code>, which is generally in the <code>PATH</code>.</td>
|
|
74
|
+
</tr>
|
|
75
|
+
<tr>
|
|
76
|
+
<td>source tarball</td>
|
|
77
|
+
<td>Yes</td>
|
|
78
|
+
<td>No</td>
|
|
79
|
+
<td>
|
|
80
|
+
<ul>
|
|
81
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.122-npm.tar.gz">mb</a></li>
|
|
82
|
+
</ul>
|
|
83
|
+
</td>
|
|
84
|
+
<td>source tarball if you roll that way.</td>
|
|
85
|
+
</tr>
|
|
86
|
+
</table>
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
<h1>v1.2.30</h1>
|
|
2
|
+
|
|
3
|
+
<p>The following changes are part of this release.</p>
|
|
4
|
+
|
|
5
|
+
<h2>New Features</h2>
|
|
6
|
+
<ul class='bullet-list'>
|
|
7
|
+
<li>A new <a href='http://<%= host %>/docs/protocols/tcp#endOfRequestResolver'><code>endOfRequestResolver</code></a>
|
|
8
|
+
that now allows you to define the end of a TCP request for any application protocol built on top of TCP.
|
|
9
|
+
This is an important feature as previously mountebank had to make a guess at when a TCP request ended which
|
|
10
|
+
only worked if the request was small. Now mountebank can support any application protocol in TCP.</li>
|
|
11
|
+
<li>Links to all previous releases are now available on the <a href='http://<%= host %>/releases'>releases</a> page.</li>
|
|
12
|
+
</ul>
|
|
13
|
+
|
|
14
|
+
<h2>Bug Fixes</h2>
|
|
15
|
+
<ul class='bullet-list'>
|
|
16
|
+
<li>Removed some spurious log statements.</li>
|
|
17
|
+
</ul>
|
|
18
|
+
|
|
19
|
+
<p>Many thanks to the following kind folk for help with this release, for documentation fixes, helping to diagnose
|
|
20
|
+
the problem using the tcp protocol for large requests, and testing the fix:</p>
|
|
21
|
+
|
|
22
|
+
<ul class='bullet-list'>
|
|
23
|
+
<li>David Peleg</li>
|
|
24
|
+
<li>Andrew Hadley</li>
|
|
25
|
+
<li>James Thomas</li>
|
|
26
|
+
<li>O'Dwayne Irving</li>
|
|
27
|
+
</ul>
|
|
28
|
+
|
|
29
|
+
<h2>Install</h2>
|
|
30
|
+
|
|
31
|
+
<pre><code>
|
|
32
|
+
npm install -g mountebank@1.2.30 --production
|
|
33
|
+
</code></pre>
|
|
34
|
+
|
|
35
|
+
<p>or:</p>
|
|
36
|
+
|
|
37
|
+
<table>
|
|
38
|
+
<tr>
|
|
39
|
+
<th>Option</th>
|
|
40
|
+
<th>node.js required?</th>
|
|
41
|
+
<th>sudo required?</th>
|
|
42
|
+
<th>links</th>
|
|
43
|
+
<th>Description</th>
|
|
44
|
+
</tr>
|
|
45
|
+
<tr>
|
|
46
|
+
<td>Self-contained archives</td>
|
|
47
|
+
<td>No</td>
|
|
48
|
+
<td>No</td>
|
|
49
|
+
<td style="min-width: 5em;">
|
|
50
|
+
<ul>
|
|
51
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.30-darwin-x64.tar.gz">osx</a></li>
|
|
52
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.30-linux-x86.tar.gz">linux x86</a></li>
|
|
53
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.30-linux-x64.tar.gz">linux x64</a></li>
|
|
54
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.30-win-x86.zip">win x86</a></li>
|
|
55
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.30-win-x64.zip">win x64</a></li>
|
|
56
|
+
</ul>
|
|
57
|
+
</td>
|
|
58
|
+
<td>Simply unpack and run <code>mb</code> from inside</td>
|
|
59
|
+
</tr>
|
|
60
|
+
<tr>
|
|
61
|
+
<td>OS-specific packages</td>
|
|
62
|
+
<td>No</td>
|
|
63
|
+
<td>Yes</td>
|
|
64
|
+
<td>
|
|
65
|
+
<ul>
|
|
66
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.30.pkg">pkg</a></li>
|
|
67
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-1.2.30-1.x86_64.rpm">rpm</a></li>
|
|
68
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank_1.2.30_amd64.deb">deb</a></li>
|
|
69
|
+
</ul>
|
|
70
|
+
</td>
|
|
71
|
+
<td>Puts <code>mb</code> at <code>/usr/local/bin</code>, which is generally in the <code>PATH</code>.</td>
|
|
72
|
+
</tr>
|
|
73
|
+
<tr>
|
|
74
|
+
<td>source tarball</td>
|
|
75
|
+
<td>Yes</td>
|
|
76
|
+
<td>No</td>
|
|
77
|
+
<td>
|
|
78
|
+
<ul>
|
|
79
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.30-npm.tar.gz">mb</a></li>
|
|
80
|
+
</ul>
|
|
81
|
+
</td>
|
|
82
|
+
<td>source tarball if you roll that way.</td>
|
|
83
|
+
</tr>
|
|
84
|
+
</table>
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
<h1>v1.2.45</h1>
|
|
2
|
+
|
|
3
|
+
<p>The following changes are part of this release.</p>
|
|
4
|
+
|
|
5
|
+
<h2>New Features</h2>
|
|
6
|
+
<ul class='bullet-list'>
|
|
7
|
+
<li>Binary responses are now supported in <a href='http://<%= host %>/docs/protocols/http'><code>http</code></a></li>
|
|
8
|
+
</ul>
|
|
9
|
+
|
|
10
|
+
<h2>Bug Fixes</h2>
|
|
11
|
+
<ul class='bullet-list'>
|
|
12
|
+
<li>Fixed setting correct host header on http proxying</li>
|
|
13
|
+
<li>http proxies now respond with binary data when the origin server sends binary, based on
|
|
14
|
+
the <code>Content-Encoding</code> and <code>Content-Type</code> headers</li>
|
|
15
|
+
<li>Fixed race condition on tcp proxies with large requests</li>
|
|
16
|
+
<li>Correctly gzipping downloadable artifacts now</li>
|
|
17
|
+
</ul>
|
|
18
|
+
|
|
19
|
+
<p>Many thanks to the following kind folk for help with this release, for reporting issues
|
|
20
|
+
and helping to diagnose the problem using the tcp protocol for large requests:</p>
|
|
21
|
+
|
|
22
|
+
<ul class='bullet-list'>
|
|
23
|
+
<li>O'Dwayne Irving</li>
|
|
24
|
+
<li>Ganesh Ramachandran</li>
|
|
25
|
+
<li>Bill Hegarty</li>
|
|
26
|
+
<li>Nils Janson</li>
|
|
27
|
+
</ul>
|
|
28
|
+
|
|
29
|
+
<h2>Install</h2>
|
|
30
|
+
|
|
31
|
+
<pre><code>
|
|
32
|
+
npm install -g mountebank@1.2.45 --production
|
|
33
|
+
</code></pre>
|
|
34
|
+
|
|
35
|
+
<p>or:</p>
|
|
36
|
+
|
|
37
|
+
<table>
|
|
38
|
+
<tr>
|
|
39
|
+
<th>Option</th>
|
|
40
|
+
<th>node.js required?</th>
|
|
41
|
+
<th>sudo required?</th>
|
|
42
|
+
<th>links</th>
|
|
43
|
+
<th>Description</th>
|
|
44
|
+
</tr>
|
|
45
|
+
<tr>
|
|
46
|
+
<td>Self-contained archives</td>
|
|
47
|
+
<td>No</td>
|
|
48
|
+
<td>No</td>
|
|
49
|
+
<td style="min-width: 5em;">
|
|
50
|
+
<ul>
|
|
51
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.45-darwin-x64.tar.gz">osx</a></li>
|
|
52
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.45-linux-x86.tar.gz">linux x86</a></li>
|
|
53
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.45-linux-x64.tar.gz">linux x64</a></li>
|
|
54
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.45-win-x86.zip">win x86</a></li>
|
|
55
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.45-win-x64.zip">win x64</a></li>
|
|
56
|
+
</ul>
|
|
57
|
+
</td>
|
|
58
|
+
<td>Simply unpack and run <code>mb</code> from inside</td>
|
|
59
|
+
</tr>
|
|
60
|
+
<tr>
|
|
61
|
+
<td>OS-specific packages</td>
|
|
62
|
+
<td>No</td>
|
|
63
|
+
<td>Yes</td>
|
|
64
|
+
<td>
|
|
65
|
+
<ul>
|
|
66
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.45.pkg">pkg</a></li>
|
|
67
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-1.2.45-1.x86_64.rpm">rpm</a></li>
|
|
68
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank_1.2.45_amd64.deb">deb</a></li>
|
|
69
|
+
</ul>
|
|
70
|
+
</td>
|
|
71
|
+
<td>Puts <code>mb</code> at <code>/usr/local/bin</code>, which is generally in the <code>PATH</code>.</td>
|
|
72
|
+
</tr>
|
|
73
|
+
<tr>
|
|
74
|
+
<td>source tarball</td>
|
|
75
|
+
<td>Yes</td>
|
|
76
|
+
<td>No</td>
|
|
77
|
+
<td>
|
|
78
|
+
<ul>
|
|
79
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v1.2/mountebank-v1.2.45-npm.tar.gz">mb</a></li>
|
|
80
|
+
</ul>
|
|
81
|
+
</td>
|
|
82
|
+
<td>source tarball if you roll that way.</td>
|
|
83
|
+
</tr>
|
|
84
|
+
</table>
|