MockServer v5.13.1 Release Notes

Release Date: 2022-04-02 // about 2 years ago
  • โž• Added

    • simplified JSON format accepted for headers and other multi-value maps by allowing single values to be used as value list
    • โž• added warning message when content-length in expectation response is shorter than the body length
    • ๐Ÿ‘Œ improved log output for multimap failures, especially when using schema matcher (i.e. with OpenAPI) for parameters, headers, etc
    • โž• added support for endpoints examples in addition to existing schemas examples in an OpenAPI specifications

    ๐Ÿ”„ Changed

    • ๐Ÿ‘Œ improved error messages from main method
    • 0๏ธโƒฃ always serialise default fields for StringBody and JsonBody when retrieving recorded expectations for consistency even when the charset changes
    • ๐Ÿ‘ allow (and ignore) additional timestamp field for expectation JSON to support record request and responses to be submitted as JSON expectations
    • โฌ†๏ธ upgraded JVM version in docker (and helm) to 17
    • โฌ‡๏ธ reduced memory footprint from log and simplified calculation of maximum log size
    • ๐Ÿคก use JVM trust store in addition to MockServer CA for MockServerClient to allow control plane requests to go via proxies or load balancers that terminate TLS

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ allow callback which is nested inside initializer class for maven plugin initializer
    • ๐Ÿ›  fixed HttpClassCallback static builder signature
    • ๐Ÿ‘Œ improved parsing of media type parameters to handle parameter values with equal symbol
    • ๐Ÿ›  fixed serialising certificate chain to dashboard UI
    • ๐Ÿ‘‰ used absolute URI form for requests to an HTTP proxy as per rfc2068 section 5.1.2
    • โœ‚ removed content-length and other hop by hop response headers for forward actions
    • ๐Ÿ›  fixed handling of headers and parameters specified without any values
    • ๐Ÿ›  fixed logLevel in MockServer instance Configuration, so it now sets the SystemProperty read by the logging configuration
    • ๐Ÿ›  fixed parallel execution of MockServerExtension to prevent port bind errors
    • ๐Ÿ›  fixed error parsing body parameters containing '/'
    • โœ‚ removed external references to schema specification to remove required network connectivity
    • ๐Ÿ›  fixed docker latest tag by worked around bug in sonatype not updating the LATEST metadata for snapshots
    • ๐Ÿ›  fixed partial deletion of expectations from watched file initialiser
    • resolved small memory leak during proxy authentication
    • โšก๏ธ updated verify by expectation id so it uses expectation match log events instead of the request matcher from the expectation