PackageTrack
Sign in Get early access

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
Release Pre-release

Releases

latest 24
  1. 1.3.0 24 Apr 2022
    Release notes
    • Added runWorkflow method as an application entry point and deprecated BatchApplication. (#180)
    Open source →
  2. 1.2.0 21 Apr 2022
    Release notes
    • Eliminated the addSchedule method and added a jobs field to the BatchApplication constructor to specify the ScheduledJobBuilder. (#171)
    • Added argsConfigBuilder callback to BatchApplication to more easily build ArgParser. (#174)
    • Eliminated the addSharedParameter method from BatchApplication and added the sharedParameters argument to the constructor of BatchApplication. (#173)
    • Add jobParameters argument to the Job and ScheduledJob constructors. (#177)
    Open source →
  3. 1.1.0 21 Apr 2022
    Release notes
    • Eliminated nextStep when adding steps and added steps to the Job and ScheduledJob constructors. This necessitates a change in the procedure for adding steps. (#164)
    • Changed the nextSchedule method to the addSchedule method when adding a scheduled job to the BatchApplication. (#167)
    Open source →
  4. 1.0.1 21 Apr 2022
    Release notes
    • Fixed README.md.
    • Refactored dependencies. (#160)
    Open source →
  5. 1.0.0 20 Apr 2022
    Release notes
    • 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 Task or ParallelTask in the constructor of Step or ParallelStep, not registerStep and registerParallel.
      • The method to create branches are changed. UsebranchesOnSucceeded, branchesOnFailed, branchesOnCompleted in the constructors of Events such as Job and Step instead of in the createBranch... methods.
      • The method for setting up a job in BatchApplication has changed. Use the nextSchedule method instead of addJob. Also, pass a class that extends ScheduledJobBuilder to this nextSchedule method; the object that should be returned from ScheduledJobBuilder is ScheduledJob, which must be scheduled.
      • SkipConfiguration and RetryConfiguration settings were limited to Step only. (#145)
    Open source →
  6. 0.12.2 18 Apr 2022
    Release notes
    • Enhanced README.md.
    Open source →
  7. 0.12.1 14 Apr 2022
    Release notes
    • Enhanced README.md and added examples.
    Open source →
  8. 0.12.0 14 Apr 2022
    Release notes
    • The args argument of the onLoadArgs callback is now non-nullable. The null check is no longer necessary. (#135)
    Open source →
  9. 0.11.0 12 Apr 2022
    Release notes
    • Improved names of branch features. Now you can create branches with createBranchOnXXXXX and switch branches with switchBranchToXXXXX. (#128)
    • Fixed to be able to refer to ExecutionContext in processing Precondition. (#132)
    Open source →
  10. 0.10.0 11 Apr 2022
    Release notes
    • Allows parallel processing to use the main thread ExecutionContext. (#121)
    • Removed trace, debug, info, warn, error, and fatal from convenient methods of logging feature. Make sure to access the logger from log. (#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)
    Open source →
  11. 0.9.0 10 Apr 2022
    Release notes
    • Improved schedule checking process. (#118)
    • Fixed handling of duplicate keys in Parameters. (#117)
    Open source →
  12. 0.8.1 07 Apr 2022
    Release notes
    • Improved README.md.
    Open source →
  13. 0.8.0 07 Apr 2022
    Release notes
    • Changed startup banner. (#101)
    • Add onRecover feature to RetryConfiguration. It's executed when all retry has failed. (#100)
    • Supported to output log errors during parallel processing. (#99)
    • Added onLoadArgs callback in the BatchApplication. (#102)
    • Enhanced customizability of LogPrinter. (#107)
    Open source →
  14. 0.7.1 04 Apr 2022
    Release notes
    • Enhanced documents on README.
    Open source →
  15. 0.7.0 03 Apr 2022
    Release notes
    • Added feature to allow to execute parallel processing. (#25, #74,#84, #87)
    • Added a convenient reference to logger_provider. Now you can access to logging features with log.prefix like log.debug('debug'). (#73)
    • Added MultiLogOutput to allow multiple log output methods. (#82)
    • A specification has been added to suppress multiple launches of batch applications within the same thread. (#81)
    Open source →
  16. 0.6.0 26 Mar 2022
    Release notes
    • 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 info to warn. (#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)
    Open source →
  17. 0.5.1 17 Mar 2022
    Release notes
    • Improved coloring process for log output. Added logColor field to LogOutput and modified the class ConsoleLogOutput to get the console color. (#31)
    Open source →
  18. 0.5.0 16 Mar 2022
    Release notes
    • Added the feature to specify any exception type before application execution and skip exceptions that occur during application processing. Only classes that inherit from Exception are eligible; classes that inherit from Error are 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 Exception are eligible; classes that inherit from Error are not eligible for this skip feature. (#20)
    • Added convenient method shutdown() to shutdown application in Step (#17).
    • Precondition callback now supports asynchronous processing. (#21)
    • Callbacks (onStarted, onSucceeded, onError, onCompleted) now support asynchronous processing. (#23)
    Open source →
  19. 0.4.0 09 Mar 2022
    Release notes
    • Added onStarted, onSucceeded, onError and onCompleted callbacks for Job, Step and Task.
    • Added feature to specify the color of the message when logging out with LogColor and ConsoleColor.
    • Improved log message from framework.
    • Added convenient method shutdown() to shutdown the application from Task.
    • Changed to define Precondition as an anonymous function.
    Open source →
  20. 0.3.0 27 Feb 2022
    Release notes
    • Added Precondition to check the preconditions for executing Job, Step and Task.
    • Conditional branching is now possible for the all layers (Job/Step/Task) based on BranchStatus by using the branchOnSucceeded, branchOnFailed and branchOnCompleted.
    • Due to the feature to create branches in Job, the schedule argument of the Job object is no longer required. However, be sure to set up a schedule for the root Jobs.
    • Changed the type of the argument when specifying Job scheduling. Now you can use CronParser to specify the schedule in Cron format.
    Open source →
  21. 0.2.1 21 Feb 2022
    Release notes
    • Added DefaultLogFilter.
    • Added Precondition to check the starting condition of Job and Step. It can be specified as an argument when creating Job and Step instances.
    • Deleted DevelopmentLogFilter and ProductionLogFilter.
    Open source →
  22. 0.2.0 21 Feb 2022
    Release notes
    • 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 JobLauncher private and released BatchApplication as new entry point.
    • Added ExecutionContext as an argument to the execute method of the Task class.
    Open source →
  23. 0.1.0 16 Feb 2022
    Release notes
    • Improved documents.
    • Wrapped the return value of execute with Future to allow asynchronous processing in Task. Asynchronous processing defined in Task is safely controlled by the batch library, so you don't need to be aware of it when running JobLauncher.
    Open source →
  24. 0.0.1 15 Feb 2022
    Release notes
    • First Release!
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive