Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Jan 20, 2020

Bumps rest-assured from 4.1.2 to 4.2.0.

Changelog

Sourced from rest-assured's changelog.

Changelog 4.2.0 (2020-01-17)

  • Jakarta EE API: switch from javax.xml.bind:jaxb-api to jakarta.xml.bind:jakarta.xml.bind-api (issue 1228) (thanks to Sanne Grinovero for pull request)

  • Ignore unsupported by scripbejava verbs (thanks to Corneliu Duplachi for pull request)

  • Add support for SameSite in Cookie (issue 1255) (thanks to Andreas Jonsson for pull request)

  • Upgrading jackson2 from version 2.10.0 to 2.10.2

  • Introduced the spring-mock-mvc-kotlin-extensions project which allows a nicer experience for Kotlin developers using the spring-mock-mvc module. This allows one to write tests like this:

    class RestAssuredMockMvcKotlinExtensionsTest {

      @Test
      fun example() {
          val mockMvc =
              MockMvcBuilders.standaloneSetup(GreetingController())
                  .build()
    
      val id: Int =
      Given {
          mockMvc(mockMvc)
          param("name", "Johan")
      } When {
          get("/greeting")
      } Then {
          body(
              "id", Matchers.equalTo(1),
              "content", Matchers.equalTo("Hello, Johan!")
          )
      } Extract {
          path("id")
      }
    

    assertThat(id).isEqualTo(1)

    }

    (thanks to Myeonghyeon-Lee for pull request)

  • Added a new object mapper type that supports the Jakarta EE JSON Binding (JSON-B) specification. By default it will use Eclipse Yasson as the JSON-B implementation. To use it simply include

    org.eclipse yasson ${yasson.version}

    in your classpath and then configure REST Assured to use it as its default ObjectMapperType:

    RestAssured.config = RestAssured.config.objectMapperConfig(ObjectMapperConfig.objectMapperConfig().defaultObjectMapperType(ObjectMapperType.JSONB));

    (thanks to Andrew Guibert for pull request)

  • Added ability to blacklist headers so that they are not shown in the request or response log. Instead the header value will be replaced with "[ BLACKLISTED ]". You can enable this per header basis using the LogConfig:

... (truncated)
Commits
  • 33666cb [maven-release-plugin] prepare release rest-assured-4.2.0
  • 9fae422 Updated changelog with the date of the 4.2.0 release
  • edb411b Added blacklisted headers when using peek and prettyPeek
  • b555fe4 Fixed typo in changelog
  • a2e3085 Updated changelog to reflect latest changes
  • 991ec5c Added blacklisted headers to form auth logging and mockmvc
  • d09a101 Also hiden blacklisted response headers
  • aff2a28 Changed from HIDDEN to BLACKLISTED for logged headers that marked included in...
  • fe287c5 Moved blacklist configuration into LogConfig
  • 4dc93c1 Returning an immutable set of blacklisted headers from LogBlacklists + fixed ...
  • Additional commits viewable in compare view

Dependabot compatibility score

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.

If all status checks pass Dependabot will automatically merge this pull request.


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)
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the .dependabot/config.yml file in this repo:

  • Update frequency
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jan 20, 2020
@dependabot-preview
Copy link
Contributor Author

Dependabot tried to automerge this PR, but received the following error from GitHub:

Waiting on code owner review from bsideup, kiview, and/or rnorth.

@rnorth rnorth merged commit 9b27f6b into master Jan 23, 2020
@rnorth rnorth deleted the dependabot/gradle/modules/vault/io.rest-assured-rest-assured-4.2.0 branch January 23, 2020 19:24
quincy pushed a commit to quincy/testcontainers-java that referenced this pull request May 28, 2020
…rs#2266)

Bumps [rest-assured](https://github.com/jayway/rest-assured) from 4.1.2 to 4.2.0.
- [Release notes](https://github.com/jayway/rest-assured/releases)
- [Changelog](https://github.com/rest-assured/rest-assured/blob/master/changelog.txt)
- [Commits](rest-assured/rest-assured@rest-assured-4.1.2...rest-assured-4.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: Richard North <rich.north@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants