Skip to content

Commit 21ec1f1

Browse files
author
github-actions
committed
Prepare version 0.4.0
1 parent 952456b commit 21ec1f1

15 files changed

Lines changed: 79 additions & 44 deletions

File tree

CHANGELOG.md

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,81 @@
11
# Changelog
22

3+
## [0.4.0]
4+
5+
- Released @ 2/2025 (UTC)
6+
- breaking: Update dependencies
7+
38
## [0.3.4]
49

5-
- Released @ 11/2024 (UTC)
10+
- Released @ 2/2025 (UTC)
611
- chore: Update dependencies
712

813
## [0.3.3]
914

10-
- Released @ 11/2024 (UTC)
15+
- Released @ 2/2025 (UTC)
1116
- chore: Update dependencies
1217

1318
## [0.3.2]
1419

15-
- Released @ 11/2024 (UTC)
20+
- Released @ 2/2025 (UTC)
1621
- chore: Update dependencies
1722

1823
## [0.3.1]
1924

20-
- Released @ 11/2024 (UTC)
25+
- Released @ 2/2025 (UTC)
2126
- chore: Update dependencies
2227

2328
## [0.3.0]
2429

25-
- Released @ 11/2024 (UTC)
30+
- Released @ 2/2025 (UTC)
2631
- breaking: Update dependencies and docs
2732

2833
## [0.2.2]
2934

30-
- Released @ 11/2024 (UTC)
35+
- Released @ 2/2025 (UTC)
3136
- chore: Update dependencies
3237

3338
## [0.2.1]
3439

35-
- Released @ 11/2024 (UTC)
40+
- Released @ 2/2025 (UTC)
3641
- chore: Update dependencies
3742

3843
## [0.2.0]
3944

40-
- Released @ 11/2024 (UTC)
45+
- Released @ 2/2025 (UTC)
4146
- breaking: Remove utils, depend on df_type package, rename mixins from previous release
4247

4348
## [0.1.6]
4449

45-
- Released @ 11/2024 (UTC)
50+
- Released @ 2/2025 (UTC)
4651
- fix: Fix another bug with mixins
4752

4853
## [0.1.5]
4954

50-
- Released @ 11/2024 (UTC)
55+
- Released @ 2/2025 (UTC)
5156
- fix: Fix bug with mixins
5257

5358
## [0.1.4]
5459

55-
- Released @ 11/2024 (UTC)
60+
- Released @ 2/2025 (UTC)
5661
- feat: Add CancelablesMixin, ClosablesMixin, DisposablesMixin and StoppablesMixin
5762

5863
## [0.1.3]
5964

60-
- Released @ 11/2024 (UTC)
65+
- Released @ 2/2025 (UTC)
6166
- refactor: Update FutureOrController's with an addAll method
6267

6368
## [0.1.2]
6469

65-
- Released @ 11/2024 (UTC)
70+
- Released @ 2/2025 (UTC)
6671
- refactor: Change FutureOrController's complete method to accept an optional onComplete callback
6772

6873
## [0.1.1]
6974

70-
- Released @ 11/2024 (UTC)
75+
- Released @ 2/2025 (UTC)
7176
- chore: Fix issues with async behaviour
7277

7378
## [0.1.0]
7479

75-
- Released @ 11/2024 (UTC)
80+
- Released @ 2/2025 (UTC)
7681
- Initial commit

