Skip to content

fix(deps): update axum crates#118

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/axum-crates
Open

fix(deps): update axum crates#118
renovate[bot] wants to merge 1 commit intomainfrom
renovate/axum-crates

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Nov 17, 2024

This PR contains the following updates:

Package Type Update Change
axum dependencies minor 0.7.40.8.0
axum-client-ip dependencies minor 0.5.00.7.0
axum-extra dependencies minor 0.9.20.12.0

Release Notes

tokio-rs/axum (axum)

v0.8.9

Compare Source

  • added: WebSocketUpgrade::{requested_protocols, set_selected_protocol} for more flexible subprotocol selection (#​3597)
  • changed: Update minimum rust version to 1.80 (#​3620)
  • fixed: Set connect endpoint on correct field in MethodRouter (#​3656)
  • fixed: Return specific error message when multipart body limit is exceeded (#​3611)

v0.8.8: axum v0.8.8

Compare Source

  • Clarify documentation for Router::route_layer (#​3567)

v0.8.7: axum v0.8.7

Compare Source

  • Relax implicit Send / Sync bounds on RouterAsService, RouterIntoService (#​3555)
  • Make it easier to visually scan for default features (#​3550)
  • Fix some documentation typos

v0.8.6

Compare Source

v0.8.5: axum v0.8.5

Compare Source

  • fixed: Reject JSON request bodies with trailing characters after the JSON document (#​3453)
  • added: Implement OptionalFromRequest for Multipart (#​3220)
  • added: Getter methods Location::{status_code, location}
  • added: Support for writing arbitrary binary data into server-sent events (#​3425)]
  • added: middleware::ResponseAxumBodyLayer for mapping response body to axum::body::Body (#​3469)
  • added: impl FusedStream for WebSocket (#​3443)
  • changed: The sse module and Sse type no longer depend on the tokio feature (#​3154)
  • changed: If the location given to one of Redirects constructors is not a valid header value, instead of panicking on construction, the IntoResponse impl now returns an HTTP 500, just like Json does when serialization fails (#​3377)
  • changed: Update minimum rust version to 1.78 (#​3412)

v0.8.4: axum v0.8.4

Compare Source

  • added: Router::reset_fallback (#​3320)
  • added: WebSocketUpgrade::selected_protocol (#​3248)
  • fixed: Panic location for overlapping method routes (#​3319)
  • fixed: Don't leak a tokio task when using serve without graceful shutdown (#​3129)

v0.8.3: axum v0.8.3

Compare Source

  • added: Implement From<Bytes> for Message (#​3273)
  • added: Implement OptionalFromRequest for Json (#​3142)
  • added: Implement OptionalFromRequest for Extension (#​3157)
  • added: Allow setting the read buffer capacity of WebSocketUpgrade (#​3178)
  • changed: Improved code size / compile time of dependent crates (#​3285, #​3294)

v0.8.2: axum v0.8.2

Yanked from crates.io due to unforeseen breaking change, see #​3190 for details


  • added: Implement OptionalFromRequest for Json (#​3142)
  • added: Implement OptionalFromRequest for Extension (#​3157)
  • changed: Make the status function of rejections a const function, such
    as JsonRejection, QueryRejection and PathRejection (#​3168)

v0.8.0: axum v0.8.0

Compare Source

since rc.1

Details
  • breaking: axum::extract::ws::Message now uses Bytes in place of Vec<u8>,
    and a new Utf8Bytes type in place of String, for its variants (#​3078)
  • breaking: Remove OptionalFromRequestParts impl for Query (#​3088)
  • changed: Upgraded tokio-tungstenite to 0.26 (#​3078)
  • changed: Query/Form: Use serde_path_to_error to report fields that failed to parse (#​3081)

full changelog

You can also read the blog post on tokio

Note: there are further relevant changes in axum-core's changelog

  • breaking: Upgrade matchit to 0.8, changing the path parameter syntax from /:single and /*many to /{single} and /{*many}; the old syntax produces a panic to avoid silent change in behavior (#​2645)
  • breaking: Require Sync for all handlers and services added to Router and MethodRouter (#​2473)
  • breaking: The tuple and tuple_struct Path extractor deserializers now check that the number of parameters matches the tuple length exactly (#​2931)
  • breaking: Move Host extractor to axum-extra (#​2956)
  • breaking: Remove WebSocket::close. Users should explicitly send close messages themselves. (#​2974)
  • breaking: Make serve generic over the listener and IO types (#​2941)
  • breaking: Remove Serve::tcp_nodelay and WithGracefulShutdown::tcp_nodelay.
    See serve::ListenerExt for an API that let you set arbitrary TCP stream properties. (#​2941)
  • breaking: Option<Path<T>> no longer swallows all error conditions,
    instead rejecting the request in many cases; see its documentation for details (#​2475)
  • breaking: axum::extract::ws::Message now uses Bytes in place of Vec<u8>,
    and a new Utf8Bytes type in place of String, for its variants (#​3078)
  • fixed: Skip SSE incompatible chars of serde_json::RawValue in Event::json_data (#​2992)
  • fixed: Don't panic when array type is used for path segment (#​3039)
  • fixed: Avoid setting content-length before middleware.
    This allows middleware to add bodies to requests without needing to manually set content-length (#​2897)
  • change: Update minimum rust version to 1.75 (#​2943)
  • changed: Upgraded tokio-tungstenite to 0.26 (#​3078)
  • changed: Query/Form: Use serde_path_to_error to report fields that failed to parse (#​3081)
  • added: Add method_not_allowed_fallback to set a fallback when a path matches but there is no handler for the given HTTP method (#​2903)
  • added: Add NoContent as a self-described shortcut for StatusCode::NO_CONTENT (#​2978)
  • added: Add support for WebSockets over HTTP/2. They can be enabled by changing get(ws_endpoint) handlers to any(ws_endpoint) (#​2894)
  • added: Add MethodFilter::CONNECT, routing::connect[_service] and MethodRouter::connect[_service] (#​2961)
  • added: Extend FailedToDeserializePathParams::kind enum with (ErrorKind::DeserializeError). This new variant captures both key, value, and message from named path parameters parse errors, instead of only deserialization error message in ErrorKind::Message. (#​2720)

v0.7.9: axum - v0.7.9

Compare Source

  • fixed: Avoid setting content-length before middleware (#​3031)

v0.7.8: axum - v0.7.8

Compare Source

  • fixed: Skip SSE incompatible chars of serde_json::RawValue in Event::json_data (#​2992)
  • added: Add method_not_allowed_fallback to set a fallback when a path matches but there is no handler for the given HTTP method (#​2903)
  • added: Add MethodFilter::CONNECT, routing::connect[_service]
    and MethodRouter::connect[_service] (#​2961)
  • added: Add NoContent as a self-described shortcut for StatusCode::NO_CONTENT (#​2978)

v0.7.7: axum - v0.7.7

Compare Source

  • change: Remove manual tables of content from the documentation, since
    rustdoc now generates tables of content in the sidebar (#​2921)

v0.7.6: axum - v0.7.6

Compare Source

  • change: Avoid cloning Arc during deserialization of Path
  • added: axum::serve::Serve::tcp_nodelay and axum::serve::WithGracefulShutdown::tcp_nodelay (#​2653)
  • added: Router::has_routes function (#​2790)
  • change: Update tokio-tungstenite to 0.23 (#​2841)
  • added: Serve::local_addr and WithGracefulShutdown::local_addr functions (#​2881)

v0.7.5: axum - v0.7.5

Compare Source

  • fixed: Fixed layers being cloned when calling axum::serve directly with
    a Router or MethodRouter (#​2586)
  • fixed: h2 is no longer pulled as a dependency unless the http2 feature
    is enabled (#​2605)
imbolc/axum-client-ip (axum-client-ip)

v0.7.0

Compare Source

What's Changed

New Contributors

Full Changelog: imbolc/axum-client-ip@v0.6.1...v0.7.0

v0.6.1

Compare Source

Impl some std traits

Full Changelog: imbolc/axum-client-ip@v0.6.0...v0.6.1

v0.6.0: CloudFront-Viewer-Address

Compare Source

What's Changed

  • feat: Support obtaining client IP from CloudFront-Viewer-Address header by @​jreppnow in #​28

New Contributors

Full Changelog: imbolc/axum-client-ip@v0.5.1...v0.6.0

v0.5.1

Compare Source

What's Changed

New Contributors

Full Changelog: imbolc/axum-client-ip@v0.5.0...v0.5.1


Configuration

📅 Schedule: (UTC)

  • 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 is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

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

@renovate renovate Bot force-pushed the renovate/axum-crates branch from a1d5882 to c9cac7f Compare January 1, 2025 13:43
@renovate renovate Bot force-pushed the renovate/axum-crates branch 2 times, most recently from 5858423 to 81cd9aa Compare January 22, 2025 18:35
@renovate renovate Bot force-pushed the renovate/axum-crates branch from 81cd9aa to 764887a Compare August 10, 2025 13:44
@renovate renovate Bot force-pushed the renovate/axum-crates branch from 764887a to dc28246 Compare September 25, 2025 16:48
@renovate renovate Bot force-pushed the renovate/axum-crates branch 2 times, most recently from 09cb6e3 to 1fcfeb3 Compare November 2, 2025 20:25
@renovate renovate Bot force-pushed the renovate/axum-crates branch from 1fcfeb3 to f2078c4 Compare November 14, 2025 23:55
@renovate renovate Bot force-pushed the renovate/axum-crates branch from f2078c4 to 7931628 Compare December 10, 2025 15:44
@renovate renovate Bot force-pushed the renovate/axum-crates branch 3 times, most recently from 6ff5d5f to 474f774 Compare December 27, 2025 17:40
@renovate renovate Bot force-pushed the renovate/axum-crates branch from 474f774 to 37746f8 Compare December 31, 2025 15:53
@renovate renovate Bot force-pushed the renovate/axum-crates branch from 37746f8 to 65d430f Compare February 2, 2026 15:33
@renovate renovate Bot force-pushed the renovate/axum-crates branch from 65d430f to 1e7cdec Compare February 12, 2026 17:37
@renovate renovate Bot force-pushed the renovate/axum-crates branch from 1e7cdec to ccc0f52 Compare February 25, 2026 11:57
@renovate renovate Bot force-pushed the renovate/axum-crates branch from ccc0f52 to 2e9fc46 Compare March 13, 2026 18:42
@renovate renovate Bot force-pushed the renovate/axum-crates branch from 2e9fc46 to a928463 Compare April 14, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants