Skip to content

v2.0-rc.6 🌈

Latest

Choose a tag to compare

@bitwiseman bitwiseman released this 10 Apr 08:31
· 12 commits to main since this release

Highlights

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

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

Full Changelog: github-api-2.0-rc.5...github-api-2.0-rc.6