Skip to content

Commit 412d7eb

Browse files
release: 1.1.1 (#430)
* chore(internal): expand CI branch coverage (#429) * fix(client): bump to better jackson version (#432) * release: 1.1.1 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent b8fe68a commit 412d7eb

File tree

7 files changed

+37
-21
lines changed

7 files changed

+37
-21
lines changed

Diff for: .github/workflows/ci.yml

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
name: CI
22
on:
33
push:
4-
branches:
5-
- main
6-
pull_request:
7-
branches:
8-
- main
9-
- next
4+
branches-ignore:
5+
- 'generated'
6+
- 'codegen/**'
7+
- 'integrated/**'
8+
- 'preview-head/**'
9+
- 'preview-base/**'
10+
- 'preview/**'
1011

1112
jobs:
1213
lint:
1314
name: lint
1415
runs-on: ubuntu-latest
15-
1616

1717
steps:
1818
- uses: actions/checkout@v4
@@ -34,7 +34,6 @@ jobs:
3434
test:
3535
name: test
3636
runs-on: ubuntu-latest
37-
3837
steps:
3938
- uses: actions/checkout@v4
4039

Diff for: .release-please-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.1.0"
2+
".": "1.1.1"
33
}

Diff for: CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## 1.1.1 (2025-04-09)
4+
5+
Full Changelog: [v1.1.0...v1.1.1](https://github.com/openai/openai-java/compare/v1.1.0...v1.1.1)
6+
7+
### Bug Fixes
8+
9+
* **client:** bump to better jackson version ([#432](https://github.com/openai/openai-java/issues/432)) ([b4ec1d1](https://github.com/openai/openai-java/commit/b4ec1d17e9cace4971d330b945925a299a04aa38))
10+
11+
12+
### Chores
13+
14+
* **internal:** expand CI branch coverage ([#429](https://github.com/openai/openai-java/issues/429)) ([7ecece7](https://github.com/openai/openai-java/commit/7ecece7d4cd6ed495ca4fd2daa1f7d726954695a))
15+
316
## 1.1.0 (2025-04-09)
417

518
Full Changelog: [v1.0.0...v1.1.0](https://github.com/openai/openai-java/compare/v1.0.0...v1.1.0)

Diff for: README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
<!-- x-release-please-start-version -->
44

5-
[![Maven Central](https://img.shields.io/maven-central/v/com.openai/openai-java)](https://central.sonatype.com/artifact/com.openai/openai-java/1.1.0)
6-
[![javadoc](https://javadoc.io/badge2/com.openai/openai-java/1.1.0/javadoc.svg)](https://javadoc.io/doc/com.openai/openai-java/1.1.0)
5+
[![Maven Central](https://img.shields.io/maven-central/v/com.openai/openai-java)](https://central.sonatype.com/artifact/com.openai/openai-java/1.1.1)
6+
[![javadoc](https://javadoc.io/badge2/com.openai/openai-java/1.1.1/javadoc.svg)](https://javadoc.io/doc/com.openai/openai-java/1.1.1)
77

88
<!-- x-release-please-end -->
99

1010
The OpenAI Java SDK provides convenient access to the [OpenAI REST API](https://platform.openai.com/docs) from applications written in Java.
1111

1212
<!-- x-release-please-start-version -->
1313

14-
The REST API documentation can be found on [platform.openai.com](https://platform.openai.com/docs). Javadocs are also available on [javadoc.io](https://javadoc.io/doc/com.openai/openai-java/1.1.0).
14+
The REST API documentation can be found on [platform.openai.com](https://platform.openai.com/docs). Javadocs are also available on [javadoc.io](https://javadoc.io/doc/com.openai/openai-java/1.1.1).
1515

1616
<!-- x-release-please-end -->
1717

@@ -22,7 +22,7 @@ The REST API documentation can be found on [platform.openai.com](https://platfor
2222
### Gradle
2323

2424
```kotlin
25-
implementation("com.openai:openai-java:1.1.0")
25+
implementation("com.openai:openai-java:1.1.1")
2626
```
2727

2828
### Maven
@@ -31,7 +31,7 @@ implementation("com.openai:openai-java:1.1.0")
3131
<dependency>
3232
<groupId>com.openai</groupId>
3333
<artifactId>openai-java</artifactId>
34-
<version>1.1.0</version>
34+
<version>1.1.1</version>
3535
</dependency>
3636
```
3737

Diff for: build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repositories {
88

99
allprojects {
1010
group = "com.openai"
11-
version = "1.1.0" // x-release-please-version
11+
version = "1.1.1" // x-release-please-version
1212
}
1313

1414
subprojects {

Diff for: openai-java-core/build.gradle.kts

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ configurations.all {
1717
}
1818

1919
dependencies {
20-
api("com.fasterxml.jackson.core:jackson-core:2.18.1")
21-
api("com.fasterxml.jackson.core:jackson-databind:2.18.1")
20+
api("com.fasterxml.jackson.core:jackson-core:2.18.2")
21+
api("com.fasterxml.jackson.core:jackson-databind:2.18.2")
2222
api("com.google.errorprone:error_prone_annotations:2.33.0")
2323

24-
implementation("com.fasterxml.jackson.core:jackson-annotations:2.18.1")
25-
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.18.1")
26-
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.18.1")
27-
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.18.1")
24+
implementation("com.fasterxml.jackson.core:jackson-annotations:2.18.2")
25+
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.18.2")
26+
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.18.2")
27+
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.18.2")
2828
implementation("org.apache.httpcomponents.core5:httpcore5:5.2.4")
2929
implementation("org.apache.httpcomponents.client5:httpclient5:5.3.1")
3030

Diff for: openai-java-core/src/main/kotlin/com/openai/core/Check.kt

+4
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ internal fun checkMaxLength(name: String, value: String, maxLength: Int): String
4747
internal fun checkJacksonVersionCompatibility() {
4848
val incompatibleJacksonVersions =
4949
RUNTIME_JACKSON_VERSIONS.mapNotNull {
50+
val badVersionReason = BAD_JACKSON_VERSIONS[it.toString()]
5051
when {
5152
it.majorVersion != MINIMUM_JACKSON_VERSION.majorVersion ->
5253
it to "incompatible major version"
@@ -55,6 +56,7 @@ internal fun checkJacksonVersionCompatibility() {
5556
it.minorVersion == MINIMUM_JACKSON_VERSION.minorVersion &&
5657
it.patchLevel < MINIMUM_JACKSON_VERSION.patchLevel ->
5758
it to "patch version too low"
59+
badVersionReason != null -> it to badVersionReason
5860
else -> null
5961
}
6062
}
@@ -77,6 +79,8 @@ Double-check that you are depending on compatible Jackson versions.
7779
}
7880

7981
private val MINIMUM_JACKSON_VERSION: Version = VersionUtil.parseVersion("2.13.4", null, null)
82+
private val BAD_JACKSON_VERSIONS: Map<String, String> =
83+
mapOf("2.18.1" to "due to https://github.com/FasterXML/jackson-databind/issues/4639")
8084
private val RUNTIME_JACKSON_VERSIONS: List<Version> =
8185
listOf(
8286
com.fasterxml.jackson.core.json.PackageVersion.VERSION,

0 commit comments

Comments
 (0)