Version 0.3.2 (#483)

- **added:** Add `Router::route_layer` for applying middleware that
  will only run on requests that match a route. This is useful for middleware
  that return early, such as authorization ([#474])

[#474]: https://github.com/tokio-rs/axum/pull/474
This commit is contained in:
David Pedersen 2021-11-08 19:01:32 +01:00 committed by GitHub
parent 7eb2c40b24
commit 3d78711e47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View file

@ -7,8 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
# Unreleased
- None
# 0.3.2 (08. November, 2021)
- **added:** Add `Router::route_layer` for applying middleware that
will only run on requests that match a route ([#474])
will only run on requests that match a route. This is useful for middleware
that return early, such as authorization ([#474])
[#474]: https://github.com/tokio-rs/axum/pull/474

View file

@ -1,6 +1,6 @@
[package]
name = "axum"
version = "0.3.1"
version = "0.3.2"
authors = ["David Pedersen <david.pdrsn@gmail.com>"]
categories = ["asynchronous", "network-programming", "web-programming"]
description = "Web framework that focuses on ergonomics and modularity"