errflow 0.5.0
errflow: ^0.5.0 copied to clipboard
A Dart package for easier and more comprehensible flow of error handling and logging.
0.5.0 #
- Refactor error notifiers.
- Dart 2.15 or above is required.
- Add
CombinedResultandcombiningScope(). - Rename local variables and a test file.
- Improve documentation.
- Improve the example and add another one.
0.4.1 #
- Update dependencies.
- Update CI workflow.
- Improve documentation and example.
- Disable directives_ordering.
0.4.0 #
- Stable null safety release.
0.4.0-nullsafety.2 #
- Allow the default error value to be null.
- Minor improvements of documentation, tests, etc.
0.4.0-nullsafety.1 #
- Fix the issue of
Loggingnotifier.set()not passing the provided error to listeners. - Fix the signatures of the default logger and some others to match
ErrFlow.logger. - Change the return types of scopes and logger from
FuturetoFutureOr. - Minor improvements of documentation, tests, etc.
0.4.0-nullsafety.0 #
- Migrate to null safety.
0.3.0 #
- BREAKING CHANGE
- Change logger signature in accordance with new api of firebase_crashlytics package.
- Update documentation and dependencies.
0.2.2 #
- Internal changes
- Rename
defaultErrortodefaultValue. - Change
_Stateclass tomixin. - Change factory constructors to named constructors.
- Rename
- New features
- Add
toString()to each public class for better outputs byprint(). - Add
defaultValuetoErrFlow. - Add
hasErrortoErrNotifier,LoggingErrNotifierandIgnorableErrNotifier.
- Add
- Small improvements of documentation
0.2.1 #
- Fix inheritance relationship of IgnorableNotifier to be consistent with other classes.
0.2.0 #
- Correct version number.
- Minor version number should have been incremented for the last breaking changes.
0.1.4 #
- BREAKING CHANGES to fix a serious flaw in concurrency.
- Major API changes.
ErrFlowdoes not extendErrInfo.ErrInfois renamed toErrNotifier.- The first parameter of a listener is renamed from
typetoerror. - An
ErrNotifierobject is passed to the function executed byscope().set()andlog()need to be called on the passed object.
lastErroris a property ofErrNotifier, not ofErrFlow.loggingScope()andignorableScope()are added.
- File containing
ErrNotifiercannot be imported separately.
- Major API changes.
- Update documentation, tests and example.
0.1.3 #
- Improve README.
- Explain assertion errors.
0.1.2 #
- Enable omit_local_variable_types rule.
- Minor updates of documentation.
0.1.1 #
- Minor updates of documentation.
- Lower the
metaversion to avoid a dependency issue.
0.1.0 #
- Initial release