Skip to content

Releases: microsoftgraph/msgraph-sdk-java-core

v2.0.21

08 Nov 13:51
019f895

Choose a tag to compare

Changed

  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

24 Oct 22:48
0d72a1e

Choose a tag to compare

Changed

  • Updates Okhttp3 to avoid transient vulnerabilty. #1038

v2.0.19

20 Jun 20:36
3dd51ae

Choose a tag to compare

Changed

  • Remove explicit logging of GraphServiceException in the CoreHttpProvider class. #885
  • Thank you to @MaHa6543 for the contribution.

v2.0.18

17 Apr 20:52
32c7826

Choose a tag to compare

Changed

  • Fix getRequestUrl() and getClient() wrongfully being declared @Nullable in BaseRequestBuilder.

v2.0.17

20 Mar 13:32
4ce634b

Choose a tag to compare

Changed

  • Aligns default http client timeout to be 100 seconds
  • Fixes NullPointerException in GraphErrorResponse#copy

v2.0.16

31 Jan 14:37
9b70fed

Choose a tag to compare

Changed

  • Removed unnecessary net.jcip:jcip-annotations dependency causing conflicts with Azure Identity.

v2.0.15

19 Jan 11:39
e07a4af

Choose a tag to compare

Release v2.0.15

v2.0.14

17 Oct 18:53
b8ef1cc

Choose a tag to compare

Changed

  • Fixes an issue where the error code 'ErrorItemNotFound' is not accounted for. #606
  • Bumps azure-core to 1.32.0 #603, #604, #605
  • Bumps azure-identity to 1.6.0 #633, #635

v2.0.13

26 May 18:43
fe78afe

Choose a tag to compare

Changed

  • Fixed an issue where the error message would be logged twice. #514
  • Bumps azure-core to 1.28.0 #503, #504, #506
  • Bumps azure-identity to 1.5.1 #505, #507

v2.0.12

22 Apr 18:52
b4361e8

Choose a tag to compare

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