Skip to content

Releases: hub4j/github-api

v1.303 🌈

05 Mar 20:51
Compare
Choose a tag to compare

Changes

v1.302 🌈

02 Mar 02:12
Compare
Choose a tag to compare

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 🌈

24 Nov 02:31
Compare
Choose a tag to compare

Changes

v1.300 🌈

22 Nov 00:59
Compare
Choose a tag to compare

πŸš€ 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 ``OkHttpGitHubConnectororHttpClientGitHubConnector` 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

Dependencies

v1.135 🌈

21 Oct 15:43
Compare
Choose a tag to compare

Changes

v1.133 🌈

09 Sep 03:28
Compare
Choose a tag to compare

Changes

Dependencies

v1.132 🌈

22 Jul 19:36
Compare
Choose a tag to compare

Changes

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 🌈

15 Jun 20:26
Compare
Choose a tag to compare

Changes

v1.130 🌈

02 Jun 21:26
Compare
Choose a tag to compare

Overview

This release reverts #1083, returning to using reflection if needed to support PATCH HTTP methods. While most endpoints supported the fix, some did not. This resulted in confusing errors which were hard to diagnose. Thanks to @gsmet and @hcoles for finding and debugging this problem.

Changes

Dependencies

Test Dependencies

  • Chore(deps-dev): Bump org.eclipse.jgit from 5.11.0.202103091610-r to 5.11.1.202105131744-r @dependabot (#1163)
  • Chore(deps-dev): Bump gson from 2.8.6 to 2.8.7 @dependabot (#1168)
  • Chore(deps-dev): Bump archunit from 0.18.0 to 0.19.0 @dependabot (#1170)
  • Chore(deps-dev): Bump awaitility from 4.0.3 to 4.1.0 @dependabot (#1165)
  • Chore(deps-dev): Bump wiremock-jre8-standalone from 2.27.2 to 2.28.0 @dependabot (#1161)
  • Chore(deps-dev): Bump mockito-core from 3.9.0 to 3.10.0 @dependabot (#1149)

v1.129 🌈

24 May 12:09
Compare
Choose a tag to compare

Changes