Skip to content

release: 0.57.0 - #84

Merged
arbianst merged 1 commit into
mainfrom
release-please--branches--main
Nov 24, 2026
Merged

arbianst merged 1 commit into
mainfrom
release-please--branches--main

Conversation

@sent-dm-sdk-pipeline

Copy link
Copy Markdown
Contributor

Automated Release PR

0.57.0 (2026-11-24)

⚠ BREAKING CHANGES

  • api: markets move to channels.markets and 10DLC numbers to markets.add_numbers

Features

  • api: markets move to channels.markets and 10DLC numbers to markets.add_numbers (2f9b5b9)

This PR was generated with Release Please. See documentation.

Comment thread CHANGELOG.md

### ⚠ BREAKING CHANGES

* **api:** markets move to channels.markets and 10DLC numbers to markets.add_numbers

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 this release publishes 0.57.0, which removes market and 10DLC methods with no alias, so existing caller code fails with AttributeError. CLAUDE.md says: "A rename or a removal keeps an alias." The breaking entry also doesn't mention that ten_dlc.retrieve_compliance was removed. Fix: before releasing, keep deprecated aliases for every removed public method on both Sent and AsyncSent. The aliases belong in the SDK configuration, not in hand edits. If the maintainer instead accepts the break, the changelog needs to name every removed method and its replacement.

Why this was flagged

Merging this release PR publishes the API commit 2f9b5b9 to PyPI as 0.57.0, which is a minor bump. On the base, client.channels.sms.retrieve, .update, .list, client.channels.sms.ten_dlc.add_numbers and .retrieve_compliance exist (905e6b9:src/sent_dm/resources/channels/sms/sms.py, ten_dlc.py), and so do their async twins. After 2f9b5b9 they are gone. Their replacements are src/sent_dm/resources/channels/markets.py:309 add_numbers and src/sent_dm/resources/channels/sms/ten_dlc.py:217 list_campaigns, and grep finds no alias for any of them in src/sent_dm. A user who upgrades with a ^0.56 or ~=0.56 pin that allows 0.57 gets AttributeError at runtime on code that worked before. I found no deprecation shim that could prevent this. The changelog entry at CHANGELOG.md:8 and :12 names only the markets and add_numbers move, so it says nothing about the retrieve_compliance removal.

Verification: Trigger: any existing caller of the removed methods upgrades to 0.57.0, which merging this release PR publishes to PyPI. At 2f9b5b9, SMSResource in src/sent_dm/resources/channels/sms/sms.py has only create (86). src/sent_dm/resources/channels/ has no alias or deprecation shim. So client.channels.sms.retrieve(...) raises AttributeError on 0.57.0.

@arbianst
arbianst merged commit d4a885f into main Nov 24, 2026
8 checks passed
@arbianst
arbianst deleted the release-please--branches--main branch November 24, 2026 13:39
@sent-dm-sdk-pipeline

Copy link
Copy Markdown
Contributor Author

🤖 Created releases:

🌻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant