Releases: microsoftgraph/msgraph-sdk-java-core
Releases · microsoftgraph/msgraph-sdk-java-core
v3.1.0
Changed
- Version bump for Java SDK GA release.
- Bumps Kiota-Java abstractions, authentication, http, and serialization components for Java SDK 6.1.0 release.
v2.0.21
Changed
- Changed CoreHttpProvider dependency from OkHttpClient to Call.Factory (parent interface implemented by OkHttpClient). This make usage of OpenTelemetry tracing possible.
https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/instrumentation/okhttp/okhttp-3.0/library/README.md
private Call.Factory createTracedClient(OpenTelemetry openTelemetry, @Nonnull final IAuthenticationProvider auth) {
return OkHttpTelemetry.builder(openTelemetry).build().newCallFactory(createClient(auth));
}
private OkHttpClient createClient(@Nonnull final IAuthenticationProvider auth) {
return HttpClients.createDefault(auth);
}
// then create the GraphServiceClient
IAuthenticationProvider authenticationProvider = ...;
GraphServiceClient
.builder(Call.Factory.class, Request.class)
.httpClient(createTracedClient(openTelemetry, authenticationProvider))
.authenticationProvider(authenticationProvider)
.buildClient();v2.0.20
v2.0.19
v2.0.18
Changed
- Fix
getRequestUrl()andgetClient()wrongfully being declared@NullableinBaseRequestBuilder.
v2.0.17
Changed
- Aligns default http client timeout to be 100 seconds
- Fixes NullPointerException in GraphErrorResponse#copy
v2.0.16
Changed
- Removed unnecessary
net.jcip:jcip-annotationsdependency causing conflicts with Azure Identity.
v2.0.15
Release v2.0.15