batch 0.3.0 batch: ^0.3.0 copied to clipboard
A lightweight and powerful Job Scheduling Framework written in Dart. With this framework, you can easily develop job scheduling and batch program in Dart.
Release Note #
0.3.0 #
New Features #
- Added
Precondition
to check the preconditions for executingJob
,Step
andTask
. - Conditional branching is now possible for the all layers (
Job
/Step
/Task
) based onBranchStatus
by using thebranchOnSucceeded
,branchOnFailed
andbranchOnCompleted
. - Due to the feature to create branches in
Job
, the schedule argument of theJob
object is no longer required. However, be sure to set up a schedule for the rootJob
s.
Destructive Changes #
- Changed the type of the argument when specifying
Job
scheduling. Now you can useCronParser
to specify the schedule in Cron format.
0.2.1 #
0.2.0 #
New Features #
- 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.
Destructive Changes #
- Refactored the structure, made
JobLauncher
private and releasedBatchApplication
as new entry point. - Added ExecutionContext as an argument to the execute method of the Task class.
0.1.0 #
- Improved documents.
- Wrapped the return value of execute with
Future
to allow asynchronous processing inTask
. Asynchronous processing defined inTask
is safely controlled by thebatch
library, so you don't need to be aware of it when runningJobLauncher
.
0.0.1 #
- First Release!