stream_bloc 0.5.3 stream_bloc: ^0.5.3 copied to clipboard
Modern implementation of the Original BLoC that uses asynchronous generators to describe relationships between events and states.
[0.5.3] – 2022-11-12 #
[0.5.2] – 2022-09-19 #
Changed #
- Bumped
bloc
andmeta
dependencies. BlocLifecycleMixin
s internal subscription list now is created lazily.
Deprecated #
- Deprecated
StreamBlocObserver.inject
andStreamBlocObserverLocation.zone
, asZone
d overrides introduce unnecessary complexity and can lead to bugs
Removed #
- Removed previously deprecated
*toStreamable
methods ofBlocLifecycleMixin
as Streamable-to-Streamable communications are discouraged.
[0.5.1] – 2022-06-13 #
Changed #
- Package and example refactoring thanks to PlugFox (#20)
[0.5.0] – 2022-06-13 #
Added #
StreamBloc
now implementsEmittable
and has anemit
method thanks to Phat0M (#12)
Changed #
- Refactored package structure for easier navigation and adherence to idiomatic project organization.
- Refactored
StreamBlocBase
– improved code style and enforced DRY principle.
Deprecated #
- Deprecated
listenToStreamable
andreactToStreamable
methods ofBlocLifecycleMixin
, as Streamable-to-Streamable communications are discouraged.
Removed #
- Removed exports of
BlocObserver
,BlocOverrides
,Cubit
,Emitter
,EventHandler
frombloc
package.
Fixed #
StreamBlocObserver
'sZone
key is made notconst
to avoid collisions thanks to nxtSwitch (#11)
0.4.0 - [13.04.2022] #
Added #
- Add
purple_lints
as a package linter. - Add
StreamBlocObserverConfig
,StreamBlocObserverLocation
and staticStreamBlocObserver.config
variable, thus adding the static variable option for global injection of theStreamBlocObserver
. - Add Setter for the
StreamBlocObserver.current
variable. - Add
const
constructor to theStreamBlocObserver
.
Changed #
- Bump
bloc
dependency.
Fixed #
- Fix annotations for implemented and inherited methods.
- Fix documentation member references.
- Import
StreamBlocMapper
.
0.3.1 - [13.02.2022] #
- Fixed
StreamBlocObserver
'sStreamBlocObserver.current
getter. - Dropped minimum package version constraint to
2.12.0
.
0.3.0 - [06.02.2022] #
- Added
transformSourceEvents
.
0.2.1 - [04.02.2022] #
- Fixed imports.
0.2.0 - [04.02.2022] #
- Events stream is made broadcast.
- Package exports include the
bloc
package. - Fixed meta dependency, bumping it to the latest version.
- Added missing
on...
arguments toBlocLifecycleMixin
's methods. StreamBlocObserver
's methods expect interfaces.- Added missing documentation. The package is now 100% documented.
0.1.0 - [06.01.2022] #
- Initial version.