Skip to content

Commit 7f834ab

Browse files
author
bird-release[bot]
committed
Release v0.8.3 (sdk-python/v0.8.3)
1 parent ad5f67e commit 7f834ab

3 files changed

Lines changed: 24 additions & 1 deletion

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.8.3
4+
5+
- Received messages and the `email.received` event now carry `authentication` (`pass`/`fail`/`unknown`), a single summary of sender authentication; treat `unknown` as not verified. The `spf_pass`/`dkim_pass`/`dmarc_pass` fields remain. Additive; no breaking change.
6+
37
## 0.8.2
48

59
- Add the WhatsApp webhook event types: `WHATSAPP_ACCEPTED`, `WHATSAPP_SENT`, `WHATSAPP_DELIVERED`, `WHATSAPP_READ`, and `WHATSAPP_FAILED`. Additive; no breaking change.

src/bird/_generated.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3949,6 +3949,13 @@ class EventEmailProcessed(BaseModel):
39493949
data: EventEmailProcessedData
39503950

39513951

3952+
class Authentication(Enum):
3953+
pass_ = 'pass'
3954+
fail = 'fail'
3955+
unknown = 'unknown'
3956+
NoneType_None = None
3957+
3958+
39523959
class EventEmailReceivedData(BaseModel):
39533960
model_config = ConfigDict(
39543961
extra='allow',
@@ -4008,6 +4015,12 @@ class EventEmailReceivedData(BaseModel):
40084015
examples=['<previous-message@example.com>'],
40094016
),
40104017
] = None
4018+
authentication: Annotated[
4019+
Authentication | None,
4020+
Field(
4021+
description="Whether the sender of the received message was authenticated. `pass` means the sender's identity was verified; `fail` means it was checked and did not verify; `unknown` means no verdict is available and the sender should not be treated as verified.\n"
4022+
),
4023+
] = None
40114024
spf_pass: Annotated[
40124025
bool | None,
40134026
Field(
@@ -4365,6 +4378,12 @@ class EventEmailMailboxMessageReceivedData(BaseModel):
43654378
ge=0,
43664379
),
43674380
]
4381+
authentication: Annotated[
4382+
Authentication | None,
4383+
Field(
4384+
description="Whether the sender of the received message was authenticated. `pass` means the sender's identity was verified; `fail` means it was checked and did not verify; `unknown` means no verdict is available and the sender should not be treated as verified.\n"
4385+
),
4386+
] = None
43684387
spf_pass: Annotated[
43694388
bool | None,
43704389
Field(

src/bird/_version.py

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

0 commit comments

Comments
 (0)