spring-retry

Spring Retry provides an abstraction around retrying failed operations, with an emphasis on declarative control of the process and policy-based behaviour that is easy to extend and customize. For instance, you can configure a plain POJO operation to retry if it fails, based on the type of exception, and with a fixed or exponential backoff.

Stars
2.2K
Committers
88

Bot releases are visible (Hide)

spring-retry - https://github.com/spring-projects/spring-retry/releases/tag/v2.0.8 Latest Release

Published by spring-builds 2 months ago

⭐ New Features

  • Built-in support for Micrometer metrics publishing #458
  • Add @Nullable in RetryContext to easier detect possible NPE #457

📔 Documentation

  • Wrong value for JDK (1.7) needed for building the project #460

🔨 Dependency Upgrades

  • Upgrade to Spring Framework 6.0.23 #462

❤️ Contributors

Thank you to all the contributors who worked on this release:

@szpak

spring-retry -

Published by snicoll 3 months ago

⭐ New Features

  • Allow use of custom (binary) exception classifier in RestTemplateBuilder #441

🔨 Dependency Upgrades

  • Upgade to Spring Framework 6.0.22 #449

❤️ Contributors

Thank you to all the contributors who worked on this release:

@marcingrzejszczak

spring-retry - v2.0.6

Published by spring-builds 5 months ago

⭐ New Features

  • No distinction in the logs between different retried methods #422
  • Rework Exception-wrapping #82

🐞 Bug Fixes

  • @Retryable annotation retrying with ExponentialBackOff instead of ExponentialRandomBackOff when randomExpression provided #427
  • fix: Null pointer error may occur #421

📔 Documentation

  • Wrong method recommended for build.gradle? #423
  • put GAV in docs #418
  • Improve Javadoc for setThrowLastExceptionOnExhausted of RetryTemplate #137

🔨 Dependency Upgrades

  • Upgrade to Spring Framework 6.0.20 #435

❤️ Contributors

Thank you to all the contributors who worked on this release:

@aozeyu

spring-retry - v2.0.5

Published by spring-builds 10 months ago

⭐ New Features

  • Expose the number of max attempts to the retry context for all policies #395
  • classifiable's self class checked twice #212
  • Provide The Ability to Exclude Global RetryListeners #211

🐞 Bug Fixes

  • Unexpected exception type thrown instead of actual CHECKED exception when noRetryFor is used #405
  • NPE in CircuitBreaker, wrong null check #403
  • Retryable with exponential backoff not working with delayExpression #397
  • Restore the interrupted thread status in the provided backoff policies #386

📔 Documentation

  • Unable to define recover method where the method is returning a generic List #402
  • Fix incorrect return type of RetryListener's open method in README.md #401
  • ExponentialRandomBackOffPolicy not always random #391

🔨 Dependency Upgrades

  • Upgrade to AspectJ 1.9.20.1 #406
  • Upgrade to Spring Framework 6.0.15 #408

❤️ Contributors

Thank you to all the contributors who worked on this release:

@hoonti06

spring-retry - v2.0.4

Published by spring-builds about 1 year ago

🐞 Bug Fixes

  • maxAttemptsExpression is not evaluated when an exceptionExpression is set #383

🔨 Dependency Upgrades

  • Upgrade to Spring Framework 6.0.13 #385
spring-retry - v2.0.3

Published by spring-builds about 1 year ago

⭐ New Features

  • Investigate Adding Option To Avoid ThreadLocal in RetrySynchronizationManager #374

🐞 Bug Fixes

  • Throwable as first argument of explicit recover method should be optional #371

📔 Documentation

  • feat: ISSUE-228 random - document as Jitter #376

🔨 Dependency Upgrades

  • Upgrade to Spring Framework 6.0.12 #381

❤️ Contributors

Thank you to all the contributors who worked on this release:

@liran2000 and @quaff

spring-retry - v2.0.2

Published by spring-builds over 1 year ago

⭐ New Features

  • Add support of Duration in RetryTemplateBuilder #344
  • Add constructor make timeout customisable #343

