r/quarkus • u/JobRunrHQ • 1d ago
JobRunr 9.1.0 adds Quarkus 4 support (Jackson 3 + native-build fixes), optional ASM on JDK 25+, and fixes the SmallRye health property name
JobRunr 9.1.0 is out with official Quarkus 4 support, plus a few Quarkus-specific fixes you should know about before upgrading.
What changed for Quarkus users
- Quarkus 4 support. The library now officially supports Quarkus 4, including its shift from Jackson 2 to Jackson 3, while staying compatible with Quarkus 3 as well.
- Native-build JobLambda improvements. Better JobLambda handling for Quarkus 4 native builds.
- Resolved config placeholders on @Recurring IDs. Using @Recurring(id = "${my-job.id}") previously passed the raw placeholder string into RecurringJob and failed ID validation on startup. It now passes the resolved ID.
- Breaking property rename for SmallRye health. The build-time property to toggle the SmallRye health check was previously exposed as quarkus.jobrunr (which read like disabling JobRunr entirely). It is now quarkus.jobrunr.health.enabled. If you set quarkus.jobrunr=false, update it to:quarkus.jobrunr.health.enabled=false
Also in 9.1.0 (for every JVM app)
- ASM is now optional on JDK 25+. JobRunr's lambda bytecode inspection (what some people call our "black magic") now uses the JDK's built-in Class-File API (java.lang.classfile) automatically via a Multi-Release JAR entry. On Java 25+, you can exclude org.ow2.asm:asm from your build.
- Immediate shutdown on OutOfMemoryError / Error. BackgroundJobServer now catches Throwable in JobHandler and ServerZooKeeper and shuts down immediately instead of silently losing its polling thread.
- Past scheduleAt enqueues immediately. Jobs scheduled for now or a timestamp in the past move straight to ENQUEUED on creation without waiting for the next poll tick.
- Stability fixes. Accurate processCpuLoad on SQL heartbeats, SQL statement cache keyed by statement text instead of hashCode, Jackson 3 support for List.of(...).subList(...), no CPU spin on interrupted retries, and hardened dashboard 500 error responses.
On JobRunr Pro 9.1.0, SlidingTimeWindowRateLimiter now accounts for job processing duration (backed by an updated index migration) and JobContext exposes getAwaitedJob() and getAwaitedJobResult() directly in job chains.
For anyone who hasn't tried it, JobRunr is an open source background job library, a persistent and cluster-safe alternative to u/Scheduled. Jobs are stored in the DataSource you already configured, failed ones are retried, and there's a dashboard.
Links:
👉 Release Blogpost: https://www.jobrunr.io/en/blog/jobrunr-v9.1.0/
👉 GitHub Repo: https://github.com/jobrunr/jobrunr/releases/tag/v9.1.0