diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f2d884f..bf7f301 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -41,7 +41,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - sdk: [2.19.0, dev] + sdk: ['3.0', dev] steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d diff --git a/CHANGELOG.md b/CHANGELOG.md index 513d9a5..c3cca22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,12 @@ +## 0.4.1 + +- Fix a broken link in the readme. +- Require Dart 3.0. + ## 0.4.0 - Remove the deprecated method `getSdkDir()` (instead, use `getSdkPath()`). -- Require Dart 2.19 +- Require Dart 2.19. ## 0.3.5 - Make `applicationConfigHome` throw an `Exception` when it fails to find a diff --git a/README.md b/README.md index a233d8b..c5a1b8b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build Status](https://github.com/dart-lang/cli_util/workflows/Dart/badge.svg)](https://github.com/dart-lang/cli_util/actions) +[![Dart CI](https://github.com/dart-lang/cli_util/actions/workflows/build.yaml/badge.svg)](https://github.com/dart-lang/cli_util/actions/workflows/build.yaml) [![Pub](https://img.shields.io/pub/v/cli_util.svg)](https://pub.dev/packages/cli_util) [![package publisher](https://img.shields.io/pub/publisher/cli_util.svg)](https://pub.dev/packages/cli_util/publisher) diff --git a/analysis_options.yaml b/analysis_options.yaml index 3f0a923..dbd96af 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -13,27 +13,21 @@ linter: - avoid_classes_with_only_static_members - avoid_private_typedef_functions - avoid_redundant_argument_values - - avoid_returning_null_for_future - avoid_returning_this - avoid_unused_constructor_parameters - avoid_void_async - cancel_subscriptions - - comment_references - join_return_with_assignment - literal_only_boolean_expressions - missing_whitespace_between_adjacent_strings - no_adjacent_strings_in_list - no_runtimeType_toString - package_api_docs - - prefer_const_constructors - prefer_const_declarations - prefer_expression_function_bodies - prefer_final_locals - - prefer_relative_imports - - test_types_in_equals - unnecessary_await_in_return - unnecessary_raw_strings - use_if_null_to_convert_nulls_to_bools - use_raw_strings - use_string_buffers - - use_super_parameters diff --git a/pubspec.yaml b/pubspec.yaml index ebdcd66..b3e05ed 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,15 +1,15 @@ name: cli_util -version: 0.4.0 +version: 0.4.1 description: A library to help in building Dart command-line apps. repository: https://github.com/dart-lang/cli_util environment: - sdk: '>=2.19.0 <3.0.0' + sdk: ^3.0.0 dependencies: meta: ^1.3.0 path: ^1.8.0 dev_dependencies: - dart_flutter_team_lints: ^1.0.0 + dart_flutter_team_lints: ^2.0.0 test: ^1.16.0