Skip to content

Releases: Azure/azure-notificationhubs-dotnet

Azure Notification Hubs 4.1.1

11 Feb 19:03
994abef
Compare
Choose a tag to compare

This release of the Azure Notification Hubs SDK for .NET includes the following:

Bugs Fixed

Microsoft.Azure.NotificationHubs 4.1.0

01 Oct 01:42
58b0c2e
Compare
Choose a tag to compare

Today we release the Azure Notification Hubs SDK for .NET version 4.1 with some new features.

New Features

There are some new features in this release including:

  • Push to User

Push to User

With the Installation API we now have a new feature that allows you to associate a user ID with an installation and then be able to target it with a send to all devices for that user. To set the user ID for the installation, set the UserId property of the Installation.

var installation = new Installation();
installation.UserId = "user1234";

await hub.CreateOrUpdateInstallationAsync(installation);

The user can then be targeted to send a notification with the tag format of $UserId:{USER_ID}, for example like the following:

var jsonPayload = "{\"aps\":{\"alert\":\"Notification Hub test notification\"}}";
var tags = new string [] { "$UserId:user1234" };

var notificationOutcome = await hub.SendAppleNativeNotificationAsync(jsonPayload, tags);

Bug Fixes

  • #155 Fix Content-Type for each Notification Type

Microsoft.Azure.NotificationHubs 4.0.0

14 Aug 22:26
634d9f3
Compare
Choose a tag to compare
  • Reintroduced NamespaceManager for hub management within a namespace
  • Added retry policy and support for throttling status codes
  • Added separate targets for netstandard2.0 and net461
  • Removed deprecated methods
  • Updated nuget dependencies

Microsoft.Azure.NotificationHubs 4.0.0-preview3

22 Jul 21:12
Compare
Choose a tag to compare

Introducing the Azure Notification Hubs .NET SDK 4.0.0-preview3

  • Adding built-in retry policy

Microsoft.Azure.NotificationHubs 4.0.0-preview2

09 Jul 21:51
34547de
Compare
Choose a tag to compare

Introducing the Azure Notification Hubs .NET SDK 4.0.0-preview2

  • Reintroduces NamespaceManager for hub management within a namespace
  • Targets frameworks netstandard2.0 and net461
  • Additional cleanup and removal of some deprecated methods
  • Update nuget dependencies

Microsoft.Azure.NotificationHubs 4.0.0-preview1

09 Jul 20:23
4ef526f
Compare
Choose a tag to compare

Introducing the Azure Notification Hubs .NET SDK 4.0.0-preview1

  • Reintroduces NamespaceManager for hub management within a namespace
  • Targets frameworks netstandard2.0 and net461
  • Additional cleanup and removal of some deprecated methods
  • Update nuget dependencies

Microsoft.Azure.NotificationHubs 3.3.0

16 Dec 08:09
8151857
Compare
Choose a tag to compare
  • Added method overloads that accept the 'CancellationToken' parameter
  • Updated documentation for the 'NotificationOutcome' class

Microsoft.Azure.NotificationHubs 3.2.1

19 Sep 18:20
Compare
Choose a tag to compare
  • Fixed bug with Strong Name Verification

Microsoft.Azure.NotificationHubs 3.2.0

17 Sep 22:57
71ac8ba
Compare
Choose a tag to compare
  • Added Baidu platform to Installations
  • Bug Fixes

Microsoft.Azure.NotificationHubs 3.1.0

18 Apr 14:04
5e16256
Compare
Choose a tag to compare

Fixed serialization for registration description