Skip to content

Commit

Permalink
chore(replay_bloc): v0.2.4 (felangel#3843)
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel committed May 20, 2023
1 parent a5a2c29 commit 672a2c6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
6 changes: 6 additions & 0 deletions packages/replay_bloc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 0.2.4

- docs: upgrade to Dart 3 ([#3825](https://github.com/felangel/bloc/pull/3825))
- refactor: standardize analysis_options ([#3825](https://github.com/felangel/bloc/pull/3825))
- chore: update sdk constraints and fix analysis warnings ([#3825](https://github.com/felangel/bloc/pull/3825))

# 0.2.3

- chore: add screenshots to pubspec.yaml ([#3728](https://github.com/felangel/bloc/pull/3728))
Expand Down
8 changes: 4 additions & 4 deletions packages/replay_bloc/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -145,22 +145,22 @@ class CounterCubit extends ReplayCubit<int> {
}

/// Base event class for the [CounterBloc].
class CounterEvent extends ReplayEvent {}
sealed class CounterEvent extends ReplayEvent {}

/// Notifies [CounterBloc] to increment its state.
class CounterIncrementPressed extends CounterEvent {
final class CounterIncrementPressed extends CounterEvent {
@override
String toString() => 'CounterIncrementPressed';
}

/// Notifies [CounterBloc] to decrement its state.
class CounterDecrementPressed extends CounterEvent {
final class CounterDecrementPressed extends CounterEvent {
@override
String toString() => 'CounterDecrementPressed';
}

/// Notifies [CounterBloc] to reset its state.
class CounterResetPressed extends CounterEvent {
final class CounterResetPressed extends CounterEvent {
@override
String toString() => 'CounterResetPressed';
}
Expand Down
2 changes: 1 addition & 1 deletion packages/replay_bloc/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 1.0.0+1
publish_to: none

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

dependencies:
bloc: ^8.1.1
Expand Down
4 changes: 2 additions & 2 deletions packages/replay_bloc/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: replay_bloc
description: An extension to the bloc state management library which adds support for undo and redo.
version: 0.2.3
version: 0.2.4
repository: https://github.com/felangel/bloc/tree/master/packages/replay_bloc
issue_tracker: https://github.com/felangel/bloc/issues
homepage: https://bloclibrary.dev

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

dependencies:
bloc: ^8.1.1
Expand Down

0 comments on commit 672a2c6

Please sign in to comment.