hub4j / github-api

Java API for GitHub
https://github-api.kohsuke.org/
MIT License
1.14k stars 728 forks source link

Begin 2.x release train #1860

Closed bitwiseman closed 2 weeks ago

bitwiseman commented 3 months ago

Description

I would love for github-api v2.x to be a larger change that has major new features.

However, the most pressing need is clearing technical debt for better stability and ease of adding new features. These changes break binary compatibility requiring a major version bump.

v2.0 includes:

Before submitting a PR:

When creating a PR:

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 81.00000% with 19 lines in your changes missing coverage. Please review.

Project coverage is 81.74%. Comparing base (9e9e775) to head (963900f).

Files with missing lines Patch % Lines
...hsuke/github/extras/HttpClientGitHubConnector.java 83.33% 4 Missing and 1 partial :warning:
src/main/java/org/kohsuke/github/GHMyself.java 0.00% 4 Missing :warning:
...ava/org/kohsuke/github/GitHubRateLimitHandler.java 76.47% 3 Missing and 1 partial :warning:
...c/main/java/org/kohsuke/github/GHOrganization.java 25.00% 3 Missing :warning:
...va/org/kohsuke/github/GitHubAbuseLimitHandler.java 90.47% 2 Missing :warning:
src/main/java/org/kohsuke/github/GitHubClient.java 50.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1860 +/- ## ============================================ + Coverage 81.36% 81.74% +0.37% + Complexity 2465 2303 -162 ============================================ Files 239 231 -8 Lines 7475 6967 -508 Branches 402 376 -26 ============================================ - Hits 6082 5695 -387 + Misses 1146 1038 -108 + Partials 247 234 -13 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.