Skip to content

Commit

Permalink
Release pr 8.0.0 (#685)
Browse files Browse the repository at this point in the history
* [maven-release-plugin] prepare release okta-sdk-root-8.0.0

* [maven-release-plugin] prepare for next development iteration

* updated MIGRATING guide

* updated README

* updated MIGRATING guide
  • Loading branch information
arvindkrishnakumar-okta authored Dec 15, 2021
1 parent 6f8cb6c commit fcb8f83
Show file tree
Hide file tree
Showing 12 changed files with 132 additions and 19 deletions.
112 changes: 112 additions & 0 deletions MIGRATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
| ------- | ------------------------- |
Expand All @@ -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].

Expand Down
2 changes: 1 addition & 1 deletion api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-root</artifactId>
<version>8.0.0-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
</parent>

<artifactId>okta-sdk-api</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-root</artifactId>
<version>8.0.0-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
</parent>

<artifactId>okta-sdk-coverage</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-root</artifactId>
<version>8.0.0-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
</parent>

<artifactId>okta-sdk-examples</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/quickstart/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-examples</artifactId>
<version>8.0.0-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion httpclients/httpclient/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-root</artifactId>
<version>8.0.0-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion httpclients/okhttp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-root</artifactId>
<version>8.0.0-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-root</artifactId>
<version>8.0.0-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
</parent>

<artifactId>okta-sdk-impl</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-root</artifactId>
<version>8.0.0-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
18 changes: 9 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-root</artifactId>
<version>8.0.0-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<packaging>pom</packaging>

<name>Okta Java SDK</name>
Expand Down Expand Up @@ -73,27 +73,27 @@
<dependency>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-api</artifactId>
<version>8.0.0-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-impl</artifactId>
<version>8.0.0-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-api-swagger-templates</artifactId>
<version>8.0.0-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-httpclient</artifactId>
<version>8.0.0-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-okhttp</artifactId>
<version>8.0.0-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
</dependency>

<!-- Other Okta Projects -->
Expand Down Expand Up @@ -132,14 +132,14 @@
<dependency>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-integration-tests</artifactId>
<version>8.0.0-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
</dependency>

<!-- Examples -->
<dependency>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-examples-quickstart</artifactId>
<version>8.0.0-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
</dependency>

<!-- Logging -->
Expand Down Expand Up @@ -364,7 +364,7 @@
<dependency>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-api-swagger-templates</artifactId>
<version>8.0.0-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
</dependency>
</dependencies>
</plugin>
Expand Down
2 changes: 1 addition & 1 deletion swagger-templates/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-root</artifactId>
<version>8.0.0-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
</parent>

<artifactId>okta-api-swagger-templates</artifactId>
Expand Down

0 comments on commit fcb8f83

Please sign in to comment.