summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Pedersen <david.pdrsn@gmail.com>2023-11-27 09:30:38 +0100
committerGitHub <noreply@github.com>2023-11-27 09:30:38 +0100
commitb7d14d3602c401c7f0ece6b51e995d82ddccb1e1 (patch)
tree467bc41ca916ae28ac6c293d5f2b0a890549cac8
parent15781fe22b7b100075bf2be176976598a1402ed1 (diff)
-rw-r--r--axum-core/CHANGELOG.md11
-rw-r--r--axum-core/Cargo.toml4
-rw-r--r--axum-extra/CHANGELOG.md4
-rw-r--r--axum-extra/Cargo.toml10
-rw-r--r--axum-macros/CHANGELOG.md4
-rw-r--r--axum-macros/Cargo.toml6
-rw-r--r--axum/CHANGELOG.md4
-rw-r--r--axum/Cargo.toml8
8 files changed, 37 insertions, 14 deletions
diff --git a/axum-core/CHANGELOG.md b/axum-core/CHANGELOG.md
index 514deb12..b3127ebc 100644
--- a/axum-core/CHANGELOG.md
+++ b/axum-core/CHANGELOG.md
@@ -7,9 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
# Unreleased
+- None.
+
+# 0.4.0 (27. November, 2023)
+
- **added:** Implement `IntoResponse` for `(R,) where R: IntoResponse` ([#2143])
- **fixed:** Fix broken docs links ([#2164])
- **fixed:** Clearly document applying `DefaultBodyLimit` to individual routes ([#2157])
+- **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`
+ - `RequestExt`
+- **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_core::body::Body` ([#1751])
[#2143]: https://github.com/tokio-rs/axum/pull/2143
[#2164]: https://github.com/tokio-rs/axum/pull/2164
diff --git a/axum-core/Cargo.toml b/axum-core/Cargo.toml
index 5295f617..17de5af9 100644
--- a/axum-core/Cargo.toml
+++ b/axum-core/Cargo.toml
@@ -9,7 +9,7 @@ license = "MIT"
name = "axum-core"
readme = "README.md"
repository = "https://github.com/tokio-rs/axum"
-version = "0.3.4" # remember to also bump the version that axum and axum-extra depend on
+version = "0.4.0" # remember to also bump the version that axum and axum-extra depend on
[features]
tracing = ["dep:tracing"]
@@ -38,7 +38,7 @@ tracing = { version = "0.1.37", default-features = false, optional = true }
rustversion = "1.0.9"
[dev-dependencies]
-axum = { path = "../axum", version = "0.6.0" }
+axum = { path = "../axum", version = "0.7.0" }
axum-extra = { path = "../axum-extra", features = ["typed-header"] }
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
hyper = "1.0.0"
diff --git a/axum-extra/CHANGELOG.md b/axum-extra/CHANGELOG.md
index 161145ff..d9070635 100644
--- a/axum-extra/CHANGELOG.md
+++ b/axum-extra/CHANGELOG.md
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning].
# Unreleased
+- None.
+
+# 0.9.0 (27. November, 2023)
+
- **added:** `OptionalQuery` extractor ([#2310])
- **added:** `TypedHeader` which used to be in `axum` ([#1850])
- **breaking:** Update to prost 0.12. Used for the `Protobuf` extractor
diff --git a/axum-extra/Cargo.toml b/axum-extra/Cargo.toml
index 007b530a..dd241c81 100644
--- a/axum-extra/Cargo.toml
+++ b/axum-extra/Cargo.toml
@@ -9,7 +9,7 @@ license = "MIT"
name = "axum-extra"
readme = "README.md"
repository = "https://github.com/tokio-rs/axum"
-version = "0.7.4"
+version = "0.9.0"
[features]
default = []
@@ -36,8 +36,8 @@ typed-header = ["dep:headers"]
typed-routing = ["dep:axum-macros", "dep:percent-encoding", "dep:serde_html_form", "dep:form_urlencoded"]
[dependencies]
-axum = { path = "../axum", version = "0.6.13", default-features = false }
-axum-core = { path = "../axum-core", version = "0.3.4" }
+axum = { path = "../axum", version = "0.7.0", default-features = false }
+axum-core = { path = "../axum-core", version = "0.4.0" }
bytes = "1.1.0"
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
http = "1.0.0"
@@ -51,7 +51,7 @@ tower-layer = "0.3"
tower-service = "0.3"
# optional dependencies
-axum-macros = { path = "../axum-macros", version = "0.3.7", optional = true }
+axum-macros = { path = "../axum-macros", version = "0.4.0", optional = true }
cookie = { package = "cookie", version = "0.18.0", features = ["percent-encode"], optional = true }
form_urlencoded = { version = "1.1.0", optional = true }
headers = { version = "0.4.0", optional = true }
@@ -65,7 +65,7 @@ tokio-stream = { version = "0.1.9", optional = true }
tokio-util = { version = "0.7", optional = true }
[dev-dependencies]
-axum = { path = "../axum", version = "0.6.0" }
+axum = { path = "../axum", version = "0.7.0" }
hyper = "1.0.0"
reqwest = { version = "0.11", default-features = false, features = ["json", "stream", "multipart"] }
serde = { version = "1.0", features = ["derive"] }
diff --git a/axum-macros/CHANGELOG.md b/axum-macros/CHANGELOG.md
index 32f36d00..90dfd9bc 100644
--- a/axum-macros/CHANGELOG.md
+++ b/axum-macros/CHANGELOG.md
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
# Unreleased
+- None.
+
+# 0.4.0 (27. November, 2023)
+
- **breaking:** `#[debug_handler]` no longer accepts a `body = _` argument. The
body type is always `axum::body::Body` ([#1751])
- **fixed:** Fix `rust-version` specific in Cargo.toml ([#2204])
diff --git a/axum-macros/Cargo.toml b/axum-macros/Cargo.toml
index 45ef1620..1b3ee008 100644
--- a/axum-macros/Cargo.toml
+++ b/axum-macros/Cargo.toml
@@ -9,7 +9,7 @@ license = "MIT"
name = "axum-macros"
readme = "README.md"
repository = "https://github.com/tokio-rs/axum"
-version = "0.3.7" # remember to also bump the version that axum and axum-extra depends on
+version = "0.4.0" # remember to also bump the version that axum and axum-extra depends on
[features]
default = []
@@ -30,8 +30,8 @@ syn = { version = "2.0", features = [
] }
[dev-dependencies]
-axum = { path = "../axum", version = "0.6.0", features = ["macros"] }
-axum-extra = { path = "../axum-extra", version = "0.7.0", features = ["typed-routing", "cookie-private", "typed-header"] }
+axum = { path = "../axum", version = "0.7.0", features = ["macros"] }
+axum-extra = { path = "../axum-extra", version = "0.9.0", features = ["typed-routing", "cookie-private", "typed-header"] }
rustversion = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
diff --git a/axum/CHANGELOG.md b/axum/CHANGELOG.md
index 56e3dd48..9343737d 100644
--- a/axum/CHANGELOG.md
+++ b/axum/CHANGELOG.md
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
# Unreleased
+- None.
+
+# 0.7.0 (27. November, 2023)
+
- **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]):
diff --git a/axum/Cargo.toml b/axum/Cargo.toml
index bb915d00..9701517b 100644
--- a/axum/Cargo.toml
+++ b/axum/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "axum"
-version = "0.6.16"
+version = "0.7.0"
categories = ["asynchronous", "network-programming", "web-programming::http-server"]
description = "Web framework that focuses on ergonomics and modularity"
edition = "2021"
@@ -32,7 +32,7 @@ __private_docs = ["tower/full", "dep:tower-http"]
[dependencies]
async-trait = "0.1.67"
-axum-core = { path = "../axum-core", version = "0.3.4" }
+axum-core = { path = "../axum-core", version = "0.4.0" }
bytes = "1.0"
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
http = "1.0.0"
@@ -51,7 +51,7 @@ tower-layer = "0.3.2"
tower-service = "0.3"
# optional dependencies
-axum-macros = { path = "../axum-macros", version = "0.3.7", optional = true }
+axum-macros = { path = "../axum-macros", version = "0.4.0", optional = true }
base64 = { version = "0.21.0", optional = true }
hyper = { version = "1.0.0", optional = true }
hyper-util = { version = "0.1.1", features = ["tokio", "server", "server-auto"], optional = true }
@@ -104,7 +104,7 @@ rustversion = "1.0.9"
[dev-dependencies]
anyhow = "1.0"
-axum-macros = { path = "../axum-macros", version = "0.3.7", features = ["__private"] }
+axum-macros = { path = "../axum-macros", version = "0.4.0", features = ["__private"] }
quickcheck = "1.0"
quickcheck_macros = "1.0"
reqwest = { version = "0.11.14", default-features = false, features = ["json", "stream", "multipart"] }