📗 Links
⭐ New Features
- Register a SubscriptionListener aware adapter if the bean is also a SubscriptionListener #3441
@RedisListenershould respectimplements SubscriptionListenerbeans #3439- Refactor Redis JSON API #3433
- Migrate legacy Jedis Cluster API to
UnifiedJedis#3424 - Resolve type hint without parsing the entire payload #3408
- Add support for Redis JSON #3390
- Add
lengthOfValue(HSTRLEN) toReactiveHashOperations#3383 - GH-3099: Parse Redis INFO output without using Properties.load() #3382
- Add
lengthOfValue(HSTRLEN) toReactiveHashOperations#3376 - Escape backslashes in source string before loading properties #3172
- Redis INFO output is parsed as (Java) properties, although it is not the same format #3099
- Avoid potential duplicate parse operation within
GenericJacksonJsonRedisSerializer#3012
🐞 Bug Fixes
- SetOperations.isMember(K, Object...) throws NullPointerException while queued #3491
- DefaultRedisList.get(int) does not reject an index equal to the list size #3471
- Fix index bounds check in DefaultRedisList.get #3470
- Fix
RedisList.putFirst(…)to insert at the head of the list #3465 RedisList.putFirst(…)adds the element at the tail of the list #3464- Fix
rangeandtrimof reversedRedisListview #3462 RedisList.reversed()view returns an emptyrangeandtrimremoves all elements #3461- Fix queue head operations of reversed
RedisListview #3459 RedisList.reversed()view polls and peeks at the wrong end and ignores thepolltimeout #3458expiresendsPEXPIREon Jedis for TTLs beyond the integer range #3444setExrejects valid TTLs on Jedis #3443- Check for integer overflow in sort LIMIT #3440
- JedisListCommands.lPop and JedisListCommands.rPop downcast to int unchecked #3438
- JedisKeyCommands.restore doesn't check range on ttlInMillis if replace = true #3437
- ExpiryChangeState.of and StreamEntryDeletionResult.fromCode overflow on longs #3436
- getExpirationDuration and getExpirationInstant return wrong result if asked for milliseconds #3432
- Fetch hash field TTLs in seconds in
DefaultHashOperations#3430 - Fix inverted equals in
RedisStreamCommands.TrimOptions#3429 - Compare raw TTL values as long in
Expirations.TimeToLive#3428 DefaultHashOperations.getTimeToLiveconverts hash-field TTL values twice for non-secondTimeUnits #3427TrimOptions.equalsis inverted and ignoreslimit, breakingXAddOptionsequality #3426Expirations.TimeToLive.oftruncates the raw TTL toint, misclassifying large TTL values #3425- Some Asserts assert the wrong / duplicate variable or have a wrong message #3407
- Fix argument validation in RedisData.setTimeToLive(Long, TimeUnit) #3406
- Fix typos in Javadoc and assertion messages #3405
- Use Parser-bound
DeserializationContextfor parsing type hints inTypeResolver#3404 - Fix UnifiedJedis watch transaction state #3398
GenericJacksonJsonRedisSerializerthrows NPE deserializing duplicate properties #3396- Resolve
@RedisListenerconsumes placeholders #3395 - Resolve
@RedisListenertopic placeholders #3394 @RedisListenerdoes not resolve property placeholders in all attributes #3393- Transaction with a read before MULTI fails with "Incorrect number of transaction results" #3392
- Jedis fails on TTL parameters exceeding integer range #3386
📔 Documentation
- Fix StringRedisConnection references in docs #3469
- Document conditional set return values #3414
- Fix broken links in Redis reference documentation #3409
- Add 3.x to 4.x migration guide #3403
- Remove duplicated "the" in JavaDoc #3402
- Fix inconsistent Javadoc parameter references #3401
- Fix inconsistent Javadoc parameter references #3400
🔨 Dependency Upgrades
- Upgrade to Jedis 8.0.2 #3466
- Upgrade to Lettuce 7.8.0.RELEASE #3455
- Upgrade to Maven Wrapper 3.10.0 #3452
- Upgrade to Jedis 8.0.1 #3423
- Upgrade to Lettuce 7.7.0.RELEASE #3422
- Upgrade to Lettuce 7.6.0.RELEASE #3412
- Upgrade to Jedis 8.0.0 #3411
- Upgrade jedis minor and lettuce major versions #3295
- Upgrade to Jedis 7.2.0 #3282
- Upgrade to Maven Wrapper 3.10.0 #2960
❤️ Contributors
We'd like to thank all the contributors who worked on this release!