Releases: microsoftgraph/msgraph-sdk-java-core
Releases · microsoftgraph/msgraph-sdk-java-core
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
v2.0.14
v2.0.13
v2.0.12
Added
- Add ability to add custom hosts to BaseAuthenticationProvider #484
Changed
- Bumps Azure Core to 1.27.0 #474, #473, #472
- Bumps mockito-inline to 4.5.1 #494, #493, #491
- Bumps gradle wrappers to 7.4.0 #454
- Bumps gradle to 7.1.3 in /android #477
- Bumps gradle-enterprise-gradle-plugin 3.10.0 in /android #488
- Bumps dawidd6/action-download-artifact to 2.19.0 #482
- Bumps com.github.spotbugs to 5.0.6 #442, #443, #444
- Bumps spotbugs-annotations to 4.6.0 #460, #461
- Bumps azure-identity to 1.5.0 #475, #476
- Bumps actions/cache to 3.0.0 #469
- Bumps actions/upload-artifact to 3.0.0 #479
- Bumps actions/setup-java to 3.0.0 #478
- Bumps rickstaa/action-create-tag to 1.2.2 #453
- Bumps guava to 31.1-jre #451, #450, #449
- Bumps gson to 2.9.0 #438, #439, #440