v2.1.0a2
Pre-releaseWhat's Changed
Preview release on the 2.1 train. Ports the channelData hotfix from 2.0.16.
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.
This is a preview release, published to PyPI under the next tag. Install with pip install microsoft-teams-apps==2.1.0a2.
- Make channelData subfields optional to avoid throw by Corina (@corinagum) in #564 (ported in #567)
Fixes #563. Thanks to jerbob92 for the report.
Full Changelog: v2.1.0a1...v2.1.0a2