Skip to content

Commit 9dd79fd

Browse files
author
bird-release[bot]
committed
Release v0.9.2 (sdk-python/v0.9.2)
1 parent f5c3bff commit 9dd79fd

3 files changed

Lines changed: 11 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 0.9.2
4+
5+
- Suppressions: `reason`, `origin`, and `applies_to` are now documented as growing vocabularies (open enums on the wire) — `origin` gained `unsubscribe_link`, a suppression created by the recipient through Bird's hosted unsubscribe page or its one-click link. Treat unknown values as informational rather than rejecting the record. Additive; no breaking change.
6+
37
## 0.9.1
48

59
- Add voice call-event webhook types: `voice.call.initiated`, `voice.call.answered`, and `voice.call.ended` are now recognized event types with typed payloads. Additive; no breaking change.

src/bird/_generated.py

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4579,13 +4579,6 @@ class EventEmailMailboxThreadCreated(BaseModel):
45794579
data: EventEmailMailboxThreadCreatedData
45804580

45814581

4582-
class Reason(str, Enum):
4583-
hard_bounce = 'hard_bounce'
4584-
complaint = 'complaint'
4585-
unsubscribe = 'unsubscribe'
4586-
manual = 'manual'
4587-
4588-
45894582
class EventEmailSuppressionCreatedData(BaseModel):
45904583
model_config = ConfigDict(
45914584
extra='allow',
@@ -4608,8 +4601,12 @@ class EventEmailSuppressionCreatedData(BaseModel):
46084601
),
46094602
]
46104603
reason: Annotated[
4611-
Reason,
4612-
Field(description='Why the address was suppressed.', examples=['hard_bounce']),
4604+
str,
4605+
Field(
4606+
description='Why the address was suppressed. This list grows over time — treat unknown values as informational rather than rejecting the event.\n',
4607+
examples=['hard_bounce'],
4608+
min_length=1,
4609+
),
46134610
]
46144611
workspace_id: Annotated[
46154612
str,

src/bird/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.9.1"
1+
__version__ = "0.9.2"

0 commit comments

Comments
 (0)