Lines Matching full:breaking
215 - **breaking:** The request `/foo/` no longer matches `/foo/*rest`. If you want
237 - **breaking:** Path params for wildcard routes no longer include the prefix
275 - **breaking:** Automatic trailing slash redirects have been removed.
297 - **breaking:** `Router::fallback` now only accepts `Handler`s (similarly to
321 - **breaking:** It is no longer supported to `nest` twice at the same path, i.e.
323 - **breaking:** It is no longer supported to `nest` a router and add a route at
328 - **breaking:** Allow `Error: Into<Infallible>` for `Route::{layer, route_layer}` ([#924])
329 - **breaking:** `MethodRouter` now panics on overlapping routes ([#1102])
330 - **breaking:** `Router::route` now only accepts `MethodRouter`s created with
333 - **breaking:** Adding a `.route_layer` onto a `Router` or `MethodRouter`
336 - **breaking:** `RouterService` has been removed since `Router` now implements
412 - **breaking:** It is now only possible for one extractor per handler to consume
523 - **breaking:** `ContentLengthLimit` has been removed. Use `DefaultBodyLimit` instead ([#1400])
524 - **breaking:** `RequestParts` has been removed as part of the `FromRequest`
526 - **breaking:** `BodyAlreadyExtracted` has been removed ([#1272])
527 - **breaking:** The following types or traits have a new `S` type param
533 - **breaking:** `MatchedPath` can now no longer be extracted in middleware for
537 - **breaking:** Rename `FormRejection::FailedToDeserializeQueryString` to
551 - **breaking:** Remove `extractor_middleware` which was previously deprecated.
553 - **breaking:** Require middleware added with `Handler::layer` to have
575 - **breaking:** New `tokio` default feature needed for WASM support. If you
578 - **breaking:** `handler::{WithState, IntoService}` are merged into one type,
628 - **breaking:** `Router::with_state` is no longer a constructor. It is instead
643 - **breaking:**: `Router::inherit_state` has been removed. Use
645 - **breaking:**: `Router::nest` and `Router::merge` now only supports nesting
675 - **breaking:** `ContentLengthLimit` has been removed. Use `DefaultBodyLimit` instead ([#1400])
686 - **breaking:** New `tokio` default feature needed for WASM support. If you
689 - **breaking:** `handler::{WithState, IntoService}` are merged into one type,
697 - **breaking:** `MatchedPath` can now no longer be extracted in middleware for
700 - **breaking:** Rename `FormRejection::FailedToDeserializeQueryString` to
730 - **breaking:** Added default limit to how much data `Bytes::from_request` will
749 - **breaking:** Adding a `.route_layer` onto a `Router` or `MethodRouter`
770 - **breaking:** Nested `Router`s will no longer delegate to the outer `Router`'s
805 - **breaking:** The request `/foo/` no longer matches `/foo/*rest`. If you want
827 - **breaking:** Path params for wildcard routes no longer include the prefix
865 - **breaking:** Trailing slash redirects have been removed. Previously if you
888 - **breaking:** `Router::fallback` now only accepts `Handler`s (similarly to
912 - **breaking:** Allow `Error: Into<Infallible>` for `Route::{layer, route_layer}` ([#924])
913 - **breaking:** `MethodRouter` now panics on overlapping routes ([#1102])
914 - **breaking:** `Router::route` now only accepts `MethodRouter`s created with
998 - **breaking:** It is now only possible for one extractor per handler to consume
1093 - **breaking:** `RequestParts` has been removed as part of the `FromRequest`
1095 - **breaking:** `BodyAlreadyExtracted` has been removed ([#1272])
1096 - **breaking:** The following types or traits have a new `S` type param
1107 - **breaking:** Remove `extractor_middleware` which was previously deprecated.
1111 - **breaking:** Require middleware added with `Handler::layer` to have
1146 - **breaking:** Added default limit to how much data `Bytes::from_request` will
1177 Yanked, as it contained an accidental breaking change.
1292 Yanked, as it contained an accidental breaking change.
1311 - **breaking:** `sse::Event` now accepts types implementing `AsRef<str>` instead of `Into<String>`
1313 - **breaking:** `sse::Event` now panics if a setter method is called twice instead of silently
1315 - **breaking:** Require `Output = ()` on `WebSocketStream::on_upgrade` ([#644])
1316 - **breaking:** Make `TypedHeaderRejectionReason` `#[non_exhaustive]` ([#665])
1317 - **breaking:** Using `HeaderMap` as an extractor will no longer remove the headers and thus
1322 This includes these breaking changes:
1335 - **breaking:** `axum::http::Extensions` is no longer an extractor (ie it
1340 This includes these breaking changes:
1353 - **breaking:** `Redirect::found` has been removed ([#800])
1354 - **breaking:** `AddExtensionLayer` has been removed. Use `Extension` instead. It now implements
1356 - **breaking:** `AddExtension` has been moved from the root module to `middleware`
1357 - **breaking:** `.nest("/foo/", Router::new().route("/bar", _))` now does the right thing and
1359 - **breaking:** Routes are now required to start with `/`. Previously routes such as `:foo` would
1361 - **breaking:** `Headers` has been removed. Arrays of tuples directly implement
1363 - **breaking:** `InvalidJsonBody` has been replaced with `JsonDataError` to clearly signal that the
1365 - **breaking:** `Handler` is no longer an `#[async_trait]` but instead has an
1377 - **breaking:** `Redirect::{to, temporary, permanent}` now accept `&str` instead
1379 - **breaking:** Remove second type parameter from `Router::into_make_service_with_connect_info`
1459 variant with `ExtensionsAlreadyExtracted`. This is not a breaking change since `PathRejection` is
1488 - **breaking:** New `MethodRouter` that works similarly to `Router`:
1494 - **breaking:** The default for the type parameter in `FromRequest` and
1500 receive fewer breaking changes. `FromRequest` and `IntoResponse` are
1503 - **breaking:** The previously deprecated `axum::body::box_body` function has
1507 - **breaking:** `routing::handler_method_router` and
1510 - **breaking:** `HandleErrorExt` has been removed in favor of
1512 - **breaking:** `HandleErrorLayer` now requires the handler function to be
1515 - **breaking:** The `Handler<B, T>` trait is now defined as `Handler<T, B =
1518 - **breaking:** `Router::merge` will panic if both routers have fallbacks.
1520 - **breaking:** `Router::nest` will panic if the nested router has a fallback.
1524 - **breaking:** The `Body` and `BodyError` associated types on the
1527 - **breaking:** `PathParamsRejection` has been renamed to `PathRejection` and its
1578 - **breaking:** The router's type is now always `Router` regardless of how many routes or
1591 - **breaking:** Added feature flags for HTTP1 and JSON. This enables removing a
1593 breaking change if you depend on axum with `default_features = false`. ([#286])
1594 - **breaking:** `Route::boxed` and `BoxRoute` have been removed as they're no longer
1596 - **breaking:** `Nested`, `Or` types are now private. They no longer had to be
1598 - **breaking:** Remove `routing::Layered` as it didn't actually do anything and
1600 - **breaking:** Vendor `AddExtensionLayer` and `AddExtension` to reduce public
1602 - **breaking:** `body::BoxBody` is now a type alias for
1611 - **breaking:** axum's minimum supported rust version is now 1.56
1619 - **breaking:** Handlers for multiple HTTP methods must be added in the same
1630 - **breaking:** Method routing for handlers has been moved from `axum::handler`
1633 - **breaking:** Method routing for services has been moved from `axum::service`
1636 - **breaking:** `Router::or` renamed to `Router::merge` and will now panic on
1641 - **breaking:** `EmptyRouter` has been renamed to `MethodNotAllowed` as it's only
1643 - **breaking:** Remove support for routing based on the `CONNECT` method. An
1648 - **breaking:** Automatically do percent decoding in `extract::Path`
1650 - **breaking:** Change `Connected::connect_info` to return `Self` and remove
1655 - **breaking:** Simplify error handling model ([#402]):
1780 - **fixed:** Fix accidental breaking change introduced by internal refactor.