Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/openziti/sdk-golang from 0.22.28 to 0.23.1 #1803

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 7, 2024

Bumps github.com/openziti/sdk-golang from 0.22.28 to 0.23.1.

Changelog

Sourced from github.com/openziti/sdk-golang's changelog.

Release 0.23.0

What's New

  • ApiSession interface abstraction for HA support

ApiSession Interface

With the introduction of High Availability (HA) support, ApiSessions as a struct in zitContext.Events() callbacks is no longer supported. A new ApiSession interface is provided in its place. This affects the following Events() functions:

  • AddAuthenticationStatePartialListener
  • AddAuthenticationStateFullListener
  • AddAuthenticationStateUnauthenticatedListener

This change is meant to alleviate issues between ApiSession fidelity between legacy and HA modes. However, it is possible that information that was available with the struct version of ApiSession that is no longer available via the interface value. As a short term work around, type casting the ApiSession interface to ApiSessionLegacy is suggested. However, please provide feedback on scenarios where this is being done. It may be possible to enhance the interface version if the data is available in both HA OIDC tokens and legacy ApiSession details.

The ApiSession interface supports the following functions:

  • GetAccessHeader() (string, string) - returns the HTTP header name and value that should be used to represent this ApiSession
  • AuthenticateRequest(request runtime.ClientRequest, _ strfmt.Registry) error - AuthenticateRequest fulfills the interface defined by OpenAPI libraries to authenticate client HTTP requests
  • GetToken() []byte - returns the ApiSessions' token bytes
  • GetExpiresAt() *time.Time - returns the time when the ApiSession will expire.
  • GetAuthQueries() rest_model.AuthQueryList - returns a list of authentication queries the ApiSession is subjected to
  • GetIdentityName() string - returns the name of the authenticating identity
  • GetIdentityId() string - returns the id of the authenticating identity
  • GetId() string - returns the id of the ApiSession

Release 0.22.29

  • Improve session refresh behavior.

Changes to API session refresh

  • Limit refreshes of both api and sessions to at most every 30 seconds.
  • Base faster refreshes not on number of available ERs but on usable ER endpoints, since some ERs may not have usable endpoints
  • Only refresh API sessions if session is no longer valid, as opposed if an api session refresh fails, which can happen if the controller is down or busy.
  • Only allow one api session refresh at a time
  • Use exponential backoff for api session refresh retries

Release 0.22.12

  • Deprecate ListenOptions.MaxConnections in favor of ListenOptions.MaxTerminators

Release 0.22.0

  • Add SessionRefreshInterval to DialOptions, with a default of 1 hour.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/openziti/sdk-golang](https://github.com/openziti/sdk-golang) from 0.22.28 to 0.23.1.
- [Release notes](https://github.com/openziti/sdk-golang/releases)
- [Changelog](https://github.com/openziti/sdk-golang/blob/main/CHANGELOG.md)
- [Commits](openziti/sdk-golang@v0.22.28...v0.23.1)

---
updated-dependencies:
- dependency-name: github.com/openziti/sdk-golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested review from a team as code owners March 7, 2024 15:32
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 7, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 8, 2024

Superseded by #1806.

@dependabot dependabot bot closed this Mar 8, 2024
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/openziti/sdk-golang-0.23.1 branch March 8, 2024 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants