Skip to content

Commit

Permalink
* upgrade dio to 5.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
meetleev committed Jul 27, 2023
1 parent 360d7ad commit a74e9ee
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.0.6

* upgrade dio to 5.3.0

## 0.0.5

* export cos_service_error
Expand Down
6 changes: 3 additions & 3 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ dependencies:

# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2
group_button: ^5.2.2
cupertino_icons: ^1.0.5
group_button: ^5.3.2
qcloud_cos_client:
path: ../

Expand All @@ -49,7 +49,7 @@ dev_dependencies:
# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
flutter_lints: ^2.0.0
flutter_lints: ^2.0.2

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
Expand Down
2 changes: 1 addition & 1 deletion lib/src/cos_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ class CosClient {
contentType: headers[HttpHeaders.contentTypeHeader]),
onReceiveProgress: onReceiveProgress);
}
} on DioError catch (e) {
} on DioException catch (e) {
var res = e.response;
Map<String, dynamic> message = {};
if (null == res) throw StateError(e.toString());
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: qcloud_cos_client
description: A flutter library for tencent cloud object storage(COS), do not depend on native plugins.
version: 0.0.5
version: 0.0.6
homepage: https://github.com/meetleev
repository: https://github.com/meetleev/flutter_qcloud_cos_client

Expand All @@ -14,12 +14,12 @@ dependencies:
crypto: ^3.0.3
convert: ^3.1.1
xml: ^6.3.0
dio: ^5.1.2
dio: ^5.3.0

dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
flutter_lints: ^2.0.2

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
Expand Down

0 comments on commit a74e9ee

Please sign in to comment.