Download Latest Version v2.0-rc.3 source code.tar.gz (6.3 MB)
Email in envelope

Get an email when there's a new version of Java API for GitHub

Home / github-api-2.0-rc.2
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-04-12 2.0 kB
v2.0-rc.2 source code.tar.gz 2025-04-12 6.3 MB
v2.0-rc.2 source code.zip 2025-04-12 12.8 MB
Totals: 3 Items   19.1 MB 0

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)
Source: README.md, updated 2025-04-12