Repository navigation
release: 0.48.0 - #90
Conversation
| ### ⚠ BREAKING CHANGES | ||
|
|
||
| * **api:** sync OpenAPI spec from production | ||
|
|
||
| ### Features | ||
|
|
||
| * **api:** sync OpenAPI spec from production ([ef7cf83](https://github.com/sentdm/sent-dm-php/commit/ef7cf83216716568e71201c0e5b7753ab7c755f7)) |
There was a problem hiding this comment.
🔴 Customers upgrading to 0.48.0 see a breaking-change note that names no removed API and no migration step. The entry reads "sync OpenAPI spec from production", an internal cause. CLAUDE.md says the changelog line must say "what changed, and what to do about it. Never an internal cause." Commit ef7cf83 removes SMSMarket::$senderValue and withSenderValue() without an alias. Fix: before merging, rewrite the BREAKING CHANGES and Features lines (for example with a BEGIN_COMMIT_OVERRIDE in the release PR body). Name the removed senderValue field and point readers to numbers.
Why this was flagged
CHANGELOG.md:8 and CHANGELOG.md:12 both carry the generated commit subject "api: sync OpenAPI spec from production". That subject comes from ef7cf83 (feat(api)!), which deletes the sender_value property, the senderValue argument of SMSMarket::with() and withSenderValue() from src/Channels/SMS/SMSMarket.php. CLAUDE.md's Commits section says the subject "becomes the changelog line customers read, so write it for them: what changed, and what to do about it. Never an internal cause." REVIEW.md asks reviewers to flag a changelog line that gives an internal cause. Merging this release publishes that text as the 0.48.0 notes. Code that reads $market->senderValue or calls withSenderValue() stops working, and the notes give no hint of why or how to migrate to numbers. The base 0.47.0 entry did name what broke ("stable names for shared models; typed methods…"). Nothing in release-please rewrites the subject. The only way to correct it before publishing is an override in the PR body or a hand edit to the release PR.
Verification: The diff adds CHANGELOG.md lines 8 and 12, which are both "* api: sync OpenAPI spec from production" (under "### ⚠ BREAKING CHANGES" and "### Features"). The entry names no removed API and gives no migration step. This breaks a rule in the repo's own CLAUDE.md and REVIEW.md, and customers who hit the removed senderValue API get no guidance from the release notes.
|
🤖 Created releases: 🌻 |
Automated Release PR
0.48.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.