Skip to content

Commit

Permalink
v0.38.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jinyus committed Feb 20, 2024
1 parent 7129ce9 commit 1d1827c
Show file tree
Hide file tree
Showing 11 changed files with 40 additions and 22 deletions.
6 changes: 3 additions & 3 deletions examples/auth_flow/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,15 @@ packages:
path: "../../packages/state_beacon"
relative: true
source: path
version: "0.37.0"
version: "0.38.0"
state_beacon_core:
dependency: transitive
description:
name: state_beacon_core
sha256: "41f8ba1f11f484a93eb0f605992fed1e3b7ddb050a580d91a0e5b4c9bcedfb1e"
sha256: "8632c728dc3c038ad145f1347b50e457785378efa09fc70c19be8c9731e3d309"
url: "https://pub.dev"
source: hosted
version: "0.37.0"
version: "0.38.0"
stream_channel:
dependency: transitive
description:
Expand Down
6 changes: 3 additions & 3 deletions examples/flutter_main/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -366,15 +366,15 @@ packages:
path: "../../packages/state_beacon"
relative: true
source: path
version: "0.37.0"
version: "0.38.0"
state_beacon_core:
dependency: transitive
description:
name: state_beacon_core
sha256: "41f8ba1f11f484a93eb0f605992fed1e3b7ddb050a580d91a0e5b4c9bcedfb1e"
sha256: "8632c728dc3c038ad145f1347b50e457785378efa09fc70c19be8c9731e3d309"
url: "https://pub.dev"
source: hosted
version: "0.37.0"
version: "0.38.0"
state_beacon_lint:
dependency: "direct dev"
description:
Expand Down
6 changes: 3 additions & 3 deletions examples/shopping_cart/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -171,15 +171,15 @@ packages:
path: "../../packages/state_beacon"
relative: true
source: path
version: "0.37.0"
version: "0.38.0"
state_beacon_core:
dependency: transitive
description:
name: state_beacon_core
sha256: "41f8ba1f11f484a93eb0f605992fed1e3b7ddb050a580d91a0e5b4c9bcedfb1e"
sha256: "8632c728dc3c038ad145f1347b50e457785378efa09fc70c19be8c9731e3d309"
url: "https://pub.dev"
source: hosted
version: "0.37.0"
version: "0.38.0"
stream_channel:
dependency: transitive
description:
Expand Down
6 changes: 3 additions & 3 deletions examples/skeleton/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,15 @@ packages:
path: "../../packages/state_beacon"
relative: true
source: path
version: "0.37.0"
version: "0.38.0"
state_beacon_core:
dependency: transitive
description:
name: state_beacon_core
sha256: "41f8ba1f11f484a93eb0f605992fed1e3b7ddb050a580d91a0e5b4c9bcedfb1e"
sha256: "8632c728dc3c038ad145f1347b50e457785378efa09fc70c19be8c9731e3d309"
url: "https://pub.dev"
source: hosted
version: "0.37.0"
version: "0.38.0"
stream_channel:
dependency: transitive
description:
Expand Down
6 changes: 3 additions & 3 deletions examples/vgv_best_practices/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,15 @@ packages:
path: "../../packages/state_beacon"
relative: true
source: path
version: "0.37.0"
version: "0.38.0"
state_beacon_core:
dependency: transitive
description:
name: state_beacon_core
sha256: "41f8ba1f11f484a93eb0f605992fed1e3b7ddb050a580d91a0e5b4c9bcedfb1e"
sha256: "8632c728dc3c038ad145f1347b50e457785378efa09fc70c19be8c9731e3d309"
url: "https://pub.dev"
source: hosted
version: "0.37.0"
version: "0.38.0"
stream_channel:
dependency: transitive
description:
Expand Down
9 changes: 9 additions & 0 deletions packages/state_beacon/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# 0.38.0

- [Feat] Add methods to `Beacon.streamRaw` that operates on the internal stream: `unsubscribe` `pause` and `resume`.
- [Feat] `onDispose` now returns a function that can be used to unregister the dispose listener.
- [Breaking] `anybeacon.next()` no longer takes a timeout parameter. It will also throw an error if called on a lazy beacon and the beacon is disposed before emitting a value; unless a [fallback] value is provided.

Removed Deprecated methods:
`anybeacon.toStream()` is now removed. Use `anybeacon.stream` instead.

# 0.37.0

- [Breaking] Remove `unsubscribe` method from `Beacon.streamRaw`
Expand Down
4 changes: 2 additions & 2 deletions packages/state_beacon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -736,8 +736,8 @@ returns `false` for a emitted value, the method continues waiting for the
next value that matches the filter. If no [filter] is provided,
the method completes with the first value received.

If a value is not emitted within the specified [timeout] duration (default
is 10 seconds), the method times out and returns the current value of the beacon.
If this is a lazy beacon and it's disposed before a value is emitted,
the future will be completed with an error if a [fallback] value is not provided.

```dart
final age = Beacon.writable(20);
Expand Down
4 changes: 2 additions & 2 deletions packages/state_beacon/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: state_beacon
description: A reactive primitive and simple state managerment solution for dart and flutter
version: 0.37.0
version: 0.38.0
repository: https://github.com/jinyus/dart_beacon

environment:
Expand All @@ -10,7 +10,7 @@ environment:
dependencies:
flutter:
sdk: flutter
state_beacon_core: ^0.37.0
state_beacon_core: ^0.38.0

dev_dependencies:
flutter_lints: ^3.0.0
Expand Down
9 changes: 9 additions & 0 deletions packages/state_beacon_core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# 0.38.0

- [Feat] Add methods to `Beacon.streamRaw` that operates on the internal stream: `unsubscribe` `pause` and `resume`.
- [Feat] `onDispose` now returns a function that can be used to unregister the dispose listener.
- [Breaking] `anybeacon.next()` no longer takes a timeout parameter. It will also throw an error if called on a lazy beacon and the beacon is disposed before emitting a value; unless a [fallback] value is provided.

Removed Deprecated methods:
`anybeacon.toStream()` is now removed. Use `anybeacon.stream` instead.

# 0.37.0

- [Breaking] Remove `unsubscribe` method from `Beacon.streamRaw`
Expand Down
4 changes: 2 additions & 2 deletions packages/state_beacon_core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -736,8 +736,8 @@ returns `false` for a emitted value, the method continues waiting for the
next value that matches the filter. If no [filter] is provided,
the method completes with the first value received.

If a value is not emitted within the specified [timeout] duration (default
is 10 seconds), the method times out and returns the current value of the beacon.
If this is a lazy beacon and it's disposed before a value is emitted,
the future will be completed with an error if a [fallback] value is not provided.

```dart
final age = Beacon.writable(20);
Expand Down
2 changes: 1 addition & 1 deletion packages/state_beacon_core/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: state_beacon_core
description: A reactive primitive and simple state managerment solution for dart.
version: 0.37.0
version: 0.38.0
repository: https://github.com/jinyus/dart_beacon

environment:
Expand Down

0 comments on commit 1d1827c

Please sign in to comment.