Skip to content

Releases: kagkarlsson/db-scheduler

5.2

23 Sep 12:57
Compare
Choose a tag to compare
5.2

Version 5.2

  • PR #60 changes RecurringTask so that initial/first execution-time is defined in the Schedule and typically is the next Instant according to the Schedule.

5.1

23 Sep 12:57
Compare
Choose a tag to compare
5.1

Version 5.1

  • PR #52 redesigns use of the underlying ExecutorService, making better use of the backing queue.
  • PR #53 adds a method to the SchedulerClient for checking if a TaskInstance already exists, client.getScheduledExecution(<task-instance-id>) (fixes #38.
  • PR #54 adds a builder-method for supplying an externally managed ExecutorService (fixes #51).
  • PR #56 adds cron-support, Schedules.cron(<pattern>) (fixes #40).

5.0

23 Sep 12:57
Compare
Choose a tag to compare
5.0

Version 5.0

  • PR #47 allows for setting max number of executions fetched by the scheduler (contributed by bgooren)
  • PR #48 fixes a bug for medium-sized volumes where the scheduler would not continue to poll for executions until there were none left (contributed by bgooren)

4.1

23 Sep 12:58
Compare
Choose a tag to compare
4.1

Version 4.1

  • Helper for using a version of the scheduler in unit/integration tests is now available in the artifact, through the class TestHelper.createManualScheduler(...). For usage example see SchedulerClientTest.
  • It is now possible to manually trigger a check for due executions in the database. Of course, if this is done too frequently there will be an increased overhead.
  • The scheduler can be instructed to do a best-effort attempt at executing executions it sees is being scheduled to run now() or earlier through the builder-method enableImmediateExecution().
  • Bugfix: scheduler.getScheduledExecutionsForTask(...) was not working properly

4.0

23 Sep 12:58
Compare
Choose a tag to compare
4.0

Version 4.0

  • Track number of consecutive failures of a task. For use in FailureHandler to avoid retrying forever, or retry with back-off.

Upgrading to 4.x

  • Add column consecutive_failures to the database schema. See table definitions for postgresql, oracle or mysql. null is handled as 0, so no need to update existing records.

3.3

23 Sep 12:59
Compare
Choose a tag to compare
3.3

Version 3.3

  • Customizable serlizer (PR #32)

3.2

23 Sep 12:59
Compare
Choose a tag to compare
3.2

Version 3.2

  • Customizable table-name for persistence

3.1

23 Sep 12:59
Compare
Choose a tag to compare
3.1

Version 3.1

  • Future executions can now be fetched using the scheduler.getScheduledExecutions(..)

3.0

23 Sep 12:59
Compare
Choose a tag to compare
3.0

Version 3.0

  • New builders for task-creation, making it clearer what the config-options are. (See Tasks class and examples)
  • Better default for failure handling for one-time tasks
  • Enables recurring tasks to have data
  • Schedule.getNextExecutionTime can now use all data from ExecutionComplete

Upgrading to 3.x

  • No schema changes
  • Task creation are preferrably done through builders in Tasks class

2.0

23 Sep 13:00
Compare
Choose a tag to compare
2.0

Version 2.0

  • Possible to cancel and reschedule executions.
  • Optional data can be stored with the execution. Default using Java Serialization.
  • Exposing the Executionto the ExecutionHandler.

Upgrading to 2.x