diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f8ce2d6f..b335bf715 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## v0.16.1 + +This is a small bugfix release. +If you had an active and valid session from a v0.15.0, did an update to v0.16.0 and your session was still valid, +it did not have valid information about the peer IP. This is mandatory for a new feature introduced with v0.16.0 +though and the warning logging in that case had an unwrap for the remote IP (which can never be null from v0.16.0 on), +which then would panic. + +This is a tiny bugfix release that just gets rid of the possible panic and prints `UNKNOWN` into the logs instead. + +### Changes + +- print `UNKNOWN` into the logs for non-readable / -existing peer IPs +[6dfd0f4](https://github.com/sebadob/rauthy/commit/6dfd0f4299b90c03d9b5a2fb4106d72f153146af) + ## v0.16.0 ### Breaking diff --git a/Cargo.lock b/Cargo.lock index b6ea4f60d..b011a85b4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2914,7 +2914,7 @@ dependencies = [ [[package]] name = "rauthy" -version = "0.16.0" +version = "0.16.1" dependencies = [ "actix-service", "actix-web", @@ -2952,7 +2952,7 @@ dependencies = [ [[package]] name = "rauthy-common" -version = "0.16.0" +version = "0.16.1" dependencies = [ "actix-multipart", "actix-web", @@ -2983,7 +2983,7 @@ dependencies = [ [[package]] name = "rauthy-handlers" -version = "0.16.0" +version = "0.16.1" dependencies = [ "actix", "actix-multipart", @@ -3013,7 +3013,7 @@ dependencies = [ [[package]] name = "rauthy-models" -version = "0.16.0" +version = "0.16.1" dependencies = [ "accept-language", "actix", @@ -3063,7 +3063,7 @@ dependencies = [ [[package]] name = "rauthy-service" -version = "0.16.0" +version = "0.16.1" dependencies = [ "actix-web", "argon2", diff --git a/Cargo.toml b/Cargo.toml index befa36b1c..3120313b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ members = [ ] [workspace.package] -version = "0.16.0" +version = "0.16.1" edition = "2021" authors = ["Sebastian Dobe "] license = "AGPLv3" diff --git a/justfile b/justfile index 81b30c3ef..0258e2ad5 100644 --- a/justfile +++ b/justfile @@ -163,8 +163,7 @@ build-sqlite: build-docs build-ui test-sqlite # builds the whole application in release mode -#build-postgres: build-docs build-ui test-postgres -build-postgres: build-docs build-ui +build-postgres: build-docs build-ui test-postgres #!/usr/bin/env bash set -euxo pipefail @@ -216,8 +215,7 @@ publish-nightly: build-sqlite build-postgres # publishes the application images - full pipeline incl clippy and testing -#publish: build-sqlite build-postgres -publish: build-postgres +publish: build-sqlite build-postgres #!/usr/bin/env bash set -euxo pipefail diff --git a/out/rauthy b/out/rauthy index 07fb149c0..d24fd9d0d 100755 Binary files a/out/rauthy and b/out/rauthy differ diff --git a/out/rauthy-lite b/out/rauthy-lite index 80b8f3ce2..17e6030cd 100755 Binary files a/out/rauthy-lite and b/out/rauthy-lite differ