🐞 Bug Fixes

  • DelayExpression not working starting in 2.0.0 #340

📔 Documentation

  • Overhaul Javadoc of RestTemplateBuilder #359

🔨 Dependency Upgrades

  • Upgrade to Spring Framework 6.0.10 #365

❤️ Contributors

Thank you to all the contributors who worked on this release:

@aahlenst and @artembilan

spring-retry - v2.0.1

Published by spring-builds over 1 year ago

⭐ New Features

  • Change default order for @EnableRetry #335
  • add notice and license to jar #330
  • Add default implementations to RetryListener #326
  • support custom RetryConfiguration.getOrder() via @EnableRetry like @EnableAsync #22

🐞 Bug Fixes

  • Backoff annotation 'delayExpression' attribute is not always applied #332
  • [code error] in org.springframework.retry.annotation.RecoverAnnotationRecoveryHandler#isParameterizedTypeAssignable #328
  • AnnotationTypeMapping warning when using @CircuitBreaker with Spring Framework 6 #324
  • AnnotationTypeMapping warning when using @EnableRetry with Spring Framework 6 #322

📔 Documentation

  • Added getting support links #334

🔨 Dependency Upgrades

  • Upgrade Spring Framework (6.0.7), aspectJ (1.9.19) #336

❤️ Contributors

Thank you to all the contributors who worked on this release:

@esivakumar18, @garyrussell, @hpoettker, @tobi5775, and @xak2000

spring-retry - v2.0.0

Published by spring-builds almost 2 years ago

🔨 Dependency Upgrades

  • Upgrade to Spring Framework 6.0.0 #321
spring-retry - v2.0.0-RC2

Published by spring-builds about 2 years ago

🐞 Bug Fixes

  • Unable to define a SimpleRetryPolicy bean with custom maxAttempts value in XML #319
spring-retry - v2.0.0-RC1

Published by spring-builds about 2 years ago

🐞 Bug Fixes

  • Allow composing @Retryable annotation with @AliasFor recover method #313

🔨 Dependency Upgrades

  • Upgrade to Spring Framework 6.0.0-RC1 #318

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

spring-retry - v1.3.4

Published by spring-builds about 2 years ago

🐞 Bug Fixes

  • IllegalArgumentException when migrating from 1.3.1 to 1.3.2 and using class annotations #316
  • Pass evaluationContext when parsing expressions for CircuitBreaker properties #315
  • Allow composing @Retryable annotation with @AliasFor recover method #314
spring-retry - v2.0.0-M1

Published by spring-builds about 2 years ago

⭐ New Features

  • Replace EasyMock with Mockito #287
  • @Retryable - Support Rethrow Instead of ExhaustedRetryException #264
  • Update source/target to 1.8+ #236

🐞 Bug Fixes

  • Pass evaluationContext when parsing expressions for CircuitBreaker properties #293

📔 Documentation

  • Fix javadoc #302
  • readMe.md introduces the use of retry has problem, one bean has stated several times #285

🔨 Dependency Upgrades

  • Upgrade to Spring Framework 6.0.0-M6 #310

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

spring-retry - v1.3.3

Published by spring-builds over 2 years ago

⭐ New Features

  • Expose BackOffPolicy creation logic through a BackOffPolicyBuilder #276
  • Allow primitive type for @Recover method parameter #247
  • Calling getMaxAttempts instead of maxAttempts #109

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

spring-retry - v1.3.2

Published by spring-builds over 2 years ago

⭐ New Features

  • Add randomExpression to backoff annotation #266
  • Annotation Expression Improvements #260
  • Nice to have: notRetryOn() and retryOn() in RetryTemplateBuilder #254
  • Add generic check for function return type for recover method #216

🐞 Bug Fixes

  • RetryConfiguration is not eligible for getting processed by all BeanPostProcessors... #256

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

Package Rankings
Top 3.33% on Repo1.maven.org
Badges
Extracted from project README
Build Status Javadocs