Skip to content

Commit

Permalink
Update okhttp from 3.12 -> 3.13.1 which disable TLSv1 and TLSv1.1, ta…
Browse files Browse the repository at this point in the history
…ke junit from 5.4.0-RC1 to 5.4.0
  • Loading branch information
majst01 committed Feb 9, 2019
1 parent 90395a8 commit 032c3c4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
### Fixes

- Close underlying OkHttpClient when closing [Issue #359](https://github.com/influxdata/influxdb-java/issues/359)
- Update OkHttp to 3.13.1 which disables TLSv1 and TLSv1.1 by default, if still required you can enable them:

```java
OkHttpClient client = new OkHttpClient.Builder()
.connectionSpecs(Arrays.asList(ConnectionSpec.COMPATIBLE_TLS))
.build();
```

### Features

Expand Down
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -218,13 +218,13 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.4.0-RC1</version>
<version>5.4.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-runner</artifactId>
<version>1.4.0-RC1</version>
<version>1.4.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -242,7 +242,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>2.23.4</version>
<version>2.24.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -265,12 +265,12 @@
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>3.12.1</version>
<version>3.13.1</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>logging-interceptor</artifactId>
<version>3.12.1</version>
<version>3.13.1</version>
</dependency>
</dependencies>
<profiles>
Expand Down

0 comments on commit 032c3c4

Please sign in to comment.