Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<groupId>com.microsoft.graph</groupId>
<artifactId>microsoft-graph-core</artifactId>
<version>2.0.10</version>
<version>2.0.11</version>
<packaging>pom</packaging>

<properties>
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand All @@ -37,7 +37,7 @@ Add the dependency in `dependencies` in pom.xml
<!-- Include the sdk as a dependency -->
<groupId>com.microsoft.graph</groupId>
<artifactId>microsoft-graph-core</artifactId>
<version>2.0.10</version>
<version>2.0.11</version>
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/com/microsoft/graph/httpcore/HttpClients.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand All @@ -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);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down