Skip to content

chore(deps): update rust crate axum-test to v20#67

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/axum-test-20.x
Open

chore(deps): update rust crate axum-test to v20#67
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/axum-test-20.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 1, 2026

This PR contains the following updates:

Package Type Update Change
axum-test dev-dependencies major 18.020.0

Release Notes

JosephLenton/axum-test (axum-test)

v19.1.0

Compare Source

  • Remove TestServer::scheme, as it never actually worked with http requests only mocked requests.
  • Remove TestRequest::scheme, as it never actually worked with http requests only mocked requests.
  • Mocked transport no longer provides the scheme and authority to the service, which matches the behaviour with Tokio / Hyper based services.
  • Mocked now provides the HOST header, which matches the behaviour with Hyper based HTTP services.

v19.0.0

  • Simplified constructors for TestServer, TestServerBuilder, and TestServerConfig.
    • new() constructor no longer returns a Result, and instead panics on failure.
    • Added try_new() to allow people to continue to catch the Result if needed.
  • TestResponse assertion functions now return &self, allowing calls to be chained!
  • Requests using Reqwest will now share cookies with regular Axum Test requests.
    • Cookies saved by one are saved to the other, and both adhere to TestServer::save_cookies() and TestServer::do_not_save_cookies() commands.
  • Improved error messages across the API.
    • JSON and Yaml assertions now output the body of the request when they fail.
  • Removed deprecated feature old-json-diff.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants