v2.5.0
This release is largely centered around modernizing the codebase and simplifying the build process. That involved removing some previously supported install options:
Install changes
- The only supported installation options are now npm and Docker. The OS-specific install packages available previously were not used enough to justify the considerable complexity they added to the build process.
- After some confusion, I reverted the Dockerfile back to use
CMD
instead ofENTRYPOINT
, which allows you usemb
on thedocker run
command. An example is listed on the getting started page.
New Features
- Support the HTTP CONNECT method in http proxies
- Better support for embedding mountebank into a node express app for those who want to bypass the CLI
Bug Fixes
- Ensure there is always a logging transport to avoid logger errors on startup
- Ensure that the
defaultResponse
andendOfRequestResolver
is returned as part of the imposter configuration - Fix detection of compressed encodings beyond gzip for http
- Fix Windows
shellTransform
bug with long commands
Contributors
Many thanks to the following kind folks for help with this release, either through bug reports, suggestions, or direct code contributions:
- Angela
- Daegon Kim
- William Yang
- Jacob Bolda
- o.drapeza
- rossanthony
- Tomasz Zwierzchon
Install
npm install -g mountebank@2.5.0