From 74b9b6221086478a7aceba2bcd0290c70721dd39 Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Wed, 26 Apr 2017 21:19:41 +0300 Subject: [PATCH 1/4] Update CHANGELOG.md --- CHANGELOG.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index caf082d79..07c8bceb3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,31 @@ Try __ULTRA-FAST__ [Redisson PRO](https://redisson.pro) edition. ## Please take part in [Redisson survey](https://www.surveymonkey.com/r/QXQZH5D) +### 26-Apr-2017 - versions 2.9.0 and 3.4.0 released + +Feature - __`MapReduceService` added__ More details [here](https://github.com/redisson/redisson/wiki/9.-distributed-services/#95-distributed-mapreduce-service) +Feature - `readAllMap` and `readAllMapAsync` methods added to `RMap` +Feature - `readAllKeySet` and `getReadWriteLock` methods added to `RMultimap` +Feature - `RKeys.delete` by objects method added +Feature - `RRemoteService.deregister` method added +Feature - `retryAttempts`, `retryInterval` and `timeout` methods added to `RBatch` object +Feature - `RMapCache.fastPutIfAbsent` with ttl added (thanks to Dobi) +Feature - `EvictionPolicy.WEAK` added for `RLocalCachedMap` +Feature - `LocalCachedMapOptions.invalidationPolicy` introduced for `RLocalCachedMap` +Feature - `expire`, `expireAt`, `move`, `migrate`, `clearExpire`, `renamenx`, `rename`, `remainTimeToLive` methods added to RKey +Improvement - `EvictionPolicy.LRU` optimization for `RLocalCachedMap` +Fixed - `RTopic.onSubscribe` should be invoked after failover process +Fixed - Spring boot with redisson 3.3.2 fails without optional actuator dependency (thanks to Rick Perkowski) +Fixed - `RedissonCacheMap.putIfAbsentAsync` doesn't take in account ttl and minIdleTime params (thanks to Dobi) +Fixed - Spring cache should put NullValue object instead of null +Fixed - Fixed error - No field factory in class Ljava/net/URL +Fixed - Spring cache's method with `@Cacheable(sync=true)` annotation never expires (thanks to Dobi) +Fixed - spring schema file corrected (thanks to Rui Gu) +Fixed - Prevent to set URL.factory to null in case of concurrent URL creation in the URLBuilder (thanks to Björn-Ole Ebers) +Fixed - `RMap.addAndGet` causes bad argument (thanks to Rui Gu) +Fixed - `RedissonSpringCacheManager` creates new cache on each `getCache` call +Fixed - wrong value codec encoder usage for `RedissonLocalCachedMap.fastPutAsync` method + ### 21-Mar-2017 - versions 2.8.2 and 3.3.2 released Feature - Redisson's Spring custom namespace support (thanks to Rui Gu) From d84f3f5aded8e5c9dd5bf0dc31d0978b74ed4e5a Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Wed, 26 Apr 2017 21:21:38 +0300 Subject: [PATCH 2/4] Update README.md --- README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index eb5f8909a..f5d5f3f03 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ Redisson: Redis based In-Memory Data Grid for Java. ==== -[Quick start](https://github.com/redisson/redisson#quick-start) | [Documentation](https://github.com/redisson/redisson/wiki) | [Javadocs](http://www.javadoc.io/doc/org.redisson/redisson/3.3.2) | [Changelog](https://github.com/redisson/redisson/blob/master/CHANGELOG.md) | [Code examples](https://github.com/redisson/redisson-examples) | [Support chat](https://gitter.im/mrniko/redisson) | [Ultra-fast version](https://redisson.pro) +[Quick start](https://github.com/redisson/redisson#quick-start) | [Documentation](https://github.com/redisson/redisson/wiki) | [Javadocs](http://www.javadoc.io/doc/org.redisson/redisson/3.4.0) | [Changelog](https://github.com/redisson/redisson/blob/master/CHANGELOG.md) | [Code examples](https://github.com/redisson/redisson-examples) | [Support chat](https://gitter.im/mrniko/redisson) | [Ultra-fast version](https://redisson.pro) Based on high-performance async and lock-free Java Redis client and [Netty](http://netty.io) framework. ## Please take part in [Redisson survey](https://www.surveymonkey.com/r/QXQZH5D) | Stable Release Version | JDK Version compatibility | Release Date | | ------------- | ------------- | ------------| -| 3.3.2 | 1.8+ | 21.03.2017 | -| 2.8.2 | 1.6, 1.7, 1.8 and Android | 21.03.2017 | +| 3.4.0 | 1.8+ | 26.04.2017 | +| 2.9.0 | 1.6, 1.7, 1.8 and Android | 26.04.2017 | __NOTE__: Both version lines have same features except `CompletionStage` interface added in 3.x.x @@ -47,7 +47,7 @@ Features * [Reactive Streams](https://github.com/redisson/redisson/wiki/3.-operations-execution#32-reactive-way) * [Redis pipelining](https://github.com/redisson/redisson/wiki/10.-additional-features#102-execution-batches-of-commands) (command batches) * Supports Android platform -* Supports auto-reconnect +* Supports auto-reconnection * Supports failed to send command auto-retry * Supports OSGi * Supports many popular codecs ([Jackson JSON](https://github.com/FasterXML/jackson), [Avro](http://avro.apache.org/), [Smile](http://wiki.fasterxml.com/SmileFormatSpec), [CBOR](http://cbor.io/), [MsgPack](http://msgpack.org/), [Kryo](https://github.com/EsotericSoftware/kryo), [FST](https://github.com/RuedigerMoeller/fast-serialization), [LZ4](https://github.com/jpountz/lz4-java), [Snappy](https://github.com/xerial/snappy-java) and JDK Serialization) @@ -82,23 +82,23 @@ Quick start org.redisson redisson - 3.3.2 + 3.4.0 org.redisson redisson - 2.8.2 + 2.9.0 #### Gradle // JDK 1.8+ compatible - compile 'org.redisson:redisson:3.3.2' + compile 'org.redisson:redisson:3.4.0' // JDK 1.6+ compatible - compile 'org.redisson:redisson:2.8.2' + compile 'org.redisson:redisson:2.9.0' #### Java @@ -123,11 +123,11 @@ RExecutorService executor = redisson.getExecutorService("myExecutorService"); Downloads =============================== -[Redisson 3.3.2](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson&v=3.3.2&e=jar), -[Redisson node 3.3.2](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-all&v=3.3.2&e=jar) +[Redisson 3.4.0](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson&v=3.4.0&e=jar), +[Redisson node 3.4.0](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-all&v=3.4.0&e=jar) -[Redisson 2.8.2](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson&v=2.8.2&e=jar), -[Redisson node 2.8.2](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-all&v=2.8.2&e=jar) +[Redisson 2.9.0](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson&v=2.9.0&e=jar), +[Redisson node 2.9.0](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-all&v=2.9.0&e=jar) ### Supported by From 5a4e268f9df5e98fa0d9730b572a33d9f5a355f8 Mon Sep 17 00:00:00 2001 From: Rui Gu Date: Thu, 27 Apr 2017 00:50:59 +0100 Subject: [PATCH 3/4] added map reduce service to service section --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f5d5f3f03..af443b9de 100644 --- a/README.md +++ b/README.md @@ -38,9 +38,9 @@ Features * [Distributed locks and synchronizers](https://github.com/redisson/redisson/wiki/8.-Distributed-locks-and-synchronizers) Lock, FairLock, MultiLock, RedLock, ReadWriteLock, Semaphore, PermitExpirableSemaphore, CountDownLatch * [Distributed services](https://github.com/redisson/redisson/wiki/9.-distributed-services) - Remote service, Live Object service, Executor service, Scheduler service -* [Spring Cache](https://github.com/redisson/redisson/wiki/14.-Integration%20with%20frameworks/#141-spring-cache) implementation -* [Hibernate Cache](https://github.com/redisson/redisson/wiki/14.-Integration%20with%20frameworks/#142-hibernate-cache) implementation +    Remote service, Live Object service, Executor service, Scheduler service, MapReduce service +* [Spring Cache](https://github.com/redisson/redisson/wiki/14.-Integration%20with%20frameworks/#141-spring-cache) implementation   +* [Hibernate Cache](https://github.com/redisson/redisson/wiki/14.-Integration%20with%20frameworks/#142-hibernate-cache) implementation * [JCache API (JSR-107)](https://github.com/redisson/redisson/wiki/14.-Integration%20with%20frameworks/#143-jcache-api-jsr-107-implementation) implementation * [Tomcat Session Manager](https://github.com/redisson/redisson/wiki/14.-Integration%20with%20frameworks#144-tomcat-redis-session-manager) implementation * [Spring Session](https://github.com/redisson/redisson/wiki/14.-Integration%20with%20frameworks/#145-spring-session) implementation From 205955f9a481ea43e1b9a4bb0232e4a26095cfc0 Mon Sep 17 00:00:00 2001 From: Rui Gu Date: Thu, 27 Apr 2017 00:52:32 +0100 Subject: [PATCH 4/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index af443b9de..18152d3bf 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Features * [Distributed locks and synchronizers](https://github.com/redisson/redisson/wiki/8.-Distributed-locks-and-synchronizers) Lock, FairLock, MultiLock, RedLock, ReadWriteLock, Semaphore, PermitExpirableSemaphore, CountDownLatch * [Distributed services](https://github.com/redisson/redisson/wiki/9.-distributed-services) -    Remote service, Live Object service, Executor service, Scheduler service, MapReduce service + Remote service, Live Object service, Executor service, Scheduler service, MapReduce service * [Spring Cache](https://github.com/redisson/redisson/wiki/14.-Integration%20with%20frameworks/#141-spring-cache) implementation   * [Hibernate Cache](https://github.com/redisson/redisson/wiki/14.-Integration%20with%20frameworks/#142-hibernate-cache) implementation * [JCache API (JSR-107)](https://github.com/redisson/redisson/wiki/14.-Integration%20with%20frameworks/#143-jcache-api-jsr-107-implementation) implementation