Skip to content

v0.1.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@gcurtis gcurtis released this 27 Oct 20:55

First prerelease of the next iteration of the Java SDK.

Changes:

  • OAuth redesign. OAuth should now be easier to use, allowing you to authenticate with an access token, auth code, or developer token.
  • Automatic rate-limiting and error retry. API requests will automatically be retried with exponential back off if a 500+ (server error) or 429 (too many requests) response code is returned.
  • New EventStream class. This class makes it easier to listen for API events by allowing you to specify listeners that will be notified when an event occurs.
  • New classes for resource types. Managers have been removed in favor of using resource type classes directly. This should make the SDK simpler and more intuitive to use.
  • New classes for making custom API requests. The BoxAPIRequest and BoxAPIResponse classes make it easy to send custom requests to the API while still having OAuth, rate-limiting back off, error handling and response parsing automatically handled.
  • Test suites for running unit and integration tests. Test accounts can be used to run integration tests against the API.