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

latest releases: Azure.Storage.Blobs.Batch_12.20.0, Azure.Storage.Files.DataLake_12.21.0, Azure.Storage.Blobs.ChangeFeed_12.0.0-preview.52...
8 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.