Skip to content

Releases: spring-projects/spring-retry

v2.0.10

18 Oct 17:02
Compare
Choose a tag to compare

⭐ New Features

  • Add default hashCode implementation to RetryConfiguration.AnnotationClassOrMethodPointcut #472
  • Apply a setter for the logger field of RetryTemplate so that it doesn't need to be injected via reflections #470

❀️ Contributors

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

@NorsaG and @dsyer

v2.0.9

13 Sep 20:14
Compare
Choose a tag to compare

⭐ New Features

  • Populate MethodInvocation to RetryPolicy (via RetryContext) #229
  • Can't chose correct @Recover method #188

🐞 Bug Fixes

  • Support concurrent behavior on MetricsRetryListener #467
  • UniformRandomBackOffPolicy is throwing IllegalArgumentException on calling backOff when maxBackOffPeriod is less than minBackOffPeriod. #464

v2.0.8

16 Aug 17:20
Compare
Choose a tag to compare

⭐ 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

v2.0.7

13 Jul 09:14
Compare
Choose a tag to compare

⭐ 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

v2.0.6

16 May 13:39
Compare
Choose a tag to compare

⭐ 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

v2.0.5

15 Dec 06:59
Compare
Choose a tag to compare

⭐ 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

v2.0.4

16 Oct 12:16
Compare
Choose a tag to compare

🐞 Bug Fixes

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

πŸ”¨ Dependency Upgrades

  • Upgrade to Spring Framework 6.0.13 #385

v2.0.3

14 Sep 11:24
Compare
Choose a tag to compare

⭐ 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

v2.0.2

17 Jun 09:26
Compare
Choose a tag to compare

⭐ 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

v2.0.1

20 Mar 17:53
Compare
Choose a tag to compare

⭐ 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