diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 3aac699..c152c54 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -17,6 +17,7 @@ jobs:
timeout-minutes: 10
name: lint
runs-on: ${{ github.repository == 'stainless-sdks/brand.dev-java' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
+ if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v4
@@ -39,6 +40,7 @@ jobs:
timeout-minutes: 10
name: test
runs-on: ${{ github.repository == 'stainless-sdks/brand.dev-java' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
+ if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v4
diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index e8285b7..4f9005e 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.1.0-alpha.5"
+ ".": "0.1.0-alpha.6"
}
\ No newline at end of file
diff --git a/.stats.yml b/.stats.yml
index 1fa2e23..b3fbada 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 10
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-7fc7261db520645d5bd06a27492b32aa869d787c382908bb4a608034b757348b.yml
-openapi_spec_hash: 8a9e05fe1ca53f6d8c11ddee625a8908
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-aff48154fa37f0eb293cf660842ceab35c597509aee08f6b76df066828229c58.yml
+openapi_spec_hash: a8ade5d7246da14e2ff161e829d11c12
config_hash: 8f3ee44d690a305369555016a77ed016
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0c1305b..1fc6396 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,24 @@
# Changelog
+## 0.1.0-alpha.6 (2025-06-29)
+
+Full Changelog: [v0.1.0-alpha.5...v0.1.0-alpha.6](https://github.com/brand-dot-dev/java-sdk/compare/v0.1.0-alpha.5...v0.1.0-alpha.6)
+
+### Features
+
+* **api:** manual updates ([de03eb6](https://github.com/brand-dot-dev/java-sdk/commit/de03eb6b3dd9142a05876e6e41ed82bcdb291fa7))
+
+
+### Bug Fixes
+
+* **ci:** release-doctor — report correct token name ([154c6d8](https://github.com/brand-dot-dev/java-sdk/commit/154c6d888396e0ecf60427616c6d8e0f5780c23e))
+* **client:** bump max requests per host to max requests (5 -> 64) ([c28b4f2](https://github.com/brand-dot-dev/java-sdk/commit/c28b4f2d66f7218e84167a1bbe1fa9fe453e5b25))
+
+
+### Chores
+
+* **ci:** only run for pushes and fork pull requests ([5d874d7](https://github.com/brand-dot-dev/java-sdk/commit/5d874d78212fa1d5b489cffad18401397c1f6261))
+
## 0.1.0-alpha.5 (2025-06-19)
Full Changelog: [v0.1.0-alpha.4...v0.1.0-alpha.5](https://github.com/brand-dot-dev/java-sdk/compare/v0.1.0-alpha.4...v0.1.0-alpha.5)
diff --git a/README.md b/README.md
index fcca56e..79d8a0b 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-[](https://central.sonatype.com/artifact/com.branddev.api/brand-dev-java/0.1.0-alpha.5)
-[](https://javadoc.io/doc/com.branddev.api/brand-dev-java/0.1.0-alpha.5)
+[](https://central.sonatype.com/artifact/com.branddev.api/brand-dev-java/0.1.0-alpha.6)
+[](https://javadoc.io/doc/com.branddev.api/brand-dev-java/0.1.0-alpha.6)
@@ -13,7 +13,7 @@ It is generated with [Stainless](https://www.stainless.com/).
-Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.branddev.api/brand-dev-java/0.1.0-alpha.5).
+Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.branddev.api/brand-dev-java/0.1.0-alpha.6).
@@ -24,7 +24,7 @@ Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.branddev.api/b
### Gradle
```kotlin
-implementation("com.branddev.api:brand-dev-java:0.1.0-alpha.5")
+implementation("com.branddev.api:brand-dev-java:0.1.0-alpha.6")
```
### Maven
@@ -33,7 +33,7 @@ implementation("com.branddev.api:brand-dev-java:0.1.0-alpha.5")
com.branddev.api
brand-dev-java
- 0.1.0-alpha.5
+ 0.1.0-alpha.6
```
diff --git a/bin/check-release-environment b/bin/check-release-environment
index 8b94b05..3a6a7b4 100644
--- a/bin/check-release-environment
+++ b/bin/check-release-environment
@@ -3,19 +3,19 @@
errors=()
if [ -z "${SONATYPE_USERNAME}" ]; then
- errors+=("The BRAND_DEV_SONATYPE_USERNAME secret has not been set. Please set it in either this repository's secrets or your organization secrets")
+ errors+=("The SONATYPE_USERNAME secret has not been set. Please set it in either this repository's secrets or your organization secrets")
fi
if [ -z "${SONATYPE_PASSWORD}" ]; then
- errors+=("The BRAND_DEV_SONATYPE_PASSWORD secret has not been set. Please set it in either this repository's secrets or your organization secrets")
+ errors+=("The SONATYPE_PASSWORD secret has not been set. Please set it in either this repository's secrets or your organization secrets")
fi
if [ -z "${GPG_SIGNING_KEY}" ]; then
- errors+=("The BRAND_DEV_SONATYPE_GPG_SIGNING_KEY secret has not been set. Please set it in either this repository's secrets or your organization secrets")
+ errors+=("The GPG_SIGNING_KEY secret has not been set. Please set it in either this repository's secrets or your organization secrets")
fi
if [ -z "${GPG_SIGNING_PASSWORD}" ]; then
- errors+=("The BRAND_DEV_SONATYPE_GPG_SIGNING_PASSWORD secret has not been set. Please set it in either this repository's secrets or your organization secrets")
+ errors+=("The GPG_SIGNING_PASSWORD secret has not been set. Please set it in either this repository's secrets or your organization secrets")
fi
lenErrors=${#errors[@]}
diff --git a/brand-dev-java-client-okhttp/src/main/kotlin/com/branddev/api/client/okhttp/OkHttpClient.kt b/brand-dev-java-client-okhttp/src/main/kotlin/com/branddev/api/client/okhttp/OkHttpClient.kt
index e6cd706..cf36c66 100644
--- a/brand-dev-java-client-okhttp/src/main/kotlin/com/branddev/api/client/okhttp/OkHttpClient.kt
+++ b/brand-dev-java-client-okhttp/src/main/kotlin/com/branddev/api/client/okhttp/OkHttpClient.kt
@@ -205,6 +205,11 @@ class OkHttpClient private constructor(private val okHttpClient: okhttp3.OkHttpC
.callTimeout(timeout.request())
.proxy(proxy)
.build()
+ .apply {
+ // We usually make all our requests to the same host so it makes sense to
+ // raise the per-host limit to the overall limit.
+ dispatcher.maxRequestsPerHost = dispatcher.maxRequests
+ }
)
}
}
diff --git a/brand-dev-java-core/src/main/kotlin/com/branddev/api/models/brand/BrandRetrieveResponse.kt b/brand-dev-java-core/src/main/kotlin/com/branddev/api/models/brand/BrandRetrieveResponse.kt
index 87bb17b..e384ca9 100644
--- a/brand-dev-java-core/src/main/kotlin/com/branddev/api/models/brand/BrandRetrieveResponse.kt
+++ b/brand-dev-java-core/src/main/kotlin/com/branddev/api/models/brand/BrandRetrieveResponse.kt
@@ -299,7 +299,8 @@ private constructor(
fun domain(): Optional = domain.getOptional("domain")
/**
- * An array of fonts used by the brand's website
+ * An array of fonts used by the brand's website. NOTE: This is deprecated and will be
+ * removed in the future. Please migrate to the styleguide API.
*
* @throws BrandDevInvalidDataException if the JSON field has an unexpected type (e.g. if
* the server responded with an unexpected value).
@@ -567,7 +568,10 @@ private constructor(
*/
fun domain(domain: JsonField) = apply { this.domain = domain }
- /** An array of fonts used by the brand's website */
+ /**
+ * An array of fonts used by the brand's website. NOTE: This is deprecated and will be
+ * removed in the future. Please migrate to the styleguide API.
+ */
fun fonts(fonts: List) = fonts(JsonField.of(fonts))
/**
diff --git a/build.gradle.kts b/build.gradle.kts
index f9b1630..3ed8802 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -9,7 +9,7 @@ repositories {
allprojects {
group = "com.branddev.api"
- version = "0.1.0-alpha.5" // x-release-please-version
+ version = "0.1.0-alpha.6" // x-release-please-version
}
subprojects {