Repository navigation
release: 0.52.0 - #67
Conversation
| ## [0.52.0](https://github.com/sentdm/sent-dm-java/compare/v0.51.0...v0.52.0) (2026-11-24) | ||
|
|
||
|
|
||
| ### ⚠ BREAKING CHANGES | ||
|
|
||
| * **api:** markets move to channels.markets and 10DLC numbers to markets.add_numbers |
There was a problem hiding this comment.
🔴 Users upgrading to 0.52.0 get release notes that list only the markets move, so several other breaking changes ship without warning. Commit a3b9688 also removes TenDlcService.retrieveCompliance() and addNumbers() and swaps in listCampaigns(). It also makes POST /v3/messages/{id}/resend return a new message id. Fix: before merging, list every removed or renamed method and the resend behaviour change under BREAKING CHANGES, each with what callers should do. A commit override or an edit to this entry would do it.
Why this was flagged
This release PR adds the 0.52.0 entry at CHANGELOG.md:3-12. Its only BREAKING CHANGES line, at CHANGELOG.md:8, is the subject of commit a3b9688, and the same line is repeated under Features at CHANGELOG.md:12. That commit removes retrieveCompliance and addNumbers from services/blocking/channels/sms/TenDlcService.kt and the async twin, and replaces them with listCampaigns. It also removes the market methods from SmsService, renaming ApiResponseOfSmsMarket to ApiResponseOfChannelMarket. Separately, MessageResendParams.kt now says a resend is a new message, with recipients[0].message_id holding the new id rather than the one you resent. That is a runtime contract change, and CLAUDE.md treats runtime behaviour as the contract. A user who reads the changelog and bumps the version gets compile errors on the removed methods. Code keyed on the resent message id silently loses track of resends. CLAUDE.md says the changelog subject should tell customers "what changed, and what to do about it". This entry does neither for these changes.
Verification: The only line under BREAKING CHANGES is CHANGELOG.md:8, * **api:** markets move to channels.markets and 10DLC numbers to markets.add_numbers. In TenDlcService, fun retrieveCompliance(): ApiResponseOfSuppliedCompliance is removed. fun listCampaigns(): TenDlcListCampaignsResponse is added in its place. The documented runtime contract of MessageService.resend changes.
|
|
||
| ### ⚠ BREAKING CHANGES | ||
|
|
||
| * **api:** markets move to channels.markets and 10DLC numbers to markets.add_numbers |
There was a problem hiding this comment.
🔴 Merging publishes 0.52.0 to Maven Central. Java users of the old market accessors and model classes (e.g. SmsMarket) then get compile errors, with no deprecated alias to fall back on. CLAUDE.md says "A rename or a removal keeps an alias" and "A major version is a maintainer's call". The release only bumps the minor version, and nothing in the shipped code keeps the old names. Fix: before this release publishes, have the SDK config keep deprecated aliases for every moved market accessor and class, or have a maintainer explicitly approve the break.
Why this was flagged
The release-please PR (title "release: 0.52.0") moves build.gradle.kts:11 to version "0.52.0". It adds a "⚠ BREAKING CHANGES" entry at CHANGELOG.md:8 for commit a3b9688. That commit renames channels/sms/SmsMarket.kt to channels/markets/ChannelMarket.kt and moves the market params, responses and number endpoints under channels().markets(). A grep of sent-java-core/src/main finds no typealias and no deprecated forwarding accessor for the old names. CLAUDE.md says merging the release PR publishes. Code built against dm.sent:sent-java:0.51.0 with the old market accessors or classes then fails to compile on 0.52.0. The base branch has published no such break yet. The PR description gives no compatibility notes and records no maintainer decision. Neither the minor bump nor the feat(api)! marker is a maintainer's call, and CLAUDE.md requires that call.
Verification: Merging this release PR publishes 0.52.0, and build.gradle.kts:11 makes it only a minor bump. Base commit a3b9688 deletes retrieve, update and list from blocking/channels/SmsService.kt and renames SmsMarket to ChannelMarket. No type alias or deprecated forwarding method keeps the old names, so existing calls such as client.channels().sms().list() stop compiling.
|
🤖 Created releases: 🌻 |
Automated Release PR
0.52.0 (2026-11-24)
⚠ BREAKING CHANGES
Features
This PR was generated with Release Please. See documentation.