axum: Version 0.5.6 (#1033)

This commit is contained in:
David Pedersen 2022-05-15 22:05:00 +01:00 committed by GitHub
parent 3e722379ac
commit 316e20fbd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View file

@ -7,11 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
# Unreleased
- None.
# 0.5.6 (15. May, 2022)
- **added:** Add `WebSocket::protocol` to return the selected WebSocket subprotocol, if there is one. ([#1022])
- **fixed:** Improve error for `PathRejection::WrongNumberOfParameters` to hint at using
- **fixed:** Improve error message for `PathRejection::WrongNumberOfParameters` to hint at using
`Path<(String, String)>` or `Path<SomeStruct>` ([#1023])
- **fixed:** `PathRejection::WrongNumberOfParameters` now uses `500 Internal Server Error` since
its a programmer error and not a client error ([#1023])
it's a programmer error and not a client error ([#1023])
- **fixed:** Fix `InvalidFormContentType` mentioning the wrong content type
[#1022]: https://github.com/tokio-rs/axum/pull/1022

View file

@ -1,6 +1,6 @@
[package]
name = "axum"
version = "0.5.5"
version = "0.5.6"
categories = ["asynchronous", "network-programming", "web-programming"]
description = "Web framework that focuses on ergonomics and modularity"
edition = "2018"