From df7fdcd6c41ee243c1624cb0ec136c253ef952eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Bedn=C3=A1=C5=99?= Date: Fri, 6 May 2022 10:54:21 +0200 Subject: [PATCH] docs: clarify compatibility with Spring Boot (#345) --- CHANGELOG.md | 13 +++++++++++++ spring/README.md | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d056945b69f..cdfbcf33175 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,19 @@ - see [What is different in RxJava3](https://github.com/ReactiveX/RxJava/wiki/What's-different-in-3.0) +#### Spring + +:warning: The client upgrades the `OkHttp` library to version `4.9.3`. The version `3.12.x` is no longer supported - [okhttp#requirements](https://github.com/square/okhttp#requirements). + +The `spring-boot` supports the `OkHttp:4.9.3` from the version `2.7.0.M2` - [spring-boot/OkHttp 4.9.3](https://github.com/spring-projects/spring-boot/commit/fc8f55fbf44bd54e8e09de5858f8dbedb21fa9a5). +For the older version of `spring-boot` you have to configure Spring Boot's `okhttp3.version` property: + +```xml + + 4.9.3 + +``` + ### Changes in public API - `WriteService` imports: diff --git a/spring/README.md b/spring/README.md index fe4d3f806ed..16153354ef8 100644 --- a/spring/README.md +++ b/spring/README.md @@ -8,6 +8,19 @@ - [Actuator for InfluxDB2 micrometer registry](#actuator-for-influxdb2-micrometer-registry) - [Actuator for InfluxDB2 health](#actuator-for-influxdb2-health) +## Spring Boot Compatibility + +:warning: The client version `6.0.0` upgrades the `OkHttp` library to version `4.9.3`. The version `3.12.x` is no longer supported - [okhttp#requirements](https://github.com/square/okhttp#requirements). + +The `spring-boot` supports the `OkHttp:4.9.3` from the version `2.7.0.M2` - [spring-boot/OkHttp 4.9.3](https://github.com/spring-projects/spring-boot/commit/fc8f55fbf44bd54e8e09de5858f8dbedb21fa9a5). +For the older version of `spring-boot` you have to configure Spring Boot's `okhttp3.version` property: + +```xml + + 4.9.3 + +``` + ## InfluxDB2 auto-configuration To enable `InfluxDBClient` support you need to set a `influx.url` property, and include `influxdb-client-java` on your classpath.