Skip to content

Bump failsafe from 1.1.0 to 2.4.3 #447

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

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 20, 2021

Bumps failsafe from 1.1.0 to 2.4.3.

Changelog

Sourced from failsafe's changelog.

2.4.3

Bug Fixes

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

2.4.2

Improvements

  • Added RetryPolicy.onRetryScheduled event handler.
  • Added ExecutionEvent.getExecutionCount() and ExecutionContext.getExecutionCount(), which distinguishes between attempts which may have been rejected and completed executions.
  • Added Failsafe.none to create a no-op FailsafeExecutor.
  • Improved support for outer Timeouts with retries.
  • Fixed #221 - Added support for FailsafeExecutor.with(Executor).
  • Fixed #277 - Changed Timeout to use Failsafe's internal scheduler, so that user provided ExecutorService shutdowns do not interfere with timeouts.
  • Fixed #266 - Propagate Future cancellation to supplied CompletionStage when using getStageAsync.

Bug Fixes

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

2.4.1

Improvements

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

API Changes

  • Deprecated Timeout.withCancel(boolean) and Timeout.canCancel(). Timeouts always cancel any executions and inner retries.
  • Added Timeout.withInterrupt(boolean) to take the place of withCancel.
  • Added ExecutionEvent.getElapsedAttemptTime().

2.4.0

Improvements

  • Added time based thresholding support to CircuitBreaker via:
    • withFailureThreshold(int failureThreshold, Duration failureThresholdingPeriod)
    • withFailureThreshold(int failureThreshold, int failureExecutionThreshold, Duration failureThresholdingPeriod)
    • withFailureRateThreshold(int failureRateThreshold, int failureExecutionThreshold, Duration failureThresholdingPeriod)
  • Added getters to CircuitBreaker for existing count based thresholding settings:
    • getFailureThresholdingCapacity()
    • getSuccessThresholdingCapacity()
  • And added getters to CircuitBreaker for new time based thresholding settings:
    • getFailureRateThreshold()
    • getFailureExecutionThreshold()
    • getFailureThresholdingPeriod()
  • Added some new metrics to CircuitBreaker:

... (truncated)

Commits
  • 550e974 [maven-release-plugin] prepare release failsafe-2.4.3
  • 821122f Add Failsafe.with(Policy[]) for backwards binary compatibility
  • b3a70bd Minor Javadoc fixes
  • c285214 Fix flaky test where Timeout occurs before execution begins
  • 245bfc4 [maven-release-plugin] prepare for next development iteration
  • f927ef0 [maven-release-plugin] prepare release failsafe-2.4.2
  • 9e9c07b Add better support for potentially blocked operations
  • 65f4bb1 Add test cases involving potentially blocked operations
  • bc78281 Reorganize FallbackExecutor supplyAsync and unify cancelFn
  • 9444335 Rename fallback result param and ignore some warnings
  • Additional commits viewable in compare 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.3.
- [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.3)

---
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>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 20, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 20, 2021

Superseded by #473.

@dependabot dependabot bot closed this Sep 20, 2021
@dependabot dependabot bot deleted the dependabot/gradle/net.jodah-failsafe-2.4.3 branch September 20, 2021 05:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants