Commit Graph

3021 Commits

Author SHA1 Message Date
Mark Paluch
d47d3e800d Polishing.
Consistently use literal null.

See #3010
2024-10-10 14:34:49 +02:00
Mark Paluch
8fe72a0840 Fix Scripting Documentation for imperative Lua scripts.
See #3010
2024-10-10 14:34:38 +02:00
jinia91
2df0361a93 Update RedisMessageListenerContainer docs.
Closes #3005
2024-10-10 14:21:28 +02:00
Mark Paluch
c3b0282cf8 Use Docker in Docker CI setup.
See #2994
2024-10-09 14:42:45 +02:00
Mark Paluch
e0a13c0628 Polishing.
Update tests to simplify assertions and enhance GH issue references.
Simplify parsing logic for addressing edge cases and added more test scenarios.

See #2862
Original Pull Request: #3000
2024-09-19 14:38:32 +02:00
Marcin Grzejszczak
6274167e5a Improve Cluster Nodes parsing.
Without this fix there's a problem with parsing of the cluster nodes command output (e.g. a trailing comma after cport is making the parsing fail)

with this change we're converting regexp parsing to code parsing which also includes support for trailing commas after cport

Closes #2862
Original Pull Request: #3000
2024-09-19 14:38:31 +02:00
Mark Paluch
77898d4a97 Polishing.
Reword Javadoc comments for clarity and add missing `@SuppressWarnings` annotations.

See #2970
2024-09-17 14:55:04 +02:00
Mark Paluch
8b7f39b190 Return cached HashOperations instance from opsForHash.
Closes #2970
2024-09-17 14:55:04 +02:00
Mark Paluch
f687de94ac Polishing.
Add missing Nullable annotations. Reorder methods.

See: #2996
Original pull request: #2997
2024-09-17 14:22:29 +02:00
jinbeom
5ff156cc2b Remove duplicate code in DefaultRedisList.
Closes: #2996
Original pull request: #2997
2024-09-17 14:22:29 +02:00
Jens Schauder
62915819da After release cleanups.
See #2969
2024-09-13 11:40:09 +02:00
Jens Schauder
8bd9f0e8c7 Prepare next development iteration.
See #2969
2024-09-13 11:40:08 +02:00
Jens Schauder
d109f20a90 Release version 3.3.4 (2024.0.4).
See #2969
2024-09-13 11:36:55 +02:00
Jens Schauder
a3846a67c1 Prepare 3.3.4 (2024.0.4).
See #2969
2024-09-13 11:36:35 +02:00
Christoph Strobl
31dbba0112 Make sure db index is only set once.
See: #2984
2024-09-13 09:38:35 +02:00
Christoph Strobl
ab701142fe Polishing.
Make sure nested LettuceConnectionUnitTests are actually run by junit.

Original Pull Request: #2990
2024-09-12 14:24:10 +02:00
Mark Paluch
fd23412eaf Fix database selection on dedicated connection.
We now select the database on the dedicated connection. Previously, this call never happened on the dedicated connection and the only way a database could be selected is through the ConnectionFactory configuration.

Closes: #2984
Original Pull Request: #2990
2024-09-12 14:24:00 +02:00
Christoph Strobl
02dfe5c691 Polishing.
Move maxTime calculation for topology refresh to and delegate shouldUseCachedValue() to newly introduced overload.
Retain application flow as much as possible.

Original Pull Request: #2989
2024-09-11 12:24:15 +02:00
Mark Paluch
f5285856e0 Use value object for topology caching.
We now use a value object for caching the topology to avoid races in updating the cache timestamp.

Also, we set the cache timestamp after obtaining the topology to avoid that I/O latency expires the topology cache.

Closes: #2986
Original Pull Request: #2989
2024-09-11 12:22:32 +02:00
Mark Paluch
f9dd9bc246 Polishing.
Simplify code to use well-known Spring patterns.

Original pull request: #2752
See #2751
2024-09-10 14:01:35 +02:00
John Blum
c7ab023d40 Replace use of String.format(…) with formatted Strings.
Original pull request: #2752
Closes #2751
2024-09-10 14:01:13 +02:00
Mark Paluch
fcbe0fdeaa Polishing.
Refine assertions usage.

Original pull request: #2985
Closes #2982
2024-09-10 11:02:38 +02:00
jinkshower
f5ad90a1ea Fix XAddOptions maxlen handling and XPendingOptions validation.
Closes #2982
Original pull request: #2985
2024-09-10 11:02:18 +02:00
Mark Paluch
600f9dd1da Polishing.
Improve pattern variable naming, use ClassUtils.getDescriptiveType(…) to avoid null-pointer exceptions. Simplify RedisOperationChain condition checks.

See #2788
2024-09-10 10:13:17 +02:00
Junghoon Ban
ee35a4cd36 Improve readability in RedisQueryCreator.
Closes #2788
2024-09-10 10:13:03 +02:00
Junghoon Ban
635006672c Refactor Redis secondary-index key formatting.
Redis secondary-index keys are now formatted using helper methods instead of using chains of concatAll(toBytes(…)) sequences for more readability.

Original pull request: #2795
Closes: #2794
2024-09-10 09:35:21 +02:00
Mark Paluch
1b220676a0 Fix typos in Javadoc and assertion message.
Closes #2965
2024-08-30 14:10:06 +02:00
Christoph Strobl
5909a491dc Fix error deserializing enum values with flattening Jackson2HashMapper.
This commit makes sure the mapper does not attempt to read type alias when deserializing enums.

Original pull request: #2980
Closes #2979
2024-08-30 10:01:46 +02:00
Mark Paluch
7a39c5c1fe Add @Serial annotation to all serialVersionUID fields.
Closes #2973
2024-08-20 10:30:30 +02:00
Mark Paluch
cb0648fe81 Polishing.
Replace instanceof check with pattern variable in production code.
Add missing Deprecated annotations.

See #2967
Original pull request: #2971
2024-08-20 10:25:40 +02:00
arefbehboudi
96a1b0c327 Consistently use instanceof pattern variable.
Closes #2967
Original pull request: #2971
2024-08-20 10:25:40 +02:00
Jens Schauder
5a0897e6f7 After release cleanups.
See #2941
2024-08-16 10:08:54 +02:00
Jens Schauder
012220f5b9 Prepare next development iteration.
See #2941
2024-08-16 10:08:53 +02:00
Jens Schauder
8dd9552307 Release version 3.3.3 (2024.0.3).
See #2941
2024-08-16 10:05:57 +02:00
Jens Schauder
bb5817699e Prepare 3.3.3 (2024.0.3).
See #2941
2024-08-16 10:05:39 +02:00
Mark Paluch
96e46924bd Default Lettuce shutdownQuietPeriod to zero.
Use a lower timeout for faster shutdown. Also, the quiet period is no longer configured through the shutdown timeout.

Closes #2945
2024-08-08 15:49:11 +02:00
Mark Paluch
fbf94b1016 Upgrade to Maven Wrapper 3.9.8.
See #2962
2024-08-08 10:23:16 +02:00
Mark Paluch
d66e02f4fa Update CI properties.
See #2941
2024-08-08 10:19:19 +02:00
Mark Paluch
c39b5993b4 Polishing.
Remove lingering DEVELOCITY_CACHE credential declarations. Address typo.

See #2947
2024-08-01 10:42:35 +02:00
Eric Haag
1109f2e595 Migrate build to Spring Develocity Conventions extension.
* Migrate build to Spring Develocity Conventions extension.

* Adopt Develocity environment variables.

Closes #2947
2024-08-01 10:42:35 +02:00
Mark Paluch
d916cb6e68 Remove recent version badges from readme.
We now no longer have a resource that serves these.

Closes #2916
2024-08-01 10:20:46 +02:00
Mark Paluch
62b7bc256a Bundle Javadoc with Antora documentation site.
Closes #2950
2024-07-31 14:29:57 +02:00
Jens Schauder
50e49e7e7c After release cleanups.
See #2927
2024-07-12 19:12:15 +02:00
Jens Schauder
ae3b12d3d0 Prepare next development iteration.
See #2927
2024-07-12 19:12:14 +02:00
Jens Schauder
41b106bfed Release version 3.3.2 (2024.0.2).
See #2927
2024-07-12 19:09:19 +02:00
Jens Schauder
d81494c022 Prepare 3.3.2 (2024.0.2).
See #2927
2024-07-12 19:09:01 +02:00
Mark Paluch
5925fdd05c Remove Slack notification.
See #2929
2024-06-20 14:07:58 +02:00
Mark Paluch
9e4e6266e0 Switch to Broadcom docker proxy.
Closes #2929
2024-06-20 14:07:58 +02:00
Mark Paluch
4bc957427b After release cleanups.
See #2911
2024-06-14 10:48:00 +02:00
Mark Paluch
cd44f17fa8 Prepare next development iteration.
See #2911
2024-06-14 10:47:58 +02:00