MockServer v5.8.1 Release Notes

Release Date: 2019-12-23 // over 4 years ago
  • ➕ Added

    • 🔄 changelog
    • ➕ added configuration for all CORS headers
    • ➕ added support for forward proxy authentication (via configuration)
    • ➕ added support for overriding forward responses by class or closure
    • ⚡️ requests sent to MockServerClient can be updated / enhanced i.e. to support proxies
    • 🛠 dynamic creation of a unique (i.e. local) Certificate Authority X509 Certificate and Private Key instead of using the fixed Certificate Authority X509 Certificate and Private Key in the git repo.
    • 🔧 configuration to require mTLS (also called client authentication or two-way TLS) for all TLS connections / HTTPS requests to MockServer
    • 🔧 configuration of trust store and client X.509 used during forwarded and proxied requests to endpoints requiring mTLS
    • 📚 extended TLS documentation significantly

    🔄 Changed

    • ⬇️ reduced default number of fail handles used by nio event loop
    • 👌 improved performance and scalability of logging ring buffer
    • 👌 improved performance of json serialisation
    • 🗄 deprecated isRunning and replaced with hasStopped and hasStarted to make behaviour more explicit and faster
    • 👌 improved, simplified and unified handling of Content-Type for bodies
    • ✂ remove closure callback clients and connections for expectation that no longer exist
    • ensure WebSockets for closure callback auto re-connect for unreliable networks
    • 💻 simplified XML and JSON of bodies in the log and UI
    • 👌 improved logging for CORS
    • ➕ added support for TLS with closure / WebSocket callbacks
    • simplified handling of TLS and HTTP CONNECT (which is always TLS)
    • 👌 improved JSON format for expectation to support objects instead of escaped strings

    🛠 Fixed

    • 🛠 fixed reading logLevel from system property or environment variable
    • 🖨 ensure all errors are printed to console
    • ✂ removed TLSv1.3 to avoid any issues with JVM version that do not support TLSv1.3
    • 🖐 handle proxying requests without Content-Length header
    • ➕ added support for JSON array for raw JSON in requests or responses body

    🔒 Security

    • ⚡️ updated jetty (used in code examples) to version without vulnerabilities