Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: 0.1.0-alpha.19 #55

Merged
merged 2 commits into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-alpha.18"
".": "0.1.0-alpha.19"
}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.1.0-alpha.19 (2024-11-01)

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

### Chores

* rebuild project due to codegen change ([#54](https://github.com/OneBusAway/java-sdk/issues/54)) ([d89979d](https://github.com/OneBusAway/java-sdk/commit/d89979d652a3b8100488b21343f6634ec62c769f))

## 0.1.0-alpha.18 (2024-11-01)

Full Changelog: [v0.1.0-alpha.17...v0.1.0-alpha.18](https://github.com/OneBusAway/java-sdk/compare/v0.1.0-alpha.17...v0.1.0-alpha.18)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

[![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.18)
[![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.19)

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

Expand All @@ -27,7 +27,7 @@ The REST API documentation can be found on [developer.onebusaway.org](https://d
<!-- x-release-please-start-version -->

```kotlin
implementation("org.onebusaway:onebusaway-sdk-java:0.1.0-alpha.18")
implementation("org.onebusaway:onebusaway-sdk-java:0.1.0-alpha.19")
```

#### Maven
Expand All @@ -36,7 +36,7 @@ implementation("org.onebusaway:onebusaway-sdk-java:0.1.0-alpha.18")
<dependency>
<groupId>org.onebusaway</groupId>
<artifactId>onebusaway-sdk-java</artifactId>
<version>0.1.0-alpha.18</version>
<version>0.1.0-alpha.19</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {

allprojects {
group = "org.onebusaway"
version = "0.1.0-alpha.18" // x-release-please-version
version = "0.1.0-alpha.19" // x-release-please-version
}


Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,24 @@ class OnebusawaySdkOkHttpClient private constructor() {

fun removeHeader(name: String) = apply { clientOptions.removeHeader(name) }

fun queryParams(queryParams: Map<String, Iterable<String>>) = apply {
clientOptions.queryParams(queryParams)
}

fun putQueryParam(key: String, value: String) = apply {
clientOptions.putQueryParam(key, value)
}

fun putQueryParams(key: String, values: Iterable<String>) = apply {
clientOptions.putQueryParams(key, values)
}

fun putAllQueryParams(queryParams: Map<String, Iterable<String>>) = apply {
clientOptions.putAllQueryParams(queryParams)
}

fun removeQueryParam(key: String) = apply { clientOptions.removeQueryParam(key) }

fun timeout(timeout: Duration) = apply { this.timeout = timeout }

fun maxRetries(maxRetries: Int) = apply { clientOptions.maxRetries(maxRetries) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,24 @@ class OnebusawaySdkOkHttpClientAsync private constructor() {

fun removeHeader(name: String) = apply { clientOptions.removeHeader(name) }

fun queryParams(queryParams: Map<String, Iterable<String>>) = apply {
clientOptions.queryParams(queryParams)
}

fun putQueryParam(key: String, value: String) = apply {
clientOptions.putQueryParam(key, value)
}

fun putQueryParams(key: String, values: Iterable<String>) = apply {
clientOptions.putQueryParams(key, values)
}

fun putAllQueryParams(queryParams: Map<String, Iterable<String>>) = apply {
clientOptions.putAllQueryParams(queryParams)
}

fun removeQueryParam(key: String) = apply { clientOptions.removeQueryParam(key) }

fun timeout(timeout: Duration) = apply { this.timeout = timeout }

fun maxRetries(maxRetries: Int) = apply { clientOptions.maxRetries(maxRetries) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,17 +90,17 @@ private constructor(
putAllQueryParams(queryParams)
}

fun putQueryParam(name: String, value: String) = apply { queryParams.put(name, value) }
fun putQueryParam(key: String, value: String) = apply { queryParams.put(key, value) }

fun putQueryParams(name: String, values: Iterable<String>) = apply {
queryParams.putAll(name, values)
fun putQueryParams(key: String, values: Iterable<String>) = apply {
queryParams.putAll(key, values)
}

fun putAllQueryParams(queryParams: Map<String, Iterable<String>>) = apply {
queryParams.forEach(::putQueryParams)
}

fun removeQueryParam(name: String) = apply { queryParams.removeAll(name) }
fun removeQueryParam(key: String) = apply { queryParams.removeAll(key) }

fun responseValidation(responseValidation: Boolean) = apply {
this.responseValidation = responseValidation
Expand Down
Loading