Migrating to 3.x
Starting with version 3.0.0, Jesque now requires Java 17 and had been modernized to use the latest Jedis client (7.2.x) as well as the latest version of Jackson (3.x).
The Jedis client changes will require minor refactoring if you were constructing pooled connections manually. Jackson 3.x has a comprehensive guide to the changes to that library, notably the exception types and ObjectMapper class. Jesque itself has some minor breaking API changes, includng how Config objects are constructed and types of durations and future times.
What's Changed
- Java 17+ is now required
- Using Jedis 7.2.x and new
RedisClientclass for pooled connections - Using Jackson 3.x
Configand itsBuilderare reworked for- Using
Instant&Durationclasses in the API instead of longs of milliseconds or seconds - Using Mockito instead of JMock in tests
- Using Google Truth for test assertions
Full Changelog: jesque-2.3.0...jesque-3.0.0