Commit Graph

3104 Commits

Author SHA1 Message Date
Christoph Strobl
7fad17a1de Resolve element type from NodeType before falling back to reflection when reading values from JsonNode.
This commit changes the node value retrieval so that it first tries to determine the node type before falling back to reflective access of the _value field.

Closes #2838
Original pull request: #2842
2024-04-19 08:22:35 +02:00
Mark Paluch
2f34f63e28 Polishing.
Reduce allocations by reusing IndexDefinition in RemoveIndexedData.

Tweak test method name.

See #2882
Original pull request: #2895
2024-04-19 08:17:47 +02:00
Christoph Strobl
8afabc1fe3 Clear indexed data if property value is set to null.
Closes #2882
Original pull request: #2895
2024-04-19 08:17:41 +02:00
Mark Paluch
2d6481b5c2 Polishing.
Tweak wording.

See #2881
2024-04-16 10:20:00 +02:00
Stephen Kinser
49e5afc80d Mention that keyspace events are not replicated across Redis Cluster shards.
Applications can suffer from missing important Keyspace events as described at https://github.com/spring-projects/spring-session/issues/2230.

This adds a caution to the docs to help others avoid running into this problem.

Closes #2881
2024-04-16 10:19:37 +02:00
Mark Paluch
9cad17171e Let QueryByExampleRedisExecutor implement ListQueryByExampleExecutor.
Closes #2880
2024-04-16 10:07:30 +02:00
Mark Paluch
4c8941df6b Refine ReactiveRedisOperations#listenTo and listenTo…Later Javadoc mentioning resource usage.
Closes #2229
2024-04-16 09:54:53 +02:00
Mark Paluch
2fe4c5b6a6 After release cleanups.
See #2874
2024-04-12 10:53:00 +02:00
Mark Paluch
2efe90d7d5 Prepare next development iteration.
See #2874
2024-04-12 10:52:59 +02:00
Mark Paluch
5a68febbd3 Release version 3.3 RC1 (2024.0.0).
See #2874
2024-04-12 10:50:42 +02:00
Mark Paluch
ddaeaeec83 Prepare 3.3 RC1 (2024.0.0).
See #2874
2024-04-12 10:50:27 +02:00
Mark Paluch
7a94beb467 Allow RedisConnectionFactories to be initialized as part of the context lifecycle.
Lettuce and Jedis connection factories now can be configured to initialize early during afterPropertiesSet or configured whether the component should be auto-started by the container.

By default, connection factories auto-startup early.

Closes #2866
Original Pull Request: #2868
2024-04-11 15:34:05 +02:00
Christoph Strobl
779a0126e5 Polishing.
Avoid duplicate method lookup by keeping reference to Method.
Add missing native image hints for command proxies.

Original Pull Request: #2887
2024-04-11 13:35:27 +02:00
Mark Paluch
eed4c2af40 Consider intermediate command interface in ConnectionSplittingInterceptor.
We now consider requests to command API objects such as RedisConnection.keyCommands() in ConnectionSplittingInterceptor to identify the correct command and route it accordingly.

Closes: #2886
Original Pull Request: #2887
2024-04-11 13:31:58 +02:00
Mark Paluch
6f28b530b0 Use Lettuce functionality for Cluster commands where possible.
We now remove our own code in favor of Lettuce's advanced cluster support to leverage asynchronous functionality in pipelining.

Document pipelining restrictions regarding Redis Cluster.

Original Pull Request: #2889
2024-04-10 16:05:56 +02:00
Mark Paluch
d785b5f870 Accept CompletableFuture subtypes for Lettuce pipelining.
We now no longer require RedisCommand but resort to CompletableFuture as the general asynchronous result type for Lettuce pipelining to allow subtypes such as PipelinedRedisFuture.

Closes: #2888
Original Pull Request: #2889
2024-04-10 14:41:06 +02:00
Mark Paluch
3d2fdf2a3c After release cleanups.
See #2849
2024-03-15 11:09:58 +01:00
Mark Paluch
e518cc5f91 Prepare next development iteration.
See #2849
2024-03-15 11:09:57 +01:00
Mark Paluch
73abf8de5b Release version 3.3 M2 (2024.0.0).
See #2849
2024-03-15 11:07:31 +01:00
Mark Paluch
4f2840f111 Prepare 3.3 M2 (2024.0.0).
See #2849
2024-03-15 11:07:10 +01:00
Mark Paluch
27bf779fab Polishing.
Tweak wording.

