Commit Graph

2274 Commits

Author SHA1 Message Date
jongjin-bae
9cc6fa3075 Move off deprecated code in reference documentation.
Fix example to create an instance of the LettuceClientConfiguration type with the appropriate constant variable.

Closes #1964
Original pull request: #1966.
2021-02-19 13:41:22 +01:00
Christoph Strobl
74885aeaf4 After release cleanups.
See #1975
2021-02-18 11:35:22 +01:00
Christoph Strobl
32bd68629e Prepare next development iteration.
See #1975
2021-02-18 11:35:21 +01:00
Christoph Strobl
c93c8d78c0 Release version 2.5 M4 (2021.0.0).
See #1975
2021-02-18 11:25:13 +01:00
Christoph Strobl
843ccbc681 Prepare 2.5 M4 (2021.0.0).
See #1975
2021-02-18 11:24:46 +01:00
Christoph Strobl
1b7d616483 Updated changelog.
See #1975
2021-02-18 11:24:45 +01:00
Christoph Strobl
492cdcfff1 Updated changelog.
See #1973
2021-02-18 11:18:29 +01:00
Christoph Strobl
f4240d5471 After release cleanups.
See #1944
2021-02-17 14:17:49 +01:00
Christoph Strobl
45c0409859 Prepare next development iteration.
See #1944
2021-02-17 14:17:48 +01:00
Christoph Strobl
6eb63114fc Release version 2.5 M3 (2021.0.0).
See #1944
2021-02-17 14:00:09 +01:00
Christoph Strobl
e7fd47c612 Prepare 2.5 M3 (2021.0.0).
See #1944
2021-02-17 13:59:43 +01:00
Christoph Strobl
b0a33a0358 Updated changelog.
See #1944
2021-02-17 13:59:42 +01:00
Christoph Strobl
a4aafee594 Updated changelog.
See #1943
2021-02-17 13:49:20 +01:00
Christoph Strobl
3f8e2d5589 Updated changelog.
See #1830
2021-02-17 11:34:25 +01:00
Christoph Strobl
8b1de26656 Updated changelog.
See #1810
2021-02-17 10:58:27 +01:00
Christoph Strobl
4df8e44818 Move expires check to dedicated method.
Introduce helper method to unify expiry check and simplify control flow.

Original Pull Request: #1961
2021-02-16 11:52:40 +01:00
Muchnik Andrey
e46246721f Remove phantom copy of expiring data when source gets persisted.
This commit makes sure to clean up resources when a previously expiring entity is persisted by setting the time to live to zero or negative.
In case a phantom copy exists for the changed entity, it is removed to free space on the server and prevent expiration events from being sent.

Closes #1955
Original Pull Request: #1961
2021-02-16 11:51:41 +01:00
Mark Paluch
febdb82e58 Polishing.
Reformat code. Tweak Javadoc

See #1816.
Original pull request: #1968.
2021-02-15 14:56:49 +01:00
Christoph Strobl
507a882e93 Add support for ZREMRANGEBYLEX.
We now support ZREMRANGEBYLEX for Synchronous, Reactive, ZSetOperations and RedisZSet.

Also provide a Kotlin coroutines variant via the extension for ReactiveZSetOperations.

Closes #1816.
Original pull request: #1968.
2021-02-15 14:56:39 +01:00
Christoph Strobl
04707ecc27 Preserve order in SetConverter.
This commit fixes an issue where the order of elements in a set is not preserved when converting elements of the set.

Closes #1969.
Original pull request: #1968.
2021-02-15 14:55:44 +01:00
Mark Paluch
1c94cf6212 Polishing.
Reformat code.

See #1957.
Original pull request: #1962.
2021-02-15 14:41:02 +01:00
Christoph Strobl
840c7f50ca Fix LPOS when member not in list.
This commit ensures an empty List is returned in the case the member does not exist in the target list.

See #1957.
Original pull request: #1962.
2021-02-15 14:40:58 +01:00
Christoph Strobl
19eb0930cd Support LPOS command via Jedis.
This commit introduces support for the LPOS command when using the Jedis Redis driver.

Closes #1957.
Original pull request: #1962.
2021-02-15 14:40:52 +01:00
Mark Paluch
7e7197b087 Upgrade to Lettuce 6.1.0 M1.
Fix test to use closed range as Lettuce 6.1/Redis 6.2 distinguish now between inclusive and exclusive bounds.

Closes #1967.
2021-02-15 09:54:40 +01:00
Christoph Strobl
362396b21c Move identityConverter to Converters.
Move the no op identity converter to Converters and reuse those across the connection package.
Fix nullables and minor code format issues along the way.

