Skip to content

4.2.0-M2

Pre-release
Pre-release

Choose a tag to compare

@mp911de mp911de released this 24 Sep 11:43
· 2 commits to main since this release
c8ae7e7

📗 Links

⭐ New Features

  • Refactor Redis JSON API #3433
  • Migrate legacy Jedis Cluster API to UnifiedJedis #3424
  • Add lengthOfValue (HSTRLEN) to ReactiveHashOperations #3383
  • GH-3099: Parse Redis INFO output without using Properties.load() #3382
  • Add lengthOfValue (HSTRLEN) to ReactiveHashOperations #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

🐞 Bug Fixes

  • expire sends PEXPIRE on Jedis for TTLs beyond the integer range #3444
  • setEx rejects 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.getTimeToLive converts hash-field TTL values twice for non-second TimeUnits #3427
  • TrimOptions.equals is inverted and ignores limit, breaking XAddOptions equality #3426
  • Expirations.TimeToLive.of truncates the raw TTL to int, misclassifying large TTL values #3425
  • Jedis fails on TTL parameters exceeding integer range #3386

🔨 Dependency Upgrades

  • Upgrade to Jedis 8.0.1 #3423
  • Upgrade to Lettuce 7.7.0.RELEASE #3422
  • Upgrade jedis minor and lettuce major versions #3295
  • Upgrade to Jedis 7.2.0 #3282

❤️ Contributors

We'd like to thank all the contributors who worked on this release!