Commit Graph

2766 Commits

Author SHA1 Message Date
Mark Paluch
7fa03a1369 Polishing.
Replace qualified class name access of inner classes with simple names and imports.

Remove Java 8 guards. Extend supported temporal types in Jsr310Converters. Remove superfluous converter annotations.

Simplify tests.

See #2677
Original pull request: #2681
2023-08-17 09:13:57 +02:00
John Blum
eadd3f010c Register Converters for Offset java.time types in JSR310Converters.
We now appropriately handle OffsetDateTime and OffsetTime the same as all other java.time types, supported as simple types on Spring application (persistent) entity classes.

Closes #2677
2023-08-17 08:59:24 +02:00
Mark Paluch
3d6dacccdb Polishing.
Use Regex to capture the various styles of CLUSTER NODES endpoint representations.

See #2678
Original pull request: #2679
2023-08-16 11:56:26 +02:00
Sorokin Evgeniy
020ef9ce1b Add support for bracket-less IPv6 addresses to CLUSTER NODES Converter.
Closes #2678
Original pull request: #2679
2023-08-16 11:55:08 +02:00
Mark Paluch
236b072370 Upgrade to Lettuce 6.2.6.RELEASE.
Also, bump netty to 4.1.96.

Closes #2680
2023-08-16 10:32:57 +02:00
Julia Lee
8956a44fb8 Update CI properties.
See #2639
2023-08-14 10:19:15 -04:00
Julia Lee
6ca704f051 Upgrade to Maven Wrapper 3.9.4.
See #2674
2023-08-14 07:45:52 -04:00
Mark Paluch
7d306edc49 Polishing.
Tweak wording around thread-safety. Include notices in connection factories.

Reformat asciidoc.

See #2653
Original pull request: #2667
2023-08-10 11:10:19 +02:00
John Blum
48b765d397 Edit ref docs and Javadoc for connection classes to clearly state the Thread-safety guarantees.
Closes #2653
Original pull request: #2667
2023-08-10 11:10:19 +02:00
John Blum
6beae16e5e Fix spelling in SynchronizingMessageListener.SubscriptionSynchronizion.
Additionally, cleanup compiler warnings.

Closes #2656
Original pull request: #2657
2023-08-08 09:43:40 +02:00
John Blum
70b5557d59 Upgrade to Lettuce 6.2.5.RELEASE.
Closes #2660
2023-08-04 15:00:14 -07:00
John Blum
42f21841eb Polish for RedisSerializationContext.
Closes #2651
Original pull request: #2652
2023-07-27 16:49:31 -07:00
zhoukq
675c617e74 Assign 'tuple' to 'stringTuple' in DefaultRedisSerializationContextBuilder.string().
Currently, the builder method incorrectly assigns 'tuple' SerializationPair<String> argument to 'hashValueTuple'.

Closes #2651
Original pull request: #2652
2023-07-27 16:49:25 -07:00
Mark Paluch
fb093bbe70 Polishing.
Make fields final where possible. Reintroduce end of line comment markers to avoid reformatting into unreadable format. Replace HashSet per command instance with String to reduce memory footprint.

Tweak Javadoc wording to represent what we actually expect. Reorder methods.

See #2640
Original pull request: #2644
2023-07-18 10:52:29 +02:00
John Blum
b26107d225 Polishing.
Additionally, applied Java 17 syntax, cleaned up compiler warnings, and edited Javadoc.

