Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 6, 2025

This PR contains the following updates:

Package Change Age Confidence
io.rest-assured:rest-assured (source) 5.3.05.5.6 age confidence

Release Notes

rest-assured/rest-assured (io.rest-assured:rest-assured)

v5.5.6

  • Remove deprecated constructors in multipart handling (#​1827) (thanks to Tobias Unger for PR)
  • Fix NPE in RequestSpecificationImpl #​1830 (thanks to Boyarshinov Alexander for PR)
  • Bump commons-lang3 from 3.16.0 to 3.18.0 (thanks to Ash Skelton for PR)

v5.5.5

  • The rest-assured-bom project is back and works

v5.5.4

  • The rest-assured-bom project is back

v5.5.3

  • Greatly improved csrf support. When applying csrf, it'll automatically forward the cookies to returns from the GET request to the csrf token and apply it to the actual request. These cookies will also be applied to the CookieFilter automatically (if configured) and SessionFilter (if configured). For example:
    given().
    csrf("/login").
    formParam("name", "My New Name").
    when().
    post("/users/123").
    then().
    statusCode(200);

    Now the cookies returned from the GET request to login will be automatically applied to the POST to "/users/123".

    If you have a CookieFilter defined for multiple requests, the cookies returned by GET to /login will be automatically stored in the CookieFilter and used in the second request.

      var cookieFilter = new CookieFilter()
      given().filter(cookieFilter).csrf("/login").formParam("name", "My New Name").when().post("/users/123").then().statusCode(200);
      given().filter(cookieFilter).when().get("/users/123").then().statusCode(200);
    

    You can disable this behavior by setting automaticallyApplyCookies to false the csrf config:
    given().
    config(config().csrfConfig(csrfConfig().automaticallyApplyCookies(false))).
    csrf("/login").
    when().
    ...

v5.5.2

  • CookieFilter now supports setting cookies correctly when Apache HTTP Client does internal redirects (when redirects().follow(true) is set).
  • Upgrading kotlin module to use Kotlin 2.2.1
  • Downgrading scale module to version 3.3.3 (LTS version) (thanks for Carlos Eduardo for PR)

v5.5.1

  • Use Long in maxAge(Matcher<? super Integer> maxAgeMatcher) (thanks to julianladisch for PR)
  • Fix so that GZIP doesn't become gzıp for Turkish environments (thanks to rdmrtn for PR)
  • Upgraded jakarta.jakartaee-web-api to version 10.0.0 (#​1800)

v5.5.0

  • Removing custom validation of pathParams in the mock-mvc module and instead rely on the Spring implementation(issue 1782) (thanks to taeyeon-Kim for pull request)

  • Fixing "Error java.lang.NoSuchMethodError for HttpMethod.resolve()" in mock-mvc module (issue 1760) (thanks to d0vi for pull request)

  • Fix #​1707: SVG file upload - fatal error :1:1: content is not allowed in prolog (#​1777) (thanks to Byounghee kim for pull request)

  • Fix #​1773: Remove check for response HTTP status code. (thanks to macmon for pull request)

  • Introducing the "scala-extensions" module for Scala 3 (#​1770). This means that you can write tests like this in Scala 3:

    @​Test
    def extraction with rest assured scala extensions: Unit =
    val message: String = Given(req =>
    req.port(7000)
    req.header("Header", "Header")
    req.body("hello")
    )
    .When(
    _.put("/the/path")
    )
    .Extract(
    _.path("message")
    )
    assertThat(message).isEqualTo("Hello World")
    (thanks to Carlos Eduardo for pull request)

  • Remove deprecated Content-Transfer-Encoding from multipart post headers (#​1762) (thanks to Michal Trna for pull request)

  • Fixed pathParams double encoding in mock-mvd module (#​1756) (thanks to Dmitry Kaukov for pull request)

  • Upgraded Groovy from version 4.0.16 to 4.0.22

  • Upgraded Jackson from version 2.14.3 to 2.17.1

  • Upgraded kotlin extension module to use Kotlin 2.0.0 (previously 1.9.20 was used)

  • Upgraded Guava library from 32.0.1-jre to 33.2.1-jre

v5.4.0

  • Properly parse primitive JSON values (thanks to Jörg Eichhorn for pull request)
  • Upgraded Groovy from 4.0.10 to 4.0.16
  • Introduce spring-web-test-client-kotlin-extensions (#​1731) (thanks for TheDevLuffy for pull request). This means that if you depend on: org.restassured:spring-web-test-client-kotlin-extensions:<version> you can write code like this for Spring WebTest client:
    val id: Int =
    Given {
    webTestClient(webTestClient)
    param("name", "Johan")
    } When {
    get("/greeting")
    } Then {
    body(
    "id", Matchers.equalTo(1),
    "content", Matchers.equalTo("Hello, Johan!")
    )
    } Extract {
    path("id")
    }
  • Fix 1746: JsonPath: wrong result and exception when jsonPath partly evaluates to string/boolean/number (#​1747) (thanks to Oleksandr Kulychok for pull request)
  • Add support for negative indexes in JsonPath (thanks to Oleksandr Kulychok for pull request). This means that you can now do e.g. String object = JsonPath.from("").getString("[-1].email");
  • Upgraded Kotlin from 1.9.10 to 1.9.21

v5.3.2

  • Add onFailMessage into validatable response (#​1724). This means that you can use onFailMessage after then like: when().get("/somewhere").then().onFailMessage("My fail message").statusCode(200); (thanks to Ilya Koshaleu for pull request)
  • Added support for path parameters methods in RestAssuredMockMvc (#​1723) (thanks to Jefersom Martins for pull request)
  • Make header blacklisting case-insensitive (#​1722) (thanks to Bekh-Ivanov Aleksey for pull request)
  • Blacklisted headers added to LogConfig are now case-insensitive by default
  • Fixed so that testing multipart data request along with passing path parameters doesn't fail anymore in RestAssuredMockMvc (#​1673) (thanks to Andrey Demin for pull request)
  • Improved compatibility issues with newer version of Spring Security
  • Upgraded kotlin from 1.8.22 to 1.9.10
  • Upgraded scala to 2.12.18

v5.3.1

  • Upgraded Guava library to 32.0.1-jre
  • Fixed "Unexpected logic in PathSupport.getPath" (issue 1682) (thanks to fucct for pull request)
  • Fixed "Not able to POST xml file using Inpustream" (issue 1160) (thanks to Balasaravanan for pull request)
  • Fixed "MockMvcRequestSenderImpl convertCookies function is not copying the httpOnly, sameSite and expires from the servletCookies into the cookieBuilder" (issue 1462) (thanks to Justin Tay for pull request))
  • Fixed "Accept cookies that have an expiration date" (issue 1430) (thanks to Stéphane Épardaud for pull request)
  • Upgraded the Kotlin extension module to use Kotlin 1.8.22
  • Upgraded Groovy to 4.0.11
  • Upgraded faster jackson to 2.14.3
  • Upgraded Hamcrest to 2.2

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from filipowm January 6, 2025 07:17
@renovate renovate bot changed the title chore(deps): update dependency io.rest-assured:rest-assured to v5.5.0 chore(deps): update dependency io.rest-assured:rest-assured to v5.5.1 Feb 14, 2025
@renovate renovate bot force-pushed the renovate/io.rest-assured-rest-assured-5.x branch from 2f86ad3 to 51dd060 Compare February 14, 2025 16:39
@renovate renovate bot changed the title chore(deps): update dependency io.rest-assured:rest-assured to v5.5.1 chore(deps): update dependency io.rest-assured:rest-assured to v5.5.2 May 14, 2025
@renovate renovate bot force-pushed the renovate/io.rest-assured-rest-assured-5.x branch from 51dd060 to 5361e95 Compare May 14, 2025 12:45
@renovate renovate bot changed the title chore(deps): update dependency io.rest-assured:rest-assured to v5.5.2 chore(deps): update dependency io.rest-assured:rest-assured to v5.5.5 May 22, 2025
@renovate renovate bot force-pushed the renovate/io.rest-assured-rest-assured-5.x branch from 5361e95 to bdb8fec Compare May 22, 2025 17:19
@renovate renovate bot changed the title chore(deps): update dependency io.rest-assured:rest-assured to v5.5.5 chore(deps): update dependency io.rest-assured:rest-assured to v5.5.6 Aug 15, 2025
@renovate renovate bot force-pushed the renovate/io.rest-assured-rest-assured-5.x branch from bdb8fec to 316e4aa Compare August 15, 2025 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant