From 966a69fb1cb72d9735f6db294a38fbab312e4b6e Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Mon, 25 Apr 2022 15:24:31 +0300 Subject: [PATCH 01/11] Update CHANGELOG.md --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a5bd4f30..8128a57bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,34 @@ Redisson Releases History Try __[Redisson PRO](https://redisson.pro)__ with **ultra-fast performance** and **support by SLA**. +### 25-Apr-2022 - 3.17.1 released + +Feature - transient fields support for LiveObjects to avoid data serialization +Feature - `removeAllListenersAsync()` method added to `RTopic` object +Feature - `transactionAware` setting added to RedissonSpringCacheManager + +Improvement - amount of created connections in parallel reduced to 5, for better stability + +Fixed - `RedissonReactiveClient.getMultilock()` method should accept RLockReactive objects +Fixed - `RedissonRxClient.getMultilock()` method should accept RLockRx objects +Fixed - don't close connection on error response during topology scan +Fixed - SET command should be an idempotent operation +Fixed - MasterSlaveConnectionManager throws ClassCastException if host unknown +Fixed - `RReadWriteLock` renewal doesn't work if writeLock released before readLock then both were acquired +Fixed - Spring Data Redis module. Scan In cluster mode, other nodes cannot be scanned +Fixed - `RReliableTopic` object throws "attempt to compare nil with number" error +Fixed - `RedissonSpinLock.tryLock()` method returns false instead of true if the remaining wait time is negative +Fixed - an error should be thrown if `merge()`, `compute()`, `computeIfAbsent()` and `computeIfPresent()` of `RMap` used in batch +Fixed - Unable to specify timezone in CronSchedule object +Fixed - `RMapCache.destroy()` method throws NPE +Fixed - `RLock.tryLock()` method throws `CancellationException` +Fixed - Unable to connect to Redis server error is thrown due to NPE +Fixed - `RBlockingQueue.pollLastAndOfferFirstTo()` throws `ClassCastException` if result is empty +Fixed - internal AsyncSemaphore doesn't skip canceled tasks in the same thread +Fixed - `RLocalCachedMap.getAll()` method doesn't respect `storeCacheMiss` setting +Fixed - 0 value for waitTime and leastTime isn't handled correctly by RMultiLock object +Fixed - Spring Data Redis module. RedissonConnection.execute() method doesn't invoke overloaded methods correctly + ### 20-Mar-2022 - 3.17.0 released Feature - `RFunction` object added (requires Redis 7.0+) From 8841130658f8b66578ad4d8411cd71ce1c289b3d Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Mon, 25 Apr 2022 15:28:48 +0300 Subject: [PATCH 02/11] Update README.md --- redisson-spring-boot-starter/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/redisson-spring-boot-starter/README.md b/redisson-spring-boot-starter/README.md index dc3afa009..eca55ee00 100644 --- a/redisson-spring-boot-starter/README.md +++ b/redisson-spring-boot-starter/README.md @@ -29,10 +29,10 @@ Downgrade `redisson-spring-data` module if necessary to support required Spring |redisson-spring-data
module name|Spring Boot
version| |----------------------------|-------------------| -|redisson-spring-data-16 |1.3.z | -|redisson-spring-data-17 |1.4.z | -|redisson-spring-data-18 |1.5.z | -|redisson-spring-data-2x |2.x.z | +|redisson-spring-data-16 |1.3.y | +|redisson-spring-data-17 |1.4.y | +|redisson-spring-data-18 |1.5.y | +|redisson-spring-data-2x |2.x.y | ### 2. Add settings into `application.settings` file From 05c034553e405839a2ff21ac9b23b6c4cfc11b00 Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Mon, 25 Apr 2022 15:29:04 +0300 Subject: [PATCH 03/11] Update README.md --- redisson-spring-boot-starter/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redisson-spring-boot-starter/README.md b/redisson-spring-boot-starter/README.md index eca55ee00..37f76c35f 100644 --- a/redisson-spring-boot-starter/README.md +++ b/redisson-spring-boot-starter/README.md @@ -14,14 +14,14 @@ Maven org.redisson redisson-spring-boot-starter - 3.17.0 + 3.17.1 ``` Gradle ```groovy - compile 'org.redisson:redisson-spring-boot-starter:3.17.0' + compile 'org.redisson:redisson-spring-boot-starter:3.17.1' ``` From c4e6bd16bf479864a6261dc527ab65413d3466c6 Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Mon, 25 Apr 2022 15:29:34 +0300 Subject: [PATCH 04/11] Update README.md --- redisson-spring-data/README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/redisson-spring-data/README.md b/redisson-spring-data/README.md index c475f7095..0e1279bbc 100644 --- a/redisson-spring-data/README.md +++ b/redisson-spring-data/README.md @@ -33,7 +33,7 @@ Maven redisson-spring-data-25 redisson-spring-data-26 - 3.17.0 + 3.17.1 ``` @@ -41,25 +41,25 @@ Gradle ```groovy // for Spring Data Redis v.1.6.x - compile 'org.redisson:redisson-spring-data-16:3.17.0' + compile 'org.redisson:redisson-spring-data-16:3.17.1' // for Spring Data Redis v.1.7.x - compile 'org.redisson:redisson-spring-data-17:3.17.0' + compile 'org.redisson:redisson-spring-data-17:3.17.1' // for Spring Data Redis v.1.8.x - compile 'org.redisson:redisson-spring-data-18:3.17.0' + compile 'org.redisson:redisson-spring-data-18:3.17.1' // for Spring Data Redis v.2.0.x - compile 'org.redisson:redisson-spring-data-20:3.17.0' + compile 'org.redisson:redisson-spring-data-20:3.17.1' // for Spring Data Redis v.2.1.x - compile 'org.redisson:redisson-spring-data-21:3.17.0' + compile 'org.redisson:redisson-spring-data-21:3.17.1' // for Spring Data Redis v.2.2.x - compile 'org.redisson:redisson-spring-data-22:3.17.0' + compile 'org.redisson:redisson-spring-data-22:3.17.1' // for Spring Data Redis v.2.3.x - compile 'org.redisson:redisson-spring-data-23:3.17.0' + compile 'org.redisson:redisson-spring-data-23:3.17.1' // for Spring Data Redis v.2.4.x - compile 'org.redisson:redisson-spring-data-24:3.17.0' + compile 'org.redisson:redisson-spring-data-24:3.17.1' // for Spring Data Redis v.2.5.x - compile 'org.redisson:redisson-spring-data-25:3.17.0' + compile 'org.redisson:redisson-spring-data-25:3.17.1' // for Spring Data Redis v.2.6.x - compile 'org.redisson:redisson-spring-data-26:3.17.0' + compile 'org.redisson:redisson-spring-data-26:3.17.1' ``` ### 2. Register `RedissonConnectionFactory` in Spring context From 942da01dbc63c70e467bd5bc6ad24a136cd65017 Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Mon, 25 Apr 2022 15:30:09 +0300 Subject: [PATCH 05/11] Update README.md --- redisson-tomcat/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/redisson-tomcat/README.md b/redisson-tomcat/README.md index 822f96a39..03edfb080 100644 --- a/redisson-tomcat/README.md +++ b/redisson-tomcat/README.md @@ -65,14 +65,14 @@ Amount of Redisson instances created by Tomcat for multiple contexts could be re ### 2. Copy two jars into `TOMCAT_BASE/lib` directory: -[redisson-all-3.17.0.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-all&v=3.17.0&e=jar) +[redisson-all-3.17.1.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-all&v=3.17.0&e=jar) -Tomcat 7.x - [redisson-tomcat-7-3.17.0.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-tomcat-7&v=3.17.0&e=jar) +Tomcat 7.x - [redisson-tomcat-7-3.17.1.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-tomcat-7&v=3.17.1&e=jar) -Tomcat 8.x - [redisson-tomcat-8-3.17.0.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-tomcat-8&v=3.17.0&e=jar) +Tomcat 8.x - [redisson-tomcat-8-3.17.1.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-tomcat-8&v=3.17.1&e=jar) -Tomcat 9.x - [redisson-tomcat-9-3.17.0.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-tomcat-9&v=3.17.0&e=jar) +Tomcat 9.x - [redisson-tomcat-9-3.17.1.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-tomcat-9&v=3.17.1&e=jar) -Tomcat 10.x - [redisson-tomcat-10-3.17.0.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-tomcat-10&v=3.17.0&e=jar) +Tomcat 10.x - [redisson-tomcat-10-3.17.1.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-tomcat-10&v=3.17.1&e=jar) Try __[Redisson PRO](https://redisson.pro)__ with **ultra-fast performance** and **support by SLA**. From cd5ee1b2bd0b3289aa3e68fbdc7ba4a0448f75e8 Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Mon, 25 Apr 2022 15:30:37 +0300 Subject: [PATCH 06/11] Update README.md --- redisson-quarkus/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/redisson-quarkus/README.md b/redisson-quarkus/README.md index 09cb900a5..ab2962b1a 100644 --- a/redisson-quarkus/README.md +++ b/redisson-quarkus/README.md @@ -44,7 +44,7 @@ Maven redisson-quarkus-16 redisson-quarkus-20 - 3.17.0 + 3.17.1 ``` @@ -52,9 +52,9 @@ Gradle ```groovy // for Quarkus v1.6.x - v1.13.x -compile 'org.redisson:redisson-quarkus-16:3.17.0' +compile 'org.redisson:redisson-quarkus-16:3.17.1' // for Quarkus v2.0.x - v2.8.x -compile 'org.redisson:redisson-quarkus-20:3.17.0' +compile 'org.redisson:redisson-quarkus-20:3.17.1' ``` ### 2. Add settings into `application.properties` file From f1319328c5fb83e809d09a8936d22f1cb01e247d Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Mon, 25 Apr 2022 15:30:53 +0300 Subject: [PATCH 07/11] Update README.md --- redisson-mybatis/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redisson-mybatis/README.md b/redisson-mybatis/README.md index 5789e73c2..549726c80 100644 --- a/redisson-mybatis/README.md +++ b/redisson-mybatis/README.md @@ -30,14 +30,14 @@ Maven org.redisson redisson-mybatis - 3.17.0 + 3.17.1 ``` Gradle ```groovy - compile 'org.redisson:redisson-mybatis:3.17.0' + compile 'org.redisson:redisson-mybatis:3.17.1' ``` ### 2. Specify MyBatis cache settings From 65fe423e5c931c83a65032cce19f0f37a0628975 Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Mon, 25 Apr 2022 15:31:06 +0300 Subject: [PATCH 08/11] Update README.md --- redisson-micronaut/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/redisson-micronaut/README.md b/redisson-micronaut/README.md index 2f00333f4..06796176c 100644 --- a/redisson-micronaut/README.md +++ b/redisson-micronaut/README.md @@ -17,7 +17,7 @@ Maven redisson-micronaut-20 redisson-micronaut-30 - 3.17.0 + 3.17.1 ``` @@ -25,9 +25,9 @@ Gradle ```groovy // for Micronaut v2.0.x - v2.5.x -compile 'org.redisson:redisson-micronaut-20:3.17.0' +compile 'org.redisson:redisson-micronaut-20:3.17.1' // for Micronaut v3.0.x - v3.4.x -compile 'org.redisson:redisson-micronaut-30:3.17.0' +compile 'org.redisson:redisson-micronaut-30:3.17.1' ``` ### 2. Add settings into `application.yml` file From b6c3b12050256bbbb72f262c4d19168d1dab6747 Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Mon, 25 Apr 2022 15:31:45 +0300 Subject: [PATCH 09/11] Update README.md --- redisson-hibernate/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/redisson-hibernate/README.md b/redisson-hibernate/README.md index 480805df3..5839c4181 100644 --- a/redisson-hibernate/README.md +++ b/redisson-hibernate/README.md @@ -46,13 +46,13 @@ Gradle ```groovy // for Hibernate v4.x - compile 'org.redisson:redisson-hibernate-4:3.17.0' + compile 'org.redisson:redisson-hibernate-4:3.17.1' // for Hibernate v5.0.x - v5.1.x - compile 'org.redisson:redisson-hibernate-5:3.17.0' + compile 'org.redisson:redisson-hibernate-5:3.17.1' // for Hibernate v5.2.x - compile 'org.redisson:redisson-hibernate-52:3.17.0' + compile 'org.redisson:redisson-hibernate-52:3.17.1' // for Hibernate v5.3.3+ - v5.6.x - compile 'org.redisson:redisson-hibernate-53:3.17.0' + compile 'org.redisson:redisson-hibernate-53:3.17.1' ``` ### 2. Specify hibernate cache settings From 7bbd4f034fd28110147125c12baf66fe724153ce Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Mon, 25 Apr 2022 15:32:10 +0300 Subject: [PATCH 10/11] Update README.md --- redisson-helidon/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redisson-helidon/README.md b/redisson-helidon/README.md index 346823645..22a409cb9 100644 --- a/redisson-helidon/README.md +++ b/redisson-helidon/README.md @@ -14,14 +14,14 @@ Maven org.redisson redisson-helidon - 3.17.0 + 3.17.1 ``` Gradle ```groovy -compile 'org.redisson:redisson-helidon:3.17.0' +compile 'org.redisson:redisson-helidon:3.17.1' ``` ### 2. Add settings into `META-INF/microprofile-config.properties` file From e73189838e5de54a6a32094e586a5b2837d34c2f Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Mon, 25 Apr 2022 15:32:54 +0300 Subject: [PATCH 11/11] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c821dcd5c..77fef50f3 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [Quick start](https://github.com/redisson/redisson#quick-start) | [Documentation](https://github.com/redisson/redisson/wiki/Table-of-Content) | [Changelog](https://github.com/redisson/redisson/blob/master/CHANGELOG.md) | [Code examples](https://github.com/redisson/redisson-examples) | [FAQs](https://github.com/redisson/redisson/wiki/16.-FAQ) | [Report an issue](https://github.com/redisson/redisson/issues/new) Based on high-performance async and lock-free Java Redis client and [Netty](http://netty.io) framework. -JDK compatibility: 1.8 - 17, Android +JDK compatibility: 1.8 - 18, Android ## Features @@ -104,14 +104,14 @@ Used by org.redisson redisson - 3.17.0 + 3.17.1 #### Gradle - compile 'org.redisson:redisson:3.17.0' + compile 'org.redisson:redisson:3.17.1' #### SBT - libraryDependencies += "org.redisson" % "redisson" % "3.17.0" + libraryDependencies += "org.redisson" % "redisson" % "3.17.1" #### Java @@ -169,8 +169,8 @@ Try __[Redisson PRO](https://redisson.pro)__ with **ultra-fast performance** and ## Downloads -[Redisson 3.17.0](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson&v=3.17.0&e=jar), -[Redisson node 3.17.0](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-all&v=3.17.0&e=jar) +[Redisson 3.17.1](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson&v=3.17.1&e=jar), +[Redisson node 3.17.1](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-all&v=3.17.1&e=jar) ## FAQs