fix(deps): update axum monorepo #101

Open
kjuulh wants to merge 1 commits from renovate/axum-monorepo into main
Owner

This PR contains the following updates:

Package Type Update Change
axum dependencies minor 0.5.17 -> 0.8.0
axum-extra dependencies minor 0.3.7 -> 0.10.0

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

tokio-rs/axum (axum)

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

  • 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)

v0.7.4: axum - v0.7.4

Compare Source

  • fixed: Fix performance regression present since axum 0.7.0 (#​2483)
  • fixed: Improve debug_handler on tuple response types (#​2201)
  • added: Add must_use attribute to Serve and WithGracefulShutdown (#​2484)
  • added: Re-export axum_core::body::BodyDataStream from axum

v0.7.3: axum - v0.7.3

Compare Source

  • added: Body implements From<()> now (#​2411)
  • change: Update version of multer used internally for multipart (#​2433)
  • change: Update tokio-tungstenite to 0.21 (#​2435)
  • added: Enable tracing feature by default (#​2460)
  • added: Support graceful shutdown on serve (#​2398)
  • added: RouterIntoService implements Clone (#​2456)

v0.7.2: axum - v0.7.2

Compare Source

  • added: Add axum::body::to_bytes (#​2373)
  • fixed: Gracefully handle accept errors in serve (#​2400)

v0.7.1: axum - v0.7.1

Compare Source

  • fix: Fix readme.

v0.7.0: axum - v0.7.0

Compare Source

  • breaking: Update public dependencies. axum now requires
  • breaking: axum now requires tower-http 0.5
  • breaking: Remove deprecated WebSocketUpgrade::max_send_queue
  • breaking: The following types/traits are no longer generic over the request body
    (i.e. the B type param has been removed) (#​1751 and #​1789):
    • FromRequestParts
    • FromRequest
    • HandlerService
    • HandlerWithoutStateExt
    • Handler
    • LayeredFuture
    • Layered
    • MethodRouter
    • Next
    • RequestExt
    • RouteFuture
    • Route
    • Router
  • breaking: axum no longer re-exports hyper::Body as that type is removed
    in hyper 1.0. Instead axum has its own body type at axum::body::Body (#​1751)
  • breaking: extract::BodyStream has been removed as body::Body
    implements Stream and FromRequest directly (#​1751)
  • breaking: Change sse::Event::json_data to use axum_core::Error as its error type (#​1762)
  • breaking: Rename DefaultOnFailedUpdgrade to DefaultOnFailedUpgrade (#​1664)
  • breaking: Rename OnFailedUpdgrade to OnFailedUpgrade (#​1664)
  • breaking: TypedHeader has been move to axum-extra (#​1850)
  • breaking: Removed re-exports of Empty and Full. Use
    axum::body::Body::empty and axum::body::Body::from respectively (#​1789)
  • breaking: The response returned by IntoResponse::into_response must use
    axum::body::Body as the body type. axum::response::Response does this
    (#​1789)
  • breaking: Removed the BoxBody type alias and its box_body
    constructor. Use axum::body::Body::new instead (#​1789)
  • breaking: Remove RawBody extractor. axum::body::Body implements FromRequest directly (#​1789)
  • breaking: The following types from http-body no longer implement IntoResponse:
    • Full, use Body::from instead
    • Empty, use Body::empty instead
    • BoxBody, use Body::new instead
    • UnsyncBoxBody, use Body::new instead
    • MapData, use Body::new instead
    • MapErr, use Body::new instead
  • added: Add axum::extract::Request type alias where the body is axum::body::Body (#​1789)
  • added: Add Router::as_service and Router::into_service to workaround
    type inference issues when calling ServiceExt methods on a Router (#​1835)
  • breaking: Removed axum::Server as it was removed in hyper 1.0. Instead
    use axum::serve(listener, service) or hyper/hyper-util for more configuration options (#​1868)
  • breaking: Only inherit fallbacks for routers nested with Router::nest.
    Routers nested with Router::nest_service will no longer inherit fallbacks (#​1956)
  • fixed: Don't remove the Sec-WebSocket-Key header in WebSocketUpgrade (#​1972)
  • added: Add axum::extract::Query::try_from_uri (#​2058)
  • added: Implement IntoResponse for Box<str> and Box<[u8]> ([#​2035])
  • breaking: Simplify MethodFilter. It no longer uses bitflags (#​2073)
  • fixed: Fix bugs around merging routers with nested fallbacks (#​2096)
  • fixed: Fix .source() of composite rejections (#​2030)
  • fixed: Allow unreachable code in #[debug_handler] (#​2014)
  • change: axum's MSRV is now 1.66 (#​1882)
  • added: Implement IntoResponse for (R,) where R: IntoResponse (#​2143)
  • changed: For SSE, add space between field and value for compatibility (#​2149)
  • added: Add NestedPath extractor (#​1924)
  • added: Add handle_error function to existing ServiceExt trait (#​2235)
  • breaking: impl<T> IntoResponse(Parts) for Extension<T> now requires
    T: Clone, as that is required by the http crate (#​1882)
  • added: Add axum::Json::from_bytes (#​2244)
  • added: Implement FromRequestParts for http::request::Parts (#​2328)
  • added: Implement FromRequestParts for http::Extensions (#​2328)
  • fixed: Clearly document applying DefaultBodyLimit to individual routes (#​2157)

v0.6.20: axum - v0.6.20

Compare Source

  • added: WebSocketUpgrade::write_buffer_size and WebSocketUpgrade::max_write_buffer_size
  • changed: Deprecate WebSocketUpgrade::max_send_queue
  • change: Update tokio-tungstenite to 0.20
  • added: Implement Handler for T: IntoResponse (#​2140)

v0.6.19: axum - v0.6.19

Compare Source

  • added: Add axum::extract::Query::try_from_uri (#​2058)
  • added: Implement IntoResponse for Box<str> and Box<[u8]> (#​2035)
  • fixed: Fix bugs around merging routers with nested fallbacks (#​2096)
  • fixed: Fix .source() of composite rejections (#​2030)
  • fixed: Allow unreachable code in #[debug_handler] (#​2014)
  • change: Update tokio-tungstenite to 0.19 (#​2021)
  • change: axum's MSRV is now 1.63 (#​2021)

v0.6.18: axum - v0.6.18

Compare Source

  • fixed: Don't remove the Sec-WebSocket-Key header in WebSocketUpgrade (#​1972)

v0.6.17: axum - v0.6.17

Compare Source

  • fixed: Fix fallbacks causing a panic on CONNECT requests (#​1958)

v0.6.16: axum - v0.6.16

Compare Source

  • fixed: Don't allow extracting MatchedPath in fallbacks (#​1934)
  • fixed: Fix panic if Router with something nested at / was used as a fallback (#​1934)
  • added: Document that Router::new().fallback(...) isn't optimal (#​1940)

v0.6.15: axum - v0.6.15

Compare Source

  • fixed: Removed additional leftover debug messages (#​1927)

v0.6.14: axum - v0.6.14

Compare Source

  • fixed: Removed leftover "path_router hit" debug message (#​1925)

v0.6.13: axum - v0.6.13

Compare Source

  • added: Log rejections from built-in extractors with the
    axum::rejection=trace target (#​1890)
  • fixed: Fixed performance regression with Router::nest introduced in
    0.6.0. nest now flattens the routes which performs better (#​1711)
  • fixed: Extracting MatchedPath in nested handlers now gives the full
    matched path, including the nested path (#​1711)
  • added: Implement Deref and DerefMut for built-in extractors (#​1922)

v0.6.12: axum - v0.6.12

Compare Source

  • added: Implement IntoResponse for MultipartError (#​1861)
  • fixed: More clearly document what wildcards matches (#​1873)

v0.6.11: axum - v0.6.11

Compare Source

  • fixed: Don't require S: Debug for impl Debug for Router<S> (#​1836)
  • fixed: Clone state a bit less when handling requests (#​1837)
  • fixed: Unpin itoa dependency (#​1815)

v0.6.10: axum - v0.6.10

Compare Source

  • fixed: Add #[must_use] attributes to types that do nothing unless used (#​1809)
  • fixed: Gracefully handle missing headers in the TypedHeader extractor (#​1810)
  • fixed: Fix routing issues when loading a Router via a dynamic library (#​1806)

v0.6.9: axum - v0.6.9

Compare Source

  • changed: Update to tower-http 0.4. axum is still compatible with tower-http 0.3 (#​1783)

v0.6.8: axum - v0.6.8

Compare Source

  • fixed: Fix Allow missing from routers with middleware (#​1773)
  • added: Add KeepAlive::event for customizing the event sent for SSE keep alive (#​1729)

v0.6.7: axum - v0.6.7

Compare Source

  • added: Add FormRejection::FailedToDeserializeFormBody which is returned
    if the request body couldn't be deserialized into the target type, as opposed
    to FailedToDeserializeForm which is only for query parameters (#​1683)
  • added: Add MockConnectInfo for setting ConnectInfo during tests (#​1767)

v0.6.6: axum - v0.6.6

Compare Source

  • fixed: Enable passing MethodRouter to Router::fallback (#​1730)

v0.6.5: axum - v0.6.5

Compare Source

  • fixed: Fix #[debug_handler] sometimes giving wrong borrow related suggestions (#​1710)
  • Document gotchas related to using impl IntoResponse as the return type from handler functions (#​1736)

v0.6.4: axum - v0.6.4

Compare Source

  • Depend on axum-macros 0.3.2

v0.6.3: axum - v0.6.3

Compare Source

  • added: Implement IntoResponse for &'static [u8; N] and [u8; N] (#​1690)
  • fixed: Make Path support types using serde::Deserializer::deserialize_any (#​1693)
  • added: Add RawPathParams (#​1713)
  • added: Implement Clone and Service for axum::middleware::Next (#​1712)
  • fixed: Document required tokio features to run "Hello, World!" example (#​1715)

v0.6.2: axum - v0.6.2

Compare Source

  • added: Add body_text and status methods to built-in rejections (#​1612)
  • added: Enable the runtime feature of hyper when using tokio (#​1671)

v0.6.1: axum - v0.6.1

Compare Source

  • added: Expand the docs for Router::with_state (#​1580)

v0.6.0: axum-extra - v0.6.0

Compare Source

  • breaking: Change casing of ProtoBuf to Protobuf (#​1595)

  • breaking: SpaRouter has been removed. Use ServeDir and ServeFile
    from tower-http instead:

    // before
    Router::new().merge(SpaRouter::new("/assets", "dist"));
    
    // with ServeDir
    Router::new().nest_service("/assets", ServeDir::new("dist"));
    
    // before with `index_file`
    Router::new().merge(SpaRouter::new("/assets", "dist").index_file("index.html"));
    
    // with ServeDir + ServeFile
    Router::new().nest_service(
        "/assets",
        ServeDir::new("dist").not_found_service(ServeFile::new("dist/index.html")),
    );
    

    See the static-file-server-example for more examples (#​1784)


Configuration

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

🚦 Automerge: Enabled.

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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [axum](https://github.com/tokio-rs/axum) | dependencies | minor | `0.5.17` -> `0.8.0` | | [axum-extra](https://github.com/tokio-rs/axum) | dependencies | minor | `0.3.7` -> `0.10.0` | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>tokio-rs/axum (axum)</summary> ### [`v0.8.4`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.8.4): axum v0.8.4 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.8.3...axum-v0.8.4) - **added:** `Router::reset_fallback` ([#&#8203;3320]) - **added:** `WebSocketUpgrade::selected_protocol` ([#&#8203;3248]) - **fixed:** Panic location for overlapping method routes ([#&#8203;3319]) - **fixed:** Don't leak a tokio task when using `serve` without graceful shutdown ([#&#8203;3129]) [#&#8203;3319]: https://github.com/tokio-rs/axum/pull/3319 [#&#8203;3320]: https://github.com/tokio-rs/axum/pull/3320 [#&#8203;3248]: https://github.com/tokio-rs/axum/pull/3248 [#&#8203;3129]: https://github.com/tokio-rs/axum/pull/3129 ### [`v0.8.3`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.8.3): axum v0.8.3 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.8.2...axum-v0.8.3) - **added:** Implement `From<Bytes>` for `Message` ([#&#8203;3273]) - **added:** Implement `OptionalFromRequest` for `Json` ([#&#8203;3142]) - **added:** Implement `OptionalFromRequest` for `Extension` ([#&#8203;3157]) - **added:** Allow setting the read buffer capacity of `WebSocketUpgrade` ([#&#8203;3178]) - **changed:** Improved code size / compile time of dependent crates ([#&#8203;3285], [#&#8203;3294]) [#&#8203;3273]: https://github.com/tokio-rs/axum/pull/3273 [#&#8203;3142]: https://github.com/tokio-rs/axum/pull/3142 [#&#8203;3157]: https://github.com/tokio-rs/axum/pull/3157 [#&#8203;3178]: https://github.com/tokio-rs/axum/pull/3178 [#&#8203;3285]: https://github.com/tokio-rs/axum/pull/3285 [#&#8203;3294]: https://github.com/tokio-rs/axum/pull/3294 ### [`v0.8.2`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.8.2): axum v0.8.2 Yanked from crates.io due to unforeseen breaking change, see [#&#8203;3190](https://github.com/tokio-rs/axum/issues/3190) for details *** - **added:** Implement `OptionalFromRequest` for `Json` ([#&#8203;3142]) - **added:** Implement `OptionalFromRequest` for `Extension` ([#&#8203;3157]) - **changed:** Make the `status` function of rejections a `const` function, such as `JsonRejection`, `QueryRejection` and `PathRejection` ([#&#8203;3168]) [#&#8203;3142]: https://github.com/tokio-rs/axum/pull/3142 [#&#8203;3157]: https://github.com/tokio-rs/axum/pull/3157 [#&#8203;3168]: https://github.com/tokio-rs/axum/pull/3168 ### [`v0.8.0`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.8.0): axum v0.8.0 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.7.9...axum-v0.8.0) #### 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 ([#&#8203;3078]) - **breaking:** Remove `OptionalFromRequestParts` impl for `Query` ([#&#8203;3088]) - **changed:** Upgraded `tokio-tungstenite` to 0.26 ([#&#8203;3078]) - **changed:** Query/Form: Use `serde_path_to_error` to report fields that failed to parse ([#&#8203;3081]) </details> #### full changelog *You can also read the blog post on [tokio](https://tokio.rs/blog/2025-01-01-announcing-axum-0-8-0)* *Note: there are further relevant changes in [axum-core's changelog](https://github.com/tokio-rs/axum/releases/tag/axum-core-v0.5.0)* - **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 ([#&#8203;2645]) - **breaking:** Require `Sync` for all handlers and services added to `Router` and `MethodRouter` ([#&#8203;2473]) - **breaking:** The tuple and tuple_struct `Path` extractor deserializers now check that the number of parameters matches the tuple length exactly ([#&#8203;2931]) - **breaking:** Move `Host` extractor to `axum-extra` ([#&#8203;2956]) - **breaking:** Remove `WebSocket::close`. Users should explicitly send close messages themselves. ([#&#8203;2974]) - **breaking:** Make `serve` generic over the listener and IO types ([#&#8203;2941]) - **breaking:** Remove `Serve::tcp_nodelay` and `WithGracefulShutdown::tcp_nodelay`. See `serve::ListenerExt` for an API that let you set arbitrary TCP stream properties. ([#&#8203;2941]) - **breaking:** `Option<Path<T>>` no longer swallows all error conditions, instead rejecting the request in many cases; see its documentation for details ([#&#8203;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 ([#&#8203;3078]) - **fixed:** Skip SSE incompatible chars of `serde_json::RawValue` in `Event::json_data` ([#&#8203;2992]) - **fixed:** Don't panic when array type is used for path segment ([#&#8203;3039]) - **fixed:** Avoid setting `content-length` before middleware. This allows middleware to add bodies to requests without needing to manually set `content-length` ([#&#8203;2897]) - **change:** Update minimum rust version to 1.75 ([#&#8203;2943]) - **changed:** Upgraded `tokio-tungstenite` to 0.26 ([#&#8203;3078]) - **changed:** Query/Form: Use `serde_path_to_error` to report fields that failed to parse ([#&#8203;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 ([#&#8203;2903]) - **added:** Add `NoContent` as a self-described shortcut for `StatusCode::NO_CONTENT` ([#&#8203;2978]) - **added:** Add support for WebSockets over HTTP/2. They can be enabled by changing `get(ws_endpoint)` handlers to `any(ws_endpoint)` ([#&#8203;2894]) - **added:** Add `MethodFilter::CONNECT`, `routing::connect[_service]` and `MethodRouter::connect[_service]` ([#&#8203;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`. ([#&#8203;2720]) [#&#8203;2475]: https://github.com/tokio-rs/axum/pull/2475 [#&#8203;2897]: https://github.com/tokio-rs/axum/pull/2897 [#&#8203;2903]: https://github.com/tokio-rs/axum/pull/2903 [#&#8203;2894]: https://github.com/tokio-rs/axum/pull/2894 [#&#8203;2956]: https://github.com/tokio-rs/axum/pull/2956 [#&#8203;2961]: https://github.com/tokio-rs/axum/pull/2961 [#&#8203;2974]: https://github.com/tokio-rs/axum/pull/2974 [#&#8203;2978]: https://github.com/tokio-rs/axum/pull/2978 [#&#8203;2992]: https://github.com/tokio-rs/axum/pull/2992 [#&#8203;2720]: https://github.com/tokio-rs/axum/pull/2720 [#&#8203;3039]: https://github.com/tokio-rs/axum/pull/3039 [#&#8203;2941]: https://github.com/tokio-rs/axum/pull/2941 [#&#8203;2473]: https://github.com/tokio-rs/axum/pull/2473 [#&#8203;2645]: https://github.com/tokio-rs/axum/pull/2645 [#&#8203;2931]: https://github.com/tokio-rs/axum/pull/2931 [#&#8203;2943]: https://github.com/tokio-rs/axum/pull/2943 [#&#8203;3078]: https://github.com/tokio-rs/axum/pull/3078 [#&#8203;3081]: https://github.com/tokio-rs/axum/pull/3081 [#&#8203;3088]: https://github.com/tokio-rs/axum/pull/3088 ### [`v0.7.9`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.7.9): axum - v0.7.9 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.7.8...axum-v0.7.9) - **fixed:** Avoid setting content-length before middleware ([#&#8203;3031]) [#&#8203;3031]: https://github.com/tokio-rs/axum/pull/3031 ### [`v0.7.8`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.7.8): axum - v0.7.8 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.7.7...axum-v0.7.8) - **fixed:** Skip SSE incompatible chars of `serde_json::RawValue` in `Event::json_data` ([#&#8203;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 ([#&#8203;2903]) - **added:** Add `MethodFilter::CONNECT`, `routing::connect[_service]` and `MethodRouter::connect[_service]` ([#&#8203;2961]) - **added:** Add `NoContent` as a self-described shortcut for `StatusCode::NO_CONTENT` ([#&#8203;2978]) [#&#8203;2903]: https://github.com/tokio-rs/axum/pull/2903 [#&#8203;2961]: https://github.com/tokio-rs/axum/pull/2961 [#&#8203;2978]: https://github.com/tokio-rs/axum/pull/2978 [#&#8203;2992]: https://github.com/tokio-rs/axum/pull/2992 ### [`v0.7.7`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.7.7): axum - v0.7.7 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.7.6...axum-v0.7.7) - **change**: Remove manual tables of content from the documentation, since rustdoc now generates tables of content in the sidebar ([#&#8203;2921]) [#&#8203;2921]: https://github.com/tokio-rs/axum/pull/2921 ### [`v0.7.6`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.7.6): axum - v0.7.6 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.7.5...axum-v0.7.6) - **change:** Avoid cloning `Arc` during deserialization of `Path` - **added:** `axum::serve::Serve::tcp_nodelay` and `axum::serve::WithGracefulShutdown::tcp_nodelay` ([#&#8203;2653]) - **added:** `Router::has_routes` function ([#&#8203;2790]) - **change:** Update tokio-tungstenite to 0.23 ([#&#8203;2841]) - **added:** `Serve::local_addr` and `WithGracefulShutdown::local_addr` functions ([#&#8203;2881]) [#&#8203;2653]: https://github.com/tokio-rs/axum/pull/2653 [#&#8203;2790]: https://github.com/tokio-rs/axum/pull/2790 [#&#8203;2841]: https://github.com/tokio-rs/axum/pull/2841 [#&#8203;2881]: https://github.com/tokio-rs/axum/pull/2881 ### [`v0.7.5`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.7.5): axum - v0.7.5 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.7.4...axum-v0.7.5) - **fixed:** Fixed layers being cloned when calling `axum::serve` directly with a `Router` or `MethodRouter` ([#&#8203;2586]) - **fixed:** `h2` is no longer pulled as a dependency unless the `http2` feature is enabled ([#&#8203;2605]) [#&#8203;2586]: https://github.com/tokio-rs/axum/pull/2586 [#&#8203;2605]: https://github.com/tokio-rs/axum/pull/2605 ### [`v0.7.4`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.7.4): axum - v0.7.4 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.7.3...axum-v0.7.4) - **fixed:** Fix performance regression present since axum 0.7.0 ([#&#8203;2483]) - **fixed:** Improve `debug_handler` on tuple response types ([#&#8203;2201]) - **added:** Add `must_use` attribute to `Serve` and `WithGracefulShutdown` ([#&#8203;2484]) - **added:** Re-export `axum_core::body::BodyDataStream` from axum [#&#8203;2201]: https://github.com/tokio-rs/axum/pull/2201 [#&#8203;2483]: https://github.com/tokio-rs/axum/pull/2483 [#&#8203;2201]: https://github.com/tokio-rs/axum/pull/2201 [#&#8203;2484]: https://github.com/tokio-rs/axum/pull/2484 ### [`v0.7.3`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.7.3): axum - v0.7.3 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.7.2...axum-v0.7.3) - **added:** `Body` implements `From<()>` now ([#&#8203;2411]) - **change:** Update version of multer used internally for multipart ([#&#8203;2433]) - **change:** Update tokio-tungstenite to 0.21 ([#&#8203;2435]) - **added:** Enable `tracing` feature by default ([#&#8203;2460]) - **added:** Support graceful shutdown on `serve` ([#&#8203;2398]) - **added:** `RouterIntoService` implements `Clone` ([#&#8203;2456]) [#&#8203;2411]: https://github.com/tokio-rs/axum/pull/2411 [#&#8203;2433]: https://github.com/tokio-rs/axum/pull/2433 [#&#8203;2435]: https://github.com/tokio-rs/axum/pull/2435 [#&#8203;2460]: https://github.com/tokio-rs/axum/pull/2460 [#&#8203;2398]: https://github.com/tokio-rs/axum/pull/2398 [#&#8203;2456]: https://github.com/tokio-rs/axum/pull/2456 ### [`v0.7.2`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.7.2): axum - v0.7.2 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.7.1...axum-v0.7.2) - **added:** Add `axum::body::to_bytes` ([#&#8203;2373]) - **fixed:** Gracefully handle accept errors in `serve` ([#&#8203;2400]) [#&#8203;2373]: https://github.com/tokio-rs/axum/pull/2373 [#&#8203;2400]: https://github.com/tokio-rs/axum/pull/2400 ### [`v0.7.1`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.7.1): axum - v0.7.1 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.7.0...axum-v0.7.1) - **fix**: Fix readme. ### [`v0.7.0`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.7.0): axum - v0.7.0 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.6.20...axum-v0.7.0) - **breaking:** Update public dependencies. axum now requires - [hyper](https://crates.io/crates/hyper) 1.0 - [http](https://crates.io/crates/http) 1.0 - [http-body](https://crates.io/crates/http-body) 1.0 - **breaking:** axum now requires [tower-http](https://crates.io/crates/tower-http) 0.5 - **breaking:** Remove deprecated `WebSocketUpgrade::max_send_queue` - **breaking:** The following types/traits are no longer generic over the request body (i.e. the `B` type param has been removed) ([#&#8203;1751] and [#&#8203;1789]): - `FromRequestParts` - `FromRequest` - `HandlerService` - `HandlerWithoutStateExt` - `Handler` - `LayeredFuture` - `Layered` - `MethodRouter` - `Next` - `RequestExt` - `RouteFuture` - `Route` - `Router` - **breaking:** axum no longer re-exports `hyper::Body` as that type is removed in hyper 1.0. Instead axum has its own body type at `axum::body::Body` ([#&#8203;1751]) - **breaking:** `extract::BodyStream` has been removed as `body::Body` implements `Stream` and `FromRequest` directly ([#&#8203;1751]) - **breaking:** Change `sse::Event::json_data` to use `axum_core::Error` as its error type ([#&#8203;1762]) - **breaking:** Rename `DefaultOnFailedUpdgrade` to `DefaultOnFailedUpgrade` ([#&#8203;1664]) - **breaking:** Rename `OnFailedUpdgrade` to `OnFailedUpgrade` ([#&#8203;1664]) - **breaking:** `TypedHeader` has been move to `axum-extra` ([#&#8203;1850]) - **breaking:** Removed re-exports of `Empty` and `Full`. Use `axum::body::Body::empty` and `axum::body::Body::from` respectively ([#&#8203;1789]) - **breaking:** The response returned by `IntoResponse::into_response` must use `axum::body::Body` as the body type. `axum::response::Response` does this ([#&#8203;1789]) - **breaking:** Removed the `BoxBody` type alias and its `box_body` constructor. Use `axum::body::Body::new` instead ([#&#8203;1789]) - **breaking:** Remove `RawBody` extractor. `axum::body::Body` implements `FromRequest` directly ([#&#8203;1789]) - **breaking:** The following types from `http-body` no longer implement `IntoResponse`: - `Full`, use `Body::from` instead - `Empty`, use `Body::empty` instead - `BoxBody`, use `Body::new` instead - `UnsyncBoxBody`, use `Body::new` instead - `MapData`, use `Body::new` instead - `MapErr`, use `Body::new` instead - **added:** Add `axum::extract::Request` type alias where the body is `axum::body::Body` ([#&#8203;1789]) - **added:** Add `Router::as_service` and `Router::into_service` to workaround type inference issues when calling `ServiceExt` methods on a `Router` ([#&#8203;1835]) - **breaking:** Removed `axum::Server` as it was removed in hyper 1.0. Instead use `axum::serve(listener, service)` or hyper/hyper-util for more configuration options ([#&#8203;1868]) - **breaking:** Only inherit fallbacks for routers nested with `Router::nest`. Routers nested with `Router::nest_service` will no longer inherit fallbacks ([#&#8203;1956]) - **fixed:** Don't remove the `Sec-WebSocket-Key` header in `WebSocketUpgrade` ([#&#8203;1972]) - **added:** Add `axum::extract::Query::try_from_uri` ([#&#8203;2058]) - **added:** Implement `IntoResponse` for `Box<str>` and `Box<[u8]>` (\[[#&#8203;2035](https://github.com/tokio-rs/axum/issues/2035)]) - **breaking:** Simplify `MethodFilter`. It no longer uses bitflags ([#&#8203;2073]) - **fixed:** Fix bugs around merging routers with nested fallbacks ([#&#8203;2096]) - **fixed:** Fix `.source()` of composite rejections ([#&#8203;2030]) - **fixed:** Allow unreachable code in `#[debug_handler]` ([#&#8203;2014]) - **change:** axum's MSRV is now 1.66 ([#&#8203;1882]) - **added:** Implement `IntoResponse` for `(R,) where R: IntoResponse` ([#&#8203;2143]) - **changed:** For SSE, add space between field and value for compatibility ([#&#8203;2149]) - **added:** Add `NestedPath` extractor ([#&#8203;1924]) - **added:** Add `handle_error` function to existing `ServiceExt` trait ([#&#8203;2235]) - **breaking:** `impl<T> IntoResponse(Parts) for Extension<T>` now requires `T: Clone`, as that is required by the http crate ([#&#8203;1882]) - **added:** Add `axum::Json::from_bytes` ([#&#8203;2244]) - **added:** Implement `FromRequestParts` for `http::request::Parts` ([#&#8203;2328]) - **added:** Implement `FromRequestParts` for `http::Extensions` ([#&#8203;2328]) - **fixed:** Clearly document applying `DefaultBodyLimit` to individual routes ([#&#8203;2157]) [#&#8203;1664]: https://github.com/tokio-rs/axum/pull/1664 [#&#8203;1751]: https://github.com/tokio-rs/axum/pull/1751 [#&#8203;1762]: https://github.com/tokio-rs/axum/pull/1762 [#&#8203;1789]: https://github.com/tokio-rs/axum/pull/1789 [#&#8203;1835]: https://github.com/tokio-rs/axum/pull/1835 [#&#8203;1850]: https://github.com/tokio-rs/axum/pull/1850 [#&#8203;1868]: https://github.com/tokio-rs/axum/pull/1868 [#&#8203;1882]: https://github.com/tokio-rs/axum/pull/1882 [#&#8203;1924]: https://github.com/tokio-rs/axum/pull/1924 [#&#8203;1956]: https://github.com/tokio-rs/axum/pull/1956 [#&#8203;1972]: https://github.com/tokio-rs/axum/pull/1972 [#&#8203;2014]: https://github.com/tokio-rs/axum/pull/2014 [#&#8203;2021]: https://github.com/tokio-rs/axum/pull/2021 [#&#8203;2030]: https://github.com/tokio-rs/axum/pull/2030 [#&#8203;2058]: https://github.com/tokio-rs/axum/pull/2058 [#&#8203;2073]: https://github.com/tokio-rs/axum/pull/2073 [#&#8203;2096]: https://github.com/tokio-rs/axum/pull/2096 [#&#8203;2140]: https://github.com/tokio-rs/axum/pull/2140 [#&#8203;2143]: https://github.com/tokio-rs/axum/pull/2143 [#&#8203;2149]: https://github.com/tokio-rs/axum/pull/2149 [#&#8203;2157]: https://github.com/tokio-rs/axum/pull/2157 [#&#8203;2235]: https://github.com/tokio-rs/axum/pull/2235 [#&#8203;2244]: https://github.com/tokio-rs/axum/pull/2244 [#&#8203;2328]: https://github.com/tokio-rs/axum/pull/2328 ### [`v0.6.20`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.6.20): axum - v0.6.20 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.6.19...axum-v0.6.20) - **added:** `WebSocketUpgrade::write_buffer_size` and `WebSocketUpgrade::max_write_buffer_size` - **changed:** Deprecate `WebSocketUpgrade::max_send_queue` - **change:** Update tokio-tungstenite to 0.20 - **added:** Implement `Handler` for `T: IntoResponse` ([#&#8203;2140]) [#&#8203;2140]: https://github.com/tokio-rs/axum/pull/2140 ### [`v0.6.19`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.6.19): axum - v0.6.19 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.6.18...axum-v0.6.19) - **added:** Add `axum::extract::Query::try_from_uri` ([#&#8203;2058]) - **added:** Implement `IntoResponse` for `Box<str>` and `Box<[u8]>` ([#&#8203;2035]) - **fixed:** Fix bugs around merging routers with nested fallbacks ([#&#8203;2096]) - **fixed:** Fix `.source()` of composite rejections ([#&#8203;2030]) - **fixed:** Allow unreachable code in `#[debug_handler]` ([#&#8203;2014]) - **change:** Update tokio-tungstenite to 0.19 ([#&#8203;2021]) - **change:** axum's MSRV is now 1.63 ([#&#8203;2021]) [#&#8203;2014]: https://github.com/tokio-rs/axum/pull/2014 [#&#8203;2021]: https://github.com/tokio-rs/axum/pull/2021 [#&#8203;2030]: https://github.com/tokio-rs/axum/pull/2030 [#&#8203;2035]: https://github.com/tokio-rs/axum/pull/2035 [#&#8203;2058]: https://github.com/tokio-rs/axum/pull/2058 [#&#8203;2096]: https://github.com/tokio-rs/axum/pull/2096 ### [`v0.6.18`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.6.18): axum - v0.6.18 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.6.17...axum-v0.6.18) - **fixed:** Don't remove the `Sec-WebSocket-Key` header in `WebSocketUpgrade` ([#&#8203;1972]) [#&#8203;1972]: https://github.com/tokio-rs/axum/pull/1972 ### [`v0.6.17`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.6.17): axum - v0.6.17 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.6.16...axum-v0.6.17) - **fixed:** Fix fallbacks causing a panic on `CONNECT` requests ([#&#8203;1958]) [#&#8203;1958]: https://github.com/tokio-rs/axum/pull/1958 ### [`v0.6.16`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.6.16): axum - v0.6.16 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.6.15...axum-v0.6.16) - **fixed:** Don't allow extracting `MatchedPath` in fallbacks ([#&#8203;1934]) - **fixed:** Fix panic if `Router` with something nested at `/` was used as a fallback ([#&#8203;1934]) - **added:** Document that `Router::new().fallback(...)` isn't optimal ([#&#8203;1940]) [#&#8203;1934]: https://github.com/tokio-rs/axum/pull/1934 [#&#8203;1940]: https://github.com/tokio-rs/axum/pull/1940 ### [`v0.6.15`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.6.15): axum - v0.6.15 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.6.14...axum-v0.6.15) - **fixed:** Removed additional leftover debug messages ([#&#8203;1927]) [#&#8203;1927]: https://github.com/tokio-rs/axum/pull/1927 ### [`v0.6.14`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.6.14): axum - v0.6.14 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.6.13...axum-v0.6.14) - **fixed:** Removed leftover "path_router hit" debug message ([#&#8203;1925]) [#&#8203;1925]: https://github.com/tokio-rs/axum/pull/1925 ### [`v0.6.13`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.6.13): axum - v0.6.13 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.6.12...axum-v0.6.13) - **added:** Log rejections from built-in extractors with the `axum::rejection=trace` target ([#&#8203;1890]) - **fixed:** Fixed performance regression with `Router::nest` introduced in 0.6.0. `nest` now flattens the routes which performs better ([#&#8203;1711]) - **fixed:** Extracting `MatchedPath` in nested handlers now gives the full matched path, including the nested path ([#&#8203;1711]) - **added:** Implement `Deref` and `DerefMut` for built-in extractors ([#&#8203;1922]) [#&#8203;1711]: https://github.com/tokio-rs/axum/pull/1711 [#&#8203;1890]: https://github.com/tokio-rs/axum/pull/1890 [#&#8203;1922]: https://github.com/tokio-rs/axum/pull/1922 ### [`v0.6.12`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.6.12): axum - v0.6.12 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.6.11...axum-v0.6.12) - **added:** Implement `IntoResponse` for `MultipartError` ([#&#8203;1861]) - **fixed:** More clearly document what wildcards matches ([#&#8203;1873]) [#&#8203;1861]: https://github.com/tokio-rs/axum/pull/1861 [#&#8203;1873]: https://github.com/tokio-rs/axum/pull/1873 ### [`v0.6.11`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.6.11): axum - v0.6.11 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.6.10...axum-v0.6.11) - **fixed:** Don't require `S: Debug` for `impl Debug for Router<S>` ([#&#8203;1836]) - **fixed:** Clone state a bit less when handling requests ([#&#8203;1837]) - **fixed:** Unpin itoa dependency ([#&#8203;1815]) [#&#8203;1815]: https://github.com/tokio-rs/axum/pull/1815 [#&#8203;1836]: https://github.com/tokio-rs/axum/pull/1836 [#&#8203;1837]: https://github.com/tokio-rs/axum/pull/1837 ### [`v0.6.10`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.6.10): axum - v0.6.10 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.6.9...axum-v0.6.10) - **fixed:** Add `#[must_use]` attributes to types that do nothing unless used ([#&#8203;1809]) - **fixed:** Gracefully handle missing headers in the `TypedHeader` extractor ([#&#8203;1810]) - **fixed:** Fix routing issues when loading a `Router` via a dynamic library ([#&#8203;1806]) [#&#8203;1806]: https://github.com/tokio-rs/axum/pull/1806 [#&#8203;1809]: https://github.com/tokio-rs/axum/pull/1809 [#&#8203;1810]: https://github.com/tokio-rs/axum/pull/1810 ### [`v0.6.9`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.6.9): axum - v0.6.9 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.6.8...axum-v0.6.9) - **changed:** Update to tower-http 0.4. axum is still compatible with tower-http 0.3 ([#&#8203;1783]) [#&#8203;1783]: https://github.com/tokio-rs/axum/pull/1783 ### [`v0.6.8`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.6.8): axum - v0.6.8 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.6.7...axum-v0.6.8) - **fixed:** Fix `Allow` missing from routers with middleware ([#&#8203;1773]) - **added:** Add `KeepAlive::event` for customizing the event sent for SSE keep alive ([#&#8203;1729]) [#&#8203;1729]: https://github.com/tokio-rs/axum/pull/1729 [#&#8203;1773]: https://github.com/tokio-rs/axum/pull/1773 ### [`v0.6.7`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.6.7): axum - v0.6.7 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.6.6...axum-v0.6.7) - **added:** Add `FormRejection::FailedToDeserializeFormBody` which is returned if the request body couldn't be deserialized into the target type, as opposed to `FailedToDeserializeForm` which is only for query parameters ([#&#8203;1683]) - **added:** Add `MockConnectInfo` for setting `ConnectInfo` during tests ([#&#8203;1767]) [#&#8203;1683]: https://github.com/tokio-rs/axum/pull/1683 [#&#8203;1767]: https://github.com/tokio-rs/axum/pull/1767 ### [`v0.6.6`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.6.6): axum - v0.6.6 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.6.5...axum-v0.6.6) - **fixed:** Enable passing `MethodRouter` to `Router::fallback` ([#&#8203;1730]) [#&#8203;1730]: https://github.com/tokio-rs/axum/pull/1730 ### [`v0.6.5`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.6.5): axum - v0.6.5 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.6.4...axum-v0.6.5) - **fixed:** Fix `#[debug_handler]` sometimes giving wrong borrow related suggestions ([#&#8203;1710]) - Document gotchas related to using `impl IntoResponse` as the return type from handler functions ([#&#8203;1736]) [#&#8203;1710]: https://github.com/tokio-rs/axum/pull/1710 [#&#8203;1736]: https://github.com/tokio-rs/axum/pull/1736 ### [`v0.6.4`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.6.4): axum - v0.6.4 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.6.3...axum-v0.6.4) - Depend on axum-macros 0.3.2 ### [`v0.6.3`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.6.3): axum - v0.6.3 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.6.2...axum-v0.6.3) - **added:** Implement `IntoResponse` for `&'static [u8; N]` and `[u8; N]` ([#&#8203;1690]) - **fixed:** Make `Path` support types using `serde::Deserializer::deserialize_any` ([#&#8203;1693]) - **added:** Add `RawPathParams` ([#&#8203;1713]) - **added:** Implement `Clone` and `Service` for `axum::middleware::Next` ([#&#8203;1712]) - **fixed:** Document required tokio features to run "Hello, World!" example ([#&#8203;1715]) [#&#8203;1690]: https://github.com/tokio-rs/axum/pull/1690 [#&#8203;1693]: https://github.com/tokio-rs/axum/pull/1693 [#&#8203;1712]: https://github.com/tokio-rs/axum/pull/1712 [#&#8203;1713]: https://github.com/tokio-rs/axum/pull/1713 [#&#8203;1715]: https://github.com/tokio-rs/axum/pull/1715 ### [`v0.6.2`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.6.2): axum - v0.6.2 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.6.1...axum-v0.6.2) - **added:** Add `body_text` and `status` methods to built-in rejections ([#&#8203;1612]) - **added:** Enable the `runtime` feature of `hyper` when using `tokio` ([#&#8203;1671]) [#&#8203;1612]: https://github.com/tokio-rs/axum/pull/1612 [#&#8203;1671]: https://github.com/tokio-rs/axum/pull/1671 ### [`v0.6.1`](https://github.com/tokio-rs/axum/releases/tag/axum-v0.6.1): axum - v0.6.1 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.6.0...axum-v0.6.1) - **added:** Expand the docs for `Router::with_state` ([#&#8203;1580]) [#&#8203;1580]: https://github.com/tokio-rs/axum/pull/1580 ### [`v0.6.0`](https://github.com/tokio-rs/axum/releases/tag/axum-extra-v0.6.0): axum-extra - v0.6.0 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.5.17...axum-v0.6.0) - **breaking:** Change casing of `ProtoBuf` to `Protobuf` ([#&#8203;1595]) - **breaking:** `SpaRouter` has been removed. Use `ServeDir` and `ServeFile` from `tower-http` instead: ```rust // before Router::new().merge(SpaRouter::new("/assets", "dist")); // with ServeDir Router::new().nest_service("/assets", ServeDir::new("dist")); // before with `index_file` Router::new().merge(SpaRouter::new("/assets", "dist").index_file("index.html")); // with ServeDir + ServeFile Router::new().nest_service( "/assets", ServeDir::new("dist").not_found_service(ServeFile::new("dist/index.html")), ); ``` See the [static-file-server-example] for more examples ([#&#8203;1784]) [#&#8203;1595]: https://github.com/tokio-rs/axum/pull/1595 [#&#8203;1784]: https://github.com/tokio-rs/axum/pull/1784 [static-file-server-example]: https://github.com/tokio-rs/axum/blob/main/examples/static-file-server/src/main.rs </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMTYuMSIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
kjuulh added 1 commit 2025-03-26 01:30:31 +01:00
fix(deps): update axum monorepo
Some checks failed
renovate/artifacts Artifact file update failure
778b132120
Author
Owner

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path crates/scel_api/Cargo.toml --workspace
warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
    Updating crates.io index
error: failed to select a version for `axum-extra`.
    ... required by package `scel_api v0.1.0 (/tmp/renovate/repos/gitea/kjuulh/scel/crates/scel_api)`
    ... which satisfies path dependency `scel_api` (locked to 0.1.0) of package `scel v0.1.0 (/tmp/renovate/repos/gitea/kjuulh/scel/crates/scel)`
versions that meet the requirements `^0.10.0` are: 0.10.0

the package `scel_api` depends on `axum-extra`, with features: `spa` but `axum-extra` does not have these features.


failed to select a version for `axum-extra` which could resolve this conflict

### ⚠️ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: Cargo.lock ``` Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path crates/scel_api/Cargo.toml --workspace warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions Updating crates.io index error: failed to select a version for `axum-extra`. ... required by package `scel_api v0.1.0 (/tmp/renovate/repos/gitea/kjuulh/scel/crates/scel_api)` ... which satisfies path dependency `scel_api` (locked to 0.1.0) of package `scel v0.1.0 (/tmp/renovate/repos/gitea/kjuulh/scel/crates/scel)` versions that meet the requirements `^0.10.0` are: 0.10.0 the package `scel_api` depends on `axum-extra`, with features: `spa` but `axum-extra` does not have these features. failed to select a version for `axum-extra` which could resolve this conflict ```
Some checks failed
renovate/artifacts Artifact file update failure
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/axum-monorepo:renovate/axum-monorepo
git checkout renovate/axum-monorepo
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kjuulh/scel#101
No description provided.