rx_bloc 3.2.1
rx_bloc: ^3.2.1 copied to clipboard
A Flutter package that helps implementing the BLoC (Business Logic Component) Design Pattern using the power of reactive streams.
3.2.1 December 16, 2021 #
- Added a presentation to the README file
- Fixed memory leak caused by a not closed subscription in the LoadingBloc
- Upgraded to rxdart ^0.27.3
3.2.0 September 24, 2021 #
- Support Flutter
2.5 - Update
rxdartto use version0.27.2
3.1.2 September 22, 2021 #
- Allow the bind extension to be used with both Publish and Behaviour subjects
3.1.1 September 21, 2021 #
- Added video tutorials and a github search sample to the
README.md
3.1.0 July 09, 2021 #
- Added an optional param
tagto (Future/Stream).asResultStream(tag: 'someTag').- This will help to distinguish the action that has been triggered a particular async call. Check the flutter_rx_bloc example for more details.
- Added utility (extension) methods
Stream<ResultError<T>>.mapToException()Stream<ResultError<T>>.mapToErrorWithTag()Stream<Result<T>>.isLoadingWithTag()
- Added new states and methods to RxBlocBase
RxBlocBase.errorWithTagStateRxBlocBase.loadingWithTagStateRxBlocBase.loadingForTagState('someTag')
3.0.0 May 21, 2021 #
- Support Flutter
2.2 - Update
rxdartto use version0.27.0
2.0.2 April 19, 2021 #
Resultequatable improvements- Stability improvements
- Increased code coverage
- Documentation updates
2.0.0 March 10, 2021 #
- Migrated to Flutter
2.0and Dart2.12(null-safety).
1.2.3 February 26, 2020 #
- Documentation improvements
1.2.2 January 29, 2020 #
- Stability improvements
1.2.1 January 29, 2020 #
- Stability improvements
1.2.0 January 29, 2020 #
- Fixed side effects in setStateHandler/setErrorStateHandler/setLoadingHandler
- Removed rx_bloc/extensions library as this is now part of rx_bloc/rx_bloc
- Increased code coverage
1.1.1 December 08, 2020 #
- Upgraded to rxdart ^0.25.0
- Upgraded to meta: ^1.2.4
1.0.4 December 02, 2020 #
- Consolidated rx_bloc ecosystem in one repository
- Applied strict static code analysis
- Improved equability of the
ResultSuccessclass - Improved example
- Documentation improvements
1.0.1 August 21, 2020 #
- Upgraded to last stable SDK
1.0.0 August 20, 2020 #
- Upgraded to last stable Flutter/Dart
- Reorganized as a library package
- Implemented Stream extensions
- setErrorStateHandler()
- setLoadingStateHandler()
- Renamed parameter
shareStreamtoshareReplayof setResultStateHandler()
0.3.1 April 29, 2020 #
- Upgraded to last stable Flutter/Dart
- Upgraded to last stable rxdart
- Added an example
- Stability improvements
0.3.0 April 5, 2020 #
- Added
asResultStream()extension method to the Stream - Fixed behaviour of
setResultStateHandlerwhenshareStreamparameter istrue.
0.2.0 March 18, 2020 #
- Breaking changes
- Renamed methods in RxBlocBase class:
registerRequest->setResultStateHandlerregisterRequestToLoading->setLoadingStateHandlerregisterRequestToErrors->setErrorStateHandler
- Renamed properties in RxBlocBase class:
requestsLoadingState->loadingStaterequestsExceptions->errorState
- Renamed method in Stream extension:
registerRequest->setResultStateHandler
- Renamed methods in RxBlocBase class:
- Added an optional named parameter
shareStreamtosetResultStateHandlermethods. It has default valuetrue. If it istruethe stream will be converted to broadcast one before registering it to errors and loading.
0.1.0 March 14, 2020 #
- Removed const annotations @rxBloc and @rxBlocIgnoreState
- Removed flutter as dependency in favour of the meta package
- Added unit tests
- Updated README file
0.0.1 Jan 16, 2020 #
- Initial release