Skip to content
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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
timeout-minutes: 15
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
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')

steps:
- uses: actions/checkout@v6
Expand All @@ -46,7 +46,7 @@ jobs:
contents: read
id-token: write
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
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')

steps:
- uses: actions/checkout@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-sonatype.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This workflow is triggered when a GitHub release is created.
# It can also be run manually to re-publish to Sonatype in case it failed for some reason.
# You can run this workflow by navigating to https://www.github.com/brand-dot-dev/java-sdk/actions/workflows/publish-sonatype.yml
# You can run this workflow by navigating to https://www.github.com/context-dot-dev/deprecated-brand-java-sdk/actions/workflows/publish-sonatype.yml
name: Publish Sonatype
on:
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
release_doctor:
name: release doctor
runs-on: ubuntu-latest
if: github.repository == 'brand-dot-dev/java-sdk' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
if: github.repository == 'context-dot-dev/deprecated-brand-java-sdk' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')

steps:
- uses: actions/checkout@v6
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.prism.log
.stdy.log
.gradle
.idea
.kotlin
Expand Down
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.36"
".": "0.1.0-alpha.37"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 20
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-67e4ffa39d74649a6ae6b21e9f86cffa83c8a02d640ca6b4d4a3e619b54fbd38.yml
openapi_spec_hash: 762e7ea7ae23297cc6b01f600a485410
config_hash: 4cd3173ea1cce7183640aae49cfbb374
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-e6540b8abe35309c0b139a2b5985bf318903714d712b866e282da36b87f1ee72.yml
openapi_spec_hash: 2c1b55e2428c0b6c5a91d1d6a2ba9980
config_hash: 4387bbc02194b3b531eb8f164af5e05c
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# Changelog

## 0.1.0-alpha.37 (2026-03-25)

