diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 689a163e7..d8d39b939 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: timeout-minutes: 15 name: lint runs-on: ${{ github.repository == 'stainless-sdks/increase-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 @@ -46,7 +46,7 @@ jobs: contents: read id-token: write runs-on: ${{ github.repository == 'stainless-sdks/increase-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 diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 9d3f6970c..14600e48a 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.490.0" + ".": "0.491.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 2817e54f5..c8c738816 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 236 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-c125ce952e66ce3ea3b9a4d1c5a2449584ec7290497e3b6bba8358960713fb79.yml -openapi_spec_hash: 1ed3f6bc7b08ca891adea5fab74430c9 -config_hash: 25d7d7aa4882db6189b4b53e8e249e80 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-b95cd103dded0963ab1ae960b10846a8640c538d12beefb085cfcccd40e4e374.yml +openapi_spec_hash: 4cea779180b9bcdc631ae2cbc3aa9c4c +config_hash: 0997ade8b52ec04e82d5b0c3b61bb51e diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e2d65d9f..83d1a3a6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 0.491.0 (2026-03-24) + +Full Changelog: [v0.490.0...v0.491.0](https://github.com/Increase/increase-java/compare/v0.490.0...v0.491.0) + +### Features + +* **api:** api update ([f1c1e61](https://github.com/Increase/increase-java/commit/f1c1e6150395a204662ed67bb191446125ca354e)) + + +### Chores + +* **ci:** skip lint on metadata-only changes ([42fc20f](https://github.com/Increase/increase-java/commit/42fc20f0d457c230e3e8fdbf138bb42ca8677ee0)) +* **tests:** bump steady to v0.19.7 ([6c85092](https://github.com/Increase/increase-java/commit/6c850926f0839bc33cb7405685c0203b21a13a3c)) + ## 0.490.0 (2026-03-23) Full Changelog: [v0.489.0...v0.490.0](https://github.com/Increase/increase-java/compare/v0.489.0...v0.490.0) diff --git a/README.md b/README.md index d909478a0..07a36877a 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ -[![Maven Central](https://img.shields.io/maven-central/v/com.increase.api/increase-java)](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.490.0) -[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.490.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.490.0) +[![Maven Central](https://img.shields.io/maven-central/v/com.increase.api/increase-java)](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.491.0) +[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.491.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.491.0) @@ -13,7 +13,7 @@ The Increase Java SDK is similar to the Increase Kotlin SDK but with minor diffe -The REST API documentation can be found on [increase.com](https://increase.com/documentation). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.increase.api/increase-java/0.490.0). +The REST API documentation can be found on [increase.com](https://increase.com/documentation). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.increase.api/increase-java/0.491.0). @@ -24,7 +24,7 @@ The REST API documentation can be found on [increase.com](https://increase.com/d ### Gradle ```kotlin -implementation("com.increase.api:increase-java:0.490.0") +implementation("com.increase.api:increase-java:0.491.0") ``` ### Maven @@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.490.0") com.increase.api increase-java - 0.490.0 + 0.491.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index 07720c920..7d09b8f2e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ repositories { allprojects { group = "com.increase.api" - version = "0.490.0" // x-release-please-version + version = "0.491.0" // x-release-please-version } subprojects { diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityCreateParams.kt index 47b29e159..0d1a0e74b 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityCreateParams.kt @@ -8265,7 +8265,7 @@ private constructor( /** * The two-character ISO 3166-1 code representing the country that issued the - * passport (e.g., `US`). + * document (e.g., `US`). * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type * or is unexpectedly missing or null (e.g. if the server responded with an @@ -8367,7 +8367,7 @@ private constructor( /** * The two-character ISO 3166-1 code representing the country that issued - * the passport (e.g., `US`). + * the document (e.g., `US`). */ fun country(country: String) = country(JsonField.of(country)) @@ -10416,7 +10416,7 @@ private constructor( /** * The two-character ISO 3166-1 code representing the country that issued the - * passport (e.g., `US`). + * document (e.g., `US`). * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type or * is unexpectedly missing or null (e.g. if the server responded with an @@ -10513,7 +10513,7 @@ private constructor( /** * The two-character ISO 3166-1 code representing the country that issued the - * passport (e.g., `US`). + * document (e.g., `US`). */ fun country(country: String) = country(JsonField.of(country)) @@ -15019,7 +15019,7 @@ private constructor( /** * The two-character ISO 3166-1 code representing the country that issued - * the passport (e.g., `US`). + * the document (e.g., `US`). * * @throws IncreaseInvalidDataException if the JSON field has an unexpected * type or is unexpectedly missing or null (e.g. if the server responded @@ -15122,7 +15122,7 @@ private constructor( /** * The two-character ISO 3166-1 code representing the country that - * issued the passport (e.g., `US`). + * issued the document (e.g., `US`). */ fun country(country: String) = country(JsonField.of(country)) @@ -17234,7 +17234,7 @@ private constructor( /** * The two-character ISO 3166-1 code representing the country that issued the - * passport (e.g., `US`). + * document (e.g., `US`). * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type * or is unexpectedly missing or null (e.g. if the server responded with an @@ -17336,7 +17336,7 @@ private constructor( /** * The two-character ISO 3166-1 code representing the country that issued - * the passport (e.g., `US`). + * the document (e.g., `US`). */ fun country(country: String) = country(JsonField.of(country)) diff --git a/scripts/mock b/scripts/mock index 1983fb9ba..5f1bb802b 100755 --- a/scripts/mock +++ b/scripts/mock @@ -22,9 +22,9 @@ echo "==> Starting mock server with URL ${URL}" # Run steady mock on the given spec if [ "$1" == "--daemon" ]; then # Pre-install the package so the download doesn't eat into the startup timeout - npm exec --package=@stdy/cli@0.19.6 -- steady --version + npm exec --package=@stdy/cli@0.19.7 -- steady --version - npm exec --package=@stdy/cli@0.19.6 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=dots --validator-query-object-format=dots "$URL" &> .stdy.log & + npm exec --package=@stdy/cli@0.19.7 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=dots --validator-query-object-format=dots "$URL" &> .stdy.log & # Wait for server to come online via health endpoint (max 30s) echo -n "Waiting for server" @@ -48,5 +48,5 @@ if [ "$1" == "--daemon" ]; then echo else - npm exec --package=@stdy/cli@0.19.6 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=dots --validator-query-object-format=dots "$URL" + npm exec --package=@stdy/cli@0.19.7 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=dots --validator-query-object-format=dots "$URL" fi diff --git a/scripts/test b/scripts/test index 839c7a898..fa1d9b892 100755 --- a/scripts/test +++ b/scripts/test @@ -43,7 +43,7 @@ elif ! steady_is_running ; then echo -e "To run the server, pass in the path or url of your OpenAPI" echo -e "spec to the steady command:" echo - echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.19.6 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=dots --validator-query-object-format=dots${NC}" + echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.19.7 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=dots --validator-query-object-format=dots${NC}" echo exit 1