Skip to content

Releases: okta/okta-sdk-java

1.5.2

28 Mar 21:35
okta-sdk-root-1.5.2
Compare
Choose a tag to compare
  • Fixed Http connection retry regression (since 1.4) where SocketException and SocketTimeoutException were not triggering a retry
  • Defaults HttpClient's connection pool TTL to 5 minutes (can be configured via the System Property com.okta.sdk.impl.http.httpclient.HttpClientRequestExecutor.connPoolControl.timeToLive)
  • Exposes HttpClient's connection pool validateAfterInactivity property, (can be configured via the System Property com.okta.sdk.impl.http.httpclient.HttpClientRequestExecutor.connPoolControl.validateAfterInactivity)

1.5.1

25 Mar 17:14
okta-sdk-root-1.5.1
Compare
Choose a tag to compare

Bug fixes:

  • use StandardCharsets.UTF_8.name() instead of toString() in order to work on older Android devices
  • Fixes NPE edge case when retry logic is disabled.

1.5.0

18 Mar 22:03
okta-sdk-root-1.5.0
Compare
Choose a tag to compare
  • Added nextLogin parameter to UserBuilder
  • Improved rate limit header parsing logic
  • environment variable parsing now checks for all okta config values

1.4.1

06 Feb 17:36
okta-sdk-root-1.4.1
Compare
Choose a tag to compare
  • Fixed edge case when content-length is unknown
  • Updated CI to run with JDK 8 and 11

1.4.0

18 Jan 21:37
okta-sdk-root-1.4.0
Compare
Choose a tag to compare
  • Add support for Okta's Policies API
  • All Resources implement ExtensibleResource and Map<String, Object> to allow fields unsupported by this SDK to be more easily used.
  • Added support for OkHttp, HttpClient will be deprecated in the future
  • Yaml usage is now optional (dependency on snakeyaml is still compile scope to retain backward
  • Added missing nextLogin param on Create User #232
  • Fixed issue where Role.type was read-only #249
    compatibility/functionality)
  • Fixed proxy configuration error #237
  • Deprecated com.okta.sdk.lang in favor of com.okta.commons.lang

1.3.0

01 Oct 22:05
okta-sdk-root-1.3.0
Compare
Choose a tag to compare

Added configuration validation to protect against common copy/paste errors

1.2.0

02 Jul 17:20
okta-sdk-root-1.2.0
Compare
Choose a tag to compare
  • Add new RequestBuilder interface to allow GET, POST, PUT, and DELETE, see: client.http()

  • Updated retry logic to better handle 429 responses, configuration

    • okta.client.requestTimeout: number of seconds to wait to retry multiple requests (defaults to 0)
    • okta.client.rateLimit.maxRetries: Max number of retry attempts to make before failing (defaults to 4)

    Retry logic can be disabled by setting both values to 0. Any value > 0 will enable the behavior.
    NOTE: If okta.client.requestTimeout is set to 30 and okta.client.rateLimit.maxRetries to 0, an unlimited number of retry attempts will be made in this 30 second window.

1.1.0

02 Jul 17:09
okta-sdk-root-1.1.0
Compare
Choose a tag to compare

Allows for reuse of base components in Okta's new Okta Authentication SDK

1.0.1

16 May 18:41
okta-sdk-root-1.0.1
Compare
Choose a tag to compare

Minor project house keeping (tests build, CI infrastructure cleanup)

1.0.0

07 Feb 22:05
okta-sdk-root-1.0.0
Compare
Choose a tag to compare
  • Added support for cacheing resources locally
  • Reduce the scope of methods and classes in the impl module
  • Code cleanup
  • Removed support for Application.generateApplicationKey()
  • User & App Passwords are now char[]s
  • User.forgotPassword now allows for a null body