Releases: hub4j/github-api
v1.306 π
Changes
Dependencies
- Chore(deps): Bump maven-javadoc-plugin from 3.3.2 to 3.4.0 @dependabot (#1443)
- Chore(deps): Bump nexus-staging-maven-plugin from 1.6.12 to 1.6.13 @dependabot (#1442)
- Chore(deps): Bump maven-site-plugin from 3.11.0 to 3.12.0 @dependabot (#1441)
- Chore(deps-dev): Bump mockito-core from 4.4.0 to 4.5.1 @dependabot (#1439)
v1.305 π
Changes
- Add GHRepository#hasPermission() @gsmet (#1433)
- Set permissions for GitHub actions @naveensrinivasan (#1432)
- Add some of the missing fields to GHPullRequestReviewComment @gsmet (#1425)
- Switch to the new delete reaction API @gsmet (#1423)
- Added user LDAP information. @kartikpatodi (#1401)
- Fix SpotBugs warning regarding putIfAbsent() @bitwiseman (#1424)
- added 'RolePermission' to allow specifying custom roles @jgangemi (#1403)
- Ignore org.kohsuke.github.internal for API stability @bitwiseman (#1421)
- Added runAttempt and runStartedAt attributes to the GHWorkflowRun.java @tolgatakir (#1407)
- Add gitcommit class @ecxia (#1329)
Dependencies
- Chore(deps): Bump actions/setup-java from 2 to 3 @dependabot (#1429)
- Chore(deps): Bump codecov/codecov-action from 2.1.0 to 3.0.0 @dependabot (#1430)
- Chore(deps): Bump jacoco-maven-plugin from 0.8.7 to 0.8.8 @dependabot (#1426)
- Chore(deps): Bump spotless-maven-plugin from 2.22.0 to 2.22.1 @dependabot (#1427)
- Chore(deps-dev): Bump awaitility from 4.1.1 to 4.2.0 @dependabot (#1418)
- Chore(deps-dev): Bump org.eclipse.jgit from 6.0.0.202111291000-r to 6.1.0.202203080745-r @dependabot (#1416)
- Chore(deps): Bump spotless-maven-plugin from 2.21.0 to 2.22.0 @dependabot (#1415)
- Chore(deps): Bump jackson-databind from 2.13.1 to 2.13.2.2 @dependabot (#1417)
- Chore(deps): Bump spotbugs.version from 4.5.3 to 4.6.0 @dependabot (#1410)
- Chore(deps-dev): Bump mockito-core from 4.3.1 to 4.4.0 @dependabot (#1412)
- Chore(deps): Bump maven-compiler-plugin from 3.10.0 to 3.10.1 @dependabot (#1411)
- Chore(deps): Bump actions/checkout from 2 to 3 @dependabot (#1409)
- Chore(deps): Bump spotbugs-maven-plugin from 4.5.3.0 to 4.6.0.0 @dependabot (#1408)
- chore: update CI matrix and configuration @bitwiseman (#1399)
- chore: Add JAPICmp to build @bitwiseman (#1398)
v1.303 π
v1.302 π
Changes
- add org filter to repository search @jetersen (#1355)
- Fix installation payload handling @gsmet (#1371)
- Add GitHub#getRepository validation @T45K (#1353)
- Fix Issue #1343 - Updated POM File to amend manifest @EasyG0ing1 (#1346)
- Add the node_id to the Discussion Category payload @gsmet (#1335)
- Implement getChanges() for GHEventPayload.GHIssueComment and GHEventPayload.PullRequestReviewComment @willtsai (#1322)
Dependencies
- Chore(deps-dev): Bump gson from 2.8.9 to 2.9.0 @dependabot (#1391)
- Chore(deps): Bump maven-compiler-plugin from 3.9.0 to 3.10.0 @dependabot (#1389)
- Chore(deps): Bump maven-javadoc-plugin from 3.3.1 to 3.3.2 @dependabot (#1388)
- Chore(deps-dev): Bump slf4j-simple from 1.7.35 to 1.7.36 @dependabot (#1387)
- Chore(deps): Bump nexus-staging-maven-plugin from 1.6.8 to 1.6.12 @dependabot (#1390)
- Chore(deps): Bump maven-site-plugin from 3.10.0 to 3.11.0 @dependabot (#1385)
- Chore(deps): Bump animal-sniffer-maven-plugin from 1.20 to 1.21 @dependabot (#1384)
- Chore(deps): Bump spotless-maven-plugin from 2.20.0 to 2.21.0 @dependabot (#1383)
- Chore(deps): Bump maven-project-info-reports-plugin from 3.1.2 to 3.2.2 @dependabot (#1382)
- Chore(deps-dev): Bump archunit from 0.22.0 to 0.23.1 @dependabot (#1381)
- Chore(deps): Bump maven-scm-provider-gitexe from 1.12.0 to 1.12.2 @dependabot (#1360)
- Chore(deps-dev): Bump slf4j-simple from 1.7.32 to 1.7.35 @dependabot (#1367)
- Chore(deps): Bump maven-compiler-plugin from 3.8.1 to 3.9.0 @dependabot (#1366)
- Chore(deps): Bump bridge-method-annotation from 1.22 to 1.23 @dependabot (#1368)
- Chore(deps): Bump spotbugs-maven-plugin from 4.5.0.0 to 4.5.3.0 @dependabot (#1369)
- Chore(deps): Bump maven-scm-manager-plexus from 1.12.0 to 1.12.2 @dependabot (#1364)
- Chore(deps): Bump spotless-maven-plugin from 2.18.0 to 2.20.0 @dependabot (#1365)
- Chore(deps): Bump maven-jar-plugin from 3.2.0 to 3.2.2 @dependabot (#1363)
- Chore(deps-dev): Bump mockito-core from 4.1.0 to 4.3.1 @dependabot (#1359)
- Chore(deps): Bump spotbugs.version from 4.5.0 to 4.5.3 @dependabot (#1362)
- Chore(deps): Bump bridge-method-injector from 1.22 to 1.23 @dependabot (#1361)
- Chore(deps): Bump jackson-databind from 2.13.0 to 2.13.1 @dependabot (#1352)
- Chore(deps-dev): Bump mockito-core from 4.1.0 to 4.2.0 @dependabot (#1351)
- Chore(deps): Bump maven-site-plugin from 3.9.1 to 3.10.0 @dependabot (#1349)
- Chore(deps): Bump spotless-maven-plugin from 2.17.6 to 2.18.0 @dependabot (#1350)
- Chore(deps): Bump spotless-maven-plugin from 2.17.3 to 2.17.6 @dependabot (#1338)
- Chore(deps-dev): Bump wiremock-jre8-standalone from 2.31.0 to 2.32.0 @dependabot (#1336)
- Chore(deps-dev): Bump org.eclipse.jgit from 5.13.0.202109080827-r to 6.0.0.202111291000-r @dependabot (#1332)
- Chore(deps): Bump bridge-method-injector from 1.18 to 1.22 @dependabot (#1334)
- Chore(deps): Bump bridge-method-annotation from 1.21 to 1.22 @dependabot (#1333)
v1.301 π
Changes
- Add support for the Discussion payload @gsmet (#1319)
- Fix for Add WEBHOOK_JOB to GHEvent @katieshin (#1316)
- Fix NullPointerException when a reviewer is deleted (#771) @sahansera (#1318)
- Refactor GHContentSearchBuilder to allow a Fork type @sahansera (#1315)
v1.300 π
π Features
Deprecated all uses of HttpUrlConnection
This release deprecates all classes and interfaces that use HttpUrlConnection
and implements replacements that do not depend on HttpUrlConnection
. Here is a list of the deprecated classes and interfaces and their replacements.
HttpConnector
:GithubConnector
,GithubConnectorRequest
,GithubConnectorResponse
extras.okhttp3.OkHttpConnector
:extras.okhttp3.OkHttpGitHubConnector
AbuseLimitHandler
:GitHubAbuseLimitHandler
RateLimitHandler
:GitHubRateLimitHandler
Multi-release JAR
This release converts the library's JAR file to multi-release format. This means users running different versions of Java may see different behavior. The immediate example of this is HttpClientGitHubConnector
.
HttpClientGitHubConnector
for Java 11+
This release adds support for the Java 11 HttpClient
. Users running the library with Java 11 or greater will have their default connector set to an instance of HttpClientGitHubConnector
. This will remove the need to workaround illegal reflection warnings or errors in more recent version of Java.
Modern GitHubConnector
implementations incompatible with GitHub.getConnector()
Switching to ``OkHttpGitHubConnectoror
HttpClientGitHubConnector` is not completely backward compatible. If either of those connectors are used, `GitHub.getConnector()` will throw an exception. The default connector also implements `HttpConnector` to preserve backward compatibility. These two modern `GitHubConnector` implementers do not, as doing so would defeat the point of having them.
Changes
- Make HttpClientGitHubConnector the default for Java 11+ @bitwiseman (#1314)
- Add support for GitHub event branch_protection_rule @gjabouley-invn (#1301)
- Code cleanup @bitwiseman (#1307)
- Perform CI code coverage in Java 11 @bitwiseman (#1304)
- Add HttpClientGitHubConnector and multirelease jar implementation @bitwiseman (#1300)
- Move coverage to Java 11 @bitwiseman (#1299)
- Deprecate limit handlers using HttpURLConnection @bitwiseman (#1298)
- Swtich from HttpConnector to GitHubConnector @bitwiseman (#1290)
- Set Accept header to reasonable default @bitwiseman (#1289)
- Removed deprecated from javadoc @ReyhanPatria (#1286)
Dependencies
- Chore(deps): Bump spotbugs-maven-plugin from 4.4.2.2 to 4.5.0.0 @dependabot (#1311)
- Chore(deps-dev): Bump mockito-core from 4.0.0 to 4.1.0 @dependabot (#1310)
- Update okhttp to 4.9.2 @bitwiseman (#1281)
- Chore(deps): Bump okio from 2.5.0 to 2.10.0 @dependabot (#1272)
- Chore(deps-dev): Bump gson from 2.8.8 to 2.8.9 @dependabot (#1277)
- Chore(deps-dev): Bump awaitility from 4.1.0 to 4.1.1 @dependabot (#1275)
- Chore(deps): Bump spotless-maven-plugin from 2.15.0 to 2.17.3 @dependabot (#1276)
- Chore(deps): Bump spotbugs.version from 4.4.1 to 4.4.2 @dependabot (#1270)
- Chore(deps): Bump spotbugs-maven-plugin from 4.4.1 to 4.4.2.2 @dependabot (#1271)
- Chore(deps-dev): Bump mockito-core from 3.12.4 to 4.0.0 @dependabot (#1273)
- Chore(deps-dev): Bump archunit from 0.21.0 to 0.22.0 @dependabot (#1274)
v1.135 π
Changes
- Revert "Remove Site CI check" @bitwiseman (#1268)
- Support getting repository from project card @JLLeitschuh (#1260)
- Using TCK Tested JDK builds of OpenJDK @carldea (#1242)
- feat: add auto merge information to pull request @jeskosda (#1247)
- Add repository dispatch event @mxandeco (#1248)
- Chore(deps): Bump spotless-maven-plugin from 2.12.3 to 2.15.0 @dependabot (#1258)
- Chore(deps): Bump maven-scm-provider-gitexe from 1.11.3 to 1.12.0 @dependabot (#1257)
- Chore(deps): Bump jackson-databind from 2.12.5 to 2.13.0 @dependabot (#1253)
- Chore(deps): Bump spotbugs-maven-plugin from 4.3.0 to 4.4.1 @dependabot (#1254)
- Chore(deps): Bump maven-scm-manager-plexus from 1.11.3 to 1.12.0 @dependabot (#1255)
- Chore(deps-dev): Bump wiremock-jre8-standalone from 2.30.1 to 2.31.0 @dependabot (#1256)
- Chore(deps-dev): Bump org.eclipse.jgit from 5.12.0.202106070339-r to 5.13.0.202109080827-r @dependabot (#1250)
- Chore(deps): Bump maven-javadoc-plugin from 3.3.0 to 3.3.1 @dependabot (#1251)
- Chore(deps): Bump spotbugs.version from 4.4.0 to 4.4.1 @dependabot (#1249)
- Chore(deps): Bump codecov/codecov-action from 2.0.3 to 2.1.0 @dependabot (#1252)
- Feature/#1025 @bloslo (#1239)
- Move Malformed URL catching to core @bitwiseman (#1241)
- Added
list-workflow-runs
API @serkan-ozal (#1240) - Add delete webhook via id functionality. @bloslo (#1237)
- Update GHEvent.java @philippebailer (#1233)
- Streamline GitHub root handling @bitwiseman (#1230)
v1.133 π
Changes
- 1209 GHCompare supports per_page and page params @ravingbool (#1214)
- Add support of review_requested event @t0m4uk1991 (#1199)
Dependencies
- Chore(deps): Bump spotbugs.version from 4.2.3 to 4.4.0 @dependabot (#1216)
- Chore(deps): Bump jackson-databind from 2.12.4 to 2.12.5 @dependabot (#1225)
- Chore(deps-dev): Bump archunit from 0.20.1 to 0.21.0 @dependabot (#1226)
- Chore(deps): Bump spotless-maven-plugin from 2.12.2 to 2.12.3 @dependabot (#1224)
- Chore(deps): Bump maven-scm-manager-plexus from 1.11.2 to 1.11.3 @dependabot (#1223)
- Chore(deps-dev): Bump mockito-core from 3.11.2 to 3.12.4 @dependabot (#1222)
- Chore(deps-dev): Bump gson from 2.8.7 to 2.8.8 @dependabot (#1221)
- Chore(deps): Bump maven-scm-provider-gitexe from 1.11.2 to 1.11.3 @dependabot (#1220)
- Chore(deps): Bump codecov/codecov-action from 2.0.2 to 2.0.3 @dependabot (#1219)
- Chore(deps-dev): Bump wiremock-jre8-standalone from 2.29.1 to 2.30.1 @dependabot (#1215)
- Chore(deps-dev): Bump slf4j-simple from 1.7.31 to 1.7.32 @dependabot (#1211)
- Chore(deps): Bump spotless-maven-plugin from 2.11.1 to 2.12.2 @dependabot (#1212)
- Chore(deps): Bump maven-enforcer-plugin from 3.0.0-M3 to 3.0.0 @dependabot (#1213)
- Chore(deps): Bump spotbugs-maven-plugin from 4.2.3 to 4.3.0 @dependabot (#1206)
- Chore(deps): Bump jackson-databind from 2.12.3 to 2.12.4 @dependabot (#1207)
- Chore(deps-dev): Bump archunit from 0.19.0 to 0.20.1 @dependabot (#1205)
- Chore(deps-dev): Bump wiremock-jre8-standalone from 2.29.0 to 2.29.1 @dependabot (#1208)
- Chore(deps): Bump codecov/codecov-action from 1.5.2 to 2.0.2 @dependabot (#1204)
v1.132 π
Changes
- Add ability to search repos by fork and visibility @t0m4uk1991 (#1188)
- Add tests for GHContentUpdatedResponse @bitwiseman (#1190)
- Update javadocs for GHPullRequestFileDetail @t0m4uk1991 (#1189)
- Add getAppInstallations(/user/installations) method on GHMyself @t0m4uk1991 (#1187)
Dependencies
- Chore(deps-dev): Bump slf4j-simple from 1.7.30 to 1.7.31 @dependabot (#1195)
- Chore(deps-dev): Bump org.eclipse.jgit from 5.11.1.202105131744-r to 5.12.0.202106070339-r @dependabot (#1194)
- Chore(deps-dev): Bump wiremock-jre8-standalone from 2.28.0 to 2.29.0 @dependabot (#1192)
- Chore(deps): Bump codecov/codecov-action from 1.5.0 to 1.5.2 @dependabot (#1193)
- Chore(deps-dev): Bump mockito-core from 3.10.0 to 3.11.2 @dependabot (#1196)
v1.131 π
Changes
- Remove @deprecated annotation from Preview and BetaApi elements @bitwiseman (#1184)
- Adds category name for releases @jlengrand (#1180)
- Add list projects method for GHUser @t0m4uk1991 (#1183)
- Chore(deps): Bump maven-gpg-plugin from 1.6 to 3.0.1 @dependabot (#1153)
- Add mapping for from/to fields in issue rename event @t0m4uk1991 (#1175)