Skip to content

v2.0-rc.2 🌈

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Apr 18:12
· 9 commits to refs/heads/main since this release

Breaking changes since 2.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.

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

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)