From d3d2def201f51208f86021a9b2df8434f4fdb7bb Mon Sep 17 00:00:00 2001 From: Brian Retterer Date: Mon, 26 Oct 2020 09:54:55 -0400 Subject: [PATCH] Update tags for 2.1 release (#175) --- CHANGELOG.md | 31 +++++++++++++++++++++++++ okta/okta.go | 2 +- openapi/generator/templates/okta.go.hbs | 2 +- 3 files changed, 33 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51fad4da1..e820a5d66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,37 @@ # Changelog Running changelog of releases since `2.0.0-rc.4` +## v2.1.0 +### New Structs +- `AcsEndpoint` +- `CatalogApplication` +- `CatalogApplicationStatus` +- `CustomHotpUserFactor` +- `CustomHotpUserFactorProfile` +- `InlineHookStatus` +- `InlineHookType` +- `WebAuthnUserFactor` +- `WebAuthnUserFactorProfile` + +### Bug Fixes +- Updates `okta/config.go` to use `github.com/okta/okta-sdk-golang/v2/okta/cache` (#167, Resolves #149) +- Updates `okta/config.go` to use `int64` for `ConnectionTimeout` and `RequestTimeout` (#166) +- `ListApplicationTargetsForApplicationAdministratorRoleForGroup` now returns correct `[]CatalogApplication` +- `ListApplicationTargetsForApplicationAdministratorRoleForUser` now returns correct `[]CatalogApplication` +- `JsonWebKey.ExpiresAt` changed to correctly use `*time.Time` +- `verifyUserFactorResponse.ExpiresAt` changed to correctly use `*time.Time` +- Correctly reads `.okta.yaml` from project root directory +- Updated typo in `PasswordCredentialHash` struct and changed `WorkerFactor` to the correct `WorkFactor` + +### Updates +- Updates to @okta/openapi 2.1.1 (And associated Generator Updates) +- Added `UserId` to `OAuth2ScopeConsentGrant` struct +- **Now Returns error instead of panic from config in `okta.go`** (Resolves #122) +- `RequestExecutor` returns error if `privPem` is null when using PrivateKey authentication +- Added `AcsEndpoints` and `AllowMultipleAcsEndpoints` properties to `SamlApplicationSettingsSignOn` +- Added `FilterType` and `FilterValue` to `SamlAttributeStatement` (Resolves #76) +- Generated file header in line with Go standard (Resolves #118) + ## v2.0.0 - Official Release of v2 Okta Golang SDK (June 4, 2020) - `CSR` Model has been renamed to `Csr` diff --git a/okta/okta.go b/okta/okta.go index 28e25e6b2..2166d8621 100644 --- a/okta/okta.go +++ b/okta/okta.go @@ -33,7 +33,7 @@ import ( "github.com/kelseyhightower/envconfig" ) -const Version = "2.0.0" +const Version = "2.1.0" type Client struct { config *config diff --git a/openapi/generator/templates/okta.go.hbs b/openapi/generator/templates/okta.go.hbs index f07e6ee2f..732916648 100644 --- a/openapi/generator/templates/okta.go.hbs +++ b/openapi/generator/templates/okta.go.hbs @@ -17,7 +17,7 @@ import ( "github.com/kelseyhightower/envconfig" ) -const Version = "2.0.0" +const Version = "2.1.0" type Client struct { config *config