Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump rest-assured.version from 4.1.2 to 4.2.0 #6704

Merged
merged 1 commit into from Jan 23, 2020

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps rest-assured.version from 4.1.2 to 4.2.0.
Updates 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

Updates json-schema-validator from 4.1.2 to 4.2.0

You can trigger a rebase of this PR 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)
  • @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
  • 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 area/dependencies Pull requests that update a dependency file label Jan 21, 2020
@gsmet gsmet force-pushed the dependabot/maven/rest-assured.version-4.2.0 branch from 0e08956 to 40db552 Compare January 22, 2020 11:47
@gsmet
Copy link
Member

gsmet commented Jan 22, 2020

I pushed some additional changes related to the upgrade.

@gsmet gsmet added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Jan 22, 2020
@gsmet gsmet force-pushed the dependabot/maven/rest-assured.version-4.2.0 branch 4 times, most recently from 98a2362 to 7c886e3 Compare January 23, 2020 09:51
Bumps `rest-assured.version` from 4.1.2 to 4.2.0.

Updates `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)

Updates `json-schema-validator` from 4.1.2 to 4.2.0

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@gsmet gsmet force-pushed the dependabot/maven/rest-assured.version-4.2.0 branch from 7c886e3 to 17a6aaf Compare January 23, 2020 12:22
@gsmet gsmet merged commit 0696812 into master Jan 23, 2020
@gsmet gsmet added this to the 1.3.0 milestone Jan 23, 2020
@dependabot-preview dependabot-preview bot deleted the dependabot/maven/rest-assured.version-4.2.0 branch January 23, 2020 22:53
@gsmet gsmet mentioned this pull request Jan 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dependencies Pull requests that update a dependency file area/mongodb area/security triage/waiting-for-ci Ready to merge when CI successfully finishes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant