Skip to content

Commit 845d8e5

Browse files
authored
Merge pull request #21 from brand-dot-dev/release-please--branches--main--changes--next
release: 0.1.0-alpha.19
2 parents 495c162 + addf2c4 commit 845d8e5

16 files changed

Lines changed: 7749 additions & 14 deletions

File tree

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.1.0-alpha.18"
2+
".": "0.1.0-alpha.19"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 11
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-6620330945de41f1c453692af40842f08fe1fd281ff6ba4e79d447c941ebd783.yml
3-
openapi_spec_hash: 861a43669d27d942d4bd3e36a398e95b
4-
config_hash: 083e432ea397a9018371145493400188
1+
configured_endpoints: 12
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-070cac50467cd07e8601e948fc97e3c82ea0630d6a0b0f24164335e396893e6a.yml
3+
openapi_spec_hash: b887bcfe688f72b3a34ee24246d12955
4+
config_hash: 86160e220c81f47769a71c9343e486d8

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## 0.1.0-alpha.19 (2025-11-19)
4+
5+
Full Changelog: [v0.1.0-alpha.18...v0.1.0-alpha.19](https://github.com/brand-dot-dev/java-sdk/compare/v0.1.0-alpha.18...v0.1.0-alpha.19)
6+
7+
### Features
8+
9+
* **api:** manual updates ([da5077e](https://github.com/brand-dot-dev/java-sdk/commit/da5077e0784c0e0e91775bc150371d8666a4d6cc))
10+
11+
12+
### Bug Fixes
13+
14+
* **client:** multi-value header serialization ([6633a4b](https://github.com/brand-dot-dev/java-sdk/commit/6633a4bb4962afabe2db4a7e968561fcd3495635))
15+
316
## 0.1.0-alpha.18 (2025-10-31)
417

518
Full Changelog: [v0.1.0-alpha.17...v0.1.0-alpha.18](https://github.com/brand-dot-dev/java-sdk/compare/v0.1.0-alpha.17...v0.1.0-alpha.18)

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

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

5-
[![Maven Central](https://img.shields.io/maven-central/v/com.branddev.api/brand-dev-java)](https://central.sonatype.com/artifact/com.branddev.api/brand-dev-java/0.1.0-alpha.18)
6-
[![javadoc](https://javadoc.io/badge2/com.branddev.api/brand-dev-java/0.1.0-alpha.18/javadoc.svg)](https://javadoc.io/doc/com.branddev.api/brand-dev-java/0.1.0-alpha.18)
5+
[![Maven Central](https://img.shields.io/maven-central/v/com.branddev.api/brand-dev-java)](https://central.sonatype.com/artifact/com.branddev.api/brand-dev-java/0.1.0-alpha.19)
6+
[![javadoc](https://javadoc.io/badge2/com.branddev.api/brand-dev-java/0.1.0-alpha.19/javadoc.svg)](https://javadoc.io/doc/com.branddev.api/brand-dev-java/0.1.0-alpha.19)
77

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

@@ -13,7 +13,7 @@ It is generated with [Stainless](https://www.stainless.com/).
1313

1414
<!-- x-release-please-start-version -->
1515

16-
The REST API documentation can be found on [docs.brand.dev](https://docs.brand.dev/). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.branddev.api/brand-dev-java/0.1.0-alpha.18).
16+
The REST API documentation can be found on [docs.brand.dev](https://docs.brand.dev/). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.branddev.api/brand-dev-java/0.1.0-alpha.19).
1717

1818
<!-- x-release-please-end -->
1919

@@ -24,7 +24,7 @@ The REST API documentation can be found on [docs.brand.dev](https://docs.brand.d
2424
### Gradle
2525

2626
```kotlin
27-
implementation("com.branddev.api:brand-dev-java:0.1.0-alpha.18")
27+
implementation("com.branddev.api:brand-dev-java:0.1.0-alpha.19")
2828
```
2929

3030
### Maven
@@ -33,7 +33,7 @@ implementation("com.branddev.api:brand-dev-java:0.1.0-alpha.18")
3333
<dependency>
3434
<groupId>com.branddev.api</groupId>
3535
<artifactId>brand-dev-java</artifactId>
36-
<version>0.1.0-alpha.18</version>
36+
<version>0.1.0-alpha.19</version>
3737
</dependency>
3838
```
3939

brand-dev-java-client-okhttp/src/main/kotlin/com/branddev/api/client/okhttp/OkHttpClient.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,19 +109,19 @@ class OkHttpClient private constructor(private val okHttpClient: okhttp3.OkHttpC
109109

110110
val builder = Request.Builder().url(toUrl()).method(method.name, body)
111111
headers.names().forEach { name ->
112-
headers.values(name).forEach { builder.header(name, it) }
112+
headers.values(name).forEach { builder.addHeader(name, it) }
113113
}
114114

115115
if (
116116
!headers.names().contains("X-Stainless-Read-Timeout") && client.readTimeoutMillis != 0
117117
) {
118-
builder.header(
118+
builder.addHeader(
119119
"X-Stainless-Read-Timeout",
120120
Duration.ofMillis(client.readTimeoutMillis.toLong()).seconds.toString(),
121121
)
122122
}
123123
if (!headers.names().contains("X-Stainless-Timeout") && client.callTimeoutMillis != 0) {
124-
builder.header(
124+
builder.addHeader(
125125
"X-Stainless-Timeout",
126126
Duration.ofMillis(client.callTimeoutMillis.toLong()).seconds.toString(),
127127
)

0 commit comments

Comments
 (0)