diff --git a/MIGRATING.md b/MIGRATING.md index 902e6673321..69b4c4705c6 100644 --- a/MIGRATING.md +++ b/MIGRATING.md @@ -2,6 +2,118 @@ This SDK uses semantic versioning and follows Okta's [library version policy](https://developer.okta.com/code/library-versions/). In short, we do not make breaking changes unless the major version changes! +## Migrating from 7.x.x to 8.0.0 + +Version 8.0.0 of this SDK introduces few breaking changes from previous versions. + +### Package `com.okta.sdk.resource.brand.Theme` + +Below methods will now take `file` object as additional param. This was missing from earlier release (bug) and this release fixes it. +- `updateBrandThemeBackgroundImage` +- `updateBrandThemeFavicon` +- `uploadBrandThemeLogo` + +### Package `com.okta.sdk.resource.org.OrgSetting` +- `updateOrgLogo` will now take `file` object as a parameter. This was missing from earlier release (bug) and this release fixes it. + +## Migrating from 6.x.x to 7.0.0 + +### Package `com.okta.sdk.client.Client` + +Below methods have been added. +- `Brand getBrand(String brandId)` +- `ThemeResponse getBrandTheme(String brandId, String themeId)` +- `BrandList listBrands()` +- `ThemeResponseList listBrandThemes(String brandId)` + +Below methods have been moved to `com.okta.sdk.resource.org.OrgSetting`. +- `getOktaCommunicationSettings()` +- `getOrgContactTypes()` +- `getOrgContactUser(String contactType)` +- `getOrgOktaSupportSettings()` +- `getOrgPreferences()` + +### Package `com.okta.sdk.resource.user.User` + +- `assignRole(AssignRoleRequest request, String disableNotifications)` changed signature to + `assignRole(AssignRoleRequest request, Boolean disableNotifications)` + +### Package `com.okta.sdk.resource.policy` + +New Interfaces have been introduced. +- `com.okta.sdk.resource.policy.VerificationMethod` +- `com.okta.sdk.resource.policy.UserTypeCondition` +- `com.okta.sdk.resource.policy.ProfileEnrollmentPolicyRuleProfileAttribute` +- `com.okta.sdk.resource.policy.ProfileEnrollmentPolicyRuleActivationRequirement` +- `com.okta.sdk.resource.policy.ProfileEnrollmentPolicyRuleActions` +- `com.okta.sdk.resource.policy.ProfileEnrollmentPolicyRuleAction` +- `com.okta.sdk.resource.policy.ProfileEnrollmentPolicyRule` +- `com.okta.sdk.resource.policy.ProfileEnrollmentPolicy` +- `com.okta.sdk.resource.policy.PreRegistrationInlineHook` +- `com.okta.sdk.resource.policy.PossessionConstraint` +- `com.okta.sdk.resource.policy.KnowledgeConstraint` +- `com.okta.sdk.resource.policy.DeviceAccessPolicyRuleCondition` +- `com.okta.sdk.resource.policy.AccessPolicyRuleCustomCondition` +- `com.okta.sdk.resource.policy.AccessPolicyRuleConditions` +- `com.okta.sdk.resource.policy.AccessPolicyRuleApplicationSignOn` +- `com.okta.sdk.resource.policy.AccessPolicyRuleActions` +- `com.okta.sdk.resource.policy.AccessPolicyRule` +- `com.okta.sdk.resource.policy.AccessPolicyConstraints` +- `com.okta.sdk.resource.policy.AccessPolicyConstraint` +- `com.okta.sdk.resource.policy.AccessPolicy` + +### Package `com.okta.sdk.resource.identity.provider.IdentityProviderBuilders` + +Identity Provider of type String can be constructed with the new method introduced. +- `ofType(java.lang.String)` + +### Package `com.okta.sdk.resource.identity.provider.IdentityProvider` + +- `setType(com.okta.sdk.resource.identity.provider.IdentityProvider$TypeEnum)` has changed signature to + `setType(String identityProvider)`. +- `getType()` would now return `String` instead of `com.okta.sdk.resource.identity.provider.IdentityProvider$TypeEnum` type. + +### Package `com.okta.sdk.resource.brand` + +New models related to Theme and Brands API have been introduced. +- `Theme` +- `Brand` +- `BrandList` +- `ThemeResponse` +- `ImageUploadResponse` +- `SignInPageTouchPointVariant` +- `ErrorPageTouchPointVariant` +- `EndUserDashboardTouchPointVariant` + +### Package `com.okta.sdk.resource.authenticator` + +New Interfaces have been introduced. +- `ChannelBinding` +- `Compliance` +- `AuthenticatorProviderConfigurationUserNamePlate` +- `AuthenticatorProviderConfiguration` +- `AuthenticatorProvider` + +New methods have been added to `Authenticator` interface. +- `AuthenticatorProvider getProvider()` +- `setProvider(AuthenticatorProvider authenticationProvider)` +- `Authenticator update` + +### Package `com.okta.sdk.resource.application` + +New methods have been added to `SwaApplicationSettingsApplication` interface. +- `String getCheckbox` +- `String getRedirectUrl` +- `SwaApplicationSettingsApplication setCheckbox(String checkBox)` +- `SwaApplicationSettingsApplication setRedirectUrl(String redirectUrl)` + +New method have been added to `OIDCApplicationBuilder` interface. +- `OIDCApplicationBuilder setPostLogoutRedirectUris(List uris)` + +New methods have been added to `ApplicationCredentialsUsernameTemplate` interface. +- `String getPushStatus()` +- `ApplicationCredentialsUsernameTemplate setPushStatus(String pushStatus)` + ## Migrating from 5.x.x to 6.0.0 Version 6.0.0 of this SDK introduces a number of breaking changes from previous versions. diff --git a/README.md b/README.md index 26f6e417fd8..99e47bf437d 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ You can learn more on the [Okta + Java][lang-landing] page in our documentation. This library uses semantic versioning and follows Okta's [library version policy](https://developer.okta.com/code/library-versions/). -:heavy_check_mark: The current stable major version series is: 7.x.x +:heavy_check_mark: The current stable major version series is: 8.x.x | Version | Status | | ------- | ------------------------- | @@ -50,6 +50,7 @@ This library uses semantic versioning and follows Okta's [library version policy | 5.x.x | :heavy_check_mark: Stable ([migration guide](https://github.com/okta/okta-sdk-java/blob/master/MIGRATING.md#migrating-from-4xx-to-500)) | | 6.x.x | :heavy_check_mark: Stable ([migration guide](https://github.com/okta/okta-sdk-java/blob/master/MIGRATING.md#migrating-from-5xx-to-600)) | | 7.x.x | :heavy_check_mark: Stable ([migration guide](https://github.com/okta/okta-sdk-java/blob/master/MIGRATING.md#migrating-from-6xx-to-700)) | +| 8.x.x | :heavy_check_mark: Stable ([migration guide](https://github.com/okta/okta-sdk-java/blob/master/MIGRATING.md#migrating-from-7xx-to-800)) | The latest release can always be found on the [releases page][github-releases]. diff --git a/api/pom.xml b/api/pom.xml index 00457b1c311..e6f3300c4a0 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -21,7 +21,7 @@ com.okta.sdk okta-sdk-root - 8.0.0-SNAPSHOT + 8.0.1-SNAPSHOT okta-sdk-api diff --git a/coverage/pom.xml b/coverage/pom.xml index ad9bc6d86d2..8138f18b651 100644 --- a/coverage/pom.xml +++ b/coverage/pom.xml @@ -21,7 +21,7 @@ com.okta.sdk okta-sdk-root - 8.0.0-SNAPSHOT + 8.0.1-SNAPSHOT okta-sdk-coverage diff --git a/examples/pom.xml b/examples/pom.xml index 1deef1adb23..befaf1fb60b 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -21,7 +21,7 @@ com.okta.sdk okta-sdk-root - 8.0.0-SNAPSHOT + 8.0.1-SNAPSHOT okta-sdk-examples diff --git a/examples/quickstart/pom.xml b/examples/quickstart/pom.xml index b777955d94f..cbb8980bdac 100644 --- a/examples/quickstart/pom.xml +++ b/examples/quickstart/pom.xml @@ -20,7 +20,7 @@ com.okta.sdk okta-sdk-examples - 8.0.0-SNAPSHOT + 8.0.1-SNAPSHOT ../pom.xml diff --git a/httpclients/httpclient/pom.xml b/httpclients/httpclient/pom.xml index d1e13e15a56..91746499f17 100644 --- a/httpclients/httpclient/pom.xml +++ b/httpclients/httpclient/pom.xml @@ -21,7 +21,7 @@ com.okta.sdk okta-sdk-root - 8.0.0-SNAPSHOT + 8.0.1-SNAPSHOT ../.. diff --git a/httpclients/okhttp/pom.xml b/httpclients/okhttp/pom.xml index 215179b5faf..8c09b674420 100644 --- a/httpclients/okhttp/pom.xml +++ b/httpclients/okhttp/pom.xml @@ -21,7 +21,7 @@ com.okta.sdk okta-sdk-root - 8.0.0-SNAPSHOT + 8.0.1-SNAPSHOT ../.. diff --git a/impl/pom.xml b/impl/pom.xml index c1cf014b929..4763e3923ce 100644 --- a/impl/pom.xml +++ b/impl/pom.xml @@ -21,7 +21,7 @@ com.okta.sdk okta-sdk-root - 8.0.0-SNAPSHOT + 8.0.1-SNAPSHOT okta-sdk-impl diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml index 4e277b6cf9d..f3bf759e52f 100644 --- a/integration-tests/pom.xml +++ b/integration-tests/pom.xml @@ -20,7 +20,7 @@ com.okta.sdk okta-sdk-root - 8.0.0-SNAPSHOT + 8.0.1-SNAPSHOT ../pom.xml diff --git a/pom.xml b/pom.xml index b2625144245..5011b9202aa 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ com.okta.sdk okta-sdk-root - 8.0.0-SNAPSHOT + 8.0.1-SNAPSHOT pom Okta Java SDK @@ -73,27 +73,27 @@ com.okta.sdk okta-sdk-api - 8.0.0-SNAPSHOT + 8.0.1-SNAPSHOT com.okta.sdk okta-sdk-impl - 8.0.0-SNAPSHOT + 8.0.1-SNAPSHOT com.okta.sdk okta-api-swagger-templates - 8.0.0-SNAPSHOT + 8.0.1-SNAPSHOT com.okta.sdk okta-sdk-httpclient - 8.0.0-SNAPSHOT + 8.0.1-SNAPSHOT com.okta.sdk okta-sdk-okhttp - 8.0.0-SNAPSHOT + 8.0.1-SNAPSHOT @@ -132,14 +132,14 @@ com.okta.sdk okta-sdk-integration-tests - 8.0.0-SNAPSHOT + 8.0.1-SNAPSHOT com.okta.sdk okta-sdk-examples-quickstart - 8.0.0-SNAPSHOT + 8.0.1-SNAPSHOT @@ -364,7 +364,7 @@ com.okta.sdk okta-api-swagger-templates - 8.0.0-SNAPSHOT + 8.0.1-SNAPSHOT diff --git a/swagger-templates/pom.xml b/swagger-templates/pom.xml index a1fa9500359..d3ac092e72a 100644 --- a/swagger-templates/pom.xml +++ b/swagger-templates/pom.xml @@ -21,7 +21,7 @@ com.okta.sdk okta-sdk-root - 8.0.0-SNAPSHOT + 8.0.1-SNAPSHOT okta-api-swagger-templates