Closes #2644
Original pull request: #2640
2023-07-18 09:53:55 +02:00
Thach Le
7caa46cb4b Fix misordered 'final static' modifiers.
Per the Java Language Specification (Java 17; https://docs.oracle.com/javase/specs/jls/se17/html/jls-8.html#jls-8.3.1), 'static' should appear before 'final'.

This is also consistent with source code analysis tools, like Checkstyle, rules: https://checkstyle.sourceforge.io/apidocs/com/puppycrawl/tools/checkstyle/checks/modifier/ModifierOrderCheck.html.

Original pull request: #2640
2023-07-18 09:53:55 +02:00
Mark Paluch
cdcc4483f8 After release cleanups.
See #2614
2023-07-14 11:25:33 +02:00
Mark Paluch
13394607be Prepare next development iteration.
See #2614
2023-07-14 11:25:31 +02:00
Mark Paluch
90b8c6ec8e Release version 3.0.8 (2022.0.8).
See #2614
2023-07-14 11:22:38 +02:00
Mark Paluch
56860cb259 Prepare 3.0.8 (2022.0.8).
See #2614
2023-07-14 11:22:24 +02:00
Mark Paluch
f2fba9f58a Update CI properties.
See #2614
2023-07-03 09:47:08 +02:00
Mark Paluch
fda12222f4 Upgrade to Maven Wrapper 3.9.3.
See #2624
2023-07-03 09:46:39 +02:00
Mark Paluch
baa7728f20 After release cleanups.
See #2578
2023-06-16 15:43:10 +02:00
Mark Paluch
788eb0f0a1 Prepare next development iteration.
See #2578
2023-06-16 15:43:09 +02:00
Mark Paluch
d2cdfeaceb Release version 3.0.7 (2022.0.7).
See #2578
2023-06-16 15:39:46 +02:00
Mark Paluch
d71e5233b6 Prepare 3.0.7 (2022.0.7).
See #2578
2023-06-16 15:39:31 +02:00
Mark Paluch
0273d6564d Upgrade to Maven Wrapper 3.9.2.
See #2604
2023-06-13 08:52:20 +02:00
Mark Paluch
1ad01d4dc1 Fix ZAddArgs.isEmpty.
isEmpty now returns true if empty. Previously, the boolean returns were flipped.

Closes #2588
2023-06-07 11:35:48 +02:00
Mark Paluch
293de67cb1 Use snapshot and milestone repositories instead of libs-snapshot and libs-milestone.
Closes #2595
2023-06-06 10:53:27 +02:00
Mark Paluch
68833df7a4 Use OBJECT, PTTL, and RESTORE JedisCluster methods directly.
We now use directly JedisCluster methods instead of using our command executor routing as JedisCluster exposes the methods and we no longer require our own command routing.

Closes #2589
2023-05-30 11:55:23 +02:00
John Blum
1dc49052b3 Edit and cleanup Javadoc.
Resolves #2586
2023-05-23 09:02:34 -07:00
John Blum
418121f087 Polish.
Additionally, refactors and cleans up the Redis cache extension and infrastructure.

Closes #2583
2023-05-18 17:32:11 -07:00
Yanming Zhou
8126924595 Improve RedisCacheManagerBuilder to expose applied RedisCacheConfiguration.
Now it is possible to construct a new, custom default RedisCacheConfiguration from an existing, default RedisCacheConfiguration.

This is useful in a Spring Boot context using the RedisCacheManagerBuilderCustomizer and acquiring access to the default RedisCacheConfiguration, which likely originated from Spring Boot Redis CacheProperties.

Resolves #2583
2023-05-18 17:32:06 -07:00
Christoph Strobl
29eb6072b1 After release cleanups.
See #2555
2023-05-12 11:11:32 +02:00
Christoph Strobl
dbeb426bd5 Prepare next development iteration.
See #2555
2023-05-12 11:11:31 +02:00
Christoph Strobl
a6f0bc1133 Release version 3.0.6 (2022.0.6).
See #2555
2023-05-12 11:08:07 +02:00
Christoph Strobl
7274d6f5f7 Prepare 3.0.6 (2022.0.6).
See #2555
2023-05-12 11:07:48 +02:00
Mark Paluch
ad000b90e7 Polishing.
Widen test assertions to avoid double rounding errors failing the test.

See #2575
2023-05-11 11:20:01 +02:00
Mark Paluch
e437c3d0ea Make LettuceObservationContext public to use it with Observation Predicates.
Close #2550
2023-05-09 15:13:28 +02:00
Mark Paluch
36c08ae9e9 Refactor Lettuce connection handling in integration tests.
Reuse condition objects in command and version condition extensions.

Shut down ClientResources via ShutdownQueue and ensure shared client resources usage.

Add close support to our MethodArgumentsProvider. Reuse LettuceTestClientConfiguration for test client config settings.

Closes #2575
2023-05-09 15:10:50 +02:00
Mark Paluch
23443692c7 Polishing.
Delegate RedisClientProvider.getClient() across connection providers. Use SimpleAsyncTaskExecutor as default in ClusterCommandExecutor to avoid ThreadPoolTaskExecutor pollution.

See #2575
2023-05-09 15:10:49 +02:00
John Blum
e973a50184 Fix element ordering issue on a mapped de/serialized entity having List property.
Closes #2565
2023-05-07 12:02:05 -07:00
John Blum
957f36b2e0 Upgrade to XStream 1.4.20.
Closes #2573
2023-05-05 10:47:42 -07:00
Wonchul Heo
3ff873e51b Fix typo.
Original pull request #2567
2023-05-03 10:49:35 +02:00
Mark Paluch
c5e389f8be Fix BoundingBox.width return value.
We now return the correct value.

Closes #2526
2023-04-24 14:46:02 +02:00
remeio
b05ab5c4c2 Tweak Javadoc wording of mergeArrays.
Closes #2558
2023-04-24 14:12:26 +02:00
Mark Paluch
b8c20ad61d Upgrade to Lettuce 6.2.4.RELEASE.
Closes #2560
2023-04-18 12:17:27 +02:00
Greg L. Turnquist
83ebe71d13 After release cleanups.
See #2530
2023-04-14 10:25:06 -05:00
Greg L. Turnquist
8eccc020ef Prepare next development iteration.
See #2530
2023-04-14 10:25:00 -05:00
Greg L. Turnquist
a0c728003a Release version 3.0.5 (2022.0.5).
See #2530
2023-04-14 10:19:15 -05:00