Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Bump xml-path from 4.3.3 to 5.2.0 #633

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

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

Bumps xml-path from 4.3.3 to 5.2.0.

Changelog

Sourced from xml-path'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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 12, 2022
@dependabot dependabot bot force-pushed the dependabot/gradle/io.rest-assured-xml-path-5.2.0 branch from 1aa50ef to ca56ab5 Compare September 15, 2022 11:24
Bumps [xml-path](https://github.com/rest-assured/rest-assured) from 4.3.3 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.3...rest-assured-5.2.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/gradle/io.rest-assured-xml-path-5.2.0 branch from ca56ab5 to dcbdaf9 Compare September 15, 2022 11:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants