From 75b5c115787e7f8b9cab6cc1b9df2b6a33f2ba71 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 25 Aug 2024 18:41:49 -0700 Subject: [PATCH] chore: release v0.6.0 (#351) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 🤖 New release * `roadster`: 0.5.19 -> 0.6.0
Changelog

## [0.6.0](https://github.com/roadster-rs/roadster/compare/roadster-v0.5.19...roadster-v0.6.0) - 2024-08-25 ### Added - Add a public method to decode a JWT from a string ([#348](https://github.com/roadster-rs/roadster/pull/348)) - Mark refresh token headers as sensitive ([#347](https://github.com/roadster-rs/roadster/pull/347)) - Make the `User` sea-orm migration enum public ([#346](https://github.com/roadster-rs/roadster/pull/346)) - Allow splitting config files into many files in env directories ([#344](https://github.com/roadster-rs/roadster/pull/344)) - [**breaking**] App methods take `self` ([#337](https://github.com/roadster-rs/roadster/pull/337)) - Remove cookie extraction for `Jwt`, but allow it in `JwtCsrf` ([#332](https://github.com/roadster-rs/roadster/pull/332)) - Allow custom sub-claims in provided `Claims` types ([#331](https://github.com/roadster-rs/roadster/pull/331)) - Allow jwt from cookie, but only if it's explicitly requested ([#329](https://github.com/roadster-rs/roadster/pull/329)) ### Fixed - [**breaking**] Don't expect a "Bearer" token in the auth token cookie ([#340](https://github.com/roadster-rs/roadster/pull/340)) ### Other - Remove a `todo` comment ([#345](https://github.com/roadster-rs/roadster/pull/345)) - Remove a todo comment from the tracing mod ([#343](https://github.com/roadster-rs/roadster/pull/343)) - Update leptos example to use site-addr and env from roadster config ([#341](https://github.com/roadster-rs/roadster/pull/341)) - sea-orm workspace dep and upgrade to `1.0.0` ([#336](https://github.com/roadster-rs/roadster/pull/336)) - [**breaking**] Update tower to `0.5.0` ([#334](https://github.com/roadster-rs/roadster/pull/334))

--- This PR was generated with [release-plz](https://github.com/MarcoIeni/release-plz/). --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Spencer Ferris <3319370+spencewenski@users.noreply.github.com> --- CHANGELOG.md | 20 ++++++++++++++++++++ Cargo.toml | 2 +- examples/full/Cargo.toml | 2 +- examples/leptos-ssr/Cargo.toml | 2 +- 4 files changed, 23 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d8fd625..e6efabe0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.6.0](https://github.com/roadster-rs/roadster/compare/roadster-v0.5.19...roadster-v0.6.0) - 2024-08-25 + +### Added +- Add a public method to decode a JWT from a string ([#348](https://github.com/roadster-rs/roadster/pull/348)) +- Mark refresh token headers as sensitive ([#347](https://github.com/roadster-rs/roadster/pull/347)) +- Make the `User` sea-orm migration enum public ([#346](https://github.com/roadster-rs/roadster/pull/346)) +- Allow splitting config files into many files in env directories ([#344](https://github.com/roadster-rs/roadster/pull/344)) +- [**breaking**] App methods take `self` ([#337](https://github.com/roadster-rs/roadster/pull/337)) +- Remove cookie extraction for `Jwt`, but allow it in `JwtCsrf` ([#332](https://github.com/roadster-rs/roadster/pull/332)) +- Allow custom sub-claims in provided `Claims` types ([#331](https://github.com/roadster-rs/roadster/pull/331)) +- Allow jwt from cookie, but only if it's explicitly requested ([#329](https://github.com/roadster-rs/roadster/pull/329)) + +### Fixed +- [**breaking**] Don't expect a "Bearer" token in the auth token cookie ([#340](https://github.com/roadster-rs/roadster/pull/340)) + +### Other +- Update leptos example to use site-addr and env from roadster config ([#341](https://github.com/roadster-rs/roadster/pull/341)) +- sea-orm workspace dep and upgrade to `1.0.0` ([#336](https://github.com/roadster-rs/roadster/pull/336)) +- [**breaking**] Update tower to `0.5.0` ([#334](https://github.com/roadster-rs/roadster/pull/334)) + ## [0.5.19](https://github.com/roadster-rs/roadster/compare/roadster-v0.5.18...roadster-v0.5.19) - 2024-08-12 ### Added diff --git a/Cargo.toml b/Cargo.toml index e9a2b063..39b48b0c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "roadster" -version = "0.5.19" +version = "0.6.0" edition = "2021" publish = true description = "A \"Batteries Included\" web framework for rust designed to get you moving fast." diff --git a/examples/full/Cargo.toml b/examples/full/Cargo.toml index 8610c6d2..788dcb12 100644 --- a/examples/full/Cargo.toml +++ b/examples/full/Cargo.toml @@ -11,7 +11,7 @@ default = ["grpc"] grpc = ["roadster/grpc", "dep:tonic", "dep:tonic-reflection", "dep:prost"] [dependencies] -roadster = { version = "0.5", path = "../.." } +roadster = { version = "0.6", path = "../.." } tokio = { workspace = true } tokio-util = { workspace = true } anyhow = { workspace = true } diff --git a/examples/leptos-ssr/Cargo.toml b/examples/leptos-ssr/Cargo.toml index 23a9da90..3493c975 100644 --- a/examples/leptos-ssr/Cargo.toml +++ b/examples/leptos-ssr/Cargo.toml @@ -24,7 +24,7 @@ ssr = [ ] [dependencies] -roadster = { version = "0.5", path = "../..", optional = true, default-features = false, features = ["http", "db-sql", "cli"] } +roadster = { version = "0.6", path = "../..", optional = true, default-features = false, features = ["http", "db-sql", "cli"] } tokio = { workspace = true, optional = true } tokio-util = { workspace = true, optional = true } anyhow = { workspace = true }