Skip to content

Commit 3930d0f

Browse files
Merge pull request #98 from OneBusAway/release-please--branches--main--changes--next
release: 0.1.0-alpha.42
2 parents 458e10c + 9f9a9a8 commit 3930d0f

File tree

5 files changed

+18
-10
lines changed

5 files changed

+18
-10
lines changed

.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.41"
2+
".": "0.1.0-alpha.42"
33
}

CHANGELOG.md

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

3+
## 0.1.0-alpha.42 (2025-11-14)
4+
5+
Full Changelog: [v0.1.0-alpha.41...v0.1.0-alpha.42](https://github.com/OneBusAway/java-sdk/compare/v0.1.0-alpha.41...v0.1.0-alpha.42)
6+
7+
### Bug Fixes
8+
9+
* **client:** multi-value header serialization ([01b57d3](https://github.com/OneBusAway/java-sdk/commit/01b57d3a01c2c628b5559e020bc1b85583d7495c))
10+
311
## 0.1.0-alpha.41 (2025-09-26)
412

513
Full Changelog: [v0.1.0-alpha.40...v0.1.0-alpha.41](https://github.com/OneBusAway/java-sdk/compare/v0.1.0-alpha.40...v0.1.0-alpha.41)

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/org.onebusaway/onebusaway-sdk-java)](https://central.sonatype.com/artifact/org.onebusaway/onebusaway-sdk-java/0.1.0-alpha.41)
6-
[![javadoc](https://javadoc.io/badge2/org.onebusaway/onebusaway-sdk-java/0.1.0-alpha.41/javadoc.svg)](https://javadoc.io/doc/org.onebusaway/onebusaway-sdk-java/0.1.0-alpha.41)
5+
[![Maven Central](https://img.shields.io/maven-central/v/org.onebusaway/onebusaway-sdk-java)](https://central.sonatype.com/artifact/org.onebusaway/onebusaway-sdk-java/0.1.0-alpha.42)
6+
[![javadoc](https://javadoc.io/badge2/org.onebusaway/onebusaway-sdk-java/0.1.0-alpha.42/javadoc.svg)](https://javadoc.io/doc/org.onebusaway/onebusaway-sdk-java/0.1.0-alpha.42)
77

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

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

1616
<!-- x-release-please-start-version -->
1717

18-
The REST API documentation can be found on [developer.onebusaway.org](https://developer.onebusaway.org). Javadocs are available on [javadoc.io](https://javadoc.io/doc/org.onebusaway/onebusaway-sdk-java/0.1.0-alpha.41).
18+
The REST API documentation can be found on [developer.onebusaway.org](https://developer.onebusaway.org). Javadocs are available on [javadoc.io](https://javadoc.io/doc/org.onebusaway/onebusaway-sdk-java/0.1.0-alpha.42).
1919

2020
<!-- x-release-please-end -->
2121

@@ -26,7 +26,7 @@ The REST API documentation can be found on [developer.onebusaway.org](https://de
2626
### Gradle
2727

2828
```kotlin
29-
implementation("org.onebusaway:onebusaway-sdk-java:0.1.0-alpha.41")
29+
implementation("org.onebusaway:onebusaway-sdk-java:0.1.0-alpha.42")
3030
```
3131

3232
### Maven
@@ -35,7 +35,7 @@ implementation("org.onebusaway:onebusaway-sdk-java:0.1.0-alpha.41")
3535
<dependency>
3636
<groupId>org.onebusaway</groupId>
3737
<artifactId>onebusaway-sdk-java</artifactId>
38-
<version>0.1.0-alpha.41</version>
38+
<version>0.1.0-alpha.42</version>
3939
</dependency>
4040
```
4141

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repositories {
88

99
allprojects {
1010
group = "org.onebusaway"
11-
version = "0.1.0-alpha.41" // x-release-please-version
11+
version = "0.1.0-alpha.42" // x-release-please-version
1212
}
1313

1414
subprojects {

onebusaway-sdk-java-client-okhttp/src/main/kotlin/org/onebusaway/client/okhttp/OkHttpClient.kt

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

112112
val builder = Request.Builder().url(toUrl()).method(method.name, body)
113113
headers.names().forEach { name ->
114-
headers.values(name).forEach { builder.header(name, it) }
114+
headers.values(name).forEach { builder.addHeader(name, it) }
115115
}
116116

117117
if (
118118
!headers.names().contains("X-Stainless-Read-Timeout") && client.readTimeoutMillis != 0
119119
) {
120-
builder.header(
120+
builder.addHeader(
121121
"X-Stainless-Read-Timeout",
122122
Duration.ofMillis(client.readTimeoutMillis.toLong()).seconds.toString(),
123123
)
124124
}
125125
if (!headers.names().contains("X-Stainless-Timeout") && client.callTimeoutMillis != 0) {
126-
builder.header(
126+
builder.addHeader(
127127
"X-Stainless-Timeout",
128128
Duration.ofMillis(client.callTimeoutMillis.toLong()).seconds.toString(),
129129
)

0 commit comments

Comments
 (0)