New release candidates (#1541)

This commit is contained in:
David Pedersen 2022-11-18 17:29:47 +01:00 committed by GitHub
parent 468985373a
commit 878ae73e6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 7 deletions

View file

@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
# Unreleased
- None.
# 0.3.0-rc.3 (18. November, 2022)
- **added:** Add `#[from_ref(skip)]` to skip implementing `FromRef` for individual fields ([#1537])
[#1537]: https://github.com/tokio-rs/axum/pull/1537

View file

@ -9,7 +9,7 @@ license = "MIT"
name = "axum-macros"
readme = "README.md"
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]
proc-macro = true
@ -25,8 +25,8 @@ syn = { version = "1.0", features = [
] }
[dev-dependencies]
axum = { path = "../axum", version = "0.6.0-rc.2", features = ["headers", "macros"] }
axum-extra = { path = "../axum-extra", version = "0.4.0-rc.1", features = ["typed-routing", "cookie-private"] }
axum = { path = "../axum", version = "=0.6.0-rc.5", features = ["headers", "macros"] }
axum-extra = { path = "../axum-extra", version = "=0.4.0-rc.2", features = ["typed-routing", "cookie-private"] }
rustversion = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

View file

@ -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)

View file

@ -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 }