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