From fbc517c8adb52326622f75ffeff8c5478c39f84f Mon Sep 17 00:00:00 2001 From: jinyus Date: Thu, 28 Mar 2024 21:10:26 -0500 Subject: [PATCH] v0.44.5 --- examples/auth_flow/pubspec.lock | 4 ++-- examples/counter/pubspec.lock | 4 ++-- examples/flutter_main/pubspec.lock | 4 ++-- examples/shopping_cart/pubspec.lock | 4 ++-- examples/skeleton/pubspec.lock | 4 ++-- examples/vgv_best_practices/pubspec.lock | 4 ++-- packages/state_beacon/CHANGELOG.md | 6 ++++++ packages/state_beacon/README.md | 2 +- packages/state_beacon/pubspec.yaml | 4 ++-- 9 files changed, 21 insertions(+), 15 deletions(-) diff --git a/examples/auth_flow/pubspec.lock b/examples/auth_flow/pubspec.lock index 5dc6c35..20e206b 100644 --- a/examples/auth_flow/pubspec.lock +++ b/examples/auth_flow/pubspec.lock @@ -216,10 +216,10 @@ packages: dependency: transitive description: name: state_beacon_core - sha256: "631ed8cb997c3e0100d793bc4ea3ca9f05903ca2f31c040311c1644c72f5caf2" + sha256: "57a88bd2ff162e59562359be1d32ce3f3514fce8af01b1d35c501f4200723c39" url: "https://pub.dev" source: hosted - version: "0.43.3" + version: "0.43.4" stream_channel: dependency: transitive description: diff --git a/examples/counter/pubspec.lock b/examples/counter/pubspec.lock index 73f6953..62bac9e 100644 --- a/examples/counter/pubspec.lock +++ b/examples/counter/pubspec.lock @@ -179,10 +179,10 @@ packages: dependency: transitive description: name: state_beacon_core - sha256: "631ed8cb997c3e0100d793bc4ea3ca9f05903ca2f31c040311c1644c72f5caf2" + sha256: "57a88bd2ff162e59562359be1d32ce3f3514fce8af01b1d35c501f4200723c39" url: "https://pub.dev" source: hosted - version: "0.43.3" + version: "0.43.4" stream_channel: dependency: transitive description: diff --git a/examples/flutter_main/pubspec.lock b/examples/flutter_main/pubspec.lock index e8f0640..9d5b166 100644 --- a/examples/flutter_main/pubspec.lock +++ b/examples/flutter_main/pubspec.lock @@ -403,10 +403,10 @@ packages: dependency: transitive description: name: state_beacon_core - sha256: "631ed8cb997c3e0100d793bc4ea3ca9f05903ca2f31c040311c1644c72f5caf2" + sha256: "57a88bd2ff162e59562359be1d32ce3f3514fce8af01b1d35c501f4200723c39" url: "https://pub.dev" source: hosted - version: "0.43.3" + version: "0.43.4" state_beacon_lint: dependency: "direct dev" description: diff --git a/examples/shopping_cart/pubspec.lock b/examples/shopping_cart/pubspec.lock index 0378fa6..2bd2cfd 100644 --- a/examples/shopping_cart/pubspec.lock +++ b/examples/shopping_cart/pubspec.lock @@ -216,10 +216,10 @@ packages: dependency: transitive description: name: state_beacon_core - sha256: "631ed8cb997c3e0100d793bc4ea3ca9f05903ca2f31c040311c1644c72f5caf2" + sha256: "57a88bd2ff162e59562359be1d32ce3f3514fce8af01b1d35c501f4200723c39" url: "https://pub.dev" source: hosted - version: "0.43.3" + version: "0.43.4" stream_channel: dependency: transitive description: diff --git a/examples/skeleton/pubspec.lock b/examples/skeleton/pubspec.lock index b091d29..9723f0f 100644 --- a/examples/skeleton/pubspec.lock +++ b/examples/skeleton/pubspec.lock @@ -200,10 +200,10 @@ packages: dependency: transitive description: name: state_beacon_core - sha256: "631ed8cb997c3e0100d793bc4ea3ca9f05903ca2f31c040311c1644c72f5caf2" + sha256: "57a88bd2ff162e59562359be1d32ce3f3514fce8af01b1d35c501f4200723c39" url: "https://pub.dev" source: hosted - version: "0.43.3" + version: "0.43.4" stream_channel: dependency: transitive description: diff --git a/examples/vgv_best_practices/pubspec.lock b/examples/vgv_best_practices/pubspec.lock index a85a163..83f8020 100644 --- a/examples/vgv_best_practices/pubspec.lock +++ b/examples/vgv_best_practices/pubspec.lock @@ -208,10 +208,10 @@ packages: dependency: transitive description: name: state_beacon_core - sha256: "631ed8cb997c3e0100d793bc4ea3ca9f05903ca2f31c040311c1644c72f5caf2" + sha256: "57a88bd2ff162e59562359be1d32ce3f3514fce8af01b1d35c501f4200723c39" url: "https://pub.dev" source: hosted - version: "0.43.3" + version: "0.43.4" stream_channel: dependency: transitive description: diff --git a/packages/state_beacon/CHANGELOG.md b/packages/state_beacon/CHANGELOG.md index 4b947f4..dfe8588 100644 --- a/packages/state_beacon/CHANGELOG.md +++ b/packages/state_beacon/CHANGELOG.md @@ -1,3 +1,9 @@ +# 0.44.5 + +- [Fix] Fix bug with `FutureBeacon`s not autosleeping +- [Feat] Expose list of beacons created in a BeaconGroup wuth `BeaconGroup.beacons` +- [Feat] Add `BeaconGroup.onCreate` to allow adding a callback to be run when a beacon is created + # 0.44.4 - [Fix] Rare bug in FutureBeacon when start is called multiple times synchronously. diff --git a/packages/state_beacon/README.md b/packages/state_beacon/README.md index b1cf8f1..defb3df 100644 --- a/packages/state_beacon/README.md +++ b/packages/state_beacon/README.md @@ -1199,7 +1199,7 @@ class CountController extends BeaconController { ## Dependency Injection -Dependency injection refers to the process of providing an instance of a Beacon or BeaconController to your widgets. `state_beacon` ships with a lightweight dependency injection library called [lite_ref](https://pub.dev/packages/lite_ref) that makes it easy and ergonomic to provide Beacons and BeaconControllers to your widgets. It also manages disposal of both. +Dependency injection refers to the process of providing an instance of a Beacon or BeaconController to your widgets. `state_beacon` ships with a lightweight dependency injection library called [lite_ref](https://pub.dev/packages/lite_ref) that makes it easy and ergonomic to do this while also managing disposal of both. NB: You can use another DI library such as `Provider`. diff --git a/packages/state_beacon/pubspec.yaml b/packages/state_beacon/pubspec.yaml index 47d6296..7542998 100644 --- a/packages/state_beacon/pubspec.yaml +++ b/packages/state_beacon/pubspec.yaml @@ -1,6 +1,6 @@ name: state_beacon description: A reactive primitive and simple state managerment solution for dart and flutter -version: 0.44.4 +version: 0.44.5 repository: https://github.com/jinyus/dart_beacon environment: @@ -11,7 +11,7 @@ dependencies: flutter: sdk: flutter lite_ref: ^0.6.3 - state_beacon_core: ^0.43.3 + state_beacon_core: ^0.43.4 dev_dependencies: flutter_lints: ^3.0.0