io.rest-assured:spring-mock-mvc breaking changes
io.rest-assured:spring-mock-mvc 7.0.0-RC1 (November 28, 2026) is its newest release with breaking changes, 19 of them. The first: Apache HttpClient 4 is no longer a dependency in io.rest-assured:spring-mock-mvc 7.0.0-RC1. Every breaking API change we have recorded in io.rest-assured:spring-mock-mvc on Maven Central: 19 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 7.0.0, released November 28, 2026. Source repository
Packages on Maven Central run on Java. Java end of life dates.
io.rest-assured:spring-mock-mvc 7.0.0-RC1 breaking changes
- Removed
httpclient, httpmime, httpcore, commons-codec and commons-logging are no longer pulled in. Add them to your own build if your code uses them. github.com - Removed
Add json-path-gpath (and xml-path-gpath for XML and HTML) to keep using paths and jsonPath(). Without it, path expressions fail. github.com - Removed
CookieFilter.getCookieStore
The method returning an HttpClient 4 CookieStore is gone. Use getCookies() and addCookie(..) instead. github.com - Removed
HttpClientConfig.httpMultipartMode
The HttpClient 4 based httpMultipartMode methods are gone. Use multipartMode with io.restassured.config.MultipartMode. github.com - Removed
io.restassured.internal.http.HTTPBuilder
Custom authentication schemes must implement authenticate(AuthenticationContext) instead of the removed HTTPBuilder variant. github.com - Removed
ObjectMapperType.JACKSON_1
Jackson 1 types such as ObjectMapperType.JACKSON_1 are gone, and Jackson 1 on the classpath is no longer used. Switch to Jackson 2 or 3. github.com - Removed
SSLConfig.sslSocketFactory
Methods using SSLSocketFactory or X509HostnameVerifier are gone. Use sslContext, hostnameVerifier, allowAllHostnames or strictHostnames instead. github.com - Renamed
io.rest-assured:json-path
The old artifacts are relocation poms that still resolve in 7.x. Update build files to the new names. github.com - Behavior changed
Requests are sent with java.net.http.HttpClient by default. Header names, status phrases and connection reuse differ, so add http-client-apache5 for the old behavior. github.com - Behavior changed
auth().digest
Servers that ask for Basic authentication no longer get credentials and return 401. Use basic(..) if you need to answer Basic challenges. github.com - Behavior changed
auth().oauth
The request line uses origin form, such as GET /path?oauth_consumer_key=.., instead of the absolute URI. Check any tooling that parses the request line. github.com - Behavior changed
body
Paths such as $.store.book[0].title now behave like store.book[0].title instead of returning null or spreading over arrays. Recheck existing paths. github.com - Behavior changed
connectTimeout
Connect and read timeouts now throw ConnectionTimeoutException and ResponseTimeoutException. Catching SocketTimeoutException or IOException still works. github.com - Behavior changed
cookie
A cookie with no value is sent as name= rather than name=null, and reads as null in filters. Code that expected the text null must change. github.com - Behavior changed
given().trustStore
Host name verification is strict by default, so mismatched certificates fail with SSLException. Add allowAllHostnames() to the SSL config to keep the old behavior. github.com - Behavior changed
header
Headers whose names differ only by case are each sent under the first name used, instead of only the last one. Code that relied on overwriting must change. github.com - Behavior changed
jsonPath
Calling these methods without json-path-gpath or xml-path-gpath on the classpath now fails. Add the matching dependency. github.com - Behavior changed
multiPart
Byte arrays are sent as raw bytes with the default file name instead of Base64 text. Code that depended on the old encoding must change. github.com - Behavior changed
requestSpecification
Specifications are copied on send, so properties set during a send are no longer kept on the specification. Code that inspects a sent specification must change. github.com
Related packages
- io.rest-assured:xml-path
- io.rest-assured:spring-web-test-client
- io.rest-assured:scala-support
- io.rest-assured:rest-assured-all
- io.rest-assured:rest-assured-common
- io.rest-assured:kotlin-extensions
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.