Commit Graph

2693 Commits

Author SHA1 Message Date
Mark Paluch
c8c0239e9b Broken links in reference documentation.
Closes #2499
2023-02-15 11:05:31 +01:00
Mark Paluch
f17773dfe4 Adopt to Mockito 5.1 changes.
Closes #2504
2023-02-14 10:49:48 +01:00
Mark Paluch
8816176868 Update CI properties.
See #2462
2023-01-30 10:49:51 +01:00
Mark Paluch
8dd5aea9b1 Upgrade to Maven Wrapper 3.8.7.
See #2498
2023-01-30 10:48:19 +01:00
John Blum
9a0f5acd17 Add test case for Redis cluster configuration using IPv6 address.
See #2360.
2023-01-26 00:12:31 -08:00
John Blum
149037d5d5 Replace TODO comment with Issue ticket changing RedisAccessor to abstract.
See #2494
See #2493
2023-01-24 09:42:18 -08:00
John Blum
b958756d15 Annotate indexOf(..) and lastIndexOf(..) ListOperations with @Nullable.
Closes #2488
2023-01-19 16:58:53 -08:00
John Blum
e4c4c7e040 Refactor RedisAccessor.
* Annotate API with missing Spring @NonNull and @Nullable annotations.
* Redefine afterPropertiesSet() in terms of getRequiredConnectionFactory().
* Edit Javadoc.

Closes #2493
2023-01-19 16:15:45 -08:00
Christoph Strobl
3d5eb4b563 Update links in reference documentation.
Remove outdated links an make sure to use the springDocsUrl attribute provided via spring-projects/spring-data-build#1895 to resolve links to framework documentation.

Closes: #2490
2023-01-18 14:49:44 +01:00
Mark Paluch
e9e2c53d78 Incorporate review feedback.
Reduce object instantiations.

Original Pull Request: #2467
2023-01-13 07:45:20 +01:00
Mark Paluch
230c764c69 Track subscriptions and unsubscriptions in LettuceReactiveRedisConnection.
We now track subscriptions and unsubscriptions in the reactive API to ensure that we do not prematurely unsubscribe from a channel or pattern if the topic was subscribed multiple times.

Original Pull Request: #2467
2023-01-13 07:44:46 +01:00
Mark Paluch
7b6a697265 Fix ReactiveRedisMessageListenerContainer disposal via ReactiveRedisTemplate.listenToLater(…).
We now properly dispose the container at the right time and not as result of the Mono<…> completion.

Closes: #2386
Original Pull Request: #2467
2023-01-13 07:43:37 +01:00
Mark Paluch
716640b7a8 Add output hints for HSTRLEN, XLEN, and XTRIM.
See #2473

Original pull request: #2482
2023-01-11 12:38:21 -08:00
Mark Paluch
ea37a7347a Use correct output for ZCARD command using LettuceConnection.execute(…).
We now provide a type hint for the ZCARD command.

Closes #2473

Original pull request: #2482
2023-01-11 12:37:58 -08:00
Mark Paluch
1c3bd4f02b Extend license header copyright years to 2023.
See #2476
2023-01-02 11:10:37 +01:00
Mark Paluch
fb11f314fc Add assertions to fail early on absent values using StreamMessageListenerContainer.
Closes #2472
2023-01-02 11:10:10 +01:00
Mark Paluch
d9b6d4d395 Extend license header copyright years to 2023.
See #2476
2023-01-02 09:53:38 +01:00
Mark Paluch
cafa3c7a86 Align with KeyValue KeySpaceResolver changes.
We now use the KeyValue KeySpaceResolver to primarily detect the keyspace to be used instead of a fallback.

See #2457
See #2452
2022-12-07 11:14:36 +01:00
Mark Paluch
befafa8b0f Correctly consider KeySpaceResolver from KeyValueMappingContext.
Closes #2457
2022-12-07 11:08:44 +01:00
Mark Paluch
d0a5b4f8df Upgrade to Lettuce 6.2.2.RELEASE.
Closes #2468
2022-12-06 15:16:10 +01:00
Mark Paluch
77a7a1369d Add missing documentation fragments.
Closes #2463
2022-11-21 13:25:26 +01:00
Mark Paluch
fca600c4b7 Update CI properties.
See #2462
2022-11-18 15:31:11 +01:00
Mark Paluch
0c0a41776c After release cleanups.
See #2436
2022-11-18 14:30:20 +01:00
Mark Paluch
b6ace6cd68 Prepare next development iteration.
See #2436
2022-11-18 14:30:19 +01:00
Mark Paluch
4aa995577f Release version 3.0 GA (2022.0.0).
See #2436
2022-11-18 14:26:23 +01:00
Mark Paluch
02d4d0e832 Prepare 3.0 GA (2022.0.0).
See #2436
2022-11-18 14:26:13 +01:00
John Blum
e0e65a23b7 Correct 'Redis Cache' reference document title.
Change redis-cache.adoc document title from '==' to '=' to appear as section 10.15 instead of 10.14.1,
which currently places the 'Redis Cache' ref doc under 'Redis Scripting'.

