Releases: kagkarlsson/db-scheduler
Releases · kagkarlsson/db-scheduler
11.3
11.2
- PR #286 adds support for disabled schedules. For example, a Cron-schedule can be disabled by setting the pattern to
-
. This will remove any existing executions (and any state they might have).
11.1
- PR #278 adds serializers
GsonSerializer
,JacksonSerializer
andKotlinSerializer
and documentation on how to migrate existing state to another serializer. See documentation for #Serializers
11.0
- PR #257 adds a better api for creating recurring tasks where the
Schedule
need to live in thetask_data
. These types of tasks support runtime modifications of the schedule and multiple instances of the same type of recurring task. See example RecurringTaskWithPersistentScheduleMain.java and StatefulRecurringTaskWithPersistentScheduleMain.java - PR #256 adds the license so that it is detected by github. Contributed by axelfontaine.
- PR #252 updates readme versions. Contributed by attilapapai.
- Various dependency updates
10.5
10.4
- PR #230 removes transitive dependencies added via shaded dependency cronutils.
- PR #231 makes the Scheduler shutdown faster without unnecessary delays by using a
ScheduledExecutorService
for housekeeping tasks. - PR #234 removes requirement for Spring Actuator when using the Spring Boot autostarter. Contributed by evenh
- PR #238 fixes a bug where
shutdownMaxWait
was not set for Spring Boot autostarter.
10.3
- PR #198 adds a new
FailureHandler
using exponential backoff. Contributed by zendern. - PR #199 replaces generic
RuntimeException
s with specific subclasses, allowing users distinguish between exceptions. Contributed by zendern. - PR #204 fixes a bug where recurring tasks were not getting scheduled (initial) when using a
DataSource
supplying connections with autocommit=false.
10.2
- PR #195
Ability to decorate task execution
changesTask
from anabstract class
into aninterface
. Contributed by reda-alaoui. - PR #196
Example persistent schedule that can be update runtime
. See PersistentDynamicScheduleMain.java - PR #197
Better support for stateful recurring tasks, i.e. recurring tasks that updates the task-data after each run
. See TrackingProgressRecurringTaskMain.java.
10.1
10.0
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
. SeeSchedulerBuilder.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()