github Azure/azure-sdk-for-net Azure.Communication.Messages_1.0.0

latest releases: Microsoft.Azure.Batch_16.3.1, Azure.Messaging.EventGrid_4.26.0, Azure.Communication.Chat_1.3.1...
6 months ago

1.0.0 (2024-02-29)

Features Added

  • Introduced additional constructors for MessageTemplateClient and NotificationMessagesClient to support TokenCredential authentication methods.
  • Introduced a variety of Notification Content models such as MediaNotificationContent, TemplateNotificationContent, and TextNotificationContent, enabling more polymorphic notification types.
  • Introduced a variety of message template value models such as MessageTemplateDocument, MessageTemplateImage, MessageTemplateVideo, etc., enabling more polymorphic message template values.
  • Added new namespace specific to WhatsApp message templates, including WhatsAppMessageTemplateBindings, WhatsAppMessageTemplateBindingsButton, and WhatsAppMessageButtonSubType, etc.
  • Updated CommunicationMessagesClientOptions to include a new service version V2024_02_01 and expanded CommunicationMessagesModelFactory with factory methods for new model types.

Breaking Changes

  • Removed the SendMessageOptions class in favor of more granular method overloads (NotificationContent subclasses) in NotificationMessagesClient.
  • Changed the way to construct MessageTemplate including message template bindings and values.
  • Changed MessageTemplateItem class to support polymorphism, with the introduction of a child class WhatsAppMessageTemplateItem containing WhatsApp-specific template contracts.
  • Added `GeoPosition`` struct to encapsulate geographic coordinates into a single entity. This change affects any functionality that previously required separate latitude and longitude inputs.

Don't miss a new azure-sdk-for-net release

NewReleases is sending notifications on new releases.