Repository navigation
release: 0.54.0 - #80
Conversation
|
|
||
| ### ⚠ BREAKING CHANGES | ||
|
|
||
| * **api:** stable names for shared models; typed methods for sender profiles, channels, compliance requirements and message cancel |
There was a problem hiding this comment.
🔴 Users upgrading to 0.54.0 lose public names like MeRetrieveResponse with no alias and no migration note in the release notes. The breaking-changes line only names the topic, not what was renamed or what to do. CLAUDE.md says "A rename or a removal keeps an alias" and changelog lines must say "what changed, and what to do about it". Fix: before publishing, restore aliases for the removed names through the SDK configuration. Failing that, edit the release notes in the release PR body to map each old name to its replacement.
Why this was flagged
Merging this release PR publishes 0.54.0 to PyPI with the changes from base commit 1be25d7. That commit removed exported names from src/sent_dm/types/init.py with no aliases. The removed names include MeRetrieveResponse, UserListResponse, ProfileListResponse, NumberLookupResponse, WebhookRotateSecretResponse, MessageRetrieveStatusResponse and MessageRetrieveActivitiesResponse; for example, me_retrieve_response.py was renamed to account.py. A grep of src/ and api.md finds no remaining definition or alias for these names. Code that runs from sent_dm.types import MeRetrieveResponse works on 0.53.0 and raises ImportError on 0.54.0. The new CHANGELOG.md:8 entry is the only guidance customers get, and it lists neither the removed names nor their replacements. The version bump from 0.53.0 to 0.54.0 is only a minor bump, so a ~=0.53 or ^0.53-style pin can pick up the break without warning.
Verification: The trigger is a user upgrading from 0.53.0 to 0.54.0 whose code imports any of the removed names. Base commit 1be25d7 drops exports such as MeRetrieveResponse from src/sent_dm/types/init.py with no alias, so from sent_dm.types import MeRetrieveResponse raises ImportError. The changelog line at CHANGELOG.md:8 does not say which names changed or what to replace them with.
|
🤖 Created releases: 🌻 |
Automated Release PR
0.54.0 (2026-11-06)
⚠ BREAKING CHANGES
Features
This PR was generated with Release Please. See documentation.