MockServer v5.14.0 Release Notes

Release Date: 2022-08-22 // over 1 year ago
  • โž• Added

    • โž• added support for json serialisation and de-serialisation java date time
    • ๐Ÿ‘Œ support for server urls in OpenAPI specification, by adding server url path as path prefix to operations
    • ๐Ÿ‘Œ improved documentation of clear functionality and type parameter and added examples
    • ๐ŸŒฒ local ip and port exposed to callbacks and log, useful when bound on multiple ports
    • ability to match on content-encoding header
    • โž• added support for custom HTTP methods (via assumeAllRequestsAreHttp)

    ๐Ÿ”„ Changed

    • ๐Ÿš€ used helm release name in K8s resources to avoid conflicts for multiple deployments in same namespace (without extra values being set)
    • ๐Ÿ”ง tlsMutualAuthenticationCertificateChain is used if configured, even if tlsMutualAuthenticationRequired is false, so clients can choose correct certificate for optional client auth

    ๐Ÿ›  Fixed

    • error matching header or parameters using array schema
    • โšก๏ธ updated Ingress apiVersion in helm chart to non deprecated value
    • โœ‚ removed the jdk14 slf4j bindings from the shaded and no-dependencies jars
    • ๐Ÿ›  fixed NullPointerException and added more context information for match failures
    • ๐Ÿ›  fixed NullPointerException during matcher logging
    • ๐Ÿ›  fixed override logic for query and path parameters
    • ๐Ÿ›  fixed verification of path parameters with multiple path parameter expectations
    • ๐Ÿ›  fixed matching for array parameters using OpenAPI or a schema based parameter matcher
    • resolved errors matching path by regex against expectations with path parameters
    • ๐Ÿ”Š resolved error with some deleted logs still appearing in the dashboard
    • ๐Ÿคก Content-Length is not added if a mock response set Transfer-Encoding

Previous changes from v5.13.2

  • ๐Ÿ›  Fixed

    • ๐Ÿ›  fixed artefact name in no-dependencies pom which caused issue with gradle builds
    • โž• added support for yml in addition to yaml for yaml files