Skip to content

Commit 378eba1

Browse files
committed
Merge branch '6.0.0' into feature/download-adapter
2 parents 8d1c2d5 + 5b24a75 commit 378eba1

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- uses: subosito/[email protected]
3131
with:
3232
cache: true
33-
flutter-version: ${{ matrix.sdk == 'min' && '2.8.0' || '' }}
33+
flutter-version: ${{ matrix.sdk == 'min' && '3.10.0' || '' }}
3434
channel: ${{ matrix.sdk == 'min' && '' || matrix.channel }}
3535
- run: |
3636
chmod +x ./scripts/prepare_pinning_certs.sh

dio/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ See the [Migration Guide][] for the complete breaking changes list.**
55

66
## Unreleased 6.0.0
77

8-
- The minimum supported Dart version has been bumped from `2.15.0` to `2.19.0`.
8+
- The minimum supported Dart version has been bumped from `2.15.0` to `3.0.0`.
99
- Remove `DefaultHttpClientAdapter` which was deprecated in `5.0.0`.
1010
- Remove `IOHttpClientAdapter.onHttpClientCreate` which was deprecated in `5.2.0`.
1111
- Remove `DioError` and `DioErrorType` which was deprecated in `5.2.0`.

dio/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repository: https://github.com/cfug/dio/blob/main/dio
1717
issue_tracker: https://github.com/cfug/dio/issues
1818

1919
environment:
20-
sdk: '>=2.19.0 <4.0.0'
20+
sdk: '>=3.0.0 <4.0.0'
2121

2222
dependencies:
2323
async: ^2.8.2

example/lib/extend_dio.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import 'package:dio/dio.dart';
22
import 'package:dio/io.dart';
33

44
class HttpService extends Dio {
5-
HttpService([BaseOptions? baseOptions]) : super(baseOptions) {
5+
HttpService([super.baseOptions]) {
66
options
77
..baseUrl = 'https://httpbin.org/'
88
..contentType = Headers.jsonContentType;

example/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version: 0.0.1
44
publish_to: "none"
55

66
environment:
7-
sdk: ">=2.16.0 <3.0.0"
7+
sdk: ">=3.0.0 <4.0.0"
88

99
dependencies:
1010
cookie_jar:

example_flutter_app/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
1818
version: 1.0.0+1
1919

2020
environment:
21-
sdk: ">=2.19.0 <4.0.0"
21+
sdk: ">=3.0.0 <4.0.0"
2222

2323
dependencies:
2424
flutter:

plugins/cookie_manager/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ repository: https://github.com/cfug/dio/blob/main/plugins/cookie_manager
1313
issue_tracker: https://github.com/cfug/dio/issues
1414

1515
environment:
16-
sdk: ">=2.19.0 <3.0.0"
16+
sdk: ">=3.0.0 <4.0.0"
1717

1818
dependencies:
1919
cookie_jar: ^4.0.0
20-
dio: ^5.2.0
20+
dio: ^6.0.0
2121

2222
dev_dependencies:
2323
lints: any

plugins/http2_adapter/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ repository: https://github.com/cfug/dio/blob/main/plugins/http2_adapter
1212
issue_tracker: https://github.com/cfug/dio/issues
1313

1414
environment:
15-
sdk: ">=2.19.0 <3.0.0"
15+
sdk: ">=3.0.0 <4.0.0"
1616

1717
dependencies:
1818
http2: ^2.0.0
19-
dio: ^5.2.0
19+
dio: ^6.0.0
2020

2121
dev_dependencies:
2222
crypto: ^3.0.2

plugins/native_dio_adapter/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies:
2020
flutter:
2121
sdk: flutter
2222

23-
dio: ^5.4.0
23+
dio: ^6.0.0
2424
cupertino_http: ^1.0.0
2525
cronet_http: ^0.4.0
2626
http: ^1.0.0

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ publish_to: 'none'
33
repository: https://github.com/cfug/dio
44

55
environment:
6-
sdk: '>=2.15.0 <4.0.0'
6+
sdk: '>=3.0.0 <4.0.0'
77

88
dev_dependencies:
99
lints: any

0 commit comments

Comments
 (0)