Closes #2458
Original pull request #2459
2022-11-16 08:59:28 +01:00
skyjiang
a968b19761 Remove duplicate map keys in Lettuce TypeHints.
Closes #2314
2022-11-11 10:35:09 +01:00
Mark Paluch
ca4e5cd5d2 Fix emptiness check in MappingRedisConverter.
Closes #2446
2022-11-11 10:33:31 +01:00
Christoph Strobl
e5a1011ab7 Add Nullable annotation to parameter of overridden equals method.
Closes: #2450
Original pull request: #2451
2022-11-11 10:23:44 +01:00
Mark Paluch
505009bfc8 Polishing.
Inline micrometer documentation fragments.

See #2453
2022-11-11 10:22:16 +01:00
Mark Paluch
b721ce4023 Replace news and noteworthy with links to the release notes.
Closes #2453
2022-11-11 10:20:08 +01:00
Mark Paluch
946a39ecad After release cleanups.
See #2437
2022-11-04 15:26:39 +01:00
Mark Paluch
7a5d0ec732 Prepare next development iteration.
See #2437
2022-11-04 15:26:38 +01:00
Mark Paluch
d37cfb129f Release version 3.0 RC2 (2022.0.0).
See #2437
2022-11-04 15:23:17 +01:00
Mark Paluch
ed28f38053 Prepare 3.0 RC2 (2022.0.0).
See #2437
2022-11-04 15:23:07 +01:00
Christoph Strobl
ac89fa7ef6 Upgrade to Jedis 4.3.1
Closes: #2438
2022-11-02 14:45:07 +01:00
Mark Paluch
150e062a28 Update CI properties.
See #2437
2022-10-31 10:36:35 +01:00
Christoph Strobl
e99463c4d9 Add missing RedisClient runtime hint.
Closes: #2440
2022-10-21 15:59:07 +02:00
Mark Paluch
53c08d5565 Disable ZRANGESTORE with binary keys.
Seems something is off in Redis' that causes a Redis crash.

Closes #2441
2022-10-21 14:19:04 +02:00
Mark Paluch
ccdd5d2d98 Add observability adapter for Lettuce.
We now provide MicrometerTracingAdapter to connect Lettuce to Micrometer Tracing.

Original pull request: #2439
Closes #2348
2022-10-21 14:18:07 +02:00
Mark Paluch
190b28cbbe After release cleanups.
See #2412
2022-10-13 17:31:16 +02:00
Mark Paluch
00ba9f1f33 Prepare next development iteration.
See #2412
2022-10-13 17:31:15 +02:00
Mark Paluch
dd950d1ea3 Release version 3.0 RC1 (2022.0.0).
See #2412
2022-10-13 17:24:25 +02:00
Mark Paluch
22bbc7451e Prepare 3.0 RC1 (2022.0.0).
See #2412
2022-10-13 17:24:02 +02:00
Christoph Strobl
185ef6307a Upgrade to Jedis 4.3.0
Closes: #2427
2022-10-10 13:36:23 +02:00
Mark Paluch
5d522d98ab Upgrade to Lettuce 6.2.1.RELEASE.
Closes #2420
2022-10-10 11:45:08 +02:00
Christoph Strobl
481057ba97 Disable tests based on system architecture.
Redis has issues with numeric representation of floating point numbers which causes tests to fail on M1.

See: redis/redis#3768
Closes: #2424
2022-10-07 08:20:06 +02:00
Mark Paluch
8f37abe950 Add support for Lettuce's 6.2 RedisCredentialsProvider.
We now support construction of RedisCredentialsProvider through LettuceClientConfiguration and RedisCredentialsProviderFactory.

The default implementation adapts credentials configured in RedisConfiguration objects.

Closes: #2376
Original Pull Request: #2387
2022-10-05 14:43:28 +02:00
Mark Paluch
c3ee0d8b3c Properly parse IPv6 host and port into RedisNode.
Closes #2418
2022-10-04 09:41:52 +02:00