Moved package io.restassured.assertion to io.restassured.internal.assertion since the classes in this package should be internal.
Not all files have been moved yet, but refactoring will continue in the next release.
Added support for Spring Framework 6.0 and Jakarta API's in Spring MockMvc module.
Changelog 5.0.1 (2022-04-06)
Fixed so that with RestAssuredHttpBuilder no longer requires ResponseSpecificationImpl but rather a FilterableResponseSpecification
Changelog 5.0.0 (2022-03-25)
Breaking change: REST Assured now builds on Groovy 4!
Excluded example projects from rest assured bom file (issue 1546)
Updated jackson from version 2.11.1 to 2.13.2 (issue 1555)
Changelog 4.5.1 (2022-02-11)
Fixed a bug in ObjectMapper that required JAXB/JakartaEE when this was not intended (issue 1542)
Changelog 4.5.0 (2022-01-21)
JAXB is now an optional dependency for XmlPath and is now longer required. Depend on 'jakarta.xml.bind:jakarta.xml.bind-api:2.3.3' and 'com.sun.xml.bind:jaxb-impl:2.3.3'
Implemented support for serializing and deserializing with Jakarta EE 8 and 9. To use it you need to have Jakarta EE on the classpath, for example by depending on 'jakarta.xml.bind:jakarta.xml.bind-api:3.0.1' and 'org.glassfish.jaxb:jaxb-runtime:3.0.2'.
Upgraded groovy from 3.0.8 to 3.0.9 (thanks to sullis for pull request)
Added support for adding multiple LogDetails to the RequestLoggingFilter. You can now do e.g.:
Fix default implementation of deprecated method detachRoot (#1503) (thanks to Guillaume Boucherie for pull request)
Add on fail message builder for response specification (#1502). This means that you can no do:
when().
get().
then().
onFailMessage("Some specific message").
statusCode(200);
The "onFailMessage" will be shown in the error. This is good if you want to e.g. distinguish more easily between tests if they fail. (thanks to Victor Borovlev for pull request)
Allow parsing responses with cookies that has numbers out of signed decimal range (#1069). This is a backward incompatible change if you're using the maxAge on "DetailedCookie" which now takes a long instead of an int. (thanks to Michał Radomyski for pull request)
Upgraded the kotlin extension module to use Kotlin 1.6.10 instead of 1.5.0
Introduced a rest-assured bom project for maven. Depend on 'io.rest-assured:rest-assured-bom:4.5.0' to use it. The bom contains configuration details for the rest-assured project that imports the correct dependencies (and versions) and to build your project. (thanks to George Gastaldi for pull request)
Added "noContentType()" method to RequestSpecification which allows you to remove the content-type from the request if needed. For example:
given().
noContentType().
when().
post("/somewhere").
then().
statusCode(200);
(issue 1516)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps
rest-assured.version
from 4.4.0 to 5.1.0. Updatesrest-assured
from 4.4.0 to 5.1.0Changelog
Sourced from rest-assured's changelog.
... (truncated)
Commits
e703f88
[maven-release-plugin] prepare release rest-assured-5.1.0b2df292
Preparing changelog for releaseb105b84
Updated changelog.txtaa8dd42
Fixed a place where reflection was not usede9e0fd7
Added support for Spring Framework 6.0 and Jakarta API's in Spring MockMvc mo...302b69e
Refactored CookieMatcher from Groovy to Java645c860
Upgrading kotlin to 1.6.21df9261c
Continued with refactoring5b6c722
Added setters to ObjectDeserializationContextImpl so that it can be accessed ...f7fda9d
Continued refactoringUpdates
json-schema-validator
from 4.4.0 to 5.1.0Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)