Full Changelog: [v0.1.0-alpha.36...v0.1.0-alpha.37](https://github.com/context-dot-dev/deprecated-brand-java-sdk/compare/v0.1.0-alpha.36...v0.1.0-alpha.37)

### Features

* **api:** api update ([da6510c](https://github.com/context-dot-dev/deprecated-brand-java-sdk/commit/da6510c03615228a1c05508fbbccfd9f7c618023))
* **api:** api update ([55370b0](https://github.com/context-dot-dev/deprecated-brand-java-sdk/commit/55370b0403061c15f1d20350f4f82c12de8212bd))
* **api:** manual updates ([02ac048](https://github.com/context-dot-dev/deprecated-brand-java-sdk/commit/02ac0482c8630ea51fc9d0d4c4a1893bd08c591d))


### Bug Fixes

* **client:** allow updating header/query affecting fields in `toBuilder()` ([f2b664a](https://github.com/context-dot-dev/deprecated-brand-java-sdk/commit/f2b664a8fe0a14e40d39744eb997dd977bdb8dfc))


### Chores

* **ci:** skip lint on metadata-only changes ([1c9813d](https://github.com/context-dot-dev/deprecated-brand-java-sdk/commit/1c9813d43fa8422c69acd1d1f8c9bd8dc479f6c0))
* **internal:** bump ktfmt ([787dd90](https://github.com/context-dot-dev/deprecated-brand-java-sdk/commit/787dd90a803475074b3f2203e8d0b91175343460))
* **internal:** update gitignore ([7005bfc](https://github.com/context-dot-dev/deprecated-brand-java-sdk/commit/7005bfc80459ed57218d9c747af73fd96d73f4f7))
* **internal:** update retry delay tests ([bab2317](https://github.com/context-dot-dev/deprecated-brand-java-sdk/commit/bab2317ae040c7bb94d252c5fc682c3898674f93))
* update SDK settings ([dd97e0f](https://github.com/context-dot-dev/deprecated-brand-java-sdk/commit/dd97e0ff82d3d133019fad1697edb9a32f74bd5e))

## 0.1.0-alpha.36 (2026-03-18)

Full Changelog: [v0.1.0-alpha.35...v0.1.0-alpha.36](https://github.com/brand-dot-dev/java-sdk/compare/v0.1.0-alpha.35...v0.1.0-alpha.36)
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

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

[![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.36)
[![javadoc](https://javadoc.io/badge2/com.branddev.api/brand-dev-java/0.1.0-alpha.36/javadoc.svg)](https://javadoc.io/doc/com.branddev.api/brand-dev-java/0.1.0-alpha.36)
[![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.37)
[![javadoc](https://javadoc.io/badge2/com.branddev.api/brand-dev-java/0.1.0-alpha.37/javadoc.svg)](https://javadoc.io/doc/com.branddev.api/brand-dev-java/0.1.0-alpha.37)

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

Expand All @@ -22,7 +22,7 @@ Use the Brand Dev MCP Server to enable AI assistants to interact with this API,

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

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.36).
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.37).

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

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

```kotlin
implementation("com.branddev.api:brand-dev-java:0.1.0-alpha.36")
implementation("com.branddev.api:brand-dev-java:0.1.0-alpha.37")
```

### Maven
Expand All @@ -42,7 +42,7 @@ implementation("com.branddev.api:brand-dev-java:0.1.0-alpha.36")
<dependency>
<groupId>com.branddev.api</groupId>
<artifactId>brand-dev-java</artifactId>
<version>0.1.0-alpha.36</version>
<version>0.1.0-alpha.37</version>
</dependency>
```

Expand Down Expand Up @@ -658,4 +658,4 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con

We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.

We are keen for your feedback; please open an [issue](https://www.github.com/brand-dot-dev/java-sdk/issues) with questions, bugs, or suggestions.
We are keen for your feedback; please open an [issue](https://www.github.com/context-dot-dev/deprecated-brand-java-sdk/issues) with questions, bugs, or suggestions.
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ or products provided by Brand Dev, please follow the respective company's securi

### Brand Dev Terms and Policies

Please contact hello@brand.dev for any questions or concerns regarding the security of our services.
Please contact hello@context.dev for any questions or concerns regarding the security of our services.

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ This can happen if you are either:

Double-check that you are depending on compatible Jackson versions.

See https://www.github.com/brand-dot-dev/java-sdk#jackson for more information.
See https://www.github.com/context-dot-dev/deprecated-brand-java-sdk#jackson for more information.
"""
.trimIndent()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -403,13 +403,14 @@ private constructor(
headers.put("X-Stainless-Runtime", "JRE")
headers.put("X-Stainless-Runtime-Version", getJavaVersion())
headers.put("X-Stainless-Kotlin-Version", KotlinVersion.CURRENT.toString())
// We replace after all the default headers to allow end-users to overwrite them.
headers.replaceAll(this.headers.build())
queryParams.replaceAll(this.queryParams.build())
apiKey.let {
if (!it.isEmpty()) {
headers.put("Authorization", "Bearer $it")
headers.replace("Authorization", "Bearer $it")
}
}
headers.replaceAll(this.headers.build())
queryParams.replaceAll(this.queryParams.build())

return ClientOptions(
httpClient,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ import java.util.Objects
import java.util.Optional

/**
* Beta feature: Extract product information from a brand's website. Brand.dev will analyze the
* website and return a list of products with details such as name, description, image, pricing,
* features, and more.
* Beta feature: Extract product information from a brand's website. We will analyze the website and
* return a list of products with details such as name, description, image, pricing, features, and
* more.
*/
class BrandAiProductsParams
private constructor(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1958,6 +1958,8 @@ private constructor(

@JvmField val BULGARIAN = of("bulgarian")

@JvmField val CANTONESE = of("cantonese")

@JvmField val CEBUANO = of("cebuano")

@JvmField val CROATIAN = of("croatian")
Expand Down Expand Up @@ -1996,6 +1998,8 @@ private constructor(

@JvmField val KAZAKH = of("kazakh")

@JvmField val KOREAN = of("korean")

@JvmField val KYRGYZ = of("kyrgyz")

@JvmField val LATIN = of("latin")
Expand Down Expand Up @@ -2040,6 +2044,8 @@ private constructor(

@JvmField val TAGALOG = of("tagalog")

@JvmField val THAI = of("thai")

@JvmField val TURKISH = of("turkish")

@JvmField val UKRAINIAN = of("ukrainian")
Expand All @@ -2062,6 +2068,7 @@ private constructor(
AZERI,
BENGALI,
BULGARIAN,
CANTONESE,
CEBUANO,
CROATIAN,
CZECH,
Expand All @@ -2081,6 +2088,7 @@ private constructor(
INDONESIAN,
ITALIAN,
KAZAKH,
KOREAN,
KYRGYZ,
LATIN,
LATVIAN,
Expand All @@ -2103,6 +2111,7 @@ private constructor(
SWAHILI,
SWEDISH,
TAGALOG,
THAI,
TURKISH,
UKRAINIAN,
URDU,
Expand All @@ -2126,6 +2135,7 @@ private constructor(
AZERI,
BENGALI,
BULGARIAN,
CANTONESE,
CEBUANO,
CROATIAN,
CZECH,
Expand All @@ -2145,6 +2155,7 @@ private constructor(
INDONESIAN,
ITALIAN,
KAZAKH,
KOREAN,
KYRGYZ,
LATIN,
LATVIAN,
Expand All @@ -2167,6 +2178,7 @@ private constructor(
SWAHILI,
SWEDISH,
TAGALOG,
THAI,
TURKISH,
UKRAINIAN,
URDU,
Expand Down Expand Up @@ -2194,6 +2206,7 @@ private constructor(
AZERI -> Value.AZERI
BENGALI -> Value.BENGALI
BULGARIAN -> Value.BULGARIAN
CANTONESE -> Value.CANTONESE
CEBUANO -> Value.CEBUANO
CROATIAN -> Value.CROATIAN
CZECH -> Value.CZECH
Expand All @@ -2213,6 +2226,7 @@ private constructor(
INDONESIAN -> Value.INDONESIAN
ITALIAN -> Value.ITALIAN
KAZAKH -> Value.KAZAKH
KOREAN -> Value.KOREAN
KYRGYZ -> Value.KYRGYZ
LATIN -> Value.LATIN
LATVIAN -> Value.LATVIAN
Expand All @@ -2235,6 +2249,7 @@ private constructor(
SWAHILI -> Value.SWAHILI
SWEDISH -> Value.SWEDISH
TAGALOG -> Value.TAGALOG
THAI -> Value.THAI
TURKISH -> Value.TURKISH
UKRAINIAN -> Value.UKRAINIAN
URDU -> Value.URDU
Expand All @@ -2260,6 +2275,7 @@ private constructor(
AZERI -> Known.AZERI
BENGALI -> Known.BENGALI
BULGARIAN -> Known.BULGARIAN
CANTONESE -> Known.CANTONESE
CEBUANO -> Known.CEBUANO
CROATIAN -> Known.CROATIAN
CZECH -> Known.CZECH
Expand All @@ -2279,6 +2295,7 @@ private constructor(
INDONESIAN -> Known.INDONESIAN
ITALIAN -> Known.ITALIAN
KAZAKH -> Known.KAZAKH
KOREAN -> Known.KOREAN
KYRGYZ -> Known.KYRGYZ
LATIN -> Known.LATIN
LATVIAN -> Known.LATVIAN
Expand All @@ -2301,6 +2318,7 @@ private constructor(
SWAHILI -> Known.SWAHILI
SWEDISH -> Known.SWEDISH
TAGALOG -> Known.TAGALOG
THAI -> Known.THAI
TURKISH -> Known.TURKISH
UKRAINIAN -> Known.UKRAINIAN
URDU -> Known.URDU
Expand Down
Loading
Loading