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
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-beta.28"
".": "0.1.0-beta.29"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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
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-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)
Expand Down
18 changes: 9 additions & 9 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/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)

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

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

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

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

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

Expand All @@ -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
Expand All @@ -42,7 +42,7 @@ implementation("io.stigg:stigg-java:0.1.0-beta.28")
<dependency>
<groupId>io.stigg</groupId>
<artifactId>stigg-java</artifactId>
<version>0.1.0-beta.28</version>
<version>0.1.0-beta.29</version>
</dependency>
```

Expand Down Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) }

Expand Down
14 changes: 7 additions & 7 deletions stigg-java-core/src/main/kotlin/io/stigg/core/ClientOptions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,15 @@ 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

fun toBuilder() = Builder().from(this)

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].
Expand Down Expand Up @@ -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 }

Expand Down Expand Up @@ -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.
*/
Expand Down
Loading