Skip to content

Commit 6c91983

Browse files
committed
Update changelogs
1 parent 169d142 commit 6c91983

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

axum-extra/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog],
66
and this project adheres to [Semantic Versioning].
77

8+
# Unreleased
9+
10+
- **added:** Add `RouterExt::typed_connect` ([#2961]).
11+
812
# 0.10.0
913

1014
# alpha.1

axum/CHANGELOG.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
# Unreleased
9+
10+
- **added:** Add support for WebSockets over HTTP/2 ([#2894]).
11+
They can be enabled by changing `get(ws_endpoint)` handlers to `any(ws_endpoint)`.
12+
- **added:** Add `MethodFilter::CONNECT`, `routing::connect[_service]`
13+
and `MethodRouter::connect[_service]` ([#2961]).
14+
815
# 0.8.0
916

1017
## alpha.1
@@ -15,9 +22,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1522
- **breaking:** Upgrade matchit to 0.8, changing the path parameter syntax from `/:single` and `/*many`
1623
to `/{single}` and `/{*many}`; the old syntax produces a panic to avoid silent change in behavior ([#2645])
1724
- **change:** Update minimum rust version to 1.75 ([#2943])
18-
- **added:** Add support for WebSockets over HTTP/2.
19-
They can be enabled by changing `get(ws_endpoint)` handlers to `any(ws_endpoint)`.
20-
- **added:** Add `MethodFilter::CONNECT`.
2125

2226
[#2473]: https://github.com/tokio-rs/axum/pull/2473
2327
[#2645]: https://github.com/tokio-rs/axum/pull/2645

axum/src/routing/method_filter.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pub struct MethodFilter(u16);
1111
impl MethodFilter {
1212
/// Match `CONNECT` requests.
1313
///
14-
/// This is useful for implementing HTTP/2s [extended CONNECT method],
14+
/// This is useful for implementing HTTP/2's [extended CONNECT method],
1515
/// in which the `:protocol` pseudoheader is read
1616
/// (using [`hyper::ext::Protocol`])
1717
/// and the connection upgraded to a bidirectional byte stream
@@ -20,7 +20,7 @@ impl MethodFilter {
2020
/// As seen in the [HTTP Upgrade Token Registry],
2121
/// common uses include WebSockets and proxying UDP or IP –
2222
/// though note that when using [`WebSocketUpgrade`]
23-
/// its more useful to use [`any`](crate::routing::any)
23+
/// it's more useful to use [`any`](crate::routing::any)
2424
/// as HTTP/1.1 WebSockets need to support `GET`.
2525
///
2626
/// [extended CONNECT]: https://www.rfc-editor.org/rfc/rfc8441.html#section-4

0 commit comments

Comments
 (0)