Commit Graph

2842 Commits

Author SHA1 Message Date
John Blum
0adab3cd3e Upgrade to Maven Wrapper 3.9.5.
See #2723
2023-10-04 16:58:12 -07:00
John Blum
2075633809 Upgrade to Jedis 5.0
Adapt to API changes in the Jedis 5.0 driver.
Fix bzPopMaxShouldWorkCorrectly() and bzPopMinShouldWorkCorrectly() tests in JedisClusterConnectionTests.

Jedis 5.0 changed the bzpopmax and bzpopmin Redis commands to no longer return an empty (Array)List internally when evaluating and popping from an empty sorted set. A NullPointerException will be thrown if either bzpopmax or bzpopmin commands are executd on an empty Redis sorted set in Jedis 5.0 (vs. Jedis 4.x):

Closes #2612
Original pull request: #2716
2023-10-04 08:04:37 +02:00
Mark Paluch
d63fd19519 Upgrade to OpenWebBeans 4.0.
Closes #2721
2023-09-29 09:29:51 +02:00
Mark Paluch
49c6637913 Fix broken unit tests.
Closes #2720
2023-09-28 14:41:22 +02:00
John Blum
ff0503cc6f Upgrade to Jedis 4.4.5.
Closes #2718
2023-09-26 13:24:50 -07:00
Mark Paluch
8573104ad8 Reenable disabled tests.
See #2489
2023-09-21 15:24:02 +02:00
Mark Paluch
d4ba034b28 Refine RedisSerializer implementations.
This commit polishes up method ordering, introduces Javadoc where missing and updates nullability annotations and argument names.

Closes #1097
2023-09-21 14:59:23 +02:00
Mark Paluch
468254d0fe After release cleanups.
See #2687
2023-09-15 15:03:16 +02:00
Mark Paluch
1b8d2fee37 Prepare next development iteration.
See #2687
2023-09-15 15:03:16 +02:00
Mark Paluch
892d793243 Release version 3.2 M3 (2023.1.0).
See #2687
2023-09-15 15:03:16 +02:00
Mark Paluch
220eef7ea8 Prepare 3.2 M3 (2023.1.0).
See #2687
2023-09-15 15:03:16 +02:00
Mark Paluch
56bf624bb9 Remove changelog shipped with the binaries.
Closes #2131
2023-09-14 11:19:00 +02:00
John Blum
75eed8f11a Polish for #2690.
Closes #2690
Original pull request: #2691
2023-09-13 11:35:15 -07:00
Mark Paluch
ec4370f060 Polishing.
Add missing Override annotations.

See #2690
2023-09-13 11:33:41 -07:00
Mark Paluch
7fbfd5d439 Use Locks instead of synchronized blocks that run blocking operations.
To avoid thread pinning on virtual thread arrangements we now use ReentrantLock instead of a synchronized block.

Closes #2690
2023-09-13 11:33:24 -07:00
Mark Paluch
307ca5e431 Upgrade to Jedis 4.4.4.
Closes #2708
2023-09-12 15:49:57 +02:00
Mark Paluch
9e473b5dcd Polishing.
Reorder methods to align with ListOperations. Simplify tests to avoid test noise.

See #2692
Original pull request: #2704
2023-09-12 11:09:06 +02:00
John Blum
157f5e4b1d Adds support to lPop or rPop N elements from a Redis List in ReactiveListOperations.
Closes #2692
Original pull request: #2704
2023-09-12 11:08:32 +02:00
John Blum
ea4acad379 Polish enhanced switch statements.
See #2705
Original pull request: #2706
2023-09-11 16:45:59 -07:00
Junghoon Ban
5e23156f78 Change switch statements to switch expressions.
Remove unused default branches.

Closes #2705
Original pull request: #2706
2023-09-11 16:44:10 -07:00
Mark Paluch
68c77b9a69 Polishing.
Use dynamic copyright year.

See #2703
2023-09-11 09:01:09 +02:00
Mark Paluch
001456447b Migrate documentation site to Antora.
Closes #2703
2023-09-08 13:59:16 +02:00
John Blum
e423851f87 Polish for #2696.
Closes #2701
Original pull request: #2696
2023-09-06 17:15:51 -07:00
Mingyuan Wu
b13690c611 Fix wrong asserted code in ConvertingCursor.
Pull Request: #2696
2023-09-06 16:46:15 -07:00
Junghoon Ban
77b2d9e701 Add missing anchor to reference docs.
Closes #2700
2023-09-06 14:15:05 +02:00
Greg L. Turnquist
91056234fd Update CI properties.
See #2687
2023-09-05 13:25:24 -05:00
Julia Lee
ab7dc062f0 After release cleanups.
See #2641
2023-08-18 08:59:40 -04:00
Julia Lee
0c66f6b4e5 Prepare next development iteration.
See #2641
2023-08-18 08:59:36 -04:00
Julia Lee
543fd0a80c Release version 3.2 M2 (2023.1.0).
See #2641
2023-08-18 08:50:32 -04:00
Julia Lee
8e686139c9 Prepare 3.2 M2 (2023.1.0).
See #2641
2023-08-18 08:49:39 -04:00
Mark Paluch
f5f0c3b259 Polishing.
Move executor from ClusterConfiguration to connection factories as the executor is a Spring concept that isn't tied to endpoint details or the client config.

