From 0c9eab7d4656be97329c4970659afd53a78910e6 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Mon, 10 Jun 2024 09:30:24 -0700 Subject: [PATCH] latest lints, require Dart 3.4 (#107) --- .github/workflows/test-package.yml | 5 ++--- CHANGELOG.md | 2 +- pubspec.yaml | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index 891c916..d43d140 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -47,7 +47,7 @@ jobs: matrix: # Add macos-latest and/or windows-latest if relevant for this package. os: [ubuntu-latest] - sdk: [3.0.0, dev] + sdk: [3.4, dev] steps: - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 - uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30 @@ -64,5 +64,4 @@ jobs: if: always() && steps.install.outcome == 'success' - name: Run Chrome tests - wasm run: dart test --platform chrome --compiler dart2wasm - # TODO: drop `dev` filter when dart2wasm is working on stable - if: always() && steps.install.outcome == 'success' && matrix.sdk == 'dev' + if: always() && steps.install.outcome == 'success' diff --git a/CHANGELOG.md b/CHANGELOG.md index 616223a..f789068 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## 3.1.2-wip -- Require Dart 3.0 +- Require Dart 3.4 - Add chunked decoding support (`startChunkedConversion`) for `CodePage` encodings. - Upper-cast the return type of the decoder from `List` to `Uint8List`. diff --git a/pubspec.yaml b/pubspec.yaml index 59d6f9d..9f0b109 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -6,12 +6,12 @@ description: >- repository: https://github.com/dart-lang/convert environment: - sdk: ^3.0.0 + sdk: ^3.4.0 dependencies: typed_data: ^1.3.0 dev_dependencies: benchmark_harness: ^2.2.0 - dart_flutter_team_lints: ^2.0.0 + dart_flutter_team_lints: ^3.0.0 test: ^1.17.0