Skip to content

Update PullRequestFilters to use Instant for date comparisons and upd…#271

Merged
frankreyesgarcia merged 1 commit into
mainfrom
fix/github-api-jackson-compatibility
Jun 25, 2026
Merged

Update PullRequestFilters to use Instant for date comparisons and upd…#271
frankreyesgarcia merged 1 commit into
mainfrom
fix/github-api-jackson-compatibility

Conversation

@frankreyesgarcia

@frankreyesgarcia frankreyesgarcia commented Jun 25, 2026

Copy link
Copy Markdown
Member

This pull request updates how the code handles pull request creation dates by switching from Date to Instant for better time precision and modern Java practices. It also updates the GitHub API dependency to a newer version. The most important changes are:

Dependency Update:

  • Upgraded the github-api dependency from version 1.330 to 2.0-rc.6 in pom.xml, ensuring compatibility with newer features and bug fixes.

Date Handling Modernization:

  • Changed the createdBefore method and its usages to accept and use Instant instead of Date, improving time handling accuracy and consistency with modern Java APIs. [1] [2] [3] [4] [5]

These changes help future-proof the code and make it more robust when dealing with timestamps.…ate GitHub API dependency version

@frankreyesgarcia frankreyesgarcia merged commit 324d551 into main Jun 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant