From 52b0784408b1a8540d0388d5e61298e9d2600f71 Mon Sep 17 00:00:00 2001 From: Martin Kamleithner Date: Tue, 26 Nov 2024 22:53:25 +0000 Subject: [PATCH] chore(native_dio_adapter): support cupertino_http 2.0.0 (#2333) supports cupertino_http ^2.0.0, which has to break changes that don't affect this package. No code changes. Also fix typo (`<=` -> `<` ) in pubspec.yaml which would support cronet_http 2.0.0, which is not released yet and might contain breaking changes which are not compatible with this package --- plugins/native_dio_adapter/CHANGELOG.md | 2 +- plugins/native_dio_adapter/pubspec.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/native_dio_adapter/CHANGELOG.md b/plugins/native_dio_adapter/CHANGELOG.md index 868ac5310..6ef48f22b 100644 --- a/plugins/native_dio_adapter/CHANGELOG.md +++ b/plugins/native_dio_adapter/CHANGELOG.md @@ -2,7 +2,7 @@ ## Unreleased -*None.* +- Support `cupertino_http` 2.0.0 ## 1.3.0 diff --git a/plugins/native_dio_adapter/pubspec.yaml b/plugins/native_dio_adapter/pubspec.yaml index 01924f9c9..0f92ec6b9 100644 --- a/plugins/native_dio_adapter/pubspec.yaml +++ b/plugins/native_dio_adapter/pubspec.yaml @@ -21,8 +21,8 @@ dependencies: sdk: flutter dio: ^5.4.0 - cupertino_http: ^1.0.0 - cronet_http: '>=0.4.0 <=2.0.0' + cupertino_http: '>=1.0.0 <3.0.0' + cronet_http: '>=0.4.0 <2.0.0' http: ^1.0.0 dev_dependencies: