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.51.0"
".": "0.52.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.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
Comment on lines +3 to +8

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔴 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.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔴 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.


### Features

* **api:** markets move to channels.markets and 10DLC numbers to markets.add_numbers ([a3b9688](https://github.com/sentdm/sent-dm-java/commit/a3b96886dd79f200947d0dde678ace82d7ffcdd7))

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


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.51.0)
[![javadoc](https://javadoc.io/badge2/dm.sent/sent-java/0.51.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.52.0)
[![javadoc](https://javadoc.io/badge2/dm.sent/sent-java/0.52.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.51.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.52.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.51.0")
implementation("dm.sent:sent-java:0.52.0")
```

### Maven
Expand All @@ -33,7 +33,7 @@ implementation("dm.sent:sent-java:0.51.0")
<dependency>
<groupId>dm.sent</groupId>
<artifactId>sent-java</artifactId>
<version>0.51.0</version>
<version>0.52.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.51.0" // x-release-please-version
version = "0.52.0" // x-release-please-version
}

subprojects {
Expand Down
Loading