_tests/A_context_store_tests/main.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ class _AppState extends State<App> {
6161
),
6262
OutlinedButton(
6363
onPressed: () {
64-
final nextPageIndex = ((pageController.page?.toInt() ?? 0) + 1) % pages.length;
64+
final nextPageIndex =
65+
((pageController.page?.toInt() ?? 0) + 1) % pages.length;
6566
pageController.jumpToPage(nextPageIndex);
6667
},
6768
child: const Padding(

_tests/A_context_store_tests/test_animation.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ class TestAnimation extends StatefulWidget {
2626
State<TestAnimation> createState() => _TestAnimationState();
2727
}
2828

29-
class _TestAnimationState extends State<TestAnimation> with SingleTickerProviderStateMixin {
29+
class _TestAnimationState extends State<TestAnimation>
30+
with SingleTickerProviderStateMixin {
3031
late AnimationController _controller;
3132
late Animation<double> _animation;
3233

_tests/B_will_dispose_mixin_tests/main.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ class _AppState extends State<App> {
5656
),
5757
OutlinedButton(
5858
onPressed: () {
59-
final nextPageIndex = ((pageController.page?.toInt() ?? 0) + 1) % pages.length;
59+
final nextPageIndex =
60+
((pageController.page?.toInt() ?? 0) + 1) % pages.length;
6061
pageController.jumpToPage(nextPageIndex);
6162
},
6263
child: const Padding(

_tests/B_will_dispose_mixin_tests/pages/test1.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ class _Test1State extends State<Test1> with DisposeMixin, WillDisposeMixin {
4545
void dispose() {
4646
super.dispose(); // ValueNotifer will be disposed of here.
4747
// Expecting error since we disposed of the ValueNotifier already:
48-
debugPrint('[Test1] Expecting error "A ValueNotifier<int> was used after being disposed."...');
48+
debugPrint(
49+
'[Test1] Expecting error "A ValueNotifier<int> was used after being disposed."...');
4950
try {
5051
countValueNotifier.dispose();
5152
} catch (e) {

_tests/C_attachable_tests/main.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ class _AppState extends State<App> {
6161
),
6262
OutlinedButton(
6363
onPressed: () {
64-
final nextPageIndex = ((pageController.page?.toInt() ?? 0) + 1) % pages.length;
64+
final nextPageIndex =
65+
((pageController.page?.toInt() ?? 0) + 1) % pages.length;
6566
pageController.jumpToPage(nextPageIndex);
6667
},
6768
child: const Padding(

_tests/C_attachable_tests/test_animation.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ class TestAnimation extends StatefulWidget {
2626
State<TestAnimation> createState() => _TestAnimationState();
2727
}
2828

29-
class _TestAnimationState extends State<TestAnimation> with SingleTickerProviderStateMixin {
29+
class _TestAnimationState extends State<TestAnimation>
30+
with SingleTickerProviderStateMixin {
3031
late AnimationController _controller;
3132
late Animation<double> _animation;
3233

lib/src/attachable_mixin/stateful_attachable_mixin.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ class _StatefulElement extends StatefulElement with AttachableElementMixin {
5151

5252
/// A [StatefulWidget] with [StatefulAttachableMixin], equivalent to
5353
/// `StatefulWidget with StatefulAttachableMixin`.
54-
abstract class StatefulWidgetWithAttachable extends StatefulWidget with StatefulAttachableMixin {
54+
abstract class StatefulWidgetWithAttachable extends StatefulWidget
55+
with StatefulAttachableMixin {
5556
const StatefulWidgetWithAttachable({super.key});
5657
}

lib/src/attachable_mixin/stateless_attachable_mixin.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ class _StatelessElement extends StatelessElement with AttachableElementMixin {
5151

5252
/// A [StatelessWidget] with [StatelessAttachableMixin], equivalent to
5353
/// `StatelessWidget with StatelessAttachableMixin`.
54-
abstract class StatelessWidgetWithAttachable extends StatelessWidget with StatelessAttachableMixin {
54+
abstract class StatelessWidgetWithAttachable extends StatelessWidget
55+
with StatelessAttachableMixin {
5556
const StatelessWidgetWithAttachable({super.key});
5657
}

lib/src/cleanup_state.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ abstract class CleanupState<T extends StatefulWidget> extends _CleanupState<T>
3131
}
3232
}
3333

34-
abstract class _CleanupState<T extends StatefulWidget> extends State<T> with _CleanupMixin {}
34+
abstract class _CleanupState<T extends StatefulWidget> extends State<T>
35+
with _CleanupMixin {}
3536

36-
mixin _CleanupMixin implements CancelMixin, CloseMixin, DisposeMixin, StopMixin {
37+
mixin _CleanupMixin
38+
implements CancelMixin, CloseMixin, DisposeMixin, StopMixin {
3739
@override
3840
FutureOr<void> cancel() {}
3941

0 commit comments

Comments
 (0)