Skip to content

Commit f791ec3

Browse files
committed
Merge branch 'v0.8.x' into jplatte/v0.8.5
2 parents 72e820f + a1d22f6 commit f791ec3

File tree

9 files changed

+57
-13
lines changed

9 files changed

+57
-13
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ env:
77
on:
88
push:
99
branches:
10-
- main
10+
- main
11+
- v0.*
1112
pull_request: {}
1213

1314
jobs:

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

axum-core/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
# Unreleased
8+
# 0.5.3
99

1010
- **added:** `DefaultBodyLimit::apply` for changing the `DefaultBodyLimit` inside extractors.
1111
([#3368])
12+
- **changed:** Update minimum rust version to 1.78 ([#3412])
1213

1314
[#3368]: https://github.com/tokio-rs/axum/pull/3366
1415

axum-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ license = "MIT"
99
name = "axum-core"
1010
readme = "README.md"
1111
repository = "https://github.com/tokio-rs/axum"
12-
version = "0.5.2" # remember to bump the version that axum and axum-extra depend on
12+
version = "0.5.3" # remember to bump the version that axum and axum-extra depend on
1313

1414
[package.metadata.cargo-public-api-crates]
1515
allowed = [

axum-extra/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ Yanked from crates.io due to unforeseen breaking change, see [#3190] for details
2727

2828
[#3190]: https://github.com/tokio-rs/axum/pull/3190
2929

30+
# 0.10.2
31+
32+
- **added:** Implement `OptionalFromRequest` for `Host` ([#3177])
33+
34+
[#3177]: https://github.com/tokio-rs/axum/pull/3177
35+
3036
# 0.10.1
3137

3238
- **fixed:** Fix a broken link in the documentation of `ErasedJson` ([#3186])

axum-extra/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ license = "MIT"
99
name = "axum-extra"
1010
readme = "README.md"
1111
repository = "https://github.com/tokio-rs/axum"
12-
version = "0.10.1"
12+
version = "0.10.2"
1313

1414
[package.metadata.docs.rs]
1515
all-features = true

axum/CHANGELOG.md

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
- **breaking:** `#[from_request(via(Extractor))]` now uses the extractor's
1212
rejection type instead of `axum::response::Response` ([#3261])
1313
- **breaking:** `axum::serve` now applies hyper's default `header_read_timeout` ([#3478])
14-
- **added:** Implement `OptionalFromRequest` for `Multipart` ([#3220])
1514
- **added:** New `ListenerExt::limit_connections` allows limiting concurrent `axum::serve` connections ([#3489])
1615
- **changed:** `serve` has an additional generic argument and can now work with any response body
1716
type, not just `axum::body::Body` ([#3205])
18-
- **change:** Update minimum rust version to 1.78 ([#3412])
1917

2018
[#3158]: https://github.com/tokio-rs/axum/pull/3158
2119
[#3261]: https://github.com/tokio-rs/axum/pull/3261
2220
[#3205]: https://github.com/tokio-rs/axum/pull/3205
23-
[#3220]: https://github.com/tokio-rs/axum/pull/3220
24-
[#3412]: https://github.com/tokio-rs/axum/pull/3412
2521
[#3478]: https://github.com/tokio-rs/axum/pull/3478
2622
[#3489]: https://github.com/tokio-rs/axum/pull/3489
2723

24+
# 0.8.5
25+
26+
- **fixed:** Reject JSON request bodies with trailing characters after the JSON document ([#3453])
27+
- **added:** Implement `OptionalFromRequest` for `Multipart` ([#3220])
28+
- **added:** Getter methods `Location::{status_code, location}`
29+
- **added:** Support for writing arbitrary binary data into server-sent events ([#3425])]
30+
- **added:** `middleware::ResponseAxumBodyLayer` for mapping response body to `axum::body::Body` ([#3469])
31+
- **added:** `impl FusedStream for WebSocket` ([#3443])
32+
- **changed:** The `sse` module and `Sse` type no longer depend on the `tokio` feature ([#3154])
33+
- **changed:** If the location given to one of `Redirect`s constructors is not a valid
34+
header value, instead of panicking on construction, the `IntoResponse` impl now returns
35+
an HTTP 500, just like `Json` does when serialization fails ([#3377])
36+
- **changed:** Update minimum rust version to 1.78 ([#3412])
37+
38+
[#3154]: https://github.com/tokio-rs/axum/pull/3154
39+
[#3220]: https://github.com/tokio-rs/axum/pull/3220
40+
[#3377]: https://github.com/tokio-rs/axum/pull/3377
41+
[#3412]: https://github.com/tokio-rs/axum/pull/3412
42+
[#3425]: https://github.com/tokio-rs/axum/pull/3425
43+
[#3443]: https://github.com/tokio-rs/axum/pull/3443
44+
[#3453]: https://github.com/tokio-rs/axum/pull/3453
45+
[#3469]: https://github.com/tokio-rs/axum/pull/3469
46+
2847
# 0.8.4
2948

3049
- **added:** `Router::reset_fallback` ([#3320])

axum/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "axum"
3-
version = "0.8.4" # remember to bump the version that axum-extra depends on
3+
version = "0.8.5" # remember to bump the version that axum-extra depends on
44
categories = ["asynchronous", "network-programming", "web-programming::http-server"]
55
description = "Web framework that focuses on ergonomics and modularity"
66
edition = "2021"
@@ -94,7 +94,7 @@ __private_docs = [
9494
__private = ["tokio", "http1", "dep:reqwest"]
9595

9696
[dependencies]
97-
axum-core = { path = "../axum-core", version = "0.5.2" }
97+
axum-core = { path = "../axum-core", version = "0.5.3" }
9898
bytes = "1.0"
9999
futures-core = "0.3"
100100
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }

deny.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,23 @@ skip-tree = [
2323
{ name = "base64" },
2424
# parking_lot pulls in old versions of windows-sys
2525
{ name = "windows-sys" },
26+
# old version pulled in by rustls via ring
27+
{ name = "spin" },
28+
# lots still pulls in syn 1.x
29+
{ name = "syn" },
30+
# until 1.0 is out we're pulling in both 0.14 and 1.0-rc.x
31+
{ name = "hyper" },
32+
# pulled in by tracing-subscriber
33+
{ name = "regex-syntax" },
34+
# pulled in by tracing-subscriber
35+
{ name = "regex-automata" },
36+
# pulled in by hyper
37+
{ name = "socket2" },
38+
# hyper-util hasn't upgraded to 0.5 yet, but it's the same service / layer
39+
# crates beneath
40+
{ name = "tower" },
41+
# tower hasn't upgraded to 1.0 yet
42+
{ name = "sync_wrapper" },
2643
# pulled in by quickcheck and cookie
2744
{ name = "rand" },
2845
]

0 commit comments

Comments
 (0)