Releases: kagkarlsson/db-scheduler
Release v12.1.0
Changelog
🔄️ Changes
- f480910 Refactor dependency-management for better spring-boot compatibility (#383), closes #383
- 10859d5 replace opentable embedded postgres with zonky (#382), closes #382
Contributors
We'd like to thank the following people for their contributions:
- Gustav Karlsson (@kagkarlsson)
Release v12.0.1
Changelog
🐛 Fixes
- 431f162 Use Spring v5.3+ cron-style (#378)
- aa41837 Reformat source code using spotless plugin and google java-format. (PR #375)
- c03aadd FailureHandlers should use timeDone Instant to calculate next try (#379)
🛠 Build
🎉 Contributors & Sponsorship
We'd like to thank the following people for their contributions:
- Gustav Karlsson (@kagkarlsson)
Additionally, a big thanks to our two new sponsors, matt-snider and robinheghan 🎉.
12.0.0
- Changing to semantic versioning.
- It is now possible to sponsor work on db-scheduler and so contributing to sustainable open-source development. Many thanks to rocketbase-io and gauthamchandra, our first sponsors 🎉
- PR #368 changes shutdown sequence to avoid executions that are slow to stop will be detected as dead since the heartbeat-thread already has stopped. Fixes #365.
- PR 357 adds support for specifying
JdbcCustomizer
in spring boot viaDbSchedulerCustomizer
. The same PR also fixes missingserialVersionUID
for Serializable classes. This will be a breaking change for everyone already using dynamic recurring tasks, i.ePersistentCronSchedule
and friends. See notes below.
Breaking changes
Unfortunately a couple of Serializable
classes missing serialVersionUID
was added in previous releases (releated to dynamic recurring tasks). This was a mistake, as that will break Java serialization for all changes to the classes, even if they are backwards compatible. This is addressed in this release, but means that anyone already serializing these classes will get a InvalidClassException
after upgrading to this version or later. The workaround is to migrate away from these classes before upgrading, and then optionally migrating back to fixed classes after upgrade (or not).
See section on migrating serializers in README and SerializerWithFallbackDeserializers
for hints on how to migrate serialization.
This only affects Java serialization.
11.7
- PR #205 improves community profile (issue-templates etc). Contributed by zendern
- PR #356 adds the ability to pause the Scheduler's check for due executions using
scheduler.pause()
. Contributed by tkosgrabar - PR #349 adds a more comprehensive set of Spring Boot examples showing the capabilities of db-scheduler.
11.6
- PR #331 adds support for Spring Boot 3.0. Contributed by evenh
- PR #329 adds support for setting a custom
FailureHandler
forRecurringTaskWithPersistentSchedule
. Contributed by olayinkasf - PR #338 adds serialization-support for
CronSchedule
. Contributed by Sprytin - PR #340 upgrades hsqldb to v2.7.1
- Additionally, the flaky test
SchedulerTest
was hopefully fixed.
11.5
11.4
- PR #318 fix bug where immediate execution was not triggered for scheduling happening in the
ComplationHandler
- PR #319 introduces new
ExecutionOperations.replace
which will replace the current execution with a new one. For use in for example job-chaining scenarios, where the next step is scheduled when the previous completes. - PR #320 improves the interface for
DeadExecutionHandler
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