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.
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
Make HttpClientGitHubConnector the default for Java 11+ @​bitwiseman (#1314)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github-api from 1.131 to 1.301.
Release notes
Sourced from github-api's releases.
... (truncated)
Commits
f9f1f3f
[maven-release-plugin] prepare release github-api-1.301f47c3e4
Merge pull request #1319 from gsmet/discussion-payload82cccc7
Add support for the Discussion payload48fe488
Fix for Add WEBHOOK_JOB to GHEvent (#1316)a63306d
Merge pull request #1318 from sahansera/deleted-user-scenarios614ffcc
Add a new test to improve coverage6953e2d
Add Wiremock files for checkNonExistentAuthor testada9b49
Add Wiremock snapshot files for checkNonExistentReviewere54d410
Merge branch 'main' into deleted-user-scenarios7df326e
Merge pull request #1315 from sahansera/refactor-search-forksDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)