May 21st, 2019

Microsoft Graph SDK for Java Release Notes for May 2019

Darrel Miller
Principal API Architect

We recently updated our Java Graph SDK to version 1.4.0. This includes all the recent updates the Microsoft Graph. Additionally we now have new Java Core library that contains common infrastructure for making HTTP requests to the Microsoft Graph as well as a host of new capabilities. In an upcoming release of the service library, the existing HTTP infrastructure code in the service library will be removed and it will take a dependency on the core library, bringing all the new features to users currently using the Java SDK.

Features in Core

  • Batch Request and Response handling
  • Retry Middleware will automatically handle 429 and 503 responses, respecting the retry-after header when present.
  • Secure Redirect Middleware. This prevents leaking your Graph authorization token when redirecting to other hosts.
  • Authentication provider for acquiring tokens

Improvements in Core

  • Moved to use OkHttp for HTTP requests instead of Apache HttpClient for better experience on Android.

For more details on updates to the SDKs, check the Releases tab on the GitHub repositories.

Service Library SDK Package

Instructions on how to consume the SDK from Maven Central are provided in the Readme of our GitHub Repo.

Core Library SDK Package

Instructions on how to consume the SDK from Maven Central are provided in the Readme of our GitHub Repo.

Author

Darrel Miller
Principal API Architect

PM for Graph Developer Tooling