batch
A Lightweight and Powerful Job Scheduling Framework written in Dart. With this framework, you can easily develop a scheduled workflow in Dart.
1.3.0
batch-dart/batch.dart
What this package is like to depend on
Last release 4 years ago
no release in 18 months
Ships on a steady schedule
a new release about every 8 days
Nearly every release is documented
notes for 24 of 24 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
24 releases · first in 2022
0 releases in the last 12 months
see the full history below
Release timeline
24 releases · Feb 2022 to Apr 2022
2023
2024
2025
2026
Releases
latest 24-
1.3.024 Apr 2022Release notes
Open source →- Added
runWorkflowmethod as an application entry point and deprecatedBatchApplication. (#180)
- Added
-
1.2.021 Apr 2022Release notes
Open source →- Eliminated the
addSchedulemethod and added ajobsfield to theBatchApplicationconstructor to specify theScheduledJobBuilder. (#171) - Added
argsConfigBuildercallback toBatchApplicationto more easily buildArgParser. (#174) - Eliminated the
addSharedParametermethod fromBatchApplicationand added thesharedParametersargument to the constructor ofBatchApplication. (#173) - Add
jobParametersargument to theJobandScheduledJobconstructors. (#177)
- Eliminated the
-
1.1.021 Apr 2022 -
1.0.121 Apr 2022 -
1.0.020 Apr 2022Release notes
Open source →- Made changes to the specifications to make it easier and safer to use the framework.
- The method of adding Tasks to Steps has been changed.
- Specify
TaskorParallelTaskin the constructor ofSteporParallelStep, notregisterStepandregisterParallel. - The method to create branches are changed. Use
branchesOnSucceeded,branchesOnFailed,branchesOnCompletedin the constructors of Events such asJobandStepinstead of in thecreateBranch...methods. - The method for setting up a job in
BatchApplicationhas changed. Use thenextSchedulemethod instead ofaddJob. Also, pass a class that extendsScheduledJobBuilderto thisnextSchedulemethod; the object that should be returned fromScheduledJobBuilderisScheduledJob, which must be scheduled. SkipConfigurationandRetryConfigurationsettings were limited toSteponly. (#145)
- Made changes to the specifications to make it easier and safer to use the framework.
-
0.12.218 Apr 2022 -
0.12.114 Apr 2022 -
0.12.014 Apr 2022Release notes
Open source →- The
argsargument of theonLoadArgscallback is now non-nullable. The null check is no longer necessary. (#135)
- The
-
0.11.012 Apr 2022 -
0.10.011 Apr 2022Release notes
Open source →- Allows parallel processing to use the main thread
ExecutionContext. (#121) - Removed
trace,debug,info,warn,error, andfatalfrom convenient methods of logging feature. Make sure to access the logger fromlog. (#125 - Changed specification regarding tasks to be set in
Step. Under the new specification, there will always be only one task that can be set in a single step. (#123)
- Allows parallel processing to use the main thread
-
0.9.010 Apr 2022Release notes
Open source → -
0.8.107 Apr 2022 -
0.8.007 Apr 2022 -
0.7.104 Apr 2022 -
0.7.003 Apr 2022Release notes
Open source →- Added feature to allow to execute
parallelprocessing. (#25, #74,#84, #87) - Added a convenient reference to
logger_provider. Now you can access to logging features withlog.prefix likelog.debug('debug'). (#73) - Added
MultiLogOutputto allow multiple log output methods. (#82) - A specification has been added to suppress multiple launches of batch applications within the same thread. (#81)
- Added feature to allow to execute
-
0.6.026 Mar 2022Release notes
Open source →- Added the feature to log notifications at application startup when there are library updates. (#32)
- Changed the log level of the system log regarding application shutdown from
infotowarn. (#45) - Standardized notation regarding licenses. (#44)
- Command line arguments can now be easily passed to batch applications. Command line arguments can be used throughout the framework lifecycle as
SharedParameters. (#13)
-
0.5.117 Mar 2022Release notes
Open source →- Improved coloring process for log output. Added
logColorfield toLogOutputand modified the classConsoleLogOutputto get the console color. (#31)
- Improved coloring process for log output. Added
-
0.5.016 Mar 2022Release notes
Open source →- Added the feature to specify any exception type before application execution and skip exceptions that occur during application processing. Only classes that inherit from
Exceptionare eligible; classes that inherit fromErrorare not eligible for this retry feature. (#12) - Added the feature to specify any exception type before application execution and retry when exception occurs during application processing. Only classes that inherit from
Exceptionare eligible; classes that inherit fromErrorare not eligible for this skip feature. (#20) - Added convenient method
shutdown()to shutdown application inStep(#17). - Precondition callback now supports asynchronous processing. (#21)
- Callbacks (onStarted, onSucceeded, onError, onCompleted) now support asynchronous processing. (#23)
- Added the feature to specify any exception type before application execution and skip exceptions that occur during application processing. Only classes that inherit from
-
0.4.009 Mar 2022Release notes
Open source →- Added
onStarted,onSucceeded,onErrorandonCompletedcallbacks forJob,StepandTask. - Added feature to specify the color of the message when logging out with
LogColorandConsoleColor. - Improved log message from framework.
- Added convenient method
shutdown()to shutdown the application fromTask. - Changed to define
Preconditionas an anonymous function.
- Added
-
0.3.027 Feb 2022Release notes
Open source →- Added
Preconditionto check the preconditions for executingJob,StepandTask. - Conditional branching is now possible for the all layers (
Job/Step/Task) based onBranchStatusby using thebranchOnSucceeded,branchOnFailedandbranchOnCompleted. - Due to the feature to create branches in
Job, the schedule argument of theJobobject is no longer required. However, be sure to set up a schedule for the rootJobs. - Changed the type of the argument when specifying
Jobscheduling. Now you can useCronParserto specify the schedule in Cron format.
- Added
-
0.2.121 Feb 2022Release notes
Open source →- Added
DefaultLogFilter. - Added
Preconditionto check the starting condition ofJobandStep. It can be specified as an argument when creatingJobandStepinstances. - Deleted
DevelopmentLogFilterandProductionLogFilter.
- Added
-
0.2.021 Feb 2022Release notes
Open source →- Added logging feature. Some logs are automatically output to the console during batch processing, but you can output logs at any log level by using the various methods for log output.
- Enabled parameter exchange between tasks in the same step.
- Added the concept of SharedParameters, which are shared by the entire batch application.
- Refactored the structure, made
JobLauncherprivate and releasedBatchApplicationas new entry point. - Added ExecutionContext as an argument to the execute method of the Task class.
-
0.1.016 Feb 2022Release notes
Open source →- Improved documents.
- Wrapped the return value of execute with
Futureto allow asynchronous processing inTask. Asynchronous processing defined inTaskis safely controlled by thebatchlibrary, so you don't need to be aware of it when runningJobLauncher.
-
0.0.115 Feb 2022