Release 2.1.1

This commit is contained in:
Kevin Yue 2024-03-25 21:15:24 +08:00
parent 2d1aa3ba8c
commit 187ca778f2
4 changed files with 16 additions and 9 deletions

14
Cargo.lock generated
View File

@ -564,7 +564,7 @@ dependencies = [
[[package]] [[package]]
name = "common" name = "common"
version = "2.1.0" version = "2.1.1"
dependencies = [ dependencies = [
"is_executable", "is_executable",
] ]
@ -1430,7 +1430,7 @@ dependencies = [
[[package]] [[package]]
name = "gpapi" name = "gpapi"
version = "2.1.0" version = "2.1.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"base64 0.21.5", "base64 0.21.5",
@ -1462,7 +1462,7 @@ dependencies = [
[[package]] [[package]]
name = "gpauth" name = "gpauth"
version = "2.1.0" version = "2.1.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",
@ -1482,7 +1482,7 @@ dependencies = [
[[package]] [[package]]
name = "gpclient" name = "gpclient"
version = "2.1.0" version = "2.1.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",
@ -1504,7 +1504,7 @@ dependencies = [
[[package]] [[package]]
name = "gpgui-helper" name = "gpgui-helper"
version = "2.1.0" version = "2.1.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",
@ -1522,7 +1522,7 @@ dependencies = [
[[package]] [[package]]
name = "gpservice" name = "gpservice"
version = "2.1.0" version = "2.1.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"axum", "axum",
@ -2527,7 +2527,7 @@ dependencies = [
[[package]] [[package]]
name = "openconnect" name = "openconnect"
version = "2.1.0" version = "2.1.1"
dependencies = [ dependencies = [
"cc", "cc",
"common", "common",

View File

@ -5,7 +5,7 @@ members = ["crates/*", "apps/gpclient", "apps/gpservice", "apps/gpauth", "apps/g
[workspace.package] [workspace.package]
rust-version = "1.70" rust-version = "1.70"
version = "2.1.0" version = "2.1.1"
authors = ["Kevin Yue <k3vinyue@gmail.com>"] authors = ["Kevin Yue <k3vinyue@gmail.com>"]
homepage = "https://github.com/yuezk/GlobalProtect-openconnect" homepage = "https://github.com/yuezk/GlobalProtect-openconnect"
edition = "2021" edition = "2021"

View File

@ -169,7 +169,7 @@ impl<'a> ConnectHandler<'a> {
async fn connect_gateway(&self, gateway: &str, cookie: &str) -> anyhow::Result<()> { async fn connect_gateway(&self, gateway: &str, cookie: &str) -> anyhow::Result<()> {
let mtu = self.args.mtu.unwrap_or(0); let mtu = self.args.mtu.unwrap_or(0);
let csd_uid = get_csd_uid(&self.args.csd_user)?; let csd_uid = get_csd_uid(&self.args.csd_user)?;
let csd_wrapper = if self.args.csd_user.is_some() { let csd_wrapper = if self.args.csd_wrapper.is_some() {
self.args.csd_wrapper.clone() self.args.csd_wrapper.clone()
} else if self.args.hip { } else if self.args.hip {
find_csd_wrapper() find_csd_wrapper()

View File

@ -1,5 +1,12 @@
# Changelog # Changelog
## 2.1.1 - 2024-03-25
- Add the `--hip` option to enable HIP report
- Fix not working in OpenSuse 15.5 (fix #336, #322)
- Treat portal as gateway when the gateway login is failed (fix #338)
- Improve the error message (fix #327)
## 2.1.0 - 2024-02-27 ## 2.1.0 - 2024-02-27
- Update distribution channel for `gpgui` to complaint with the GPL-3 license. - Update distribution channel for `gpgui` to complaint with the GPL-3 license.