Skip to content

12.0.0

Compare
Choose a tag to compare
@kagkarlsson kagkarlsson released this 17 Apr 08:29
· 69 commits to master since this release
8117942
  • 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.