Skip to content

Commit 4653522

Browse files
committed
Bumped version to 0.2.1
1 parent f5a8762 commit 4653522

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 0.2.1
2+
- Added nested coroutine support
3+
- Fixed concurrent access issues (@luanpotter 💙)
4+
- Added [Flame game engine](https://flame-engine.org/) example (@luanpotter 💙)
5+
- Improved async tests (@luanpotter 💙)
6+
- Improved CI & docgen tasks
7+
18
## 0.2.0
29
- Added async coroutine support
310
- (**breaking!**) Removed `dart:coroutine/coroutine.dart` barrel import (use `dart:coroutines/sync.dart` or `dart:coroutines/async.dart` instead)

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,23 @@ Unity-style Coroutines for Flutter/Dart, implementing resumable functions.
1414
- Supports both synchronous and asynchronous coroutines
1515
- Can be easily integrated into existing Flutter/Dart applications
1616

17+
<!-- TODO(kerberjg): Insert a warning about usability and provide links to recommended practices -->
18+
1719
# Installation
1820
Add the following dependency to your `pubspec.yaml` file:
1921

2022
```yaml
2123
dependencies:
22-
coroutines: ^0.1.0
24+
coroutines: ^0.2.1
2325
```
2426
2527
# Examples
2628
29+
- [Flutter, coroutine on button press](#with-widgets)
30+
- ~Flutter, coroutine every frame~ (coming soon!)
31+
- [Flame game engine](examples/flame_with_coroutines/lib/main.dart) by @luanpotter
32+
- ~Fluorite game engine~ (coming soon!)
33+
2734
## With widgets
2835
2936
In this example, a StatefulWidget uses the CoroutineExecutor mixin to run a coroutine that updates every time

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: coroutines
22
description: Unity-style coroutines for Dart, allowing resumable function execution.
3-
version: 0.2.0
3+
version: 0.2.1
44

55
license: MPL-2.0
66
homepage: https://github.com/kerberjg/dart_coroutines

0 commit comments

Comments
 (0)