Merge pull request #1029 from openziti/v1.0_masquerade

v1.1.1 Client Compatibility Fix (#1028)
This commit is contained in:
Michael Quigley
2025-08-08 10:24:54 -04:00
committed by GitHub
3 changed files with 8 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
# CHANGELOG
## v1.1.1
FIX: Masquerade as `v1.0-v1.1.1 [gitHash]` when performing client version checks. Will be replaced with the usual client identifier in `v1.1.2` when the regular expressions for controlling client compatibility are externalized in the controller config (https://github.com/openziti/zrok/issues/1028)
## v1.1.0
FEATURE: Rewritten and improved `publicProxy` package (`zrok access public`), with support for extensible OAuth-compliant identity providers. The `publicProxy` configuration now supports any number of configured OAuth-compliant providers (rather than just a single `google` provider and/or a single `github` provider). Also includes a new OIDC-compliant generic IDP provider integration. Improvements to authentication flows and security all around. See the [updated guide](https://docs.zrok.io/docs/guides/self-hosting/oauth/configuring-oauth/) on using OAuth-based identity providers with the zrok public frontend (https://github.com/openziti/zrok/issues/968)

View File

@@ -1,6 +1,7 @@
package env_v0_3
import (
"fmt"
"net/url"
"os"
"path/filepath"
@@ -52,7 +53,7 @@ func (r *Root) Client() (*rest_client_zrok.Zrok, error) {
zrok := rest_client_zrok.New(transport, strfmt.Default)
_, err = zrok.Metadata.ClientVersionCheck(&metadata2.ClientVersionCheckParams{
Body: metadata2.ClientVersionCheckBody{
ClientVersion: build.String(),
ClientVersion: fmt.Sprintf("v1.0-%s", build.String()), // TODO: go back to build.String()
},
})
if err != nil {

View File

@@ -1,6 +1,7 @@
package env_v0_4
import (
"fmt"
"net/url"
"os"
"path/filepath"
@@ -52,7 +53,7 @@ func (r *Root) Client() (*rest_client_zrok.Zrok, error) {
zrok := rest_client_zrok.New(transport, strfmt.Default)
_, err = zrok.Metadata.ClientVersionCheck(&metadata2.ClientVersionCheckParams{
Body: metadata2.ClientVersionCheckBody{
ClientVersion: build.String(),
ClientVersion: fmt.Sprintf("v1.0-%s", build.String()), // TODO: go back to build.String()
},
})
if err != nil {