Brian Clozel
309f850dad
Use Java 24 for running Gradle
...
As of Gradle 8.14, Gradle is now compatible with Java 24 for running
Gradle.
2025-06-13 00:50:11 +02:00
Brian Clozel
f111858055
Relax Java 24 toolchain requirements
...
While we choose our GitHub action to use Bellsoft Liberica, we should
relax that vendor requirement and ensure that contributors can build the
project with any Java 24 distribution.
Closes gh-35043
2025-06-13 00:49:05 +02:00
Stéphane Nicoll
75c4bc8947
Merge pull request #35038 from OlgaMaciaszek
...
* pr/35038:
Polish "Add hints to instantiate HttpService group adapters"
Add hints to instantiate HttpService group adapters
Closes gh-35038
2025-06-12 21:28:09 +02:00
Stéphane Nicoll
8bf9e0cbff
Polish "Add hints to instantiate HttpService group adapters"
...
See gh-35038
2025-06-12 21:24:58 +02:00
Olga Maciaszek-Sharma
8142f80581
Add hints to instantiate HttpService group adapters
...
See gh-35038
Signed-off-by: Olga Maciaszek-Sharma <olga.maciaszek-sharma@broadcom.com >
2025-06-12 21:23:35 +02:00
Sam Brannen
082eb607ec
Overhaul tests for RetryTemplate
2025-06-12 17:34:54 +02:00
Sam Brannen
ff167aafa2
Make built-in RetryPolicy implementations final
...
Closes gh-35040
2025-06-12 17:34:54 +02:00
Sébastien Deleuze
fb0fb21b78
Merge branch '6.2.x'
2025-06-12 16:40:36 +02:00
Sébastien Deleuze
e425504eac
Revert "Disable Gradle auto-provisioning" on 6.2.x
...
This reverts commit 40058ef875 .
Closes gh-35041
2025-06-12 16:37:59 +02:00
秦利斌
1a5cc87bb1
Remove unused field in ResourceHttpRequestHandler
...
Closes gh-35037
Signed-off-by: 秦利斌 <68638598+Allan-QLB@users.noreply.github.com >
2025-06-12 14:57:26 +02:00
Brian Clozel
3a1c2f7064
Merge branch '6.2.x'
2025-06-12 11:44:40 +02:00
Brian Clozel
08d5af3d2a
Next development version (v6.2.9-SNAPSHOT)
2025-06-12 11:44:16 +02:00
Patrick Strawderman
fd2038c927
Use String.replace in MetadataEncoder
...
Use String.replace instead of replaceAll in MetadataEncoder; since Java 9, String.replace
no longer uses a regex, while replaceAll does. The use case here of replacing a single
character does not require a regex.
Closes gh-35025
Signed-off-by: Patrick Strawderman <pstrawderman@netflix.com >
2025-06-12 09:01:11 +02:00
Brian Clozel
f11235ee19
Merge branch '6.2.x'
2025-06-12 08:53:02 +02:00
Brian Clozel
f0e7b42704
Encode non-printable character in Content-Disposition parameter
...
Prior to this commit, the "filename" parameter value for the
"Content-Disposition" header would contain non-printable characters,
causing parsing issues for HTTP clients.
This commit ensures that all non-printable characters are encoded.
Fixes gh-35034
2025-06-12 08:39:29 +02:00
Sam Brannen
bfd3dc2676
Implement toString() in RetryPolicy and RetryExecution implementations
...
Closes gh-35029
2025-06-11 19:17:03 +02:00
Sam Brannen
bc967842f6
Rename and polish ComposedRetryListenerTests
2025-06-11 19:04:48 +02:00
Sam Brannen
b6680422db
Change signature of RetryOperations.execute() regarding nullability
...
Due to lacking support in NullAway for the current arrangement, we are
(perhaps temporarily) changing the signature of the execute() method in
RetryOperations (and thus also in RetryTemplate)...
from: <R extends @Nullable Object> R execute(Retryable<R> retryable);
to: <R> @Nullable R execute(Retryable<? extends @Nullable R> retryable);
Once https://github.com/uber/NullAway/issues/1075 has been resolved, we
will consider switching back to the original signature.
See gh-34716
2025-06-11 17:43:29 +02:00
Brian Clozel
a462f5e853
Merge branch '6.2.x'
2025-06-11 17:41:53 +02:00
Johnny Lim
e86dc9ad95
Apply gh-34856 to MockClientHttpRequest in testfixture package
...
Closes gh-35031
Signed-off-by: Johnny Lim <izeye@naver.com >
2025-06-11 17:40:54 +02:00
rstoyanchev
84a4b44cf0
Polishing contribution
...
Closes gh-34807
2025-06-11 15:50:32 +01:00
hgh1472
9d3de4ff68
Remove duplicated setup
...
See gh-34807
Signed-off-by: hgh1472 <hgh1472@naver.com >
2025-06-11 15:50:32 +01:00
Sam Brannen
8f3ca49bc4
Rename Retryable.run() to Retryable.execute()
...
See gh-34716
2025-06-11 13:50:16 +02:00
Sam Brannen
d74b863ae7
Polish Javadoc for core retry functionality
...
See gh-34716
2025-06-11 13:49:00 +02:00
Sam Brannen
8b9e620084
Allow FixedBackOff to be constructed with only a custom interval
...
This commit introduces two new constructors:
- FixedBackOff(long)
- FixedBackOff(Duration)
Closes gh-35028
2025-06-11 13:26:16 +02:00
Sam Brannen
fcdd439ad0
Polish Javadoc for FixedBackOff
2025-06-11 13:06:55 +02:00
Sébastien Deleuze
b901132192
Merge branch '6.2.x'
2025-06-11 10:15:36 +02:00
Sébastien Deleuze
05c3f56ec7
Rely on default retention in @Contract
...
Closes gh-35027
2025-06-11 10:14:59 +02:00
Brian Clozel
68df780c59
Upgrade to Micrometer 1.15.1
...
Closes gh-35019
2025-06-11 09:25:05 +02:00
Brian Clozel
3d63664ab0
Upgrade to Reactor 2025.0.0-M4
...
Closes gh-34997
2025-06-11 09:24:30 +02:00
Brian Clozel
bdc5fafd0a
Merge branch '6.2.x'
2025-06-11 09:23:52 +02:00
Brian Clozel
dee80ab1da
Upgrade to Reactor 2024.0.7
...
Closes gh-35021
2025-06-11 09:23:17 +02:00
Brian Clozel
07fd835ea9
Upgrade to Micrometer 1.14.8
...
Closes gh-35020
2025-06-11 09:22:50 +02:00
Brian Clozel
dec0deb7dc
Merge branch '6.2.x'
2025-06-11 09:21:38 +02:00
Brian Clozel
0d6c6eb2d5
Use Micrometer BOM for Context Propagation dependency
...
Closes gh-35026
2025-06-11 09:15:30 +02:00
Sam Brannen
d42d3f1a6c
Fix wording in Javadoc for RetryTemplate
...
See gh-34716
2025-06-10 18:34:56 +02:00
Sam Brannen
51b6e8cc9f
Rename RetryCallback to Retryable
...
See gh-34716
2025-06-10 18:26:52 +02:00
Sam Brannen
f927ff635a
Revise @Nullable declarations for contains*() in CollectionUtils
...
Closes gh-35023
2025-06-10 17:50:37 +02:00
Sam Brannen
2c0f01e8ed
Merge branch '6.2.x'
2025-06-10 11:52:37 +02:00
Sam Brannen
4d2cc4ae97
Polish contribution
...
See gh-35013
2025-06-10 11:45:20 +02:00
Mohammad Saeed Nouri
c04902fefb
Allow update of existing WebSession after max sessions limit is reached
...
Previously, when saving a WebSession, the system did not check whether
the session ID already existed. As a result, even if the session being
saved was an update to an existing one, it was incorrectly treated as a
new session, and a "maximum sessions exceeded" error was triggered.
This fix ensures that if a WebSession with the same ID already exists,
it will be updated rather than counted as a new session, thereby
preventing unnecessary session limit violations.
Closes gh-35013
Signed-off-by: Mohammad Saeed Nouri <msnsaeed71@gmail.com >
2025-06-10 11:44:59 +02:00
Sam Brannen
3c265e1044
Fix InMemoryWebSessionStoreTests.startsSessionImplicitly() test
2025-06-10 11:44:00 +02:00
Sam Brannen
222702f750
Polish WebSession support and tests
2025-06-10 11:43:56 +02:00
Sébastien Deleuze
be02d961fc
Merge branch '6.2.x'
2025-06-09 16:55:33 +02:00
Sébastien Deleuze
7bb19fcde8
Refine Kotlin Serialization hint registration
...
This commit adds support for serializer methods with a parameter.
Closes gh-34979
2025-06-09 16:48:15 +02:00
Sam Brannen
077146d636
Merge branch '6.2.x'
2025-06-09 14:12:45 +02:00
Sam Brannen
18d6a55e3e
Polishing and removal of "this." for method invocations
2025-06-09 14:10:30 +02:00
Sébastien Deleuze
b6a121ed44
Merge branch '6.2.x'
2025-06-09 11:03:47 +02:00
秦利斌
99890b6147
Fix ResourceHttpRequestHandler#setHeaders JavaDoc
...
Closes gh-35004
Signed-off-by: 秦利斌 <68638598+Allan-QLB@users.noreply.github.com >
2025-06-09 10:55:21 +02:00
Sébastien Deleuze
ef2495874d
Upgrade to Kotlin 2.2.0-RC2
...
See gh-34946
2025-06-09 10:42:52 +02:00