Skip to content

Latest commit

 

History

History
344 lines (210 loc) · 9.92 KB

CHANGELOG.md

File metadata and controls

344 lines (210 loc) · 9.92 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Added

Changed

[3.1.10] - 2024-05-09

Changed

  • Downgraded jakarta.annotation-api dependency to 2.1.1 for java 8 compatibility

[3.1.9] - 2024-04-23

Changed

  • Updated kiota dependencies

[3.1.8] - 2024-04-22

Added

Changed

  • Changed chunkInputStream method in LargeFileUploadTask to resolve IndexOutOfBoundsException when uploading large files
  • Fix Large File Upload bug where exception was thrown for completed successful uploads

[3.1.7] - 2024-03-28

Changed

  • Updates kiota dependencies to solve for misalignments.

[3.1.6] - 2024-02-29

Changed

  • Bumps Kiota-Java abstractions, authentication, http, and serialization components
  • Kiota-Java version bumps address a bug where file upload would fail due to unknown contentLength value. Kiota-Java #1088

[3.1.5] - 2024-02-27

Changed

  • Bumps Kiota-Java abstractions, authentication, http, and serialization components

[3.1.4] - 2024-02-21

  • Bumps Kiota-Java abstractions, authentication, http, and serialization components
  • Fixes a test in the test suite which did not respect the REST reference #1517
  • Fixes a bug with LargeFileUploadTask #1517

Changed

[3.1.3] - 2024-02-14

Changed

  • Bumps Kiota-Java abstractions, authentication, http, and serialization components

[3.1.2] - 2024-02-12

Changed

  • Fixes bug where 'Authorization' header was being added leading to long delays in writing BatchRequests. #1483

[3.1.1] - 2024-02-09

Changed

  • Fixes a bug to allow the PageIterator to iterate across all pages.

[3.1.0] - 2024-02-07

Changed

  • Version bump for Java SDK GA release.
  • Bumps Kiota-Java abstractions, authentication, http, and serialization components for Java SDK 6.1.0 release.

[3.0.12] - 2023-12-15

Fixed

  • Fixes a bug where a null collection for allowedHosts would result in failure to initialize client. #1411

[3.0.11] - 2023-12-08

Changed

  • Parent namespace for all classes has been changed from com.microsoft.graph.* to com.microsoft.graph.core.* in order to avoid conflicts with the generated service libraries.
  • This change is not backwards compatible and will require changes to your code.

[3.0.10] - 2023-11-27

Changed

  • Removed the usage of reflection for enum deserialization and reordered RequestAdapter method arguments. Kiota-Java #840

[3.0.9] - 2023-11-14

Changed

  • Kiota-Java has moved away from Async/Completable futures, thus Async components are no longer utilized and have been removed. Furthermore, requestAdapter methods no longer use the async suffix. Kiota-Java #175
  • ApiException class now extends RuntimeException instead of Exception.

Removed

  • ServiceException class has been removed.

[3.0.8] - 2023-08-09

Changed

  • Replaces Javax annotations in favor of Jakarta annotations.

Removed

  • Removes 'SuppressFBWarnings' annotations and dependency.

[3.0.7] - 2023-07-20

Added

  • Adds graph-java-sdk implementation of the UrlReplaceHandler middleware including default replacement pairs.
  • Default replacement pair: '/users/TokenToReplace' -> '/me'

[3.0.6] - 2023-07-11

Added

  • Added the PageIterator functionality for Kiota generated service libraries.

[3.0.5] - 2023-06-15

Added

  • Added Batch Request and Batch Request Collection functionality for Kiota generated service libraries.

[3.0.4] - 2023-05-03

Added

  • Added LargeFileUploadTask functionality for kiota generated service libraries.

Fixed

  • Fixes formatting used in the headers added by the telemetry handler to align with the msGraph sdk spec.

[3.0.3] - 2023-04-06

Changed

  • Bumps Kiota-Java abstractions, authentication, http, and serialization components.

[3.0.2] - 2022-10-10

Changed

  • Bumps Kiota-Java abstractions, authentication, http, and serialization components.

[3.0.1] - 2022-09-20

Added

  • Uses Kiota-Java libraries as underlying framework.
  • BaseGraphRequestAdapter for use with v1 and beta service libraries.

Changed

  • Removes Request Builders.
  • GraphClientFactory to handle OkHttp client creation.
  • BaseClient refactored to use Kiota framework.

[2.0.21] - 2023-11-08

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();

[2.0.20] - 2023-10-23

Changed

  • Updates Okhttp3 to avoid transient vulnerabilty. #1038

[2.0.19] - 2023-06-20

Changed

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

[2.0.18] - 2023-04-06

Changed

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

[2.0.17] - 2023-03-20

Changed

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

[2.0.16] - 2023-01-30

Changed

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

[2.0.15] - 2023-01-19

Changed

  • Switched required dependencies from implementation to api to avoid missing dependencies in some scenarios.

[2.0.14] - 2022-10-06

Added

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

[2.0.13] - 2022-05-26

Added

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

[2.0.12] - 2022-04-22

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

[2.0.11] - 2022-02-04

Added

  • Removing lock on Http protocol 1.1 in preparation for Graph service support of Http2 #429

Changed

  • Bumps Azure Core to 1.24.1 #408, #409, #410
  • Bumps mockito-inline to 4.3.1 #422, #423, #424
  • Bumps okhttp to 4.9.3 #371, #372
  • Bumps junit to 4.13.2 #391, #394
  • Bumps junit-jupiter-api to 5.8.2 #379, #382
  • Bumps junit-jupiter-egine to 5.8.2 #380
  • Bumps junit-jupiter-params to 5.8.2 #381, #383
  • Bumps gradle wrappers to 7.3.3 #426
  • Bumps gradle-versions-plugin to 0.42.0 in /android #428
  • Bumps gradle from 7.1.0 in /android #425
  • Bumps gradle-enterprise-gradle-plugin 3.8.1 in /android #413
  • Bumps dawidd6/action-download-artifact to 2.17.0 #427
  • Bumps com.github.spotbugs to 5.0.5 #416
  • Bumps spotbugs-annotations to 4.5.3 #407
  • Bumps azure-identity to 1.4.3 #411, #412
  • Bumps anton-yurchenko/git-release to 4.2 #378
  • Bumps actions/cache from to 2.1.7 #375

[2.0.10] - 2021-11-16

Added

  • Added support for cancelling requests #361

Changed

  • Fixed a bug where batching would fail for national clouds
  • Bumps Azure Core from 1.20.0 to 1.22.0 #359, #360, #341, #342
  • Bumps gson from 2.8.8 to 2.8.9 #356, #355
  • Bumps actions/checkout from 2.3.5 to 2.4.0 #358, #349
  • Upgrades CI pipeline to Java 17 #348, #330
  • Bumps mockito-inline from 3.12.4 to 4.0.0 #346, #345
  • Bumps action-download-artifact from 2.14.1 to 2.15.0 #344
  • Bumps okhttp from 4.9.1 to 4.9.2 #339, #340
  • Bumps guava from 30.1.1 to 31.0.1 #338, #337, #335, #336
  • Bumps junit-jupiter-api from 5.8.0 to 5.8.1 #332, #334
  • Bumps junit-jupiter-egine from 5.8.0 to 5.8.1 #333

[2.0.9] - 2021-09-17

Added

  • Workflow for Maven preview and GitHub Release
  • Workflow for build validation
  • Proper handling for InterruptedException

Changed

  • Casing fixed for Odata type parsing
  • Removed .azure-pipelines/**