See #2865
Original pull request: #2870
2024-03-14 15:03:17 +01:00
Egor Ponomarev
a4663d2a0b Update documentation of transactions page.
Closes #2865
Original pull request: #2870
2024-03-14 15:03:17 +01:00
Mark Paluch
7e3986b8bd Fix reference code example to use values required for the example.
Closes #2869
2024-03-14 14:49:14 +01:00
Mark Paluch
dd901f1bc5 Upgrade to Lettuce 6.3.2.RELEASE.
Closes #2867
2024-03-13 10:29:56 +01:00
Mingron
00c825bd96 Fix quoted variable reference in documentation.
Closes #2850
2024-03-04 15:25:44 +01:00
Kit
7c3546474e Fix variable name in reference documentation.
Closes #2852
2024-03-04 15:21:48 +01:00
Mark Paluch
761115ab37 Polishing.
Deprecate RedisSentinelConfiguration and RedisClusterConfiguration constructors taking PropertySource in favor of a factory method.

Reformat code. Update documentation.

See #2860
Original pull request: #2861
2024-03-01 14:10:31 +01:00
Mustapha Zorgati
f9a763e55a Extend properties for RedisSentinelConfiguration.
Closes #2860
Original pull request: #2861

Co-authored-by: Samuel Klose <39386136+samKl99@users.noreply.github.com>
2024-03-01 14:10:23 +01:00
Mark Paluch
9543076752 Add support for DTO projections.
See: #2851
Original Pull Request: #2854
2024-02-23 10:38:15 +01:00
Mark Paluch
3c44521026 Use by-id lookup for queries referring to identifier values.
Closes: #2851
Original Pull Request: #2854
2024-02-23 10:36:22 +01:00
Christoph Strobl
32ace71175 After release cleanups.
See #2778
2024-02-16 14:41:25 +01:00
Christoph Strobl
2de8aa067b Prepare next development iteration.
See #2778
2024-02-16 14:41:24 +01:00
Christoph Strobl
f1526540e8 Release version 3.3 M1 (2024.0.0).
See #2778
2024-02-16 14:37:38 +01:00
Christoph Strobl
9417e196f0 Prepare 3.3 M1 (2024.0.0).
See #2778
2024-02-16 14:37:01 +01:00
Christoph Strobl
505fd846ae Use Redis 7.2 for build.
Update jenkinsfile to test against redis 7.2
Replace usage of DEBUG command.
Provide Redis server version and client lib version to maven build system / gradle cache.

Original Pull Request: #2802
2024-02-07 15:43:16 +01:00
Mark Paluch
4da3169a0b Encapsulate Redis Scan CursorId.
We now retain the raw cursor value without attempting to convert it into a long as Redis uses 64 bit unsigned integers exceeding Long.MAX_VALUE.
Fix broken id parsing for unsigned long value
Update deprecation warnings and method visibility.

See: #2796
Closes: #2802
2024-02-07 15:43:16 +01:00
Eric Haag
876ad12f98 Update Revved up by Develocity badge.
Closes #2836
2024-02-07 09:03:35 +01:00
Mark Paluch
4ada4cb290 Refine Artifactory build name.
See #2778
2024-01-31 15:24:52 +01:00
손한비 (Hanbee Son)
d61e3a5a5f Update readme links to Antora deeplinks.
Closes #2840
Original pull request: #2841
2024-01-29 09:33:39 +01:00
Gabin, Matthieu-MIGROSONLINE
3e8cd16279 Fix method name in Caching reference documentation.
Closes #2837
2024-01-25 09:12:16 +01:00
Mark Paluch
aa7045ab95 Remove redundant assertion from RedisTemplate.afterPropertiesSet(…).
Closes #2832
2024-01-19 09:35:32 +01:00
Mark Paluch
25a6981544 Polishing.
Reformat code.

See #2831
2024-01-18 11:01:27 +01:00
Mark Paluch
75e51f5b39 Deprecate LettuceConnectionFactory.setDatabase(…) in alignment with JedisConnectionFactory.setDatabase(…)
See #2831
2024-01-18 11:01:26 +01:00
Mark Paluch
707184f7e2 Update deprecation description of JedisConnectionFactory.setDatabase(…).
Mention database index instead of client name.

Closes #2831
2024-01-18 11:01:26 +01:00
谭九鼎
014634e94c Fix reference documentation for Stream ops usage.
Closes #2825
2024-01-11 14:46:28 +01:00
Mark Paluch
b6e4951345 Polishing.
Add missing property editors to inject requested operations.

See #2828
2024-01-11 14:46:27 +01:00
Mark Paluch
86b97e38e3 Fix documentation to use resource injection for RedisTemplate operations.
Closes #2828
2024-01-11 14:46:27 +01:00
Mark Paluch
0187f300bb Upgrade to Lettuce 6.3.1.
Closes #2826
2024-01-10 10:48:00 +01:00
谭九鼎
2369ae0f7e Update Jedis documentation to reflect supporting Redis Streams.
Closes #2824
2024-01-09 09:15:42 +01:00
李潇
356d9af003 Use correct distance unit for repository query method documentation.
Closes #2823
2024-01-08 08:58:08 +01:00