v1.4.1 is primarily a documentation release.
- A new and exciting JSON contract explorer to help you navigate the mountebank API.
- Improved documentation for https mutual authentication
- Renamed stub resolver to response type for clarity
- Changed the tcp proxy
tofield to a URL string to match the format of the http
tofield. This is a backwards-compatible change; the old object format will still be honored.
- Fixed the JSON /logs resource
- Erroring if multiple response types included in single response configuration
- Maintain the case of http headers (issue 75)
Many thanks to the following kind folk for help with this release:
- Nils Janson
- Sean Bennett
- Cannon Biggs
npm install -g email@example.com --production
|Option||node.js required?||sudo required?||links||Description|
|Self-contained archives||No||No||Simply unpack and run
|source tarball||Yes||No||source tarball if you roll that way.|
Windows path limitations
*mountebank wishes very much for your Windows experience to be hassle-free, but he is simply not qualified to address a particular constraint of Windows Explorer. For legacy reasons, some Windows applications, including most notably Windows Explorer, have a maximum number of characters allowed in a path of 260 characters. As mountebank writes these words, the longest path he includes in the zip files is around 175 characters. The zip file name, which is likely to represent itself as two nested directories if you use the defaults to unzip it, will be around 25 characters. That gives you very little wiggle room. If you unzip the file in your users directory, you may very likely get an error because of this constraint.
The following solutions will all work:
- Unzip to the root of your C: drive (or a similar small path)
- Use 7zip to unzip the file instead of Windows Explorer
npmto install mountebank instead of the zip file