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
blocandmetadependencies. BlocLifecycleMixins internal subscription list now is created lazily.
Deprecated #
- Deprecated
StreamBlocObserver.injectandStreamBlocObserverLocation.zone, asZoned overrides introduce unnecessary complexity and can lead to bugs
Removed #
- Removed previously deprecated
*toStreamablemethods ofBlocLifecycleMixinas 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 #
StreamBlocnow implementsEmittableand has anemitmethod 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
listenToStreamableandreactToStreamablemethods ofBlocLifecycleMixin, as Streamable-to-Streamable communications are discouraged.
Removed #
- Removed exports of
BlocObserver,BlocOverrides,Cubit,Emitter,EventHandlerfromblocpackage.
Fixed #
StreamBlocObserver'sZonekey is made notconstto avoid collisions thanks to nxtSwitch (#11)
0.4.0 [13.04.2022] #
Added #
- Add
purple_lintsas a package linter. - Add
StreamBlocObserverConfig,StreamBlocObserverLocationand staticStreamBlocObserver.configvariable, thus adding the static variable option for global injection of theStreamBlocObserver. - Add Setter for the
StreamBlocObserver.currentvariable. - Add
constconstructor to theStreamBlocObserver.
Changed #
- Bump
blocdependency.
Fixed #
- Fix annotations for implemented and inherited methods.
- Fix documentation member references.
- Import
StreamBlocMapper.
0.3.1 [13.02.2022] #
- Fixed
StreamBlocObserver'sStreamBlocObserver.currentgetter. - 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
blocpackage. - 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.