-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependency net.jodah:failsafe to v2.4.4 #2791
Conversation
5fa5424
to
f1276bf
Compare
f1276bf
to
f124828
Compare
f124828
to
4cccc9b
Compare
4cccc9b
to
745f46d
Compare
745f46d
to
4a48a7c
Compare
4a48a7c
to
8dd32e9
Compare
27f2485
to
26f99ed
Compare
26f99ed
to
b76a75f
Compare
b76a75f
to
6dc9e12
Compare
6dc9e12
to
1abc83d
Compare
1abc83d
to
74f5b82
Compare
74f5b82
to
a200bf4
Compare
2a6ebb2
to
9906d0d
Compare
9906d0d
to
49f42e4
Compare
49f42e4
to
f5ff53a
Compare
a6b9d9f
to
d6d3da5
Compare
d6d3da5
to
df02fc5
Compare
df02fc5
to
c654b80
Compare
c654b80
to
f6ae3d9
Compare
f6ae3d9
to
53cdf6d
Compare
53cdf6d
to
537d8f5
Compare
537d8f5
to
8662f6a
Compare
8662f6a
to
09fad47
Compare
09fad47
to
39b705d
Compare
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update ( If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
2.4.0
->2.4.4
Release Notes
failsafe-lib/failsafe (net.jodah:failsafe)
v2.4.4
Bug Fixes
Fallback.onFailedAttempt
not being called correctlyImprovements
API Changes
R
toExecutionContext
,Execution
,AsyncExecution
, andAsyncRunnable
. This ensures that result types are unified across the API. It does mean that there are a few minor breaking changes to the API:ContextualSupplier
now has an additional result type parameterR
. Normally this type is used as lambda parameters where the type is inferred, so most users should not be impacted. But any explicit generic declaration of this type will not compile until the new parameter is added.PolicyExecutor
, which is part of the SPI, now accepts an additional result type parameterR
. This is only relevant for SPI users who are implementing their own Policies.FailsafeExecutor.getAsyncExecution
to acceptAsyncRunnable
instead ofAsyncSupplier
. This is a breaking change for anygetAsyncExecution
calls, but the fix is to simply remove anyreturn
statement. The reason for this change is that the provided object does not need to return a result since the result will already be passed asynchronously to one of theAsyncExecution
complete
orretry
methods.v2.4.3
Bug Fixes
v2.4.2
Improvements
RetryPolicy.onRetryScheduled
event handler.ExecutionEvent.getExecutionCount()
andExecutionContext.getExecutionCount()
, which distinguishes between attempts which may have been rejected and completed executions.Failsafe.none
to create a no-opFailsafeExecutor
.FailsafeExecutor.with(Executor)
.Timeout
to use Failsafe's internal scheduler, so that user providedExecutorService
shutdowns do not interfere with timeouts.Future
cancellation to suppliedCompletionStage
when usinggetStageAsync
.Bug Fixes
v2.4.1
Improvements
Timeout
should cancel any inner retries.API Changes
Timeout.withCancel(boolean)
andTimeout.canCancel()
. Timeouts always cancel any executions and inner retries.Timeout.withInterrupt(boolean)
to take the place ofwithCancel
.ExecutionEvent.getElapsedAttemptTime()
.Configuration
📅 Schedule: Branch creation - "after 8am and before 5pm every weekday" in timezone Europe/London, Automerge - "after 8am and before 5pm every weekday" in timezone Europe/London.
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.