batch 0.12.0 copy "batch: ^0.12.0" to clipboard
batch: ^0.12.0 copied to clipboard

outdated

A lightweight and powerful Job Scheduling Framework written in Dart. With this framework, you can easily develop a job scheduling and batch program in Dart.

Release Note #

v0.12.0 #

  • The args argument of the onLoadArgs callback is now non-nullable. The null check is no longer necessary. (#135)

v0.11.0 #

  • 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)

v0.10.0 #

  • 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)

v0.9.0 #

  • Improved schedule checking process. (#118)
  • Fixed handling of duplicate keys in Parameters. (#117)

v0.8.1 #

  • Improved README.md.

v0.8.0 #

  • 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)

v0.7.1 #

  • Enhanced documents on README.

v0.7.0 #

  • 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)

v0.6.0 #

  • 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)

v0.5.1 #

  • Improved coloring process for log output. Added logColor field to LogOutput and modified the class ConsoleLogOutput to get the console color. (#31)

v0.5.0 #

New Features #

  • 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).

Improvements #

  • Precondition callback now supports asynchronous processing. (#21)
  • Callbacks (onStarted, onSucceeded, onError, onCompleted) now support asynchronous processing. (#23)

v0.4.0 #

New Features #

  • 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.

Destructive Changes #

  • Changed to define Precondition as an anonymous function.

v0.3.0 #

New Features #

  • 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.

Destructive Changes #

  • Changed the type of the argument when specifying Job scheduling. Now you can use CronParser to specify the schedule in Cron format.

v0.2.1 #

New Features #

  • 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.

Destructive Changes #

  • Deleted DevelopmentLogFilter and ProductionLogFilter.

v0.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 released BatchApplication as new entry point.
  • Added ExecutionContext as an argument to the execute method of the Task class.

v0.1.0 #

  • 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.

v0.0.1 #

  • First Release!
28
likes
0
pub points
53%
popularity

Publisher

verified publishershinyakato.dev

A lightweight and powerful Job Scheduling Framework written in Dart. With this framework, you can easily develop a job scheduling and batch program in Dart.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, async_task, clock, console_color, http, intl, json_response, meta

More

Packages that depend on batch