C#Changelog for PubNub C# V4 SDK

 

These docs are for PubNub 4.0 for C# which is our latest and greatest! For the docs of the 3.x versions of the SDK, please check the links: C#, Windows 8, Windows 8.1, ASP.Net, Windows Phone 8, Windows Phone 8.1, Xamarin.iOS, Xamarin.Android, Xamarin.Mac and C# PCL.

If you have questions about the PubNub for C# SDK, please contact us at support@pubnub.com.

PubNub EOL Policy


Modified
  • Code refactor to check null value of variables related to Reconnect usage

Modified
  • Code refactor based on codacy rules on unused code

  • Refactored code to handle WebException from HttpRequestException for NetStandard platforms

Modified
  • Added Grant delete permission feature

  • Modified SDK dependency Portable.BouncyCastle minimum version to 1.8.1.2

Modified
  • Refactored code for performance improvement

  • Refactored CleanupTelemetryData

Modified
  • Refactored code to publish multiple emoji characters

  • Refactored code to improve performance of Publish/Fire/Grant/Subscribe/Unsubscribe requests targeting .net framework

Modified
  • Code refactor to maintain separate instance id during multi-instancing

Modified
  • Added Publisher property to PNMessageResult of subscribe

  • Added PNException class and refactored code internally around status response

Modified
  • Code refactor related to MultiplexExceptionHandler

  • Support to Apple Watch

  • Code refactor related to PubnubInstance

Modified
  • Code refactor to ClientNetworkStatus

  • Proxy support for HttpClient

  • Code refactor to Telemetry

  • Reduced internal subscribe heartbeat interval for improvement in message delivery

Modified
  • Feature to add external query params

  • Internal deduping mechanism when devices cross regions (DedupOnSubscribe)

  • Added provision to SupressLeaveEvents

  • Refactored code related to network check time request for non-200 response logging

Modified
  • Fix for Publish Sync

  • Refactored Int32/Int64 Parse to TryParse

  • Code refactor based on Codacy

Modified
  • Relay server sent error status to PNStatus for Publish request

  • Refactored to allow colon char for publish with secret key

Modified
  • Relay server sent 403 status to PNStatus for PCL

  • Resolved array type published message for Subscribe

Modified
  • Refactored by applying JArray.Parse for history and time json response

Modified
  • Refactored code by replacing Add with AddOrGet for ConcurrentDictionary

  • Added exception handling in TerminateReconnectTimer

  • Code refactor based on Codacy recommendation

Modified
  • Return PNStatus for non-subscribe requests timeout

  • Fix for PAM Grant requests to work independent of device locale

  • Code refactor based on Codacy recommendation

Modified
  • Added bool return value for AddListener and RemoveListener

  • ResetTimeToken option for Reconnect and bool return for Reconnect/Disconnect

  • Resubscribe fix when channelgroup is used

Modified
  • Added exception handling to AddListener and RemoveListener

  • Code refactor to address collection modified error in TelemetryManager

  • Code refactor based on Codacy recommendation

Modified
  • Added null check in exception catch block during network reconnect

  • Refactored code to send correct channel group, if exist, to PNStatus during network reconnect

  • Fix for delete message from history

  • Code refactor based on Codacy recommendation

Modified
  • Added exception handling for subscribe and unsubscribe internal exceptions

Modified
  • Added new method RemoveAllPushNotificationsFromDeviceWithPushToken

  • Code refactor on Reconnect

  • Code refactor based on Codacy recommendation

Modified
  • Added Telemetry feature

  • Fix for PNPushListProvisionsResult

Modified
  • Added HereNowRefresh to PNPresenceEventResult

  • PCL version duplicate message fix for multiple disconnet/reconnect

Modified
  • Refactored code to handle exception in Unsubscribe and query builder functionality

  • Migrated source code from VS 2015 to VS 2017

  • Added DeleteMessages feature

Modified
  • Code refactor to fix subscribe timeout and reconnect

Modified
  • Refactored code for application level grant

  • Refactored code to reuse HttpClient instance

  • Refactored code to handle Pubnub multi-instancing

Modified
  • Fix for publish with UsePOST and cipher key

  • Handling object array for History response

Modified
  • Fix for subscribe connect status callback

  • Message null value check for publish

Modified
  • Refactored to handle thread blocking

Modified
  • Fix to support Xamarin.Android Pubnub SDK install using Visual Studio

Modified
  • Added code to handle presence interval event

  • Code refactor per CA2000 code analysis

Modified
  • Refactored to address false alert log and timeout messages.

Modified
  • Support for ASP.NET/MVC project template projects.

Modified
  • Replaced HttpClient with compatible lib for .net 4.5/4.61 to support VS 2013.

Modified
  • Comma encoding fix for multi channelgroups

  • Fixed channel remove from channelgroup

Modified
  • Message fix for history when timetoken=false.

Modified
  • Added pn- prefix to default uuid.

Modified
  • pcl profile 111 subscribe message fix.

Modified
  • Timetoken fix for subscribed messages.

Modified
  • HttpClient to supported platforms. Fixed Unsubscribe issue.

Modified
  • Derived classes for inline coding.

Modified
  • Cipher typo, Origin change.

Modified
  • initial v4 version.