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.49.0"
".": "0.50.0"
}
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## [0.50.0](https://github.com/sentdm/sent-dm-java/compare/v0.49.0...v0.50.0) (2026-11-12)


### ⚠ BREAKING CHANGES

* **api:** sync OpenAPI spec from production

### Features

* **api:** sync OpenAPI spec from production ([13e5c4a](https://github.com/sentdm/sent-dm-java/commit/13e5c4ab215749e8d1824ab88a9bf906672222e8))
Comment on lines +6 to +12

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Customers upgrading to 0.50.0 get a breaking-change notice that does not say what broke or how to migrate. Base commit 13e5c4a removes SmsMarket.senderValue() and its builder setters with no alias. The changelog only says "sync OpenAPI spec from production" under both BREAKING CHANGES and Features, and that line is an internal cause. CLAUDE.md says the changelog line should cover "what changed, and what to do about it. Never an internal cause." Fix: before merging, rewrite both 0.50.0 entries to name each removed or changed public API (for example SmsMarket.senderValue) and its replacement or migration step.

Why this was flagged

Release-please builds CHANGELOG.md lines 6-12 from the subject of base commit 13e5c4a, "feat(api)!: sync OpenAPI spec from production". That commit removes public API from sent-java-core/src/main/kotlin/dm/sent/models/channels/sms/SmsMarket.kt: senderValue(), _senderValue(), and the Builder.senderValue overloads that take String?, Optional and JsonField. It adds no alias. It also changes signatures in SmsNumber, SuppliedCampaign, SuppliedCompliance, BrandCampaign, Call and ParticipantAddParams. A user who reads the 0.50.0 notes sees a BREAKING CHANGES heading but no affected API, so code that calls senderValue() stops compiling with no migration guidance. The same subject also appears under Features, which makes one entry look like two changes. Earlier entries use the same subject (CHANGELOG.md:30, :61), but that is precedent rather than compliance with the CLAUDE.md rule. REVIEW.md lists this as Important: "A commit subject that would read wrong in the changelog: an internal cause".

Verification: The release PR adds CHANGELOG.md lines 3-12, with only "sync OpenAPI spec from production" under both headings. git show 13e5c4a -- .../SmsMarket.kt removes fun senderValue(), fun _senderValue() and the three Builder overloads. Nothing is added in their place. CLAUDE.md lines 82-84 require the line to say what changed and what to do about it.


## [0.49.0](https://github.com/sentdm/sent-dm-java/compare/v0.48.0...v0.49.0) (2026-11-06)


Expand Down
10 changes: 5 additions & 5 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/dm.sent/sent-java)](https://central.sonatype.com/artifact/dm.sent/sent-java/0.49.0)
[![javadoc](https://javadoc.io/badge2/dm.sent/sent-java/0.49.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.50.0)
[![javadoc](https://javadoc.io/badge2/dm.sent/sent-java/0.50.0/javadoc.svg)](https://javadoc.io/doc/dm.sent/sent-java)

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

Expand All @@ -13,7 +13,7 @@ It is generated with [Stainless](https://www.stainless.com/).

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

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

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

Expand All @@ -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.49.0")
implementation("dm.sent:sent-java:0.50.0")
```

### Maven
Expand All @@ -33,7 +33,7 @@ implementation("dm.sent:sent-java:0.49.0")
<dependency>
<groupId>dm.sent</groupId>
<artifactId>sent-java</artifactId>
<version>0.49.0</version>
<version>0.50.0</version>
</dependency>
```

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 = "dm.sent"
version = "0.49.0" // x-release-please-version
version = "0.50.0" // x-release-please-version

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Java callers upgrading to 0.50.0 get compile errors and lose the sender number, with no deprecation step. This release publishes base commit 13e5c4a. That commit deletes SmsMarket.senderValue(), _senderValue() and the Builder.senderValue setters without an alias. CLAUDE.md says: "A rename or a removal keeps an alias." Fix: before this release merges, every removed public accessor and builder setter must stay available as a deprecated alias, fixed in the API document or SDK config rather than by hand.

Why this was flagged

Merging this release PR publishes version = "0.50.0" (build.gradle.kts:11) to Maven Central, and that build contains base commit 13e5c4a. 13e5c4a removes the sender_value field from sent-java-core/src/main/kotlin/dm/sent/models/channels/sms/SmsMarket.kt. That removes fun senderValue(): Optional, fun _senderValue(), and all three Builder.senderValue(...) overloads, and adds no deprecated alias. A user on 0.49.0 who calls market.senderValue() to read the procured sender number gets a compile failure when they bump the dependency. The README snippets now tell them to bump it. On the base release, 0.49.0, the accessor exists and returns the value. The CHANGELOG entry at CHANGELOG.md:7 only says "sync OpenAPI spec from production", so it neither warns about the removal nor names a replacement. This differs from the pending changelog-wording finding: that fix rewrites the changelog line, while this one keeps the removed public API as an alias.

Verification: Trigger: any Java or Kotlin caller of SmsMarket.senderValue(), _senderValue() or SmsMarket.Builder.senderValue(...) that upgrades from 0.49.0 to 0.50.0, which this release PR publishes (build.gradle.kts:11). No deprecated alias is left. Existing callers will fail to compile against 0.50.0. This breaks CLAUDE.md:72-74.

}

subprojects {
Expand Down
Loading