Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.56.0"
".": "0.57.0"
}
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## [0.57.0](https://github.com/sentdm/sent-dm-python/compare/v0.56.0...v0.57.0) (2026-11-24)


### ⚠ 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.


### Features

* **api:** markets move to channels.markets and 10DLC numbers to markets.add_numbers ([2f9b5b9](https://github.com/sentdm/sent-dm-python/commit/2f9b5b925e2cc94b10f27cdb8f3029f7d3d35585))

## [0.56.0](https://github.com/sentdm/sent-dm-python/compare/v0.55.0...v0.56.0) (2026-11-12)


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "sentdm"
version = "0.56.0"
version = "0.57.0"
description = "The official Python library for the Sent API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/sent_dm/_version.py
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
Loading