| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-04-10 | 8.7 kB | |
| v2.0-rc.6 source code.tar.gz | 2026-04-10 | 6.5 MB | |
| v2.0-rc.6 source code.zip | 2026-04-10 | 13.1 MB | |
| Totals: 3 Items | 19.6 MB | 0 | |
Highlights
- fix: Jackson 2.20.x support fixed - Phase 1 by @pvillard31 in https://github.com/hub4j/github-api/pull/2182
- fix: GHPullRequestReviewComment.getLine() returning -1 by @Anonycoders in https://github.com/hub4j/github-api/pull/2188
Bridged artifact publishing failed for this release
See https://github.com/hub4j/github-api/issues/2120
Major version bump to v2.x
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.
Breaking changes since 2.0-rc.1
Migrate legacy date-time api to new date-time api @solonovamax (#2074)
Not sure that this was absolutely necessary, but it forced a discussion of how we'd should requests for targeted breaking changes.
The result was the re-enabling of bridge method generation, but this time with a github-api-bridged artifact. My thought here is to guarantee binary compatibility for github-api-bridged on a rolling 12-month basis. The project may
Cleanup names and enforce naming conventions @bitwiseman (#2084)
This change cleans up the names for all fields to remove underscores. This is considered a binary breaking change because objects that were serialized before this release will not be deserializable to this release (and visa versa). I'm not sure if this this is a scenario we need to be conscious of but it can be discussed further if it comes up.
Other Breaking changes
Technical debt
- Drop support for Java 8
- Remove functional dependencies on HttpURLConnection
- Remove most deprecated classes and methods
- Remove all existing "bridge methods"
Publish bridged artifact
To continue to support binary backward compatibility while also minimizing drag for users that do not require it, we have moved bridge methods to a github-api-bridged artifact.
Other Improvements
- Test clean up
- Site generation updates
- First GraphQL endpoint (Thanks @seate)
- Lower memory consumption by using streaming response body for successful requests (Thanks @atsushieno)
Changes in this release
- feat: add force-cancel workflow run by @cyrilico in https://github.com/hub4j/github-api/pull/2143
- Add DYNAMIC event type to GHEvent enum by @kkroner8451 in https://github.com/hub4j/github-api/pull/2151
- Improve ArchUnit class name test by @bitwiseman in https://github.com/hub4j/github-api/pull/2152
- fix: adjust enterprise api url for graphql use case by @Anonycoders in https://github.com/hub4j/github-api/pull/2180
- Enable Jackson 3 - Phase 1 by @pvillard31 in https://github.com/hub4j/github-api/pull/2182
- fix: override GHPullRequest isPullRequest by @Anonycoders in https://github.com/hub4j/github-api/pull/2190
- feat: add GHPullRequest.markReadyForReview for draft PRs by @Anonycoders in https://github.com/hub4j/github-api/pull/2184
- feat: paginated gh pull request query builder by @Anonycoders in https://github.com/hub4j/github-api/pull/2185
- Fix
getUser()404 for bot users in PR reviews by @Haarolean in https://github.com/hub4j/github-api/pull/2207 - Add support for rerunning failed workflow jobs by @ayagmar in https://github.com/hub4j/github-api/pull/2210
- Remove jackson members from data objects by @bitwiseman in https://github.com/hub4j/github-api/pull/2209
- Added Enterprise GH Type by @ravikumar2026 in https://github.com/hub4j/github-api/pull/2194
- feat: fetch repository sbom by @Anonycoders in https://github.com/hub4j/github-api/pull/2187
- fix: GHPullRequestReviewComment.getLine() returning -1 by @Anonycoders in https://github.com/hub4j/github-api/pull/2188
- feat: limit searching issues based on type by @Anonycoders in https://github.com/hub4j/github-api/pull/2186
- feat: Added matching-ref API (Issue [#2155]) by @ravikumar2026 in https://github.com/hub4j/github-api/pull/2195
- Fix
getLabel()nullability for unlabeled events when label was deleted by @Haarolean in https://github.com/hub4j/github-api/pull/2211 - Add support for specifying Author and Committer (issue [#2199]) by @pvillard31 in https://github.com/hub4j/github-api/pull/2200
- refactor: make GHPullRequestReviewComment extend GHIssueComment by @Anonycoders in https://github.com/hub4j/github-api/pull/2189
Dependency updates
- Chore(deps): Bump org.apache.commons:commons-lang3 from 3.18.0 to 3.19.0 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2149
- Chore(deps): Bump codecov/codecov-action from 5.5.0 to 5.5.1 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2147
- Chore(deps): Bump spring.boot.version from 3.3.5 to 3.4.5 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2096
- Chore(deps): Bump actions/download-artifact from 5 to 6 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2157
- Chore(deps): Bump github/codeql-action from 3 to 4 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2159
- Chore(deps): Bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2161
- Chore(deps-dev): Bump com.google.code.gson:gson from 2.12.1 to 2.13.2 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2160
- Chore(deps): Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.11.2 to 3.12.0 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2163
- Chore(deps): Bump com.github.spotbugs:spotbugs-maven-plugin from 4.9.3.0 to 4.9.8.1 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2162
- Chore(deps): Bump actions/checkout from 5 to 6 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2170
- Chore(deps): Bump com.github.spotbugs:spotbugs-maven-plugin from 4.9.8.1 to 4.9.8.2 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2169
- Chore(deps-dev): Bump org.mockito:mockito-core from 5.16.1 to 5.20.0 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2167
- Chore(deps): Bump stefanzweifel/git-auto-commit-action from 6 to 7 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2158
- Chore(deps): Bump codecov/codecov-action from 5.5.1 to 5.5.2 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2177
- Chore(deps): Bump jjwt.suite.version from 0.12.6 to 0.13.0 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2178
- Chore(deps): Bump actions/download-artifact from 6 to 7 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2176
- Chore(deps): Bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2175
- Chore(deps-dev): Bump org.mockito:mockito-core from 5.20.0 to 5.21.0 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2174
- Chore(deps): Bump org.jacoco:jacoco-maven-plugin from 0.8.13 to 0.8.14 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2193
- Chore(deps): Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.7 to 3.2.8 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2191
- Chore(deps): Bump actions/upload-artifact from 6 to 7 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2205
- Chore(deps): Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.3 to 3.5.5 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2203
- Chore(deps): Bump org.apache.bcel:bcel from 6.10.0 to 6.12.0 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2202
- Chore(deps): Bump actions/download-artifact from 7 to 8 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2204
- Chore(deps): Bump release-drafter/release-drafter from 6 to 7 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2215
- Chore(deps): Bump codecov/codecov-action from 5.5.2 to 6.0.0 by @dependabot[bot] in https://github.com/hub4j/github-api/pull/2213
New Contributors
- @cyrilico made their first contribution in https://github.com/hub4j/github-api/pull/2143
- @kkroner8451 made their first contribution in https://github.com/hub4j/github-api/pull/2151
- @Anonycoders made their first contribution in https://github.com/hub4j/github-api/pull/2180
- @pvillard31 made their first contribution in https://github.com/hub4j/github-api/pull/2182
- @ayagmar made their first contribution in https://github.com/hub4j/github-api/pull/2210
- @ravikumar2026 made their first contribution in https://github.com/hub4j/github-api/pull/2194
Full Changelog: https://github.com/hub4j/github-api/compare/github-api-2.0-rc.5...github-api-2.0-rc.6