Repository navigation
release: 0.57.0 #84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
release: 0.57.0 #84
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| { | ||
| ".": "0.56.0" | ||
| ".": "0.57.0" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
|
|
||
| __title__ = "sent_dm" | ||
| __version__ = "0.56.0" # x-release-please-version | ||
| __version__ = "0.57.0" # x-release-please-version |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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_compliancewas removed. Fix: before releasing, keep deprecated aliases for every removed public method on bothSentandAsyncSent. 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_numbersand.retrieve_complianceexist (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:309add_numbersand src/sent_dm/resources/channels/sms/ten_dlc.py:217list_campaigns, and grep finds no alias for any of them in src/sent_dm. A user who upgrades with a^0.56or~=0.56pin 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 theretrieve_complianceremoval.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. Soclient.channels.sms.retrieve(...)raises AttributeError on 0.57.0.