mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-24 00:00:16 +02:00
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:
+6
-1
@@ -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
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "axum"
|
||||
version = "0.3.1"
|
||||
version = "0.3.2"
|
||||
authors = ["David Pedersen <[email protected]>"]
|
||||
categories = ["asynchronous", "network-programming", "web-programming"]
|
||||
description = "Web framework that focuses on ergonomics and modularity"
|
||||
|
||||
Reference in New Issue
Block a user