Commit Graph

1478 Commits

Author SHA1 Message Date
Mark Paluch
cb0fb526d0 Use snapshot and milestone repositories instead of libs-snapshot and libs-milestone.
Closes #2595
2023-06-06 10:53:52 +02:00
John Blum
c99e9cd77f Edit and cleanup Javadoc.
Resolves #2586
2023-05-23 10:47:08 -07:00
Christoph Strobl
db0a49cfa9 Prepare 2.7.12 (2021.2.12).
See #2552
2023-05-12 10:17:44 +02:00
John Blum
72382be0f7 Fix element ordering issue on a mapped de/serialized entity having List property.
Closes #2565
2023-05-07 12:41:00 -07:00
Wonchul Heo
9d64fe5493 Fix typo.
Original pull request #2567
2023-05-03 10:49:56 +02:00
Mark Paluch
fc9c4d4701 Fix BoundingBox.width return value.
We now return the correct value.

Closes #2526
2023-04-24 14:46:09 +02:00
remeio
f6303b09de Tweak Javadoc wording of mergeArrays.
Closes #2558
2023-04-24 14:12:30 +02:00
Greg L. Turnquist
4f9be71adf Prepare 2.7.11 (2021.2.11).
See #2529
2023-04-14 09:19:18 -05:00
Alexander Münch
c5879d34cc Fix Javadoc in RedisCacheConfiguration.
The prefixCacheNameWith() method returns a new instance, not `this`.

Closes #2539
2023-04-03 07:59:13 -07:00
1993heqiang
aedaf651b5 Format example code in 'Publishing (Sending Messages)' section of ref doc.
Closed #2533
2023-03-28 17:20:24 -07:00
Mark Paluch
6dd71c4c89 Adopt to Mockito 5.1 changes.
Closes #2504
2023-03-27 13:54:47 +02:00
Christoph Strobl
43b87bf0dd Prepare 2.7.10 (2021.2.10).
See #2521
2023-03-20 13:42:32 +01:00
Mark Paluch
d4662bfd42 Prepare 2.7.9 (2021.2.9).
See #2507
2023-03-03 10:18:48 +01:00
John Blum
667b24df37 Polish.
Closes #2466

See #2465
2023-03-02 19:29:24 -08:00
Marcin Zielinski
03de6dba85 Add support for XCLAIM in StreamOperations
Closes #2465
2023-03-02 19:28:26 -08:00
Mark Paluch
650629a71c Prepare 2.7.8 (2021.2.8).
See #2487
2023-02-17 10:08:09 +01:00
John Blum
db67f144ae Annotate indexOf(..) and lastIndexOf(..) ListOperations with @Nullable.
Closes #2488
2023-01-19 17:17:56 -08:00
Mark Paluch
ee3cf1cbc7 Prepare 2.7.7 (2021.2.7).
See #2460
2023-01-13 10:32:32 +01:00
Mark Paluch
866572af44 Add output hints for HSTRLEN, XLEN, and XTRIM.
See #2473

Original pull request: #2482
2023-01-12 09:10:25 -08:00
Mark Paluch
ffc6480799 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-12 09:10:25 -08:00
Mark Paluch
eb3e12540b Extend license header copyright years to 2023.
See #2476
2023-01-02 11:10:55 +01:00
Mark Paluch
cb1839e0c6 Add assertions to fail early on absent values using StreamMessageListenerContainer.
Closes #2472
2023-01-02 11:09:51 +01:00
Mark Paluch
74cff0b3ef Extend license header copyright years to 2023.
See #2475
2023-01-02 09:52:09 +01:00
Mark Paluch
6318478945 Prepare 2.7.6 (2021.2.6).
See #2435
2022-11-18 10:44:45 +01:00
John Blum
d60f3c02bd 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 09:02:22 +01:00
skyjiang
23ff8cd5b7 Remove duplicate map keys in Lettuce TypeHints.
Closes #2314
2022-11-11 10:34:39 +01:00
Mark Paluch
9eb7c432aa Fix emptiness check in MappingRedisConverter.
Closes #2446
2022-11-11 10:33:36 +01:00
Christoph Strobl
66d44b1671 Add Nullable annotation to parameter of overridden equals method.
Closes: #2450
Original pull request: #2451
2022-11-11 10:25:01 +01:00
Spring Builds
85212ccb55 Prepare 2.7.5 (2021.2.5).
See #2434
2022-10-13 13:21:35 +00:00
Spring Builds
1bd8f1239f Prepare 2.7.4 (2021.2.4).
See #2410
2022-10-13 08:57:07 +00:00
Mark Paluch
8c7a2bf5b2 Properly parse IPv6 host and port into RedisNode.
Closes #2418
2022-10-04 09:42:34 +02:00
Mark Paluch
a608d53d3a 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:05 +02:00
断桥烟雨
0aa5bb62b6 Fix typo in Javadoc.
Closes #2417
2022-09-30 11:34:20 +02:00
Mark Paluch
af530d189c Refine HMGET and MGET documentation.
Closes #2309
2022-09-22 09:40:52 +02:00
Mark Paluch
899dca4bc1 Polishing.
Unroll extension to avoid JvmOverload usage.

Closes #2227
2022-09-21 15:33:54 +02:00
Dylan
89f4c7e238 Add approximate trimming to reactive stream extensions.
See #2227
2022-09-21 15:33:54 +02:00
Spring Builds
7942aa5601 Prepare 2.7.3 (2021.2.3).
See #2368
2022-09-19 11:36:22 +00:00
Jens Deppe
d1252689f6 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:33 +02:00
Mark Paluch
da9a0e0b4e 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:14:04 +02:00
Guy Korland
3e13b53e74 Improve ByteUtils.concatAll(…) array allocations.
Closes #2366
2022-09-16 14:14:04 +02:00
Mark Paluch
4144b459eb 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:45:17 +02:00
Jens Deppe
9af608247b 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:44:36 +02:00
Christoph Strobl
6b00487d72 Fix serialization issues with default typing in GenericJackson2JsonRedisSerializer.
Closes #2396
Original pull request: #2399.
2022-09-16 11:21:34 +02:00
Mark Paluch
6a77187e4b Refine documentation of HRANDFIELD and HRANDFIELD … WITHVALUES.
The documentation is now more precise about the return value.

Closes #2407
2022-09-15 14:23:53 +02:00
Mark Paluch
c95a051d22 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:49 +02:00
Mark Paluch
1dbf2ff5e8 Call hstrlen on JedisCluster.
We now call hstrlen on the Cluster client instead of using our execute(…) fallback and determining the correct cluster node ourselves.

Closes #2392
2022-08-31 10:09:51 +02:00
Mark Paluch
2ca0c43a0b Polishing.
Remove invalid test.

See #2355
2022-07-21 11:45:08 +02:00
Mark Paluch
7de0a95f07 Unsubscribe only once on Subscription.close().
We now unsubscribe from Redis only once when closing a Subscription object to avoid duplicate traffic and unexpected Redis responses.

Jedis does not have a mechanism to consume the additional unsubscribe response which leaves protocol frames on the InputStream leading to a corrupt state.

Closes #2355
2022-07-21 11:28:56 +02:00
Christoph Strobl
0d3de4b7ba Prepare 2.7.2 (2021.2.2).
See #2347
2022-07-15 11:07:51 +02:00
Christoph Strobl
52c2d583b6 Fix HashMapper issue flattening java.math types.
We now make sure to include types from the java.math namespace.

Closes: #2365
2022-07-15 07:28:35 +02:00