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
-2
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
# Unreleased
|
||||
|
||||
- None.
|
||||
|
||||
# 0.6.0-rc.5 (18. November, 2022)
|
||||
|
||||
- **breaking:** `Router::with_state` is no longer a constructor. It is instead
|
||||
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);
|
||||
```
|
||||
|
||||
- **breaking:**: `Router::inherit_fallback` has been removed. Use
|
||||
`Router::with_state` instead ([#1532])
|
||||
- **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.
|
||||
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
|
||||
when upgrading a connection fails ([#1539])
|
||||
|
||||
[#1539]: https://github.com/tokio-rs/axum/pull/1539
|
||||
|
||||
[#1521]: https://github.com/tokio-rs/axum/pull/1521
|
||||
[#1529]: https://github.com/tokio-rs/axum/pull/1529
|
||||
[#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)
|
||||
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "axum"
|
||||
version = "0.6.0-rc.4"
|
||||
version = "0.6.0-rc.5"
|
||||
categories = ["asynchronous", "network-programming", "web-programming::http-server"]
|
||||
description = "Web framework that focuses on ergonomics and modularity"
|
||||
edition = "2021"
|
||||
@@ -52,7 +52,7 @@ tower-layer = "0.3.2"
|
||||
tower-service = "0.3"
|
||||
|
||||
# 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 }
|
||||
headers = { version = "0.3.7", optional = true }
|
||||
multer = { version = "2.0.0", optional = true }
|
||||
|
||||
Reference in New Issue
Block a user