process_runner 4.0.0-nullsafety.2
process_runner: ^4.0.0-nullsafety.2 copied to clipboard
A process invocation astraction for Dart that manages a multiprocess queue.
Change Log for process_runner #
4.0.0-nullsafety.2 #
- Rebase onto non-nullsafety version 3.1.0 to pick up those changes.
4.0.0-nullsafety.1 #
- Expand the sdk constraint to
<2.11.0.
4.0.0-nullsafety #
- Convert to non-nullable by default, enable null-safety experiment for Dart.
3.1.0 #
- Add
exceptionto theWorkerJobso that when commands fail to run, the exception output can be seen. - Fixed a problem with the default output function where it didn't count failed jobs as finished.
- Removed dependency on mockito and args to match nullsafety version.
3.0.0 #
- Breaking change to change the
resultgiven in theProcessRunnerExceptionto be aProcessRunnerResultinstead of aProcessResult, which can't include the interleaved stdout/stderr output for failed commands. - Modified the
ProcessPoolto set the result correctly on failed jobs.
2.0.5 #
- Added
WorkerJob.failOkso that failure message of failed worker jobs is suppressed by default, but can be turned on.
2.0.4 #
- Added
printOutputDefaultto theProcessRunnerconstructor, and updated docs.
2.0.3 #
- Updated README.md to fix a broken example. Bumping version to get updated docs on pub.flutter-io.cn.
2.0.2 #
- Updated docs and README.md. Bumping version to get updated docs on pub.flutter-io.cn.
2.0.1 #
- Modified the package structure to get credit for having an example
- Moved sub-libraries into lib/src directory to hide them from dartdoc.
- Updated example documentation.
2.0.0 #
-
Breaking change to modify the stderr, stdout, and output members of
ProcessRunnerResultso that they return pre-decodedStrings instead ofList<int>s. AddedstderrRaw,stdoutRaw, andoutputRawmembers that return the originalList<int>values. Decoded strings are decoded by a newdecoderoptional argument which usesSystemEncoderby default. -
Breaking change to modify the
stdinmember ofWorkerJobso that it is aStream<String>instead ofStream<List<int>>, and a newstdinRawmethod that is aStream<List<int>>. Added anencoderattribute toProcessRunnerthat provides the encoding for thestdinstream, as well as the default decoding for results. -
Added
ProcessPool.runToCompletionconvenience function to provide a simple interface that just delivers the final results, without dealing with streams. -
Added more tests.
1.0.0 #
- Initial version