Releases: Workiva/w_flux
Releases · Workiva/w_flux
w_flux 1.0.0
This major release of w_flux is mostly changes related to bringing the library to OSS.
- #23: Add docs and examples
- #24: User dart_dev for tooling
- #25: Add license, copy license to all src files
- #26: Add CHANGELOG
- #30: Fix image link in README
- #31: Prepare pubspec.yaml for OSS
- #33: Setup TravisCI and Codecov.io reporting
- #34: Update README to reference dart_dev
- #35: Document FluxComponent and Store
w_flux 0.3.0
The Client Platform team anticipates this will be the last minor release before 1.0.0, at which point this library will become open source.
This pre-1.0 minor release of w_flux adds some new features, tests, and breaking changes.
Features & Improvements
- #13: Actions are now awaitable!
- #16: FluxComponent now contains a default implementation of
getStoreHandlers
making its implementation optional. Adds a newredrawOn
function to auto redraw when the returned list of stores trigger. A FluxComponent with a single Store passed in will automatically listen to it and redraw, unlessredrawOn
is overridden.
Bugfixes
- #11: triggerOnAction with async onAction functions now works properly.
Breaking Changes
- #14: Store no longer extends Stream, cleans up the public api.
- If you were using and Stream provided functions on a store directly (e.g.
myStore.where(...).listen(...)
), those functions will no longer be available.
- If you were using and Stream provided functions on a store directly (e.g.
- #17: FluxComponent's
stores
getter is nowstore
. Makes the getter logically more flexible, accounts for the case where you are passing in one store instead of a composite of multiple stores.
Other
- Unit tests updated, new ones added for FluxComponent
- Dartformat now enforced on build