From 453fa4f9f94191260b7a4dc8e1b2406ccb9b0a1b Mon Sep 17 00:00:00 2001 From: "Hartmann, Marcel" Date: Wed, 7 Jun 2023 14:50:37 +0200 Subject: [PATCH 1/2] Explicit log to error removed (as described in https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/885) --- src/main/java/com/microsoft/graph/http/CoreHttpProvider.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/com/microsoft/graph/http/CoreHttpProvider.java b/src/main/java/com/microsoft/graph/http/CoreHttpProvider.java index 944001f19..7dea22c18 100644 --- a/src/main/java/com/microsoft/graph/http/CoreHttpProvider.java +++ b/src/main/java/com/microsoft/graph/http/CoreHttpProvider.java @@ -488,12 +488,10 @@ private Result processResponse(final Response re } } } catch (final GraphServiceException ex) { - logger.logError("Graph service exception", ex); throw ex; } catch (final Exception ex) { final ClientException clientException = new ClientException("Error during http request", ex); - logger.logError("Error during http request", clientException); throw clientException; } } From a8923400d508eebd222d81e6e856bedaf51dbfb8 Mon Sep 17 00:00:00 2001 From: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> Date: Tue, 20 Jun 2023 12:04:48 -0700 Subject: [PATCH 2/2] Prepare for 2.0.19 release. --- CHANGELOG.md | 7 +++++++ android/gradle.properties | 2 +- gradle.properties | 2 +- readme.md | 2 +- .../com/microsoft/graph/httpcore/TelemetryHandler.java | 2 +- 5 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d8975ff4..a0340680a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +## [2.0.19] - 2023-06-20 + +### Changed + +- Remove explicit logging of GraphServiceException in the CoreHttpProvider class. [#885](https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/885) +- Thank you to @MaHa6543 for the contribution. + ## [2.0.18] - 2023-04-06 ### Changed diff --git a/android/gradle.properties b/android/gradle.properties index 2c9a00dfc..c375db3d8 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -27,7 +27,7 @@ mavenGroupId = com.microsoft.graph mavenArtifactId = microsoft-graph-core mavenMajorVersion = 2 mavenMinorVersion = 3 -mavenPatchVersion = 1 +mavenPatchVersion = 2 mavenArtifactSuffix = #These values are used to run functional tests diff --git a/gradle.properties b/gradle.properties index cbfc30478..ef937622f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -25,7 +25,7 @@ mavenGroupId = com.microsoft.graph mavenArtifactId = microsoft-graph-core mavenMajorVersion = 2 mavenMinorVersion = 0 -mavenPatchVersion = 18 +mavenPatchVersion = 19 mavenArtifactSuffix = #These values are used to run functional tests diff --git a/readme.md b/readme.md index f1db8ba4a..f169081f5 100644 --- a/readme.md +++ b/readme.md @@ -22,7 +22,7 @@ repositories { dependencies { // Include the sdk as a dependency - implementation 'com.microsoft.graph:microsoft-graph-core:2.0.16' + implementation 'com.microsoft.graph:microsoft-graph-core:2.0.19' // This dependency is only needed if you are using the TokenCredentialAuthProvider implementation 'com.azure:azure-identity:1.7.2' } diff --git a/src/main/java/com/microsoft/graph/httpcore/TelemetryHandler.java b/src/main/java/com/microsoft/graph/httpcore/TelemetryHandler.java index e66305cf1..6d3e6d999 100644 --- a/src/main/java/com/microsoft/graph/httpcore/TelemetryHandler.java +++ b/src/main/java/com/microsoft/graph/httpcore/TelemetryHandler.java @@ -24,7 +24,7 @@ public class TelemetryHandler implements Interceptor{ /** * Current SDK version */ - public static final String VERSION = "v2.0.16"; + public static final String VERSION = "v2.0.19"; /** * Version prefix */