Releases: hub4j/github-api
v2.0-rc.6 🌈
Highlights
- fix: Jackson 2.20.x support fixed - Phase 1 by @pvillard31 in #2182
- fix: GHPullRequestReviewComment.getLine() returning -1 by @Anonycoders in #2188
Bridged artifact publishing failed for this release
See #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 #2143
- Add DYNAMIC event type to GHEvent enum by @kkroner8451 in #2151
- Improve ArchUnit class name test by @bitwiseman in #2152
- fix: adjust enterprise api url for graphql use case by @Anonycoders in #2180
- Enable Jackson 3 - Phase 1 by @pvillard31 in #2182
- fix: override GHPullRequest isPullRequest by @Anonycoders in #2190
- feat: add GHPullRequest.markReadyForReview for draft PRs by @Anonycoders in #2184
- feat: paginated gh pull request query builder by @Anonycoders in #2185
- Fix
getUser()404 for bot users in PR reviews by @Haarolean in #2207 - Add support for rerunning failed workflow jobs by @ayagmar in #2210
- Remove jackson members from data objects by @bitwiseman in #2209
- Added Enterprise GH Type by @ravikumar2026 in #2194
- feat: fetch repository sbom by @Anonycoders in #2187
- fix: GHPullRequestReviewComment.getLine() returning -1 by @Anonycoders in #2188
- feat: limit searching issues based on type by @Anonycoders in #2186
- feat: Added matching-ref API (Issue #2155) by @ravikumar2026 in #2195
- Fix
getLabel()nullability for unlabeled events when label was deleted by @Haarolean in #2211 - Add support for specifying Author and Committer (issue #2199) by @pvillard31 in #2200
- refactor: make GHPullRequestReviewComment extend GHIssueComment by @Anonycoders in #2189
Dependency updates
- Chore(deps): Bump org.apache.commons:commons-lang3 from 3.18.0 to 3.19.0 by @dependabot[bot] in #2149
- Chore(deps): Bump codecov/codecov-action from 5.5.0 to 5.5.1 by @dependabot[bot] in #2147
- Chore(deps): Bump spring.boot.version from 3.3.5 to 3.4.5 by @dependabot[bot] in #2096
- Chore(deps): Bump actions/download-artifact from 5 to 6 by @dependabot[bot] in #2157
- Chore(deps): Bump github/codeql-action from 3 to 4 by @dependabot[bot] in #2159
- Chore(deps): Bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in #2161
- Chore(deps-dev): Bump com.google.code.gson:gson from 2.12.1 to 2.13.2 by @dependabot[bot] in #2160
- Chore(deps): Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.11.2 to 3.12.0 by @dependabot[bot] in #2163
- Chore(deps): Bump com.github.spotbugs:spotbugs-maven-plugin from 4.9.3.0 to 4.9.8.1 by @dependabot[bot] in #2162
- Chore(deps): Bump actions/checkout from 5 to 6 by @dependabot[bot] in #2170
- Chore(deps): Bump com.github.spotbugs:spotbugs-maven-plugin from 4.9.8.1 to 4.9.8.2 by @dependabot[bot] in #2169
- Chore(deps-dev): Bump org.mockito:mockito-core from 5.16.1 to 5.20.0 by @dependabot[bot] in #2167
- Chore(deps): Bump stefanzweifel/git-auto-commit-action from 6 to 7 by @dependabot[bot] in #2158
- Chore(deps): Bump codecov/codecov-action from 5.5.1 to 5.5.2 by @dependabot[bot] in #2177
- Chore(deps): Bump jjwt.suite.version from 0.12.6 to 0.13.0 by @dependabot[bot] in #2178
- Chore(deps): Bump actions/download-artifact from 6 to 7 by @dependabot[bot] in #2176
- Chore(deps): Bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in #2175
- Chore(deps-dev): Bump org.mockito:mockito-core from 5.20.0 to 5.21.0 by @dependabot[bot] in #2174
- Chore(deps): Bump org.jacoco:jacoco-maven-plugin from 0.8.13 to 0.8.14 by @dependabot[bot] in #2193
- Chore(deps): Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.7 to 3.2.8 by @dependabot[bot] in #2191
- Chore(deps): Bump actions/upload-artifact from 6 to 7 by @dependabot[bot] in #2205
- Chore(deps): Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.3 to 3.5.5 by @dependabot[bot] in #2203
- Chore(deps): Bump org.apache.bcel:bcel from 6.10.0 to 6.12.0 by @dependabot[bot] in #2202
- Chore(deps): Bump actions/download-artifact from 7 to 8 by @dependabot[bot] in #2204
- Chore(deps): Bump release-drafter/release-drafter from 6 to 7 by @dependabot[bot] in #2215
- Chore(deps): Bump codecov/codecov-action from 5.5.2 to 6.0.0 by @dependabot[bot] in #2213
New Contributors
- @cyrilico made their first contribution in #2143
- @kkroner8451 made their first contribution in #2151
- @Anonycoders made their first contribution in #2180
- @pvillard31 made their first contribution in #2182
- @ayagmar made their first contribution in #2210
- @ravikumar2026 made their first contribution in #2194
Full Changelog: github-api-2.0-rc.5...github-api-2.0-rc.6
v2.0-rc.5 🌈
Bridged artifact publishing failed for this release
See #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
Changes
- Prepare release (bitwiseman): github-api-2.0-rc.5 @github-actions[bot] (#2141)
- Chore(deps): Bump actions/download-artifact from 4 to 5 @dependabot[bot] (#2134)
- Chore(deps): Bump com.diffplug.spotless:spotless-maven-plugin from 2.44.5 to 2.46.1 @dependabot[bot] (#2130)
- Chore(deps): Bump com.squareup.okio:okio from 3.10.2 to 3.16.0 @dependabot[bot] (#2132)
- Chore(deps): Bump actions/checkout from 4 to 5 @dependabot[bot] (#2133)
- Chore(deps): Bump codecov/codecov-action from 5.4.3 to 5.5.0 @dependabot[bot] (#2136)
- Chore(deps): Bump actions/setup-java from 4 to 5 @dependabot[bot] (#2135)
- fix: remove usage of a deprecated constant. @ketan (#2138)
- Deprecate GHRepository#getIssues() @bitwiseman (#2129)
- Chore(deps): Bump org.junit:junit-bom from 5.12.1 to 5.13.4 @dependabot[bot] (#2124)
- Chore(deps-dev): Bump com.tngtech.archunit:archunit from 1.4.0 to 1.4.1 @dependabot[bot] (#2123)
- Chore(deps): Bump org.jacoco:jacoco-maven-plugin from 0.8.12 to 0.8.13 @dependabot[bot] (#2125)
- Add support for 'include_all_branches' flag when creating repository from a template @leowebb (#2107)
- Prepare release (bitwiseman): github-api-2.0-rc.4 @github-actions[bot] (#2119)
v1.330 🌈 (Compatibility)
v2.0-rc.4 🌈
Bridged artifact publishing failed for this release
See #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
Changes
- Prepare release (bitwiseman): github-api-2.0-rc.4 @github-actions[bot] (#2119)
- Include optional dependecies to avoid compile warnings @HerrDerb (#2113)
- Chore(deps): Bump com.infradna.tool:bridge-method-annotation from 1.30 to 1.31 @dependabot[bot] (#2094)
- Chore(deps): Bump com.infradna.tool:bridge-method-injector from 1.30 to 1.31 @dependabot[bot] (#2097)
- Chore(deps): Bump stefanzweifel/git-auto-commit-action from 5 to 6 @dependabot[bot] (#2110)
- Chore(deps): Bump org.apache.commons:commons-lang3 from 3.17.0 to 3.18.0 @dependabot[bot] (#2114)
- Chore(deps): Bump com.fasterxml.jackson:jackson-bom from 2.18.3 to 2.19.1 @dependabot[bot] (#2109)
- Add actor to GHWorkflowRun @HerrDerb (#2100)
- Chore(deps): Bump com.diffplug.spotless:spotless-maven-plugin from 2.44.3 to 2.44.5 @dependabot[bot] (#2105)
- Chore(deps): Bump codecov/codecov-action from 5.4.0 to 5.4.3 @dependabot[bot] (#2104)
- Sort members for consistency @bitwiseman (#2087)
- Prepare release (bitwiseman): github-api-2.0-rc.3 @github-actions[bot] (#2088)
v1.329 🌈 (Security)
Changes
Chore(deps): Bump org.apache.commons:commons-lang3 from 3.17.0 to 3.18.0 @dependabot[bot] (#2114)
Full Changelog: github-api-1.327...github-api-1.329
v2.0-rc.3 🌈
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
Changes
- Cleanup names and enforce naming conventions @bitwiseman (#2084)
- Re-enable japicmp enforcement @bitwiseman (#2086)
v2.0-rc.2 🌈
Breaking changes since 2.0-rc.1
- Migrate legacy date-time api to new date-time api @solonovamax (#2074)
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
Technical debt
- Drop support for Java 8
- Remove functional dependencies on HttpURLConnection
- Remove most deprecated classes and methods
- Remove all existing "bridge methods"
Migrate Date to Instant
- Migrate legacy date-time api to new date-time api @solonovamax (#2074)
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 releasee
- Chore(deps): Bump org.apache.maven.plugins:maven-compiler-plugin from 3.13.0 to 3.14.0 @dependabot[bot] (#2081)
- Chore(deps): Bump com.diffplug.spotless:spotless-maven-plugin from 2.44.2 to 2.44.3 @dependabot[bot] (#2080)
- Chore(deps-dev): Bump com.google.guava:guava from 33.4.5-jre to 33.4.6-jre @dependabot[bot] (#2079)
- Chore(deps): Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.2 to 3.5.3 @dependabot[bot] (#2078)
- Adds ArchUnit tests for naming conventions @solonovamax (#2077)
- Add side and start_side Parameters to Create Review Comment @gilday (#2072)
v2.0-rc.1 🌈
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.
v2.0 includes:
- Drop support for Java 8
- Remove functional dependencies on HttpURLConnection
- Remove most deprecated classes and methods
- Remove all "bridge methods"
- 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
- Prepare release (bitwiseman): github-api-2.0-rc.1 @github-actions[bot] (#2069)
- Chore(deps): Bump com.github.spotbugs:spotbugs-maven-plugin from 4.9.1.0 to 4.9.3.0 @dependabot[bot] (#2064)
- Chore(deps-dev): Bump org.mockito:mockito-core from 5.15.2 to 5.16.1 @dependabot[bot] (#2066)
- Chore(deps-dev): Bump com.google.guava:guava from 33.4.0-jre to 33.4.5-jre @dependabot[bot] (#2067)
- Chore(deps): Bump org.apache.maven.plugins:maven-project-info-reports-plugin from 3.8.0 to 3.9.0 @dependabot[bot] (#2068)
- Chore(deps-dev): Bump org.junit.vintage:junit-vintage-engine from 5.10.2 to 5.12.1 @dependabot[bot] (#2047)
- FEAT: Implement enabling auto merge for PR by GraphQL @seate (#2056)
- Revert removal of getPullRequests @bitwiseman (#2049)
- Default GitHubConnectorResponse to streamed body instead of in-memory buffer @atsushieno (#2059)
- removed unnecessary imports and casts @rnveach (#2048)
- Chore(deps-dev): Bump com.google.code.gson:gson from 2.11.0 to 2.12.1 @dependabot[bot] (#2052)
- Chore(deps): Bump com.fasterxml.jackson:jackson-bom from 2.18.2 to 2.18.3 @dependabot[bot] (#2051)
- Chore(deps): Bump codecov/codecov-action from 5.3.1 to 5.4.0 @dependabot[bot] (#2050)
- Chore(deps): Bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.6.4 to 4.9.1.0 @dependabot[bot] (#2044)
- Chore(deps-dev): Bump org.awaitility:awaitility from 4.2.2 to 4.3.0 @dependabot[bot] (#2045)
- Chore(deps-dev): Bump org.slf4j:slf4j-simple from 2.0.16 to 2.0.17 @dependabot[bot] (#2046)
- fixed various javadoc issues @rnveach (#2042)
- Removed unused checked exceptions @rnveach (#2036)
- Issue #2033: made code clearer on using number in some methods @rnveach (#2034)
- GHPerson#getType() should call populate() only if type is null @anujhydrabadi (#2015)
- Update documentation URL @britter (#2038)
- Issue #2026: added reopened to GHIssueStateReason @rnveach (#2031)
- added ignore entry for eclipse metadata @rnveach (#2027)
v1.327 🌈
Backport of changes from
https://github.com/hub4j/github-api/releases/tag/github-api-2.0-alpha-3
v2.0-alpha-3 🌈
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.
v2.0 includes:
- Drop support for Java 8
- Remove functional dependencies on HttpURLConnection
- Remove most deprecated classes and methods
- Remove all "bridge methods"
- Test clean up
- Site generation updates
Changes
- Prepare release (bitwiseman): github-api-2.0.0-alpha-3 @bitwiseman (#2018)
- List app installation requests endpoint @anujhydrabadi (#2012)
- Add option to fork default branch only @Alaurant (#1995)
- Include triggering actor in workflow run @HerrDerb (#2006)
- Add parameter to listContributors for anonymous contributors @augustd (#1907)
- Add ssh keys fields on meta API response @jonesbusy (#1996)
- Add autolink reference function @Alaurant (#1987)
- fix GHNotificationStream "Unable to parse If-Modified-Since request header" @AsherSu (#1984)
- Do not assume server time is in sync with local machine time on rate limit path @holly-cummins (#1972)
- Improve wait handing in abuse retry @holly-cummins (#1971)
Dependencies
- Chore(deps-dev): Bump com.google.guava:guava from 33.3.1-jre to 33.4.0-jre @dependabot[bot] (#2001)
- Chore(deps): Bump org.codehaus.mojo:versions-maven-plugin from 2.17.1 to 2.18.0 @dependabot[bot] (#2000)
- Chore(deps): Bump org.apache.maven.plugins:maven-help-plugin from 3.5.0 to 3.5.1 @dependabot[bot] (#2002)
- Chore(deps): Bump codecov/codecov-action from 4.6.0 to 5.0.7 @dependabot[bot] (#1988)
- Chore(deps): Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.10.1 to 3.11.1 @dependabot[bot] (#1989)
- Chore(deps): Bump com.fasterxml.jackson:jackson-bom from 2.18.0 to 2.18.2 @dependabot[bot] (#1990)
- Chore(deps): Bump org.apache.maven.plugins:maven-site-plugin from 3.20.0 to 3.21.0 @dependabot[bot] (#1991)
- Chore(deps): Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.1 to 3.5.2 @dependabot[bot] (#1992)
- Chore(deps): Bump spring.boot.version from 3.3.4 to 3.3.5 @dependabot[bot] (#1977)
- Chore(deps-dev): Bump org.mockito:mockito-core from 5.14.0 to 5.14.2 @dependabot[bot] (#1980)
- Chore(deps): Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.10.0 to 3.10.1 @dependabot[bot] (#1979)
- Chore(deps): Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.0 to 3.5.1 @dependabot[bot] (#1978)
- Chore(deps): Bump codecov/codecov-action from 4.5.0 to 4.6.0 @dependabot[bot] (#1981)
- Chore(deps): Bump com.infradna.tool:bridge-method-annotation from 1.29 to 1.30 @dependabot[bot] (#1961)
- Chore(deps): Bump actions/setup-java from 2 to 4 @dependabot[bot] (#1960)
- Chore(deps-dev): Bump org.mockito:mockito-core from 5.13.0 to 5.14.0 @dependabot[bot] (#1958)
- Chore(deps): Bump com.fasterxml.jackson:jackson-bom from 2.17.2 to 2.18.0 @dependabot[bot] (#1959)
- Chore(deps): Bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.6.3 to 4.8.6.4 @dependabot[bot] (#1955)
- Chore(deps): Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.6 to 3.2.7 @dependabot[bot] (#1954)
- Chore(deps-dev): Bump com.google.guava:guava from 33.3.0-jre to 33.3.1-jre @dependabot[bot] (#1953)
- Chore(deps): Bump spring.boot.version from 3.3.3 to 3.3.4 @dependabot[bot] (#1952)
- Chore(deps): Bump com.squareup.okio:okio from 3.9.0 to 3.9.1 @dependabot[bot] (#1950)
- Chore(deps-dev): Bump com.google.guava:guava from 33.1.0-jre to 33.3.0-jre @dependabot[bot] (#1949)
- Chore(deps): Bump org.apache.maven.plugins:maven-site-plugin from 3.12.1 to 3.20.0 @dependabot[bot] (#1941)
- Prepare release (bitwiseman): github-api-2.0.0-alpha-2 @bitwiseman (#1948)