Skip to content

Commit 032c3c4

Browse files
committed
Update okhttp from 3.12 -> 3.13.1 which disable TLSv1 and TLSv1.1, take junit from 5.4.0-RC1 to 5.4.0
1 parent 90395a8 commit 032c3c4

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
### Fixes
66

77
- Close underlying OkHttpClient when closing [Issue #359](https://github.com/influxdata/influxdb-java/issues/359)
8+
- Update OkHttp to 3.13.1 which disables TLSv1 and TLSv1.1 by default, if still required you can enable them:
9+
10+
```java
11+
OkHttpClient client = new OkHttpClient.Builder()
12+
.connectionSpecs(Arrays.asList(ConnectionSpec.COMPATIBLE_TLS))
13+
.build();
14+
```
815

916
### Features
1017

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,13 +218,13 @@
218218
<dependency>
219219
<groupId>org.junit.jupiter</groupId>
220220
<artifactId>junit-jupiter-engine</artifactId>
221-
<version>5.4.0-RC1</version>
221+
<version>5.4.0</version>
222222
<scope>test</scope>
223223
</dependency>
224224
<dependency>
225225
<groupId>org.junit.platform</groupId>
226226
<artifactId>junit-platform-runner</artifactId>
227-
<version>1.4.0-RC1</version>
227+
<version>1.4.0</version>
228228
<scope>test</scope>
229229
</dependency>
230230
<dependency>
@@ -242,7 +242,7 @@
242242
<dependency>
243243
<groupId>org.mockito</groupId>
244244
<artifactId>mockito-core</artifactId>
245-
<version>2.23.4</version>
245+
<version>2.24.0</version>
246246
<scope>test</scope>
247247
</dependency>
248248
<dependency>
@@ -265,12 +265,12 @@
265265
<dependency>
266266
<groupId>com.squareup.okhttp3</groupId>
267267
<artifactId>okhttp</artifactId>
268-
<version>3.12.1</version>
268+
<version>3.13.1</version>
269269
</dependency>
270270
<dependency>
271271
<groupId>com.squareup.okhttp3</groupId>
272272
<artifactId>logging-interceptor</artifactId>
273-
<version>3.12.1</version>
273+
<version>3.13.1</version>
274274
</dependency>
275275
</dependencies>
276276
<profiles>

0 commit comments

Comments
 (0)