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.40"
".": "0.1.0-beta.41"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 115
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stigg/stigg-95d84a1adc011f81086082cfbec6796bae04f4cba0c226965bfd40c53a65d321.yml
openapi_spec_hash: 1937e480aaa2d33272faa8df909df9f3
config_hash: 3d43e5c6ff8bf447a1b4c1922a13119f
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stigg/stigg-a75c09ac63a990956e295213c537c7c7aae6f08012d817e41bf91953f9199b92.yml
openapi_spec_hash: 742a2a900b833f5e48aa5723bc5ec953
config_hash: 931244a505ec1f13e536ee9ed7133ebc
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 0.1.0-beta.41 (2026-07-26)

Full Changelog: [v0.1.0-beta.40...v0.1.0-beta.41](https://github.com/stiggio/stigg-java/compare/v0.1.0-beta.40...v0.1.0-beta.41)

### Features

* **api:** add creditEntitlement field to addon/plan overage pricing ([fc6460e](https://github.com/stiggio/stigg-java/commit/fc6460e5a7e1efcb95c14cdb6fed1a42a2d4e4dc))


### Chores

* **internal:** regenerate SDK with no functional changes ([dd164e0](https://github.com/stiggio/stigg-java/commit/dd164e04deb902319aba95c7e6562bd258dbdd20))

## 0.1.0-beta.40 (2026-07-21)

Full Changelog: [v0.1.0-beta.39...v0.1.0-beta.40](https://github.com/stiggio/stigg-java/compare/v0.1.0-beta.39...v0.1.0-beta.40)
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.40)
[![javadoc](https://javadoc.io/badge2/io.stigg/stigg-java/0.1.0-beta.40/javadoc.svg)](https://javadoc.io/doc/io.stigg/stigg-java/0.1.0-beta.40)
[![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.41)
[![javadoc](https://javadoc.io/badge2/io.stigg/stigg-java/0.1.0-beta.41/javadoc.svg)](https://javadoc.io/doc/io.stigg/stigg-java/0.1.0-beta.41)

<!-- 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.40).
Javadocs are available on [javadoc.io](https://javadoc.io/doc/io.stigg/stigg-java/0.1.0-beta.41).

<!-- 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.40")
implementation("io.stigg:stigg-java:0.1.0-beta.41")
```

### Maven
Expand All @@ -42,7 +42,7 @@ implementation("io.stigg:stigg-java:0.1.0-beta.40")
<dependency>
<groupId>io.stigg</groupId>
<artifactId>stigg-java</artifactId>
<version>0.1.0-beta.40</version>
<version>0.1.0-beta.41</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://edge.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://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.40" // x-release-please-version
version = "0.1.0-beta.41" // 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://edge.api.stigg.io`.
* Defaults to the production environment: `https://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://edge.api.stigg.io`.
* Defaults to the production environment: `https://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://edge.api.stigg.io`.
* Defaults to the production environment: `https://api.stigg.io`.
*/
fun baseUrl(): String = baseUrl ?: PRODUCTION_URL

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

companion object {

const val PRODUCTION_URL = "https://edge.api.stigg.io"
const val PRODUCTION_URL = "https://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://edge.api.stigg.io`.
* Defaults to the production environment: `https://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://edge.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://api.stigg.io"` |
*
* System properties take precedence over environment variables.
*/
Expand Down
Loading
Loading