Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dio to 5.0.1. #242

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 0.7.1
* [BREAKING_CHANGE] Update dio to 5.0.1.
## 0.7.0
* [BREAKING_CHANGE] Update to Flutter 3 by Nico Mexis (https://github.com/ThexXTURBOXx).
* [BREAKING_CHANGE] Update device_info_plus and added android_id plugin by Nico Mexis (https://github.com/ThexXTURBOXx).
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Catcher supports Android, iOS, Web, Linux, Windows and MacOS platforms.
Add this line to your **pubspec.yaml**:
```yaml
dependencies:
catcher: ^0.7.0
catcher: ^0.7.1
```

Then run this command:
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies:
sdk: flutter
path_provider: ^2.0.1
path_provider_macos: ^2.0.0
dio: ^4.0.0
dio: ^5.0.1
permission_handler: ^8.1.4+2
flutter_local_notifications: ^9.0.0

Expand Down
4 changes: 2 additions & 2 deletions lib/handlers/http_handler.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ class HttpHandler extends ReportHandler {
}

final Options options = Options(
sendTimeout: requestTimeout,
receiveTimeout: responseTimeout,
sendTimeout: Duration(milliseconds: requestTimeout),
receiveTimeout: Duration(milliseconds: responseTimeout),
headers: mutableHeaders,
);

Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: catcher
description: Plugin for error catching which provides multiple handlers for dealing with errors when they are not caught by the developer.
version: 0.7.0
version: 0.7.1
#author: Jakub Homlala <[email protected]>
homepage: https://github.com/jhomlala/catcher

Expand All @@ -18,7 +18,7 @@ dependencies:
device_info_plus_platform_interface: ^6.0.0
package_info_plus: ^3.0.0
mailer: ^5.0.2
dio: ^4.0.1
dio: ^5.0.1
flutter_mailer: ^2.0.0
logging: ^1.0.2
sentry: ^6.1.0
Expand Down