Skip to content

v2.10.0

Latest

Choose a tag to compare

@mattherman mattherman released this 16 Nov 22:00
· 2 commits to master since this release
a24a3ae

New Features

  • Added a chaos behavior for probabilistic fault injection, useful for resilience and chaos engineering tests. It can replace a percentage of responses with an error status code (errorRate and errorStatusCode), delay a percentage of responses by a random amount of time (latencyRate and maxLatencyMs), or both.

Changes

  • mountebank now requires node v20.19 or higher, up from v20. The newer minimum is needed for node's support of requireing ES modules, which http-proxy-agent relies on after its move to ESM
  • Updated http-proxy-agent to v9, used when proxying through an http proxy configured with the HTTP_PROXY environment variable. Proxying behavior is unchanged
  • Updated smtp-server to v3.21.3 and mailparser to v3.14.2, used by smtp imposters
  • Updated csv-parse to v7.0.3, used by the lookup behavior
  • Resolved a denial of service advisory in body-parser, which mountebank pulls in through express. express itself is unchanged at v5.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