diff --git a/axum-core/CHANGELOG.md b/axum-core/CHANGELOG.md index dfa3fbf247..f2932a42e4 100644 --- a/axum-core/CHANGELOG.md +++ b/axum-core/CHANGELOG.md @@ -5,10 +5,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -# Unreleased +# 0.5.0 +## alpha.1 + +- **breaking:** Replace `#[async_trait]` with [return-position `impl Trait` in traits][RPITIT] ([#2308]) - **change:** Update minimum rust version to 1.75 ([#2943]) +[RPITIT]: https://blog.rust-lang.org/2023/12/21/async-fn-rpit-in-traits.html +[#2308]: https://github.com/tokio-rs/axum/pull/2308 [#2943]: https://github.com/tokio-rs/axum/pull/2943 # 0.4.5 diff --git a/axum-core/Cargo.toml b/axum-core/Cargo.toml index 69c5aa18f3..d749a3b029 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.4.5" # remember to also bump the version that axum and axum-extra depend on +version = "0.5.0-alpha.1" # remember to bump the version that axum and axum-extra depend on [features] tracing = ["dep:tracing"] @@ -35,7 +35,7 @@ tower-http = { version = "0.6.0", optional = true, features = ["limit"] } tracing = { version = "0.1.37", default-features = false, optional = true } [dev-dependencies] -axum = { path = "../axum", version = "0.7.2" } +axum = { path = "../axum", version = "0.8.0-alpha.1" } 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 a8d1f5ce37..450e722a85 100644 --- a/axum-extra/CHANGELOG.md +++ b/axum-extra/CHANGELOG.md @@ -5,7 +5,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog], and this project adheres to [Semantic Versioning]. -# Unreleased +# 0.10.0 + +# alpha.1 - **breaking:** Update to prost 0.13. Used for the `Protobuf` extractor ([#2829]) - **change:** Update minimum rust version to 1.75 ([#2943]) diff --git a/axum-extra/Cargo.toml b/axum-extra/Cargo.toml index fe620ce3dd..a8c2fcbc73 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.9.4" +version = "0.10.0-alpha.1" [features] default = ["tracing", "multipart"] @@ -39,8 +39,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.7.7", default-features = false } -axum-core = { path = "../axum-core", version = "0.4.5" } +axum = { path = "../axum", version = "0.8.0-alpha.1", default-features = false } +axum-core = { path = "../axum-core", version = "0.5.0-alpha.1" } bytes = "1.1.0" futures-util = { version = "0.3", default-features = false, features = ["alloc"] } http = "1.0.0" @@ -54,7 +54,7 @@ tower-layer = "0.3" tower-service = "0.3" # optional dependencies -axum-macros = { path = "../axum-macros", version = "0.4.2", optional = true } +axum-macros = { path = "../axum-macros", version = "0.5.0-alpha.1", optional = true } cookie = { package = "cookie", version = "0.18.0", features = ["percent-encode"], optional = true } fastrand = { version = "2.1.0", optional = true } form_urlencoded = { version = "1.1.0", optional = true } @@ -71,7 +71,7 @@ tokio-util = { version = "0.7", optional = true } tracing = { version = "0.1.37", default-features = false, optional = true } [dev-dependencies] -axum = { path = "../axum", version = "0.7.2" } +axum = { path = "../axum", version = "0.8.0-alpha.1" } hyper = "1.0.0" reqwest = { version = "0.12", 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 ff132d8528..11b7820f89 100644 --- a/axum-macros/CHANGELOG.md +++ b/axum-macros/CHANGELOG.md @@ -5,8 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -# Unreleased +# 0.5.0 +## alpha.1 + +- **breaking:** Update code generation for axum-core 0.5.0-alpha.1 - **change:** Update minimum rust version to 1.75 ([#2943]) [#2943]: https://github.com/tokio-rs/axum/pull/2943 diff --git a/axum-macros/Cargo.toml b/axum-macros/Cargo.toml index 543b520c50..ae142b5d06 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.4.2" # remember to also bump the version that axum and axum-extra depends on +version = "0.5.0-alpha.1" # remember to also bump the version that axum and axum-extra depends on [features] default = [] @@ -29,8 +29,8 @@ syn = { version = "2.0", features = [ ] } [dev-dependencies] -axum = { path = "../axum", version = "0.7.2", features = ["macros"] } -axum-extra = { path = "../axum-extra", version = "0.9.0", features = ["typed-routing", "cookie-private", "typed-header"] } +axum = { path = "../axum", version = "0.8.0-alpha.1", features = ["macros"] } +axum-extra = { path = "../axum-extra", version = "0.10.0-alpha.1", 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 47b69e2c83..21194b529f 100644 --- a/axum/CHANGELOG.md +++ b/axum/CHANGELOG.md @@ -5,7 +5,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -# Unreleased +# 0.8.0 + +## alpha.1 - **breaking:** Require `Sync` for all handlers and services added to `Router` and `MethodRouter` ([#2473]) diff --git a/axum/Cargo.toml b/axum/Cargo.toml index 6b8d70445d..5b9c550d0b 100644 --- a/axum/Cargo.toml +++ b/axum/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "axum" -version = "0.7.7" +version = "0.8.0-alpha.1" # remember to bump the version that axum-extra and axum-macros depend on categories = ["asynchronous", "network-programming", "web-programming::http-server"] description = "Web framework that focuses on ergonomics and modularity" edition = "2021" @@ -41,7 +41,7 @@ ws = ["dep:hyper", "tokio", "dep:tokio-tungstenite", "dep:sha1", "dep:base64"] __private_docs = ["tower/full", "dep:tower-http"] [dependencies] -axum-core = { path = "../axum-core", version = "0.4.5" } +axum-core = { path = "../axum-core", version = "0.5.0-alpha.1" } bytes = "1.0" futures-util = { version = "0.3", default-features = false, features = ["alloc"] } http = "1.0.0" @@ -61,7 +61,7 @@ tower-layer = "0.3.2" tower-service = "0.3" # optional dependencies -axum-macros = { path = "../axum-macros", version = "0.4.2", optional = true } +axum-macros = { path = "../axum-macros", version = "0.5.0-alpha.1", optional = true } base64 = { version = "0.22.1", optional = true } hyper = { version = "1.1.0", optional = true } hyper-util = { version = "0.1.3", features = ["tokio", "server", "service"], optional = true } @@ -111,7 +111,7 @@ features = [ [dev-dependencies] anyhow = "1.0" -axum-macros = { path = "../axum-macros", version = "0.4.1", features = ["__private"] } +axum-macros = { path = "../axum-macros", version = "0.5.0-alpha.1", features = ["__private"] } quickcheck = "1.0" quickcheck_macros = "1.0" reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "multipart"] }