Commit Graph

1531 Commits

Author SHA1 Message Date
Greg L. Turnquist
eaf8208341 Prepare 3.0.5 (2022.0.5).
See #2530
2023-04-14 10:18:34 -05:00
Alexander Münch
e7a2dd1104 Fix Javadoc in RedisCacheConfiguration.
The prefixCacheNameWith() method returns a new instance, not `this`.

Closes #2539
2023-04-03 07:53:44 -07:00
Mark Paluch
0067cabe6c Adopt to Mockito 5.1 changes.
Closes #2504
2023-03-30 10:49:27 +02:00
1993heqiang
b5fda56aaf Format example code in 'Publishing (Sending Messages)' section of ref doc.
Closed #2533
2023-03-28 17:19:20 -07:00
Christoph Strobl
db34dda220 Prepare 3.0.4 (2022.0.4).
See #2522
2023-03-20 14:22:20 +01:00
Mark Paluch
29e75b6174 Fix documentation for MessageListenerAdapter Java config.
Closes #2524
2023-03-14 08:55:35 +01:00
Mark Paluch
2b563f5c7a Prepare 3.0.3 (2022.0.3).
See #2508
2023-03-03 10:59:18 +01:00
John Blum
4c14bb770a Polish.
Closes #2466

See #2465
2023-03-02 19:19:22 -08:00
Marcin Zielinski
321e3f03f9 Add support for XCLAIM in StreamOperations
Closes #2465
2023-03-02 19:19:16 -08:00
Mark Paluch
e4e53a1ffa Prepare 3.0.2 (2022.0.2).
See #2492
2023-02-17 10:59:14 +01:00
Mark Paluch
475e06c9ec Broken links in reference documentation.
Closes #2499
2023-02-15 11:05:58 +01:00
John Blum
cc34a30f20 Annotate indexOf(..) and lastIndexOf(..) ListOperations with @Nullable.
Closes #2488
2023-01-19 17:12:08 -08:00
Mark Paluch
bd927e9d95 Prepare 3.0.1 (2022.0.1).
See #2461
2023-01-13 11:40:40 +01:00
Mark Paluch
7514d18e7d Incorporate review feedback.
Reduce object instantiations.

Original Pull Request: #2467
2023-01-13 07:46:08 +01:00
Mark Paluch
5397ac1e56 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:46:02 +01:00
Mark Paluch
f58d4e90be 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:45:55 +01:00
Mark Paluch
c3b9e502a4 Add output hints for HSTRLEN, XLEN, and XTRIM.
See #2473

Original pull request: #2482
2023-01-11 12:34:45 -08:00
Mark Paluch
92a896fc93 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:32:38 -08:00
Mark Paluch
f9caef2894 Extend license header copyright years to 2023.
See #2476
2023-01-02 11:10:58 +01:00
Mark Paluch
53926feec3 Add assertions to fail early on absent values using StreamMessageListenerContainer.
Closes #2472
2023-01-02 11:10:07 +01:00
Mark Paluch
45621dd3ee Extend license header copyright years to 2023.
See #2474
2023-01-02 09:50:15 +01:00
Mark Paluch
9a77c2f101 Add missing documentation fragments.
See #2463
2022-11-21 13:25:14 +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
ed28f38053 Prepare 3.0 RC2 (2022.0.0).
See #2437
2022-11-04 15:23:07 +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
22bbc7451e Prepare 3.0 RC1 (2022.0.0).
See #2412
2022-10-13 17:24:02 +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
Mark Paluch
4371d3f2e0 Improve failure-safety of Cursor.
Any failures during opening the cursor or scanning now close the cursor and release associated resources.

Closes #2414
2022-09-30 11:46:09 +02:00
断桥烟雨
eadaf9eb2b Fix typo in Javadoc.
Closes #2417
2022-09-30 11:34:12 +02:00
Mark Paluch
d94e9e87bd Refine methods accepting floating-point Range values.
For easier usage we now use Range<? extends Number> instead of Range<Number> to allow Range<Double> usage.

Original pull request: #2370.
Closes #2421
2022-09-30 11:25:40 +02:00
Mark Paluch
62932e2b47 Polishing.
Add reactive ZRANGESTORE support. Support rangeAndStore in RedisZSet.

Refine assertion messages. Refine overloads.

Original pull request: #2370.
See #2345
2022-09-30 11:25:32 +02:00
Shyngys Sapraliyev
40d078f66d Added zRangeStoreByLex and zRangeStoreByScore for ZRANGESTORE command.
Original pull request: #2370.
Closes #2345
2022-09-30 11:25:08 +02:00
Mark Paluch
5a4fb4b1a0 Prefer Java configuration over XML.
Closes #2416
2022-09-27 11:31:45 +02:00
Mark Paluch
bc983feac2 Refine HMGET and MGET documentation.
Closes #2309
2022-09-22 09:40:45 +02:00
Mark Paluch
a0bcf01a7f Polishing.
Unroll extension to avoid JvmOverload usage.

Closes #2227
2022-09-21 15:33:57 +02:00
Dylan
da816c1b62 Add approximate trimming to reactive stream extensions.
See #2227
2022-09-21 15:33:57 +02:00
Spring Builds
678362598e Prepare 3.0 M6 (2022.0.0).
See #2369
2022-09-19 14:13:01 +00:00
Jens Deppe
d51ce05e59 Invoke correct BZPOPMAX method when called with a Duration.
`ZSetOperations.popMax(K key, Duration timeout)` now calls `popMax` instead the previously incorrect method `popMin`.

Closes #2323
2022-09-16 14:24:18 +02:00
Mark Paluch
ec1bcc5d0e Polishing.
Simplify code using arraycopy only for array copies. Call concatAll(…) from concat(…). Use i++ intead of ++i notation.

See #2366
2022-09-16 14:13:46 +02:00
Guy Korland
e13b61ffe2 Improve ByteUtils.concatAll(…) array allocations.
Closes #2366
2022-09-16 14:13:13 +02:00