Skip to content

Commit

Permalink
Update supported version to dart 3.0 (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
llucax authored May 24, 2023
2 parents 2d0eef7 + 3ed96f5 commit 44ca610
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ on:

env:
# Current supported major
major: 2
major: 3
# Latest minor that we are explicitly supporting
latest_minor: 19
latest_minor: 0

jobs:
check-dart-version:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
dart_version: ["2.19", "2.18", "2.17", "2.16", "2.15", "2.14", "2.13", "2.12"]
dart_version: ["3.0"]

runs-on: ubuntu-latest

Expand Down
23 changes: 22 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
## 1.0.0+7
## 2.0.0

- Update and test against Dart 3.0.
- Bump dependencies and configuration to work with Dart 3.0.
- Because of the above, drop support for Dart 2.x.

**NOTE:** If you need to use Dart 2.x you can stick to the 1.x branch series.
Even more, those releases seem to be forward-compatible with Dart 3.0, so
upgrading should only be necessary if you also need to bump other dependencies.

**WANTED:** It's been almost 2 years since the last time I used Dart or
Flutter, and while I enjoy maintaining open source projects, it is becoming
more and more difficult to keep up to date with changes in Dart and maintaining
this project, so **I'm looking for a maintainer willing to take over this
project** to ensure its health in the future. Please [get in
touch](https://github.com/llucax/pausable_timer/discussions/55) if you are
interested.

[More details available in
GitHub](https://github.com/llucax/pausable_timer/milestone/13?closed=1).

## 1.0.0+8

- Update and test against Dart 2.19.

Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ A [Dart](https://dart.dev/)
[timer](https://api.dart.dev/stable/dart-async/Timer/Timer.html) that can be
paused, resumed and reset.

## New maintainer wanted

It's been almost 2 years since the last time I used Dart or Flutter, and while
I enjoy maintaining open source projects, it is becoming more and more
difficult to keep up to date with changes in Dart and maintaining this project,
so **I'm looking for a maintainer willing to take over this project** to ensure
its health in the future. Please [get in
touch](https://github.com/llucax/pausable_timer/discussions/55) if you are
interested.

## Example using `start()`, `pause()` and `reset()`

```dart
Expand Down
7 changes: 4 additions & 3 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include: package:lints/recommended.yaml

analyzer:
strong-mode:
implicit-casts: false
implicit-dynamic: false
language:
strict-casts: true
strict-inference: true
strict-raw-types: true
12 changes: 6 additions & 6 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ repository: https://github.com/llucax/pausable_timer
funding:
- https://github.com/llucax/llucax/blob/main/sponsoring-platforms.md

version: 1.0.0+7
version: 2.0.0

environment:
sdk: ">=2.12.0 <3.0.0"
sdk: ">=3.0.0 <4.0.0"

dependencies:
clock: ^1.1.0

dev_dependencies:
coverage: ^1.0.2
test: ^1.16.0
fake_async: ^1.2.0
lints: ^1.0.1
coverage: ^1.6.3
test: ^1.24.3
fake_async: ^1.3.1
lints: ^2.1.0

0 comments on commit 44ca610

Please sign in to comment.