Repository navigation
release: 0.57.0 - #84
Conversation
|
|
||
| ### ⚠ BREAKING CHANGES | ||
|
|
||
| * **api:** markets move to channels.markets and 10DLC numbers to markets.add_numbers |
There was a problem hiding this comment.
🔴 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.
|
🤖 Created releases: 🌻 |
Automated Release PR
0.57.0 (2026-11-24)
⚠ BREAKING CHANGES
Features
This PR was generated with Release Please. See documentation.