Reorder static factory methods after constructors and property accessors after static factory methods. Inline single-line single-use methods that aren't intended as extension hooks for easier readability.

Disable TaskExecutor disposal on ClusterCommandExecutor.destroy().

Remove NonNull annotations as default non-nullability is defined on the package level.

Simplify tests to use integration tests to avoid excessive mocking.

See #2594
Original pull request: #2669
2023-08-17 10:35:15 +02:00
John Blum
8d6ebb4e99 Add configuration for TaskExecutor used by ClusterCommandsExecutor.
This change allows users to leverage the VirtualThread facilities and AsyncTaskExecutor implementations provided in and by the core Spring Framework as part of our Loom support theme.

Closes #2594
Original pull request: #2669
2023-08-17 10:35:15 +02:00
John Blum
2eaf1746da Polishing.
Organize source code and cleanup compiler warnings.

See #2594
Original pull request: #2669
2023-08-17 10:35:14 +02:00
Mark Paluch
76c1830c57 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:14:39 +02:00
John Blum
dc09635cc4 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:44:15 +02:00
Mark Paluch
372d26ab21 Polishing.
Use Regex to capture the various styles of CLUSTER NODES endpoint representations.

See #2678
Original pull request: #2679
2023-08-16 11:53:57 +02:00
Sorokin Evgeniy
d1908fdbfc Add support for bracket-less IPv6 addresses to CLUSTER NODES Converter.
Closes #2678
Original pull request: #2679
2023-08-16 11:53:36 +02:00
Mark Paluch
158c73e028 Upgrade to Lettuce 6.2.6.RELEASE.
Also, bump netty to 4.1.96.

Closes #2680
2023-08-16 10:32:41 +02:00
Julia Lee
e79627a920 Update CI properties.
See #2641
2023-08-14 12:15:34 -04:00
Julia Lee
674026f0e3 Upgrade to Maven Wrapper 3.9.4.
See #2676
2023-08-14 08:53:25 -04:00
Mark Paluch
76da57e797 Polishing.
Tweak wording around thread-safety. Include notices in connection factories.

Reformat asciidoc.

See #2653
Original pull request: #2667
2023-08-10 11:08:45 +02:00
John Blum
4bf1d06758 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:08:45 +02:00
John Blum
d5642d9e4a Edit class Javadoc in Redis*Configuration classes.
Additionally, fix a few commpiler warnings and organize instance variables by type.

Closes #2586
2023-08-08 13:40:20 -07:00
Mark Paluch
6207a4f771 Polishing.
Replace topic label with assertion message. Reorder methods to align with Spring style.

See #2662
Original pull request: #2663
2023-08-08 10:28:00 +02:00
John Blum
979fb6ac6d Simplify logic in RedisMessageListenerContainer and supporting classes.
Closes #2662
Original pull request: #2663
2023-08-08 10:28:00 +02:00
John Blum
5d297470d1 Fix spelling in SynchronizingMessageListener.SubscriptionSynchronizion.
Additionally, cleanup compiler warnings.

Closes #2656
Original pull request: #2657
2023-08-08 09:43:20 +02:00
Mark Paluch
0b32e7bed1 Polishing.
Use createMono/createFlux syntax instead of using the template for wrapper creation.

See #2658
Original pull request: #2659
2023-08-07 15:52:01 +02:00
John Blum
00737441fd Rename Function Lambda parameter to match command interface in (Default) ReactiveXxxOperations.
Cleanup compiler warning.

Fix unnatural line breaks.

Closes #2658
Original pull request: #2659
2023-08-07 15:51:33 +02:00
John Blum
ceefb6e24b Upgrade to Lettuce 6.2.5.RELEASE.
Closes #2660
2023-08-04 14:36:14 -07:00
Christoph Strobl
bf0ac0011e Align ParameterizedTestContext usage of DefaultArgumentsAccessor with recent JUnit version
Closes: #2661
2023-08-04 15:44:05 +02:00