Releases: okta/okta-sdk-golang
v2.18.0
What's Changed
- add config setter object for v3 by @duytiennguyen-okta in #368
- Added
WithHttpInterceptorAndHttpClientPtr(#371) Thanks @dnelson27 - Handle network errors and don't cancel context in request before reading response (#369) Thanks @ttimonen
Full Changelog: v2.17.0...v2.18.0
v2.17.0
v2.17.0
- Revert integer values representation as integer pointers
- Original change was too agreesive for a minor release
- All integer fields have a parallel pointer field that can be used as an alternative to deal with 0 values during JSON marshaling
- Example
PasswordPolicymodel has fields int64Priorityand *int64PriorityPtr - This change will not break code from release v2.15.0 and earlier
- Example
- New models
MultifactorEnrollmentPolicyMultifactorEnrollmentPolicyAuthenticatorSettingsMultifactorEnrollmentPolicyAuthenticatorStatusMultifactorEnrollmentPolicyAuthenticatorTypeMultifactorEnrollmentPolicySettingsMultifactorEnrollmentPolicySettingsType
- New methods / endpoints
ApplicationhasPreviewSAMLAppMetadatamethod forGET /api/v1/apps/{applicationId}/sso/saml/metadataendpoint.
- Added parameters
Defaultbool onAuthorizationServermodel
v3.0.1
What's Changed
- prepping release by @duytiennguyen-okta in #348
- update travis by @duytiennguyen-okta in #353
- update travis to move v3 file to okta folder by @duytiennguyen-okta in #354
Full Changelog: v2.16.0...v3.0.1
v3.0.0
What's Changed
Note: Broken, do not use
Initial release for v3 sdk
- prepping release by @duytiennguyen-okta in #348
- update travis by @duytiennguyen-okta in #353
- update travis to move v3 file to okta folder by @duytiennguyen-okta in #354
Full Changelog: v2.16.0...v3.0.0
v2.16.0
v2.16.0
- All API integers, which previously had been typed as
int64, are now typed
*int64so that serialization of actual0values are not ignored when
omitempty tags are present for serialization.
v2.15.0
v2.15.0
Additions
- Added
POST /api/v1/authenticatorsforCreateAuthenticatormethod toAuthenticatorResourcemodel by @monde in okta/okta-management-openapi-spec#154 - Added
/api/v1/apps/${applicationId}/credentials/secretsendpoints andClientSecretmodel by @monde in okta/okta-management-openapi-spec#146 - Added property
pkce_requiredto theApplicationCredentialsOAuthClientmodel by @monde in okta/okta-management-openapi-spec#145 - Added
uiSchemaIdproperty to theProfileEnrollmentPolicyRuleActionmodel by @emanor-okta in okta/okta-management-openapi-spec#144
Bug fixes
- Corrected parameters order
/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}- By @monde okta/okta-management-openapi-spec#131
v3.0.0-beta.1
We're excited to drop the first prerelease version of the new OASv3 compatible Okta Management SDK for Go! 🎉
This version is beta-quality. We'd love for you to play with it and give us your thoughts, but we don't recommend using it in production applications. Based on the feedback we receive, we'll be iterating it towards a stable release over the next few weeks. There may be breaking changes to the interfaces before stabilizing
Note: The 3.0.0-beta series is located in the oasv3-migration branch
What's included today
In this first beta version, we ported some of the existing features to the new SDK:
- Inline configuration, configuration via environment variables, appsettings.json, or YAML files
- Manual Pagination for collections
- Default retry strategy for 429 HTTP responses
- Proxy support
If you've been using the existing Okta SDK (version 2.x), you can opt to try this new version (which will require some code changes), or stick with what you already have. The 2.x series of the SDK is still supported.
v2.14.0
Released 08/24/2022
v2.14.0
Okta SDK Golang release in conjunction with v2.14.0 of the Okta OpenAPI Specification (Management APIs)
Updates
- Added property
inactivityPeriodtoVerificationMethodmodel openapi-2.14.0 - OAuth tokens are cached regardless of what request cache manager is utilized on the client.
v2.13.0
Released 06/21/2022
v2.13.0
Okta SDK Golang release in conjunction with v2.13.0 of the Okta OpenAPI Specification (Management APIs)
Updates
- Added properties
host,integrationKey, andsecretKeytoAuthenticatorProviderConfigurationmodel to support Duo Authenticator openapi-2.13.0 - Renamed query parameter
searchtofilteronGET /api/v1/groupsendpoint openapi-2.13.0 - New feature, SDK client can authenticate with Bearer token orienting the SDK client to the security scope of a specific application #310
- Added ability to specify JWT kid header #308
Bug fixes
- Schema API calls with one of / enum values will have correct type when calling API #312
v2.12.1
Released 04/19/2022
v2.12.1
- Corrected out of order method and API parameters
AuthorizationServerResourceListAuthorizationServerPolicyRules(ctx context.Context, authServerId string, policyId string)CreateAuthorizationServerPolicyRule(ctx context.Context, authServerId string, policyId string, body AuthorizationServerPolicyRule)
- Corrected
ListPoliciesgeneration for newPoliciesinterface.