Skip to content

Releases: kagkarlsson/db-scheduler

Release v12.1.0

03 May 11:17
Compare
Choose a tag to compare

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:

Release v12.0.1

03 May 11:15
Compare
Choose a tag to compare

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:

Additionally, a big thanks to our two new sponsors, matt-snider and robinheghan 🎉.

12.0.0

17 Apr 08:29
8117942
Compare
Choose a tag to compare
  • 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 via DbSchedulerCustomizer. The same PR also fixes missing serialVersionUID for Serializable classes. This will be a breaking change for everyone already using dynamic recurring tasks, i.e PersistentCronSchedule 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

27 Mar 15:36
cc67408
Compare
Choose a tag to compare
  • 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

18 Nov 13:28
Compare
Choose a tag to compare
  • PR #331 adds support for Spring Boot 3.0. Contributed by evenh
  • PR #329 adds support for setting a custom FailureHandler for RecurringTaskWithPersistentSchedule. 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

14 Sep 17:35
bd81047
Compare
Choose a tag to compare
  • PR #321 updates a number of dependency versions

11.4

14 Sep 17:18
8ffa88f
Compare
Choose a tag to compare
  • 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

14 Sep 15:06
dde158b
Compare
Choose a tag to compare
  • PR #288 upgrades to Spring Boot 2.7.0. Contributed by evenh
  • PR #289 Github Actions maintenance. Contributed by evenh
  • PR #290 adds indexes to the default suggested schemas. Contributed by gurban-h
  • PR #310, #311 upgrades tp postgresql 42.4.1
  • PR #314 contains fixes to make build run on M1 Macs

11.2

18 May 15:39
d865100
Compare
Choose a tag to compare
  • 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

04 May 14:22
f79ee50
Compare
Choose a tag to compare
  • PR #278 adds serializers GsonSerializer, JacksonSerializer and KotlinSerializer and documentation on how to migrate existing state to another serializer. See documentation for #Serializers