From 2d8ebacc9e155ee010e6db62071033cf92fc21b4 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Tue, 4 Jun 2024 14:53:15 -0700 Subject: [PATCH 1/2] Bump lints and min SDK --- .github/workflows/test-package.yml | 4 ++-- CHANGELOG.md | 1 + pubspec.yaml | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index a41e4ac..e91044f 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - sdk: [dev, stable, 2.19.0] + sdk: [dev, stable, 3.4] steps: - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 - uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30 @@ -46,7 +46,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - sdk: [dev, stable, 2.19.0] + sdk: [dev, stable, 3.4] steps: - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 - uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30 diff --git a/CHANGELOG.md b/CHANGELOG.md index 28e51bc..87d676c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## 1.3.1-wip * Fixed README rendering on pub.dev and API docs. +* Require Dart `^3.4.0` ## 1.3.0 diff --git a/pubspec.yaml b/pubspec.yaml index 7247d74..7507365 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -9,8 +9,8 @@ topics: - unicode environment: - sdk: ">=2.19.0 <4.0.0" + sdk: ^3.4.0 dev_dependencies: - dart_flutter_team_lints: ^1.0.0 - test: ^1.16.0 + dart_flutter_team_lints: ^2.0.0 + test: ^1.16.6 From ad26dd47a3d3ff28ec2ee4b2ad1947e86ee79d9a Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Tue, 4 Jun 2024 14:54:15 -0700 Subject: [PATCH 2/2] oops --- lib/src/characters_impl.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/src/characters_impl.dart b/lib/src/characters_impl.dart index eb8cef4..f708466 100644 --- a/lib/src/characters_impl.dart +++ b/lib/src/characters_impl.dart @@ -2,11 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -import 'package:characters/src/grapheme_clusters/table.dart'; - import "characters.dart"; import "grapheme_clusters/breaks.dart"; import "grapheme_clusters/constants.dart"; +import 'grapheme_clusters/table.dart'; /// The grapheme clusters of a string. ///