Repository navigation
release: 0.50.0 - #65
Conversation
| allprojects { | ||
| group = "dm.sent" | ||
| version = "0.49.0" // x-release-please-version | ||
| version = "0.50.0" // x-release-please-version |
There was a problem hiding this comment.
🔴 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.
| ### ⚠ 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)) |
There was a problem hiding this comment.
🔴 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.
|
🤖 Created releases: 🌻 |
Automated Release PR
0.50.0 (2026-11-12)
⚠ BREAKING CHANGES
sender_valueis no longer returned on an SMS market (channels.sms, and the SMS markets inside sender profile and channels responses). Read it from the market's numbers instead:numbers[].sender_value. Requests are unchanged:sender_valueis still accepted when creating an SMS channel or a sender profile.Features
This PR was generated with Release Please. See documentation.