From 69730297f1c3f3435b357c2f5fd0eb9ab2f27c47 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Thu, 22 Jun 2023 15:23:59 +0200 Subject: [PATCH] Described removal of classes due to Spring 6 not supporting them anymore - Documented behaviour change due to update to Apache HttpClient 5 --- MIGRATION.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/MIGRATION.md b/MIGRATION.md index 3e7a611ab..4b60710ee 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -25,6 +25,15 @@ Here are some of the breaking changes that can affect `riptide-failsafe` users: Since Spring 5, `AsyncRestTemplate` is deprecated in favor of `WebClient`. For that reason, we have removed `AsyncHttpOperations` from `riptide-compatibility` layer. +Since Spring 6, `AsyncRestTemplate` and all corresponding classes like `AsyncClientHttpRequestFactory` have been removed. +For that reason, we have removed `NonBlockingIO` from `riptide-core` to avoid additionally migrating to `WebClient`. +The same reason applies to the removal of `HttpOutputMessageAsyncClientHttpRequestAdapter` from `riptide-compatibility-layer`. + +## Apache HttpClient 5 + +Apache HttpClient 5 removed the definition of whether a specific HTTP method is allowed to have a body or not. Due to +this `StreamingApacheClientHttpRequest::setBody` will not throw an exception anymore. + ## OpenTracing The `SpanDecorators` obtained by `ServiceLoaderSpanDecorator`