diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc731ad8..6b6ecc18 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/sent-dm-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/sent-dm-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/.gitignore b/.gitignore index b1346e6d..90b85e94 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .prism.log +.stdy.log .gradle .idea .kotlin diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 93e86605..d52d2b97 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.12.2" + ".": "0.13.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index d1112eb0..2b935dca 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 40 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sent%2Fsent-dm-622d0508ba6d0dfdff958a160f8306d7425b0a517997509ffb04f237f8ebcddd.yml -openapi_spec_hash: edd7b30279dd17b02cbca5fc51e40c89 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sent%2Fsent-dm-aa5788f722a5500abb87ae7d7dd559e5802d3f45abbc525d105ca1010f553070.yml +openapi_spec_hash: e122ccb2f2f3062194364f20fd58fee1 config_hash: d8e8429147c4e214ff53c11e7ab2a1a6 diff --git a/CHANGELOG.md b/CHANGELOG.md index 1442e298..47a006b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## 0.13.0 (2026-03-25) + +Full Changelog: [v0.12.2...v0.13.0](https://github.com/sentdm/sent-dm-java/compare/v0.12.2...v0.13.0) + +### Features + +* **api:** api update ([e75c446](https://github.com/sentdm/sent-dm-java/commit/e75c4465f63a039270f69eed29460e4deac4b04f)) +* **api:** api update ([607f6fa](https://github.com/sentdm/sent-dm-java/commit/607f6fa8480594351be371ae9aabb2636758112a)) + + +### Chores + +* **ci:** skip lint on metadata-only changes ([e7b04a6](https://github.com/sentdm/sent-dm-java/commit/e7b04a6eaa33943a1c2c39a6d6c5a4565848a6a5)) +* **internal:** bump ktfmt ([9d557c3](https://github.com/sentdm/sent-dm-java/commit/9d557c3f51e45eccbdb8b00e1c79603db5ae485f)) +* **internal:** update gitignore ([e59e98c](https://github.com/sentdm/sent-dm-java/commit/e59e98cec473bd6f8d525f80416b41d5cbf19ff6)) + ## 0.12.2 (2026-03-18) Full Changelog: [v0.12.1...v0.12.2](https://github.com/sentdm/sent-dm-java/compare/v0.12.1...v0.12.2) diff --git a/README.md b/README.md index 3f01b133..aa28773d 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ -[![Maven Central](https://img.shields.io/maven-central/v/dm.sent/sent-dm-java)](https://central.sonatype.com/artifact/dm.sent/sent-dm-java/0.12.2) -[![javadoc](https://javadoc.io/badge2/dm.sent/sent-dm-java/0.12.2/javadoc.svg)](https://javadoc.io/doc/dm.sent/sent-dm-java/0.12.2) +[![Maven Central](https://img.shields.io/maven-central/v/dm.sent/sent-dm-java)](https://central.sonatype.com/artifact/dm.sent/sent-dm-java/0.13.0) +[![javadoc](https://javadoc.io/badge2/dm.sent/sent-dm-java/0.13.0/javadoc.svg)](https://javadoc.io/doc/dm.sent/sent-dm-java/0.13.0) @@ -22,7 +22,7 @@ Use the Sent Dm MCP Server to enable AI assistants to interact with this API, al -The REST API documentation can be found on [docs.sent.dm](https://docs.sent.dm). Javadocs are available on [javadoc.io](https://javadoc.io/doc/dm.sent/sent-dm-java/0.12.2). +The REST API documentation can be found on [docs.sent.dm](https://docs.sent.dm). Javadocs are available on [javadoc.io](https://javadoc.io/doc/dm.sent/sent-dm-java/0.13.0). @@ -33,7 +33,7 @@ The REST API documentation can be found on [docs.sent.dm](https://docs.sent.dm). ### Gradle ```kotlin -implementation("dm.sent:sent-dm-java:0.12.2") +implementation("dm.sent:sent-dm-java:0.13.0") ``` ### Maven @@ -42,7 +42,7 @@ implementation("dm.sent:sent-dm-java:0.12.2") dm.sent sent-dm-java - 0.12.2 + 0.13.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index dad6ed46..4ad53b08 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ repositories { allprojects { group = "dm.sent" - version = "0.12.2" // x-release-please-version + version = "0.13.0" // x-release-please-version } subprojects { diff --git a/buildSrc/src/main/kotlin/sent-dm.kotlin.gradle.kts b/buildSrc/src/main/kotlin/sent-dm.kotlin.gradle.kts index 79903584..7ca43723 100644 --- a/buildSrc/src/main/kotlin/sent-dm.kotlin.gradle.kts +++ b/buildSrc/src/main/kotlin/sent-dm.kotlin.gradle.kts @@ -40,7 +40,7 @@ tasks.withType().configureEach { val ktfmt by configurations.creating dependencies { - ktfmt("com.facebook:ktfmt:0.56") + ktfmt("com.facebook:ktfmt:0.61") } fun registerKtfmt( diff --git a/scripts/fast-format b/scripts/fast-format index 1b3bc473..35a1dee2 100755 --- a/scripts/fast-format +++ b/scripts/fast-format @@ -24,8 +24,8 @@ if [ ! -f "$FILE_LIST" ]; then exit 1 fi -if ! command -v ktfmt-fast-format &> /dev/null; then - echo "Error: ktfmt-fast-format not found" +if ! command -v ktfmt &> /dev/null; then + echo "Error: ktfmt not found" exit 1 fi @@ -36,7 +36,7 @@ echo "==> Done looking for Kotlin files" if [[ -n "$kt_files" ]]; then echo "==> will format Kotlin files" - echo "$kt_files" | tr '\n' '\0' | xargs -0 ktfmt-fast-format --kotlinlang-style "$@" + echo "$kt_files" | tr '\n' '\0' | xargs -0 ktfmt --kotlinlang-style "$@" else echo "No Kotlin files to format -- expected outcome during incremental formatting" fi diff --git a/sent-dm-java-core/src/main/kotlin/dm/sent/models/messages/MessageRetrieveActivitiesResponse.kt b/sent-dm-java-core/src/main/kotlin/dm/sent/models/messages/MessageRetrieveActivitiesResponse.kt index bfd9f307..6db4825e 100644 --- a/sent-dm-java-core/src/main/kotlin/dm/sent/models/messages/MessageRetrieveActivitiesResponse.kt +++ b/sent-dm-java-core/src/main/kotlin/dm/sent/models/messages/MessageRetrieveActivitiesResponse.kt @@ -501,7 +501,7 @@ private constructor( fun price(): Optional = price.getOptional("price") /** - * Activity status (e.g., ACCEPTED, PROCESSED, SENT, DELIVERED, FAILED) + * Activity status (e.g., QUEUED, PROCESSED, ROUTED, SENT, DELIVERED, FAILED) * * @throws SentDmInvalidDataException if the JSON field has an unexpected type (e.g. if * the server responded with an unexpected value). @@ -655,7 +655,7 @@ private constructor( */ fun price(price: JsonField) = apply { this.price = price } - /** Activity status (e.g., ACCEPTED, PROCESSED, SENT, DELIVERED, FAILED) */ + /** Activity status (e.g., QUEUED, PROCESSED, ROUTED, SENT, DELIVERED, FAILED) */ fun status(status: String) = status(JsonField.of(status)) /** diff --git a/sent-dm-java-core/src/main/kotlin/dm/sent/models/messages/MessageSendResponse.kt b/sent-dm-java-core/src/main/kotlin/dm/sent/models/messages/MessageSendResponse.kt index bf37e200..543246f8 100644 --- a/sent-dm-java-core/src/main/kotlin/dm/sent/models/messages/MessageSendResponse.kt +++ b/sent-dm-java-core/src/main/kotlin/dm/sent/models/messages/MessageSendResponse.kt @@ -282,7 +282,7 @@ private constructor( fun recipients(): Optional> = recipients.getOptional("recipients") /** - * Overall request status (e.g. "accepted") + * Overall request status: "QUEUED" when the batch has been accepted and published to Kafka. * * @throws SentDmInvalidDataException if the JSON field has an unexpected type (e.g. if the * server responded with an unexpected value). @@ -402,7 +402,10 @@ private constructor( } } - /** Overall request status (e.g. "accepted") */ + /** + * Overall request status: "QUEUED" when the batch has been accepted and published to + * Kafka. + */ fun status(status: String) = status(JsonField.of(status)) /**