mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-27 00:00:24 +02:00
Axum expected the `Connection` header to be _exactly_ `upgrade`. Turns out thats a bit too strict as this didn't work in Firefox. Turns out `Connection` just has to contain `upgrade`. At least that is what [warp does](https://github.com/seanmonstar/warp/blob/master/src/filters/ws.rs#L46).
32 lines
1.4 KiB
Markdown
32 lines
1.4 KiB
Markdown
# Changelog
|
|
|
|
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/),
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
# Unreleased
|
|
|
|
- Implement `Stream` for `WebSocket` ([#52](https://github.com/tokio-rs/axum/pull/52))
|
|
- Implement `Sink` for `WebSocket` ([#52](https://github.com/tokio-rs/axum/pull/52))
|
|
- Implement `Deref` most extractors ([#56](https://github.com/tokio-rs/axum/pull/56))
|
|
- Return `405 Method Not Allowed` for unsupported method for route ([#63](https://github.com/tokio-rs/axum/pull/63))
|
|
- Add extractor for remote connection info ([#55](https://github.com/tokio-rs/axum/pull/55))
|
|
- Improve error message of `MissingExtension` rejections ([#72](https://github.com/tokio-rs/axum/pull/72))
|
|
- Improve documentation for routing ([#71](https://github.com/tokio-rs/axum/pull/71))
|
|
- Clarify required response body type when routing to `tower::Service`s ([#69](https://github.com/tokio-rs/axum/pull/69))
|
|
- Add `axum::body::box_body` to converting an `http_body::Body` to `axum::body::BoxBody` ([#69](https://github.com/tokio-rs/axum/pull/69))
|
|
- Fix WebSockets failing on Firefox ([#76](https://github.com/tokio-rs/axum/pull/76))
|
|
|
|
## Breaking changes
|
|
|
|
None.
|
|
|
|
# 0.1.1 (30. July, 2021)
|
|
|
|
- Misc readme fixes.
|
|
|
|
# 0.1.0 (30. July, 2021)
|
|
|
|
- Initial release.
|