Skip to content

RetryAspect v1.0.5

Latest

Choose a tag to compare

@cmccarthyIrl cmccarthyIrl released this 02 Dec 21:24

RetryAspect 1.0.5

🎯 Overview

Maintenance release with critical bug fixes, enhanced validation, comprehensive test coverage, and dependency updates.

🐛 Bug Fixes

InterruptedException Handling

  • Fixed improper handling of thread interruption during retry delays
  • Added proper interrupt status restoration and descriptive error messages
  • Prevents silent failures when threads are interrupted

Validation Improvements

  • Fixed crash when maxAttempts set to 0 or negative values
  • Added validation for empty include array in @Retryable
  • Added validation for negative delay values
  • All validation failures now throw clear IllegalArgumentException messages

Retry Logic Enhancements

  • Fixed potential integer overflow in exponential backoff calculation
  • Removed redundant null check for improved code maintainability
  • Clarified maxAttempts semantics in documentation (total attempts = initial + retries)

📦 Dependencies

Security Updates

New Dependencies

  • Mockito Core 3.12.4 for enhanced testing capabilities

Build Tools

  • maven-javadoc-plugin: 2.9.1 → 3.7.0
  • central-publishing-maven-plugin: 0.5.0 → 0.4.0

📚 Documentation

README Updates

  • Updated version references throughout
  • Fixed repository URLs
  • Corrected license reference
  • Added validation requirements
  • Added idempotency warnings

Code Documentation

  • Enhanced Javadoc comments
  • Improved inline documentation
  • Added validation requirement notes

🔧 Build & Deployment

  • Configured GPG signing for Maven Central requirements
  • Automated deployment pipeline with token authentication
  • Published to Maven Central repository

⬆️ Upgrade

Update your pom.xml:

<dependency>
    <groupId>io.github.cmccarthyirl</groupId>
    <artifactId>retryaspect</artifactId>
    <version>1.0.5</version>
</dependency>

No breaking changes - fully backward compatible with 1.0.4

🔗 Links