diff --git a/CHANGELOG.md b/CHANGELOG.md index df37169d7..2df37b798 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +## [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 diff --git a/gradle.properties b/gradle.properties index e7614b46d..1a53750a0 100644 --- a/gradle.properties +++ b/gradle.properties @@ -25,7 +25,7 @@ mavenGroupId = com.microsoft.graph mavenArtifactId = microsoft-graph-core mavenMajorVersion = 2 mavenMinorVersion = 0 -mavenPatchVersion = 10 +mavenPatchVersion = 11 mavenArtifactSuffix = #These values are used to run functional tests diff --git a/pom.xml b/pom.xml index 60e910efd..629485f5d 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ com.microsoft.graph microsoft-graph-core - 2.0.10 + 2.0.11 pom diff --git a/readme.md b/readme.md index de55fa616..c2428fd9d 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.10' + implementation 'com.microsoft.graph:microsoft-graph-core:2.0.11' // This dependency is only needed if you are using the TokenCrendentialAuthProvider implementation 'com.azure:azure-identity:1.3.1' } @@ -37,7 +37,7 @@ Add the dependency in `dependencies` in pom.xml com.microsoft.graph microsoft-graph-core - 2.0.10 + 2.0.11 com.azure azure-identity diff --git a/src/main/java/com/microsoft/graph/httpcore/HttpClients.java b/src/main/java/com/microsoft/graph/httpcore/HttpClients.java index e53586c57..70e62756b 100644 --- a/src/main/java/com/microsoft/graph/httpcore/HttpClients.java +++ b/src/main/java/com/microsoft/graph/httpcore/HttpClients.java @@ -4,11 +4,9 @@ import okhttp3.Interceptor; import okhttp3.OkHttpClient; import okhttp3.OkHttpClient.Builder; -import okhttp3.Protocol; import javax.annotation.Nonnull; import javax.annotation.Nullable; -import java.util.Collections; import java.util.Objects; /** @@ -30,8 +28,7 @@ public static Builder custom() { return new OkHttpClient.Builder() .addInterceptor(new TelemetryHandler()) .followRedirects(false) - .followSslRedirects(false) - .protocols(Collections.singletonList(Protocol.HTTP_1_1)); //https://stackoverflow.com/questions/62031298/sockettimeout-on-java-11-but-not-on-java-8 + .followSslRedirects(false); } /** diff --git a/src/main/java/com/microsoft/graph/httpcore/TelemetryHandler.java b/src/main/java/com/microsoft/graph/httpcore/TelemetryHandler.java index 7d07cada7..e9edb71ef 100644 --- a/src/main/java/com/microsoft/graph/httpcore/TelemetryHandler.java +++ b/src/main/java/com/microsoft/graph/httpcore/TelemetryHandler.java @@ -25,7 +25,7 @@ public class TelemetryHandler implements Interceptor{ /** * Current SDK version */ - public static final String VERSION = "v2.0.10"; + public static final String VERSION = "v2.0.11"; /** * Verion prefix */