Skip to content

Commit

Permalink
Merge branch 'main' into feat/case-sensitive-headers
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Li <[email protected]>
  • Loading branch information
AlexV525 authored Oct 24, 2023
2 parents aee8f73 + 9f773fc commit 154c20e
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 56 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,6 @@ jobs:
uses: subosito/[email protected]
with:
cache: true
flutter-version: ${{ matrix.channel == 'min' && '3.10.0' || '' }}
flutter-version: ${{ matrix.channel == 'min' && '3.13.0' || '' }}
channel: ${{ matrix.channel == 'min' && 'stable' || matrix.channel }}
- run: flutter test
38 changes: 19 additions & 19 deletions dio/lib/src/compute/compute.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

/// This file corresponds to Flutter's
/// [`foundation/isolates.dart`](https://github.com/flutter/flutter/blob/stable/packages/flutter/lib/src/foundation/isolates.dart).
///
/// Changes are only synced with the `stable` branch.
///
/// Last synced commit:
/// [3d46ab9](https://github.com/flutter/flutter/commit/3d46ab920b47a2ecb250c6f890f3559ef913cb0b)
///
/// The changes are currently manually synced. If you noticed that the Flutter's
/// original `compute` function (and any of the related files) have changed
/// on the `stable` branch and you would like to see those changes in the `compute` package
/// please open an [issue](https://github.com/dartsidedev/compute/issues),
/// and I'll try my best to "merge".
///
/// The file is intentionally not refactored so that it is easier to keep the
/// compute package up to date with Flutter's implementation.
///
/// When this library supports just Dart 3, we can delete most of this code
/// an make use of `Isolate.run()`
// This file corresponds to Flutter's
// [`foundation/isolates.dart`](https://github.com/flutter/flutter/blob/stable/packages/flutter/lib/src/foundation/isolates.dart).
//
// Changes are only synced with the `stable` branch.
//
// Last synced commit:
// [3d46ab9](https://github.com/flutter/flutter/commit/3d46ab920b47a2ecb250c6f890f3559ef913cb0b)
//
// The changes are currently manually synced. If you noticed that the Flutter's
// original `compute` function (and any of the related files) have changed
// on the `stable` branch and you would like to see those changes in the `compute` package
// please open an [issue](https://github.com/dartsidedev/compute/issues),
// and I'll try my best to "merge".
//
// The file is intentionally not refactored so that it is easier to keep the
// compute package up to date with Flutter's implementation.
//
// When this library supports just Dart 3, we can delete most of this code
// an make use of `Isolate.run()`
// ignore_for_file: no_leading_underscores_for_library_prefixes

import 'dart:async';
Expand Down
32 changes: 16 additions & 16 deletions dio/lib/src/compute/compute_io.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

/// This file corresponds to Flutter's
/// [`foundation/_isolates_io.dart`](https://github.com/flutter/flutter/blob/stable/packages/flutter/lib/src/foundation/_isolates_io.dart).
///
/// Changes are only synced with the `stable` branch.
///
/// Last synced commit:
/// [3420b9c](https://github.com/flutter/flutter/commit/3420b9c50ea19489dd74b024705bb010c5763d0a)
///
/// The changes are currently manually synced. If you noticed that the Flutter's
/// original `compute` function (and any of the related files) have changed
/// on the `stable` branch and you would like to see those changes in the `compute` package
/// please open an [issue](https://github.com/dartsidedev/compute/issues),
/// and I'll try my best to "merge".
///
/// The file is intentionally not refactored so that it is easier to keep the
/// compute package up to date with Flutter's implementation.
// This file corresponds to Flutter's
// [`foundation/_isolates_io.dart`](https://github.com/flutter/flutter/blob/stable/packages/flutter/lib/src/foundation/_isolates_io.dart).
//
// Changes are only synced with the `stable` branch.
//
// Last synced commit:
// [3420b9c](https://github.com/flutter/flutter/commit/3420b9c50ea19489dd74b024705bb010c5763d0a)
//
// The changes are currently manually synced. If you noticed that the Flutter's
// original `compute` function (and any of the related files) have changed
// on the `stable` branch and you would like to see those changes in the `compute` package
// please open an [issue](https://github.com/dartsidedev/compute/issues),
// and I'll try my best to "merge".
//
// The file is intentionally not refactored so that it is easier to keep the
// compute package up to date with Flutter's implementation.
import 'dart:async';
import 'dart:developer';
import 'dart:isolate';
Expand Down
32 changes: 16 additions & 16 deletions dio/lib/src/compute/compute_web.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

/// This file corresponds to Flutter's
/// [`foundation/_isolates_web.dart`](https://github.com/flutter/flutter/blob/stable/packages/flutter/lib/src/foundation/_isolates_web.dart).
///
/// Changes are only synced with the `stable` branch.
///
/// Last synced commit:
/// [978a2e7](https://github.com/flutter/flutter/commit/978a2e7bf6a2ed287130af8dbd94cef019fb7bef)
///
/// The changes are currently manually synced. If you noticed that the Flutter's
/// original `compute` function (and any of the related files) have changed
/// on the `stable` branch and you would like to see those changes in the `compute` package
/// please open an [issue](https://github.com/dartsidedev/compute/issues),
/// and I'll try my best to "merge".
///
/// The file is intentionally not refactored so that it is easier to keep the
/// compute package up to date with Flutter's implementation.
// This file corresponds to Flutter's
// [`foundation/_isolates_web.dart`](https://github.com/flutter/flutter/blob/stable/packages/flutter/lib/src/foundation/_isolates_web.dart).
//
// Changes are only synced with the `stable` branch.
//
// Last synced commit:
// [978a2e7](https://github.com/flutter/flutter/commit/978a2e7bf6a2ed287130af8dbd94cef019fb7bef)
//
// The changes are currently manually synced. If you noticed that the Flutter's
// original `compute` function (and any of the related files) have changed
// on the `stable` branch and you would like to see those changes in the `compute` package
// please open an [issue](https://github.com/dartsidedev/compute/issues),
// and I'll try my best to "merge".
//
// The file is intentionally not refactored so that it is easier to keep the
// compute package up to date with Flutter's implementation.
import 'compute.dart' as c;

/// The dart:html implementation of [c.compute].
Expand Down
2 changes: 2 additions & 0 deletions plugins/native_dio_adapter/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
## Unreleased

- Bump `cronet_http` version.
- Minimal required Dart version is now 3.1.
- Minimal required Flutter version is now 3.13.0.
- Allow case-sensitive header keys with the `caseSensitiveHeaders` flag through options.

## 1.0.0+2
Expand Down
4 changes: 2 additions & 2 deletions plugins/native_dio_adapter/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ publish_to: 'none'
version: 1.0.0+1

environment:
sdk: '>=2.18.0 <3.0.0'
sdk: '>=3.1.0 <4.0.0'

dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.2
dio: ^5.0.0-0
dio: ^5.0.0
native_dio_adapter:
path:
../
Expand Down
4 changes: 2 additions & 2 deletions plugins/native_dio_adapter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ repository: https://github.com/cfug/dio/blob/main/plugins/native_dio_adapter
issue_tracker: https://github.com/cfug/dio/issues

environment:
sdk: ">=3.0.0 <4.0.0"
flutter: ">=3.10.0"
sdk: ">=3.1.0 <4.0.0"
flutter: ">=3.13.0"

dependencies:
dio: ^5.2.0
Expand Down

0 comments on commit 154c20e

Please sign in to comment.