ChatGPT Java SDK。支持 GPT-4o、 GPT4 API。开箱即用。An unofficial Java SDK for seamless integration with ChatGPT's GPT-3.5 and GPT-4 APIs. Ready-to-use, simple setup, and efficient for building AI-powered applications.
This release upgrades OkHttp to Kotlin. We tried our best to make fast and safe to upgrade
from OkHttp 3.x. We wrote an [upgrade guide][upgrading_to_okhttp_4] to help with the migration and a
[blog post][okhttp4_blog_post] to explain it.
Fix: Target Java 8 bytecode for Java and Kotlin.
Version 4.0.0-RC3
2019-06-24
Fix: Retain binary-compatibility in okhttp3.internal.HttpMethod. Naughty third party SDKs
import this and we want to ease upgrades for their users.
Version 4.0.0-RC2
2019-06-21
New: Require Kotlin 1.3.40.
New: Change the Kotlin API from File.toRequestBody() to File.asRequestBody() and
BufferedSource.toResponseBody() to BufferedSource.asResponseBody(). If the returned value
is a view of what created it, we use as.
Fix: Permit response codes of zero for compatibility with OkHttp 3.x.
Fix: Change the return type of MockWebServer.takeRequest() to be nullable.
Fix: Make Call.clone() public to Kotlin callers.
Version 4.0.0-RC1
2019-06-03
First stable preview of OkHttp 4.
Version 3.14.2
2019-05-19
Fix: Lock in a route when recovering from an HTTP/2 connection error. We had a bug where two
calls that failed at the same time could cause OkHttp to crash with a NoSuchElementException
instead of the expected IOException.
Fix: Don't crash with a NullPointerException when formatting an error message describing a
truncated response from an HTTPS proxy.
Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions |
| --- | --- |
| com.squareup.okhttp3:okhttp-sse | [>= 4.a, < 5] |
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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 com.squareup.okhttp3:okhttp-sse from 3.14.9 to 4.0.0.
Changelog
Sourced from com.squareup.okhttp3:okhttp-sse's changelog.
... (truncated)
Commits
911c5bf
Prepare for release 4.0.0.fafcf4b
Merge pull request #5242 from yschimke/prefer_jdk11c88f9a9
Prefer JDK 11 for testsb7e6f4f
Fix conscrypt tests (#5241)d81ec0f
OkHttpClientTestRule check connectionCount instead of idle (#5226)d1b99e6
Merge pull request #5239 from square/jakew/eleven/2019-06-2524c0575
Merge pull request #5238 from square/jakew/eight/2019-06-254607fe8
Run error-prone on JDK 110bdd679
Target Java 8 bytecode for Java and Kotlin3217919
Allow nullable on Util.close (#5224)Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions | | --- | --- | | com.squareup.okhttp3:okhttp-sse | [>= 4.a, < 5] |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 show