Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bump failsafe from 1.1.0 to 2.4.4#473

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
dependabot wants to merge1 commit intomaster
base:master
Choose a base branch
Loading
fromdependabot/gradle/net.jodah-failsafe-2.4.4

Conversation

@dependabot
Copy link
Contributor

@dependabotdependabotbot commented on behalf ofgithubSep 20, 2021

Bumpsfailsafe from 1.1.0 to 2.4.4.

Changelog

Sourced fromfailsafe's changelog.

2.4.4

Bug Fixes

  • Fixed#298 -Fallback.onFailedAttempt not being called correctly

Improvements

  • Fixed#296 - Add Automatic-Module-Name entry to the generated manifest file

API Changes

  • Added a generic result typeR 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.
  • ChangedFailsafeExecutor.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 theAsyncExecutioncomplete orretry methods.

2.4.3

Bug Fixes

  • Fixed#289 - Binary imcompatibility with code that was compiled against previous Failsafe versions.

2.4.2

Improvements

  • AddedRetryPolicy.onRetryScheduled event handler.
  • AddedExecutionEvent.getExecutionCount() andExecutionContext.getExecutionCount(), which distinguishes between attempts which may have been rejected and completed executions.
  • AddedFailsafe.none to create a no-opFailsafeExecutor.
  • Improved support for outer Timeouts with retries.
  • Fixed#221 - Added support forFailsafeExecutor.with(Executor).
  • Fixed#277 - ChangedTimeout to use Failsafe's internal scheduler, so that user providedExecutorService shutdowns do not interfere with timeouts.
  • Fixed#266 - PropagateFuture cancellation to suppliedCompletionStage when usinggetStageAsync.

Bug Fixes

  • Fixed#267 - Allow null fallback values to be passed through when using nested fallbacks.

2.4.1

Improvements

  • Fixed#234 - An outerTimeout should cancel any inner retries.

API Changes

  • DeprecatedTimeout.withCancel(boolean) andTimeout.canCancel(). Timeouts always cancel any executions and inner retries.
  • AddedTimeout.withInterrupt(boolean) to take the place ofwithCancel.
  • AddedExecutionEvent.getElapsedAttemptTime().

... (truncated)

Commits
  • e992fce [maven-release-plugin] prepare release failsafe-2.4.4
  • 15d539c Fix Fallback.onFailedAttempt
  • d057983 Added Automatic-Module-Name entry to the generated manifest file (#296)
  • 34a38f6 Improve javadocs wrt FailurePolicy exception handling conditions
  • ad163c1 Create maven.yml
  • 2e37486 Be slightly more defensive when clearing the forkJoinPoolThread ref in Delega...
  • 19dfd28 Update push-javadoc for the separate website repo
  • 062b910 Update links for failsafe.dev domain
  • c446fae Changed FailsafeExecutor.getAsyncExecution to accept an AsyncRunnable
  • 9ae6438 Added result type params and unified result types
  • Additional commits viewable incompare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting@dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [failsafe](https://github.com/failsafe-lib/failsafe) from 1.1.0 to 2.4.4.- [Release notes](https://github.com/failsafe-lib/failsafe/releases)- [Changelog](https://github.com/failsafe-lib/failsafe/blob/master/CHANGELOG.md)- [Commits](failsafe-lib/failsafe@failsafe-1.1.0...failsafe-2.4.4)---updated-dependencies:- dependency-name: net.jodah:failsafe  dependency-type: direct:production  update-type: version-update:semver-major...Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotbot added the dependenciesPull requests that update a dependency file labelSep 20, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

dependenciesPull requests that update a dependency file

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant


[8]ページ先頭

©2009-2025 Movatter.jp