Commit Graph

2665 Commits

Author SHA1 Message Date
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
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
e61d9e7137 Build against Lettuce 6.1.2 snapshots.
See #2420
2022-09-30 11:25:03 +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
a3a341fc0d After release cleanups.
See #2369
2022-09-19 14:39:10 +00:00
Spring Builds
dfb6949ef0 Prepare next development iteration.
See #2369
2022-09-19 14:38:58 +00:00
Spring Builds
9ecce15578 Release version 3.0 M6 (2022.0.0).
See #2369
2022-09-19 14:15:26 +00: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
Mark Paluch
6b1038c0ca Polishing.
Consistently use clear(…) as method name. Use configured cache key serializer instead of the conversion service.

See #2379
Original pull request: #2380.
2022-09-16 13:52:39 +02:00
josroseboom
f65ea0b1fb Add support to clear cache by key pattern.
Closes #2379
Original pull request: #2380.
2022-09-16 13:52:28 +02:00
Mark Paluch
7469ce009a Polishing.
Add author tags. Align Lettuce BZPOPMIN/MAX tests. Increase timeout to 10ms as Redis blocks indefinitely if the timeout is less than 0.01.

See #2324
2022-09-16 11:46:54 +02:00
Jens Deppe
c8f4d0c414 Fix potential NullPointerException when using Jedis Cluster BZPOP*.
For the Jedis-based implementations of bzpopmin and bzpopmax, a NPE is
  thrown if the provided timeout elapses and the server responds with a
  null array.

Closes #2324
2022-09-16 11:46:26 +02:00
Christoph Strobl
855fd9be5a Fix serialization issues with default typing in GenericJackson2JsonRedisSerializer.
Closes #2396
Original pull request: #2399.
2022-09-16 11:18:56 +02:00
Mark Paluch
8034cce7cb Move off deprecated API.
Closes #2409
2022-09-15 14:43:02 +02:00
Mark Paluch
1801ae8562 Refine documentation of HRANDFIELD and HRANDFIELD … WITHVALUES.
The documentation is now more precise about the return value.

Closes #2407
2022-09-15 14:23:56 +02:00
Mark Paluch
3576bbfa8c Return null elements for absent keys using reactive MGET.
We now use correctly null to indicate absent keys when using reactive MGET. Previously, we used an empty byte buffer that could be incorrectly translated to an empty string when using the string codec. An empty byte buffer can also be returned if the value length is zero leading to a state that doesn't allow distinguishing between absence and empty value.

Closes #2402
2022-09-13 15:11:41 +02:00
Mark Paluch
359d917a9e Adopt to changed Mockk artifact name.
Closes #2405
2022-09-12 11:25:51 +02:00
Christoph Strobl
fe940adeba Add missing hints for key bound operations
Closes: #2397
2022-09-09 10:53:48 +02:00
Christoph Strobl
55a27db3c4 Add serialization configuration for cache.support.NullValue
This commit makes sure to register serialization of null values for usage within a native image.

Closes: #2403
2022-09-09 10:21:10 +02:00