io.rest-assured:json-path breaking changes
Updated December 4, 2026
On this page
Latest version 7.0.0, released November 28, 2026. The registry marks it deprecated: Relocated to io.rest-assured:json-path-gpath. json-path is called json-path-gpath since REST Assured 7.0.0. Use io.rest-assured:json-path-gpath instead, since json-path is removed in REST Assured 8.0.0.. Source repository
Packages on Maven Central run on Java. Java end of life dates.
io.rest-assured:json-path 7.0.0-RC1 breaking changes
- Removed
Add httpclient, httpmime and related libraries to your own build if your code uses them. github.com - Removed
Add json-path-gpath and xml-path-gpath to keep using paths and jsonPath() as before. github.com - Removed
CookieFilter.getCookieStore
Use getCookies() and addCookie(..) instead. github.com - Removed
HttpClientConfig.HttpClientFactory
Configure the client with HttpClientConfig settings or customizeClient instead. github.com - Removed
httpMultipartMode
Use multipartMode(..) and multipartMode() with io.restassured.config.MultipartMode. github.com - Removed
io.restassured.internal.http.HTTPBuilder
Custom authentication schemes must implement authenticate(AuthenticationContext). github.com - Removed
ObjectMapperType.JACKSON_1
Jackson 1 classes and settings are gone, and Jackson 1 on the classpath is no longer used for object mapping. github.com - Removed
SSLConfig.sslSocketFactory
Use sslContext, hostnameVerifier, allowAllHostnames or strictHostnames instead. github.com - Renamed
json-path
Use io.rest-assured:json-path-gpath. The old name still resolves in 7.x through a relocation pom. github.com - Renamed
xml-path
Use io.rest-assured:xml-path-gpath. The old name still resolves in 7.x through a relocation pom. github.com - Behavior changed
Requests use the JDK HttpClient by default, which changes header case, reason phrases, User-Agent and connection reuse. Add http-client-apache5 for closer behavior. github.com - Behavior changed
Mismatched major or minor versions of rest-assured-common, json-path-gpath or xml-path-gpath now fail. Use the rest-assured-bom. github.com - Behavior changed
auth().basic
Basic, digest and NTLM credentials for hosts like my_service now answer challenges only from that host and port. github.com - Behavior changed
auth().digest
digest(userName, password) now answers only Digest challenges. Use basic(..) if you need to answer Basic challenges too. github.com - Behavior changed
auth().oauth
With OAuthSignature.QUERY_STRING the request line is now in origin form. The signature and target URI are unchanged. github.com - Behavior changed
body
Values such as beans, records and java.time values are written by the configured object mapper instead of as bean properties. github.com - Behavior changed
connectTimeout
Connect timeouts throw ConnectionTimeoutException and read timeouts throw ResponseTimeoutException. Code catching SocketTimeoutException or IOException keeps working. github.com - Behavior changed
cookie
Cookies without a value are sent as name= and read back with a null value in filters. Adjust code that expected the string null. github.com - Behavior changed
given
Sent specifications keep their original state, so code that inspects them after a send sees only what was set before. github.com - Behavior changed
header
A Cookie header set manually is now combined with cookies from other settings in one header, not dropped. github.com - Behavior changed
jsonPath
Calling these without json-path-gpath or xml-path-gpath on the classpath now fails with a message naming the dependency. github.com - Behavior changed
maxRedirects
Exceeding RedirectConfig.maxRedirects throws TooManyRedirectsException, a java.net.ProtocolException, instead of ClientProtocolException. github.com - Behavior changed
multiPart
A byte[] part is now sent as raw bytes with application/octet-stream and a default file name instead of Base64 text. github.com - Behavior changed
path
Paths such as $.store.book[0].title now behave like store.book[0].title instead of returning null or spreading over arrays. github.com - Behavior changed
relaxedHTTPSValidation
A wrong key store password now fails the request rather than the relaxedHTTPSValidation call. github.com - Behavior changed
RestAssured.certificate
With relaxed validation in RestAssured.config, certificate(certURL, password) now sends the client certificate and trusts every server certificate. github.com - Behavior changed
setParam
Apache HttpClient 4 parameters that REST Assured no longer reads fail the request. Use the listed settings instead. github.com - Behavior changed
trustStore
trustStore and keyStore with a password now verify host names strictly. Add allowAllHostnames() to the SSL config to keep the old behavior. github.com - Signature changed
JsonConfig.numberReturnType
JsonConfig no longer takes JsonPathConfig.NumberReturnType. Use the rest-assured-common type. github.com - Signature changed
ObjectMapperConfig
The factory getters now return rest-assured-common types instead of the old ones. github.com
Related packages
- io.rest-assured:xml-path
- io.rest-assured:spring-web-test-client
- io.rest-assured:spring-mock-mvc
- io.rest-assured:scala-support
- io.rest-assured:rest-assured-all
- io.rest-assured:rest-assured-common
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.