Update Rust crate axum to 0.7 #36

Merged
kjuulh merged 1 commits from renovate/all into main 2023-11-27 10:10:58 +01:00
Owner

This PR contains the following updates:

Package Type Update Change
axum dependencies minor 0.6 -> 0.7

Release Notes

tokio-rs/axum

v0.7.1: axum-extra - v0.7.1

Compare Source

  • Updated to latest axum-macros

v0.7.0: axum - v0.7.0

Compare Source

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

Configuration

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

🚦 Automerge: Enabled.

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 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.6` -> `0.7` | --- ### Release Notes <details> <summary>tokio-rs/axum</summary> ### [`v0.7.1`](https://github.com/tokio-rs/axum/releases/tag/axum-extra-v0.7.1): axum-extra - v0.7.1 [Compare Source](https://github.com/tokio-rs/axum/compare/axum-v0.7.0...axum-v0.7.1) - Updated to latest `axum-macros` ### [`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:** 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 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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. --- - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNjAuMCIsInVwZGF0ZWRJblZlciI6IjM0LjE2MC4wIn0=-->
kjuulh added 1 commit 2023-11-27 09:46:13 +01:00
Update Rust crate axum to 0.7
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
90f7775d44
kjuulh merged commit 90f7775d44 into main 2023-11-27 10:10:58 +01:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kjuulh/prae#36
No description provided.