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 from 4.3.1 to 5.2.0 #249

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 9, 2022

Bumps rest-assured from 4.3.1 to 5.2.0.

Changelog

Sourced from rest-assured's changelog.

Changelog 5.2.0 (2022-09-09)

  • Improved FilterContext used in Filters by adding the method FilterContext#hasValue(name, object). This makes it easier to check if a value exists and is equal to the expect object.

  • Introducing a much improved CSRF (cross-site request forgery) support. For example: given(). csrf("/users"). formParm("firstName", "John"). formParm("lastName", "Doe"). when(). post("/users"). then(). statusCode(200);

    This will first make a GET request to /users (due to csrf("/users")) to get an HTML page that contains the CSRF token. Rest Assured will then automatically try to find the input field that contains the CSRF token and include in the POST to /users.

    Here's an example of what Rest Assured expects as a response for the GET request to /users:

  • Fixed so that form authentication takes CSRF into account. The previous form authentication CSRF implementation didn't really work (sorry!). Now you can combine csrf with form authentication and it actually works as expected! Note that for requests other than GET or HEAD, you need to specify both form authentication and csrf, e.g.

    given(). csrf("/users"). formParm("firstName", "John"). formParm("lastName", "Doe").

... (truncated)

Commits
  • c8e4ca5 [maven-release-plugin] prepare release rest-assured-5.2.0
  • d72c03e [ci skip] Updated changelog with release date
  • 0db04cb Fixed imports
  • 0cda329 Fixed failing test
  • 34c857a Moving sundr-maven-plugin to release profile since it doesn't seem to work on...
  • 42d4552 Cleanup
  • 4c207e8 Upgrading sundr-maven-plugin to 0.93.0
  • 246ba87 Added csrf to RequestSpecBuilder.java
  • a6216b7 Fixed some bugs and made some improvements to CSRF
  • 50ad97a Upgraded kotlin module to using Kotlin 1.7.10 (previously 1.6.21 was used)
  • 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.


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](https://github.com/rest-assured/rest-assured) from 4.3.1 to 5.2.0.
- [Release notes](https://github.com/rest-assured/rest-assured/releases)
- [Changelog](https://github.com/rest-assured/rest-assured/blob/master/changelog.txt)
- [Commits](rest-assured/rest-assured@rest-assured-4.3.1...rest-assured-5.2.0)

---
updated-dependencies:
- dependency-name: io.rest-assured:rest-assured
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 9, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 18, 2022

Superseded by #268.

@dependabot dependabot bot closed this Nov 18, 2022
@dependabot dependabot bot deleted the dependabot/maven/io.rest-assured-rest-assured-5.2.0 branch November 18, 2022 23:12
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.

0 participants