From b34abe426b14bcfdaf4d52dffb6b42688d818885 Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Tue, 30 Jan 2024 13:39:08 +0800 Subject: [PATCH] docs: Add upgrade docs for core (#4095) Signed-off-by: Xuanwo --- core/src/docs/upgrade.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/core/src/docs/upgrade.md b/core/src/docs/upgrade.md index 738b3c7a2e5..7b9c721680f 100644 --- a/core/src/docs/upgrade.md +++ b/core/src/docs/upgrade.md @@ -1,3 +1,19 @@ +# Upgrade to v0.45 + +## Public API + +### BlockingLayer is not enabled by default + +To further enhance the optionality of `tokio`, we have introduced a new feature called `layers-blocking`. The default usage of the blocking layer has been disabled. To utilize the `BlockingLayer`, please enable the `layers-blocking` feature. + +### TimeoutLayer deprecated `with_speed` + +The `with_speed` API has been deprecated. Please use `with_io_timeout` instead. + +## Raw API + +No raw API changes. + # Upgrade to v0.44 ## Public API