mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-28 00:00:20 +02:00
New release candidates (#1541)
This commit is contained in:
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
# Unreleased
|
# Unreleased
|
||||||
|
|
||||||
|
- None.
|
||||||
|
|
||||||
|
# 0.3.0-rc.3 (18. November, 2022)
|
||||||
|
|
||||||
- **added:** Add `#[from_ref(skip)]` to skip implementing `FromRef` for individual fields ([#1537])
|
- **added:** Add `#[from_ref(skip)]` to skip implementing `FromRef` for individual fields ([#1537])
|
||||||
|
|
||||||
[#1537]: https://github.com/tokio-rs/axum/pull/1537
|
[#1537]: https://github.com/tokio-rs/axum/pull/1537
|
||||||
|
|||||||
@@ -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.3.0-rc.2" # remember to also bump the version that axum and axum-extra depends on
|
version = "0.3.0-rc.3" # remember to also bump the version that axum and axum-extra depends on
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
proc-macro = true
|
proc-macro = true
|
||||||
@@ -25,8 +25,8 @@ syn = { version = "1.0", features = [
|
|||||||
] }
|
] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
axum = { path = "../axum", version = "0.6.0-rc.2", features = ["headers", "macros"] }
|
axum = { path = "../axum", version = "=0.6.0-rc.5", features = ["headers", "macros"] }
|
||||||
axum-extra = { path = "../axum-extra", version = "0.4.0-rc.1", features = ["typed-routing", "cookie-private"] }
|
axum-extra = { path = "../axum-extra", version = "=0.4.0-rc.2", features = ["typed-routing", "cookie-private"] }
|
||||||
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"
|
||||||
|
|||||||
+7
-2
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
# Unreleased
|
# Unreleased
|
||||||
|
|
||||||
|
- None.
|
||||||
|
|
||||||
|
# 0.6.0-rc.5 (18. November, 2022)
|
||||||
|
|
||||||
- **breaking:** `Router::with_state` is no longer a constructor. It is instead
|
- **breaking:** `Router::with_state` is no longer a constructor. It is instead
|
||||||
used to convert the router into a `RouterService` ([#1532])
|
used to convert the router into a `RouterService` ([#1532])
|
||||||
|
|
||||||
@@ -22,6 +26,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
Router::new().route(...).with_state(state);
|
Router::new().route(...).with_state(state);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
- **breaking:**: `Router::inherit_fallback` has been removed. Use
|
||||||
|
`Router::with_state` instead ([#1532])
|
||||||
- **breaking:**: `Router::nest` and `Router::merge` now only supports nesting
|
- **breaking:**: `Router::nest` and `Router::merge` now only supports nesting
|
||||||
routers that use the same state type as the router they're being merged into.
|
routers that use the same state type as the router they're being merged into.
|
||||||
Use `FromRef` for substates ([#1532])
|
Use `FromRef` for substates ([#1532])
|
||||||
@@ -32,11 +38,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- **added:** Add `WebSocketUpgrade::on_failed_upgrade` to customize what to do
|
- **added:** Add `WebSocketUpgrade::on_failed_upgrade` to customize what to do
|
||||||
when upgrading a connection fails ([#1539])
|
when upgrading a connection fails ([#1539])
|
||||||
|
|
||||||
[#1539]: https://github.com/tokio-rs/axum/pull/1539
|
|
||||||
|
|
||||||
[#1521]: https://github.com/tokio-rs/axum/pull/1521
|
[#1521]: https://github.com/tokio-rs/axum/pull/1521
|
||||||
[#1529]: https://github.com/tokio-rs/axum/pull/1529
|
[#1529]: https://github.com/tokio-rs/axum/pull/1529
|
||||||
[#1532]: https://github.com/tokio-rs/axum/pull/1532
|
[#1532]: https://github.com/tokio-rs/axum/pull/1532
|
||||||
|
[#1539]: https://github.com/tokio-rs/axum/pull/1539
|
||||||
|
|
||||||
# 0.6.0-rc.4 (9. November, 2022)
|
# 0.6.0-rc.4 (9. November, 2022)
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "axum"
|
name = "axum"
|
||||||
version = "0.6.0-rc.4"
|
version = "0.6.0-rc.5"
|
||||||
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"
|
||||||
@@ -52,7 +52,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.3.0-rc.2", optional = true }
|
axum-macros = { path = "../axum-macros", version = "=0.3.0-rc.3", optional = true }
|
||||||
base64 = { version = "0.13", optional = true }
|
base64 = { version = "0.13", optional = true }
|
||||||
headers = { version = "0.3.7", optional = true }
|
headers = { version = "0.3.7", optional = true }
|
||||||
multer = { version = "2.0.0", optional = true }
|
multer = { version = "2.0.0", optional = true }
|
||||||
|
|||||||
Reference in New Issue
Block a user