mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-28 19:22:56 +01:00
Release axum 0.8.0-alpha.1 and related crates (#2958)
This commit is contained in:
parent
20a0624795
commit
9a69e415fb
8 changed files with 30 additions and 18 deletions
|
@ -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/),
|
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).
|
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])
|
- **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
|
[#2943]: https://github.com/tokio-rs/axum/pull/2943
|
||||||
|
|
||||||
# 0.4.5
|
# 0.4.5
|
||||||
|
|
|
@ -9,7 +9,7 @@ license = "MIT"
|
||||||
name = "axum-core"
|
name = "axum-core"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
repository = "https://github.com/tokio-rs/axum"
|
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]
|
[features]
|
||||||
tracing = ["dep:tracing"]
|
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 }
|
tracing = { version = "0.1.37", default-features = false, optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[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"] }
|
axum-extra = { path = "../axum-extra", features = ["typed-header"] }
|
||||||
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
|
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
|
||||||
hyper = "1.0.0"
|
hyper = "1.0.0"
|
||||||
|
|
|
@ -5,7 +5,9 @@ All notable changes to this project will be documented in this file.
|
||||||
The format is based on [Keep a Changelog],
|
The format is based on [Keep a Changelog],
|
||||||
and this project adheres to [Semantic Versioning].
|
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])
|
- **breaking:** Update to prost 0.13. Used for the `Protobuf` extractor ([#2829])
|
||||||
- **change:** Update minimum rust version to 1.75 ([#2943])
|
- **change:** Update minimum rust version to 1.75 ([#2943])
|
||||||
|
|
|
@ -9,7 +9,7 @@ license = "MIT"
|
||||||
name = "axum-extra"
|
name = "axum-extra"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
repository = "https://github.com/tokio-rs/axum"
|
repository = "https://github.com/tokio-rs/axum"
|
||||||
version = "0.9.4"
|
version = "0.10.0-alpha.1"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["tracing", "multipart"]
|
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"]
|
typed-routing = ["dep:axum-macros", "dep:percent-encoding", "dep:serde_html_form", "dep:form_urlencoded"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
axum = { path = "../axum", version = "0.7.7", default-features = false }
|
axum = { path = "../axum", version = "0.8.0-alpha.1", default-features = false }
|
||||||
axum-core = { path = "../axum-core", version = "0.4.5" }
|
axum-core = { path = "../axum-core", version = "0.5.0-alpha.1" }
|
||||||
bytes = "1.1.0"
|
bytes = "1.1.0"
|
||||||
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
|
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
|
||||||
http = "1.0.0"
|
http = "1.0.0"
|
||||||
|
@ -54,7 +54,7 @@ tower-layer = "0.3"
|
||||||
tower-service = "0.3"
|
tower-service = "0.3"
|
||||||
|
|
||||||
# optional dependencies
|
# 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 }
|
cookie = { package = "cookie", version = "0.18.0", features = ["percent-encode"], optional = true }
|
||||||
fastrand = { version = "2.1.0", optional = true }
|
fastrand = { version = "2.1.0", optional = true }
|
||||||
form_urlencoded = { version = "1.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 }
|
tracing = { version = "0.1.37", default-features = false, optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
axum = { path = "../axum", version = "0.7.2" }
|
axum = { path = "../axum", version = "0.8.0-alpha.1" }
|
||||||
hyper = "1.0.0"
|
hyper = "1.0.0"
|
||||||
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "multipart"] }
|
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "multipart"] }
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
|
|
|
@ -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/),
|
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).
|
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])
|
- **change:** Update minimum rust version to 1.75 ([#2943])
|
||||||
|
|
||||||
[#2943]: https://github.com/tokio-rs/axum/pull/2943
|
[#2943]: https://github.com/tokio-rs/axum/pull/2943
|
||||||
|
|
|
@ -9,7 +9,7 @@ license = "MIT"
|
||||||
name = "axum-macros"
|
name = "axum-macros"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
repository = "https://github.com/tokio-rs/axum"
|
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]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
@ -29,8 +29,8 @@ syn = { version = "2.0", features = [
|
||||||
] }
|
] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
axum = { path = "../axum", version = "0.7.2", features = ["macros"] }
|
axum = { path = "../axum", version = "0.8.0-alpha.1", features = ["macros"] }
|
||||||
axum-extra = { path = "../axum-extra", version = "0.9.0", features = ["typed-routing", "cookie-private", "typed-header"] }
|
axum-extra = { path = "../axum-extra", version = "0.10.0-alpha.1", features = ["typed-routing", "cookie-private", "typed-header"] }
|
||||||
rustversion = "1.0"
|
rustversion = "1.0"
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
|
|
|
@ -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/),
|
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).
|
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`
|
- **breaking:** Require `Sync` for all handlers and services added to `Router`
|
||||||
and `MethodRouter` ([#2473])
|
and `MethodRouter` ([#2473])
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "axum"
|
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"]
|
categories = ["asynchronous", "network-programming", "web-programming::http-server"]
|
||||||
description = "Web framework that focuses on ergonomics and modularity"
|
description = "Web framework that focuses on ergonomics and modularity"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
@ -41,7 +41,7 @@ ws = ["dep:hyper", "tokio", "dep:tokio-tungstenite", "dep:sha1", "dep:base64"]
|
||||||
__private_docs = ["tower/full", "dep:tower-http"]
|
__private_docs = ["tower/full", "dep:tower-http"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
axum-core = { path = "../axum-core", version = "0.4.5" }
|
axum-core = { path = "../axum-core", version = "0.5.0-alpha.1" }
|
||||||
bytes = "1.0"
|
bytes = "1.0"
|
||||||
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
|
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
|
||||||
http = "1.0.0"
|
http = "1.0.0"
|
||||||
|
@ -61,7 +61,7 @@ tower-layer = "0.3.2"
|
||||||
tower-service = "0.3"
|
tower-service = "0.3"
|
||||||
|
|
||||||
# optional dependencies
|
# 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 }
|
base64 = { version = "0.22.1", optional = true }
|
||||||
hyper = { version = "1.1.0", optional = true }
|
hyper = { version = "1.1.0", optional = true }
|
||||||
hyper-util = { version = "0.1.3", features = ["tokio", "server", "service"], optional = true }
|
hyper-util = { version = "0.1.3", features = ["tokio", "server", "service"], optional = true }
|
||||||
|
@ -111,7 +111,7 @@ features = [
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
anyhow = "1.0"
|
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 = "1.0"
|
||||||
quickcheck_macros = "1.0"
|
quickcheck_macros = "1.0"
|
||||||
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "multipart"] }
|
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "multipart"] }
|
||||||
|
|
Loading…
Reference in a new issue