See: #1951
Original Pull Request: #1960
2021-02-10 10:03:33 +01:00
Mark Paluch
53ce84851c Refactor converters.
Prefer lambda-style converters. Replace indirections via Converters API with method references.

Original Pull Request: #1960
2021-02-10 10:03:09 +01:00
Mark Paluch
c7eef8fcff Introduce JedisInvoker.
We now use JedisInvoker to call Jedis and Pipeline methods for synchronous, pipelining, and transactional execution models. JedisInvoker captures the method invocation as functional utility and allows conversion of results:

Long result = invoker.just(BinaryJedis::geoadd, MultiKeyPipelineBase:geoadd, key, point.getX(), point.getY(), member);

Closes #1951
Original Pull Request: #1960
2021-02-10 09:58:59 +01:00
Mark Paluch
f723bd386c Upgrade to Commons Pool 2.9.0.
Closes #1954.
2021-01-27 10:24:20 +01:00
Mark Paluch
ef648ec97b Upgrade to Jedis 3.5.1.
Closes #1950.
2021-01-27 10:24:18 +01:00
Christoph Strobl
527d034926 Reduce visibility of LettuceInvoker internal API
...and introduce non Supplier based orElse(...) method for SingleInvocationSpec.

Original Pull Request #1948
2021-01-26 16:55:48 +01:00
Mark Paluch
6813256097 Clean up LettuceConverters.
Use lambdas where possible. Deprecate unused methods. Favor LettuceInvoker conversion methods over List to List/List to Set converters.

See #1797
Original Pull Request #1948
2021-01-26 16:55:16 +01:00
Mark Paluch
96fa2ecd70 Introduce LettuceInvoker.
We now use LettuceInvoker to call Lettuce API methods for synchronous, pipelining, and transactional execution models. LettuceInvoker captures the method invocation as functional utility and allows conversion of results:

Long result = invoker.just(RedisGeoAsyncCommands::geoadd, key, point.getX(), point.getY(), member);

List<byte[]> result = invoker.fromMany(RedisGeoAsyncCommands::geohash, key, members)
 				.toList(it -> it.getValueOrElse(null));

Closes #1797
Original Pull Request #1948
2021-01-26 16:54:33 +01:00
Christoph Strobl
c95d54732a Fix null return value of GEODIST command.
Relates to: #1797
2021-01-26 16:53:17 +01:00
Mark Paluch
ef8b7393ef Filter spring-issuemaster comments from feedback provided reassignment.
See #1779
2021-01-20 14:50:14 +01:00
Mark Paluch
6e20b60fed Filter spring-issuemaster comments from feedback provided reassignment.
See #1779
2021-01-14 11:05:42 +01:00
Christoph Strobl
8c90e48419 After release cleanups.
See #1831
2021-01-13 15:47:00 +01:00
Christoph Strobl
181616a08e Prepare next development iteration.
See #1831
2021-01-13 15:46:59 +01:00
Christoph Strobl
13205c16e7 Release version 2.5 M2 (2021.0.0).
See #1831
2021-01-13 15:34:04 +01:00
Christoph Strobl
029f0c9140 Prepare 2.5 M2 (2021.0.0).
See #1831
2021-01-13 15:33:34 +01:00
Christoph Strobl
0a89d05829 Updated changelog.
See #1831
2021-01-13 15:33:33 +01:00
Christoph Strobl
1830379b92 Updated changelog.
See #1832
2021-01-13 15:16:24 +01:00
Christoph Strobl
14dcd44f1d Update issue tracker references after GitHub issues migration.
See: #1779
2021-01-13 08:21:33 +01:00
Mark Paluch
48a62a00e6 Upgrade to Lettuce 6.0.2.RELEASE.
Closes #1940
2021-01-12 11:55:00 +01:00
Mark Paluch
501de9c1fa Update copyright year to 2021.
Closes #1942
2021-01-12 10:44:09 +01:00
Mark Paluch
941663186a Upgrade to xstream 1.4.15.
Closes #1939
2021-01-11 15:13:19 +01:00
Mark Paluch
023b10b195 #1779 - Add GitHub actions for issue workflow. 2020-12-31 10:38:08 +01:00
Greg L. Turnquist
b5b30a1eb7 DATAREDIS-1258 - Use Docker hub credentials for all CI jobs. 2020-12-15 10:31:09 -06:00
Greg L. Turnquist
995931cee2 DATAREDIS-1263 - Include proper import statements.
To ensure Kotlin builds work properly, certain types need explicit import statements.
2020-12-09 11:40:39 -06:00
Mark Paluch
c09cfb4434 DATAREDIS-1249 - Updated changelog. 2020-12-09 16:47:43 +01:00
Mark Paluch
1da425fe38 DATAREDIS-1242 - After release cleanups. 2020-12-09 15:32:21 +01:00