changed: The inner error of a JsonRejection is now
serde_path_to_error::Error<serde_json::Error>. Previously it was
serde_json::Error (#1371)
added: JsonRejection now displays the path at which a deserialization
error occurred too (#1371)
fixed: Support streaming/chunked requests in ContentLengthLimit (#1389)
fixed: Used 400 Bad Request for FailedToDeserializeQueryString
rejections, instead of 422 Unprocessable Entity (#1387)
added: Add middleware::from_extractor_with_state and
middleware::from_extractor_with_state_arc (#1396)
added: Add DefaultBodyLimit::max for changing the default body limit (#1397)
added: Add map_request, map_request_with_state, and
map_request_with_state_arc for transforming the request with an async
function (#1408)
added: Add map_response, map_response_with_state, and
map_response_with_state_arc for transforming the response with an async
function (#1414)
breaking:ContentLengthLimit has been removed. Use DefaultBodyLimit instead (#1400)
changed:Router no longer implements Service, call .into_service()
on it to obtain a RouterService that does (#1368)
added: Add Router::inherit_state, which creates a Router with an
arbitrary state type without actually supplying the state; such a Router
can't be turned into a service directly (.into_service() will panic), but
can be nested or merged into a Router with the same state type (#1368)
changed:Router::nest now only accepts Routers, the general-purpose
Service nesting method has been renamed to nest_service (#1368)
added: Support compiling to WASM. See the simple-router-wasm example
for more details (#1382)
breaking: New tokio default feature needed for WASM support. If you
don't need WASM support but have default_features = false for other reasons
you likely need to re-enable the tokio feature (#1382)
breaking:handler::{WithState, IntoService} are merged into one type,
named HandlerService (#1418)
changed: The default body limit now applies to the Multipart extractor (#1420)
added: String and binary From impls have been added to extract::ws::Message
to be more inline with tungstenite (#1421)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps axum from 0.6.0-rc.2 to 0.6.0-rc.4.
Release notes
Sourced from axum's releases.
... (truncated)
Commits
74bbe80
axum 0.6.0-rc.4 (#1518)028cac4
Fix compile error in release mode (#1517)1d6a96e
Remove references to*_with_state_arc
functions from changeloge53c85c
Minor changelog fixese39d053
New release candidates (#1514)9c804d5
Update changelog for axum-extra0e3f9d0
Don't allow extractingMatchedPath
in middleware for nested routes (#1462)e0ef641
ReworkForm
andQuery
rejections (#1496)8d6313a
Add example of static-file-server using serve dir with handler as service (#1...944f388
Add missing cfg's for signed cookie testsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)