Releases: rusthero/version-checker
Releases · rusthero/version-checker
VersionChecker 1.2.0
Release Notes
- The VersionChecker interface defines methods for retrieving the latest version, checking if a version is the latest, and checking for outdated versions with a callback function.
- Added support for asynchronous execution of version checks through the new UpdateTracker class.
- The UpdateTracker class implements the Runnable interface and provides a more flexible way of using the VersionChecker.
- The UpdateTracker class takes in a Version object to check against and a VersionChecker implementation, as well as optional Consumer objects to handle outdated version and exception cases.
- By running the UpdateTracker object asynchronously using a Thread or Executor, developers can now perform version checks without blocking the main application thread.
- This release does not include any bug fixes or changes to existing functionality.
VersionChecker 1.1.0
New Features
- Added ifOutdatedVersion method to GitHubVersionChecker for checking if the current version of a repository is outdated and taking an action based on the latest version.
- Created Version class for more object oriented programming and future features.
VersionChecker 1.0.0
Release Notes:
- Added GitHubVersionChecker class to retrieve the latest version information from a GitHub repository
- Improved error handling with custom exceptions for ReleaseOrRepoNotFoundException and RateLimitExceededException.
- Added unit tests for VersionChecker to ensure reliable behavior.