From 288e3b83cc7af4671c61eb10d20dda16a8940138 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 28 Jun 2026 07:18:13 +0000 Subject: [PATCH 1/2] feat(stainless): update production server to edge.api.stigg.io Update SDKs to use edge.api.stigg.io API URL by default --- .stats.yml | 4 ++-- README.md | 8 ++++---- .../io/stigg/client/okhttp/StiggOkHttpClient.kt | 2 +- .../stigg/client/okhttp/StiggOkHttpClientAsync.kt | 2 +- .../src/main/kotlin/io/stigg/core/ClientOptions.kt | 14 +++++++------- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.stats.yml b/.stats.yml index f1d55cd4..98e511bd 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 111 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stigg/stigg-adaad2912e291814c93ac60d21f83f15a49cfd8d8ee8dc07b5f4b4a961d74904.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stigg/stigg-77c3a6ff808ad2e50f897dca975b9be1ef45b6841618aa2b1b87830c9910de3e.yml openapi_spec_hash: 1bbed365dc0b25763e34f2869ab08593 -config_hash: 2e65c1178cfd5d688faf5c9b1a48a732 +config_hash: b3ce16872bdfce735bf0f02d69273407 diff --git a/README.md b/README.md index 9b867fe0..2a701cf6 100644 --- a/README.md +++ b/README.md @@ -107,10 +107,10 @@ StiggClient client = StiggOkHttpClient.builder() See this table for the available options: -| Setter | System property | Environment variable | Required | Default value | -| --------- | --------------- | -------------------- | -------- | ------------------------ | -| `apiKey` | `stigg.apiKey` | `STIGG_API_KEY` | true | - | -| `baseUrl` | `stigg.baseUrl` | `STIGG_BASE_URL` | true | `"https://api.stigg.io"` | +| Setter | System property | Environment variable | Required | Default value | +| --------- | --------------- | -------------------- | -------- | ----------------------------- | +| `apiKey` | `stigg.apiKey` | `STIGG_API_KEY` | true | - | +| `baseUrl` | `stigg.baseUrl` | `STIGG_BASE_URL` | true | `"https://edge.api.stigg.io"` | System properties take precedence over environment variables. diff --git a/stigg-java-client-okhttp/src/main/kotlin/io/stigg/client/okhttp/StiggOkHttpClient.kt b/stigg-java-client-okhttp/src/main/kotlin/io/stigg/client/okhttp/StiggOkHttpClient.kt index ee3abb41..2236c294 100644 --- a/stigg-java-client-okhttp/src/main/kotlin/io/stigg/client/okhttp/StiggOkHttpClient.kt +++ b/stigg-java-client-okhttp/src/main/kotlin/io/stigg/client/okhttp/StiggOkHttpClient.kt @@ -237,7 +237,7 @@ class StiggOkHttpClient private constructor() { /** * The base URL to use for every request. * - * Defaults to the production environment: `https://api.stigg.io`. + * Defaults to the production environment: `https://edge.api.stigg.io`. */ fun baseUrl(baseUrl: String?) = apply { clientOptions.baseUrl(baseUrl) } diff --git a/stigg-java-client-okhttp/src/main/kotlin/io/stigg/client/okhttp/StiggOkHttpClientAsync.kt b/stigg-java-client-okhttp/src/main/kotlin/io/stigg/client/okhttp/StiggOkHttpClientAsync.kt index 48b96ced..31cea541 100644 --- a/stigg-java-client-okhttp/src/main/kotlin/io/stigg/client/okhttp/StiggOkHttpClientAsync.kt +++ b/stigg-java-client-okhttp/src/main/kotlin/io/stigg/client/okhttp/StiggOkHttpClientAsync.kt @@ -237,7 +237,7 @@ class StiggOkHttpClientAsync private constructor() { /** * The base URL to use for every request. * - * Defaults to the production environment: `https://api.stigg.io`. + * Defaults to the production environment: `https://edge.api.stigg.io`. */ fun baseUrl(baseUrl: String?) = apply { clientOptions.baseUrl(baseUrl) } diff --git a/stigg-java-core/src/main/kotlin/io/stigg/core/ClientOptions.kt b/stigg-java-core/src/main/kotlin/io/stigg/core/ClientOptions.kt index 995e7ffc..b49c917b 100644 --- a/stigg-java-core/src/main/kotlin/io/stigg/core/ClientOptions.kt +++ b/stigg-java-core/src/main/kotlin/io/stigg/core/ClientOptions.kt @@ -131,7 +131,7 @@ private constructor( /** * The base URL to use for every request. * - * Defaults to the production environment: `https://api.stigg.io`. + * Defaults to the production environment: `https://edge.api.stigg.io`. */ fun baseUrl(): String = baseUrl ?: PRODUCTION_URL @@ -139,7 +139,7 @@ private constructor( companion object { - const val PRODUCTION_URL = "https://api.stigg.io" + const val PRODUCTION_URL = "https://edge.api.stigg.io" /** * Returns a mutable builder for constructing an instance of [ClientOptions]. @@ -263,7 +263,7 @@ private constructor( /** * The base URL to use for every request. * - * Defaults to the production environment: `https://api.stigg.io`. + * Defaults to the production environment: `https://edge.api.stigg.io`. */ fun baseUrl(baseUrl: String?) = apply { this.baseUrl = baseUrl } @@ -415,10 +415,10 @@ private constructor( * * See this table for the available options: * - * | Setter | System property | Environment variable | Required | Default value | - * |-----------|-----------------|----------------------|----------|--------------------------| - * | `apiKey` | `stigg.apiKey` | `STIGG_API_KEY` | true | - | - * | `baseUrl` | `stigg.baseUrl` | `STIGG_BASE_URL` | true | `"https://api.stigg.io"` | + * |Setter |System property|Environment variable|Required|Default value | + * |---------|---------------|--------------------|--------|-----------------------------| + * |`apiKey` |`stigg.apiKey` |`STIGG_API_KEY` |true |- | + * |`baseUrl`|`stigg.baseUrl`|`STIGG_BASE_URL` |true |`"https://edge.api.stigg.io"`| * * System properties take precedence over environment variables. */ From 832fd0b0a50281f92ff3faeb99b47c1bc66fe7b4 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 28 Jun 2026 07:18:39 +0000 Subject: [PATCH 2/2] release: 0.1.0-beta.29 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ README.md | 10 +++++----- build.gradle.kts | 2 +- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index cd6d5c95..d589672a 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0-beta.28" + ".": "0.1.0-beta.29" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 155fb75c..f875fe43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.1.0-beta.29 (2026-06-28) + +Full Changelog: [v0.1.0-beta.28...v0.1.0-beta.29](https://github.com/stiggio/stigg-java/compare/v0.1.0-beta.28...v0.1.0-beta.29) + +### Features + +* **stainless:** update production server to edge.api.stigg.io ([288e3b8](https://github.com/stiggio/stigg-java/commit/288e3b83cc7af4671c61eb10d20dda16a8940138)) + ## 0.1.0-beta.28 (2026-06-23) Full Changelog: [v0.1.0-beta.27...v0.1.0-beta.28](https://github.com/stiggio/stigg-java/compare/v0.1.0-beta.27...v0.1.0-beta.28) diff --git a/README.md b/README.md index 2a701cf6..62f76009 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ -[![Maven Central](https://img.shields.io/maven-central/v/io.stigg/stigg-java)](https://central.sonatype.com/artifact/io.stigg/stigg-java/0.1.0-beta.28) -[![javadoc](https://javadoc.io/badge2/io.stigg/stigg-java/0.1.0-beta.28/javadoc.svg)](https://javadoc.io/doc/io.stigg/stigg-java/0.1.0-beta.28) +[![Maven Central](https://img.shields.io/maven-central/v/io.stigg/stigg-java)](https://central.sonatype.com/artifact/io.stigg/stigg-java/0.1.0-beta.29) +[![javadoc](https://javadoc.io/badge2/io.stigg/stigg-java/0.1.0-beta.29/javadoc.svg)](https://javadoc.io/doc/io.stigg/stigg-java/0.1.0-beta.29) @@ -22,7 +22,7 @@ Use the Stigg MCP Server to enable AI assistants to interact with this API, allo -Javadocs are available on [javadoc.io](https://javadoc.io/doc/io.stigg/stigg-java/0.1.0-beta.28). +Javadocs are available on [javadoc.io](https://javadoc.io/doc/io.stigg/stigg-java/0.1.0-beta.29). @@ -33,7 +33,7 @@ Javadocs are available on [javadoc.io](https://javadoc.io/doc/io.stigg/stigg-jav ### Gradle ```kotlin -implementation("io.stigg:stigg-java:0.1.0-beta.28") +implementation("io.stigg:stigg-java:0.1.0-beta.29") ``` ### Maven @@ -42,7 +42,7 @@ implementation("io.stigg:stigg-java:0.1.0-beta.28") io.stigg stigg-java - 0.1.0-beta.28 + 0.1.0-beta.29 ``` diff --git a/build.gradle.kts b/build.gradle.kts index f2f61149..6fec9f84 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ repositories { allprojects { group = "io.stigg" - version = "0.1.0-beta.28" // x-release-please-version + version = "0.1.0-beta.29" // x-release-please-version } subprojects {