eclipse / microprofile-telemetry

microprofile telemetry
Apache License 2.0
16 stars 16 forks source link

Bump rest-assured from 5.1.1 to 5.2.0 #43

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps rest-assured from 5.1.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)