diff --git a/.release-please-manifest.json b/.release-please-manifest.json index f04d0896..57dc0c3d 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.32.0" + ".": "0.33.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 742d8002..9f6acf34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,37 @@ # Changelog +## [0.33.0](https://github.com/sentdm/sent-dm-java/compare/v0.32.0...v0.33.0) (2026-08-17) + + +### Highlights + +Webhook payloads are now typed. The events Sent POSTs to your endpoint — `MessageEvent`, `InboundMessageEvent` and `TemplateEvent`, each with its own payload type — are generated types you can deserialize into, instead of a shape you had to hand-write from the docs. + +The webhook delivery log is typed too. `event_data` on `GET /v3/webhooks/{id}/events` returns the exact envelope that was delivered, and now describes itself as one of those three rather than an opaque object. + +Also in this release: + +- `csp_id` on the brand object is deprecated and will be removed in a later release. It identifies the Campaign Service Provider that registered the brand, which is Sent, so the value is the same for every account. There is no replacement. Your own TCR identifiers, `tcr_brand_id` and `universal_ein`, are unaffected. +- Corrected descriptions for blocked sends, which now name the cases that gate a send before any delivery attempt: insufficient balance, a template not approved for sending, and free-form content with no open conversation. +- `campaign.volume` documents what an omitted value does. Leave it out and the campaign registers as standard, the higher-fee tier, with no error. + +### Features + +* **api:** sync OpenAPI spec from production ([0daa560](https://github.com/sentdm/sent-dm-java/commit/0daa560441f5d996de60f953e85f1f27907de9a7)) +* **api:** sync OpenAPI spec from production ([5d539c3](https://github.com/sentdm/sent-dm-java/commit/5d539c3652729f841a8944d9c9224b7a5a5e7b92)) +* **api:** sync OpenAPI spec from production ([477de0f](https://github.com/sentdm/sent-dm-java/commit/477de0f757f14d112c95837c3615d33ccbce7437)) +* **sdk:** expose the delivered webhook payloads as models ([c82cae5](https://github.com/sentdm/sent-dm-java/commit/c82cae59470a7acc0e0d9080e0554b55525446af)) + + +### Bug Fixes + +* **java:** point the javadoc badge link at the released version ([a57db09](https://github.com/sentdm/sent-dm-java/commit/a57db098a6343f82bbef5532fae666edaaac05c5)) + + +### Chores + +* **ci:** bump the pinned generator to pick up the javadoc badge fix ([5c25406](https://github.com/sentdm/sent-dm-java/commit/5c2540683fb7a88b9b0f0c017519802c912d7795)) + ## [0.32.0](https://github.com/sentdm/sent-dm-java/compare/v0.31.1...v0.32.0) (2026-08-10) diff --git a/README.md b/README.md index 6dcc1ccc..3df60590 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ -[![Maven Central](https://img.shields.io/maven-central/v/dm.sent/sent-java)](https://central.sonatype.com/artifact/dm.sent/sent-java/0.32.0) -[![javadoc](https://javadoc.io/badge2/dm.sent/sent-java/0.32.0/javadoc.svg)](https://javadoc.io/doc/dm.sent/sent-java) +[![Maven Central](https://img.shields.io/maven-central/v/dm.sent/sent-java)](https://central.sonatype.com/artifact/dm.sent/sent-java/0.33.0) +[![javadoc](https://javadoc.io/badge2/dm.sent/sent-java/0.33.0/javadoc.svg)](https://javadoc.io/doc/dm.sent/sent-java) @@ -13,7 +13,7 @@ It is generated with [Stainless](https://www.stainless.com/). -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-java/0.32.0). +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-java/0.33.0). @@ -24,7 +24,7 @@ The REST API documentation can be found on [docs.sent.dm](https://docs.sent.dm). ### Gradle ```kotlin -implementation("dm.sent:sent-java:0.32.0") +implementation("dm.sent:sent-java:0.33.0") ``` ### Maven @@ -33,7 +33,7 @@ implementation("dm.sent:sent-java:0.32.0") dm.sent sent-java - 0.32.0 + 0.33.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index bd641fd6..82d4747f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ repositories { allprojects { group = "dm.sent" - version = "0.32.0" // x-release-please-version + version = "0.33.0" // x-release-please-version } subprojects {