Skip to content

Releases: kagkarlsson/db-scheduler

10.1

24 Mar 20:44
eafd6a2
Compare
Choose a tag to compare
  • PR #191 fixes bug where new polling strategy lock-and-fetch got an exception if there were executions with unresolvable tasks in the database.

10.0

15 Mar 19:25
Compare
Choose a tag to compare

Rather big rewrite of Scheduler-internals to support multiple polling-strategies.

  • PR #175 New polling-strategy for Postgres, select-for-update based. Adds a new, low overhead, polling-strategy utilizing postgres' powerful select for update.. skip locked. See SchedulerBuilder.pollUsingLockAndFetch(lower, higher). Proven to handle 10k executions/s.
  • PR #182 Spring Boot Devtools-friendly default task data serializer. Contributed by k-jamroz
  • PR #179 Add some toStrings. Adds better toString methods to tasks and schedules. Contributed by runeflobakk
  • PR #186 Bump junit from 4.11 to 4.13.1 in /test/benchmark
  • PR #187 Add SchedulerBuilder helper for registering a shutdown hook. Adds a simpler way of registering the shutdown hook. See SchedulerBuilder.registerShutdownHook()

9.4

15 Feb 17:36
Compare
Choose a tag to compare
9.4
  • PR #174 removes requirement for beans validator for Spring Boot starter. Contributed by dmoidl.
  • PR #171 adds the ability to change the default log-level for failures, which occur when an ExecutionHandler throws a RuntimeException. Default has previosly been ERROR. Default is now changed to WARN, but can be set with the new builder-method .failureLogging(LogLevel.INFO, true). Contributed by dmoidl

9.3

19 Jan 20:46
586a124
Compare
Choose a tag to compare
9.3
  • PR #165 adds support for adding explicit LIMIT to queries rather than relying on setMaxRows (for performance reasons). Must be overridden per-database basis and is currently the new default for PostgreSQL. Contributed by rafal-kowalski

9.2

30 Nov 17:25
2c690f2
Compare
Choose a tag to compare
9.2
  • PR #161 upgrades shades jmrozanec/cron-utils to v9.1.3
  • PR #155 adds a number of improvements to the SchedulerClient interface.
    • getScheduledExecution(...) methods returning a List after popular demand
    • getScheduledExecution(...) takes an optional ScheduledExecutionFilter with options to include or exclude picked executions
    • getScheduledExecution(...) return type ScheduledExecution now exposes more of the underlying fields on Execution

9.1

21 Nov 21:02
92cb182
Compare
Choose a tag to compare
9.1

PR #159 let SchedulerClient customize serializer. Contributions bybm46370.

9.0

14 Nov 21:25
Compare
Choose a tag to compare
9.0
  • PR #154 fixes bug described in #146. The Scheduler was interfering with externally managed transactions by calling explicit commit when autocommit was set to false. This bug was introduced in v7.1. For anyone using Spring to manage transactions, it is highly recommended to upgrade.
  • PR #153 avoids running default AutodetectJdbcCustomization when JdbcCustomization is overridden
  • PR #149 adds tests validating db-scheduler is compatible with Java 15. Contributions by evenh.

8.2

11 Nov 20:03
Compare
Choose a tag to compare
8.2
  • PR #139 adds FixedDelay.ofMillis(millis). Contributions by evenh.
  • PR #142 adds javadoc for SchedulerClient. Contributions by cunhazera
  • PR #143 fixes Spring deprecation (Health[Indicator -> Contributor]AutoConfiguration). Contributions by evenh.
  • PR #144 migrates db-scheduler CI from Travis to Github Actions. Contributions by evenh.
  • PR #138 makes Scheduler graceful shutdown wait configurable from the default 30m.

8.1

23 Sep 13:48
d08b14a
Compare
Choose a tag to compare
8.1

Version 8.1

  • Provide sources for shaded dependency com.cronutils

8.0

23 Sep 12:50
Compare
Choose a tag to compare
8.0

Version 8.0

  • PR #136 introduces a new feature where changes to the Schedule for
    a RecurringTask is detected by the Scheduler on startup. Any existing execution is rescheduled to the new next execution-time
    according to the new Schedule.
    Note: A Schedule must now indicate whether it is deterministic or not (i.e. if it will evaluate to the same instants).
  • PR #134 fixes some edge-cases (that were fairly likely for
    high-throughput cases) that caused the Scheduler to stop fetching further batches of due executions until next pollInterval.
  • PR #132 fixes race-condition for immediate-execution that may cause
    the execution to be "missed" until next pollingInterval.
  • PR #131 upgrades guava to 29.0.
  • PR #129 adjusts defaults for Spring Boot to match SchedulerBuilder.
    Contributions by evenh.