Skip to content

v2.0.16

Latest

Choose a tag to compare

@corinagum corinagum released this 19 Aug 21:12
1f67bfa

What's Changed

Hotfix for a regression introduced in 2.0.15.

The Teams service can send nested channelData objects as empty ({}). Because fields like AppInfo.id were required, Pydantic raised a ValidationError and the entire activity was rejected, so affected bots silently stopped responding to messages.

This release makes those inbound-only fields optional so the SDK degrades gracefully: AppInfo.id, ChannelInfo.id, TeamInfo.id, TenantInfo.id, ChannelDataSettings.selected_channel, Attachment.content_type, and EntityBase.type.

Relaxing EntityBase.type also means an entity type introduced after this SDK version no longer drops the message.

If you are on 2.0.15, upgrading is recommended.

Fixes #563. Thanks to jerbob92 for the report.

Full Changelog: v2.0.15...v2.0.16