diff --git a/CHANGELOG.md b/CHANGELOG.md index 89aa41a..db89c9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +### Added + +## 0.10.0 (2023-05-19) + +- tonic services support +- choices of TLS support (corresponding to underlying reqwest crate features) +- `RegisteredClaims` added (representing RFC7519 registered claims), used as default for `JwtAuthorizer` + ## 0.9.0 (2023-04-14) ### Added diff --git a/Cargo.lock b/Cargo.lock index 6a2f57b..24a61e2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -858,7 +858,7 @@ dependencies = [ [[package]] name = "jwt-authorizer" -version = "0.9.0" +version = "0.10.0" dependencies = [ "axum", "chrono", diff --git a/README.md b/README.md index 1df545f..d8b8f7e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # jwt-authorizer -JWT authorizer Layer for Axum and Tonic. +JWT authorizer Layer for Axum. [![Build status](https://github.com/cduvray/jwt-authorizer/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/tokio-rs/cduvray/jwt-authorizer/workflows/ci.yml) [![Crates.io](https://img.shields.io/crates/v/jwt-authorizer)](https://crates.io/crates/jwt-authorizer) @@ -16,8 +16,10 @@ JWT authorizer Layer for Axum and Tonic. - Validation - exp, nbf, iss, aud - Claims extraction + - into custom deserializable structs or into `RegisteredClaims` (default) - Claims checker - Tracing support (error logging) +- *tonic* support ## Usage diff --git a/jwt-authorizer/Cargo.toml b/jwt-authorizer/Cargo.toml index 55dbce0..a06a649 100644 --- a/jwt-authorizer/Cargo.toml +++ b/jwt-authorizer/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "jwt-authorizer" description = "jwt authorizer middleware for axum and tonic" -version = "0.9.0" +version = "0.10.0" edition = "2021" authors = ["cduvray "] license = "MIT"