Skip to content

MockServer 9.4.1

Latest

Choose a tag to compare

@jamesdbloom jamesdbloom released this 01 Dec 18:45
· 20 commits to master since this release

[9.4.1] - 2026-12-01

Added

Changed

  • initializationJsonPath and initializationOpenAPIPath can only be set at startup (BREAKING for anyone who changes initializationJsonPath or initializationOpenAPIPath with PUT /mockserver/configuration or a client's updateConfiguration; see upgrading to 9). These settings name the files MockServer loads expectations from, but a PUT /mockserver/configuration could change them on a running server. MockServer kept watching the files it started with, yet when one of them changed it reloaded from whatever files the setting named by then, so a watched server could quietly load a different file from the one it was started with. They now behave like the other settings that name files the server reads or writes, such as staticFilesDirectory, grpcProtocPath and customJsonUnitMatchersClass: a PUT that sets a different value is still answered, but the value is ignored, a warning is logged and GET /mockserver/configuration reports the value in force; a PUT that sends the value already in force logs nothing. Set them before the server starts with a system property, environment variable, mockserver.properties, the --init or --openapi command-line option, or Configuration. To load more expectations into a running server, send them with PUT /mockserver/expectation or PUT /mockserver/openapi instead
  • snapshot builds (the :snapshot Docker image tags, the Sonatype SNAPSHOT jars and the snapshot bundles) now publish once a week, on Monday at 02:00 UTC, instead of nightly, so a snapshot can be up to a week behind master

Fixed

  • A forward to an HTTPS upstream whose TLS handshake timed out, or that closed the connection during the handshake, no longer also logs a Netty TLS handshake failed warning with Netty 4.2.21 or later; the failed forward is still reported once, with its reason
  • The ARM64 Docker images now run Eclipse Temurin 27.0.1.1, and the ARM64 -clustered image Temurin 21.0.13.1, the same Java builds as the x86-64 images, instead of 27.0.1.0.2 and 21.0.13. ARM64 was not affected by CVE-2026-114938; this keeps their Java up to date (#3059)