Repository navigation
New Features
- Added a
chaosbehavior for probabilistic fault injection, useful for resilience and chaos engineering tests. It can replace a percentage of responses with an error status code (errorRateanderrorStatusCode), delay a percentage of responses by a random amount of time (latencyRateandmaxLatencyMs), or both.
Changes
- mountebank now requires node
v20.19or higher, up fromv20. The newer minimum is needed for node's support ofrequireing ES modules, whichhttp-proxy-agentrelies on after its move to ESM - Updated
http-proxy-agenttov9, used when proxying through anhttpproxy configured with theHTTP_PROXYenvironment variable. Proxying behavior is unchanged - Updated
smtp-servertov3.21.3andmailparsertov3.14.2, used bysmtpimposters - Updated
csv-parsetov7.0.3, used by thelookupbehavior - Resolved a denial of service advisory in
body-parser, which mountebank pulls in throughexpress.expressitself is unchanged atv5.1.0
Contributors
Many thanks to the following kind folks for help with this release, either through bug reports, suggestions, or direct code contributions:
- Tuğkan Boz
- Matthew Herman