diff --git a/.pubnub.yml b/.pubnub.yml index c0946c70..b5e61e36 100644 --- a/.pubnub.yml +++ b/.pubnub.yml @@ -1,6 +1,13 @@ --- -version: v9.2.0 +version: v9.3.0 changelog: + - date: 2025-11-04 + version: v9.3.0 + changes: + - type: feature + text: "BREAKING CHANGES: The HereNow method will return a maximum of 1000 occupants per channel. Previously, it was returning all occupants without limit parameter support. Use pagination through offset when more than 1000 occupants present in channel." + - type: bug + text: "Discard use of gcm and replaced with fcm for push notification service type of google. Removed mpns support." - date: 2025-10-02 version: v9.2.0 changes: @@ -795,7 +802,7 @@ sdks: distribution-type: package distribution-repository: git release package-name: PubNub.unitypackage - location: https://github.com/pubnub/unity/releases/download/v9.2.0/PubNub.unitypackage + location: https://github.com/pubnub/unity/releases/download/v9.3.0/PubNub.unitypackage requires: - name: "UnityEditor" @@ -927,7 +934,7 @@ sdks: distribution-type: package distribution-repository: git release package-name: PubNub.unitypackage - location: https://github.com/pubnub/unity/releases/download/v9.2.0/PubNub.unitypackage + location: https://github.com/pubnub/unity/releases/download/v9.3.0/PubNub.unitypackage requires: - name: "UnityEditor" diff --git a/PubNubUnity/Assets/PubNub/Runtime/Plugins/PubnubApiUnity.dll b/PubNubUnity/Assets/PubNub/Runtime/Plugins/PubnubApiUnity.dll index 51f815a5..f480b594 100644 Binary files a/PubNubUnity/Assets/PubNub/Runtime/Plugins/PubnubApiUnity.dll and b/PubNubUnity/Assets/PubNub/Runtime/Plugins/PubnubApiUnity.dll differ diff --git a/PubNubUnity/Assets/PubNub/Runtime/Plugins/PubnubApiUnity.xml b/PubNubUnity/Assets/PubNub/Runtime/Plugins/PubnubApiUnity.xml index a270fefc..8b59eadb 100644 --- a/PubNubUnity/Assets/PubNub/Runtime/Plugins/PubnubApiUnity.xml +++ b/PubNubUnity/Assets/PubNub/Runtime/Plugins/PubnubApiUnity.xml @@ -18,6 +18,23 @@ + + + limit number of users details to be returned. + default value is 1000. + + + + + + + use this parameter to provide starting position of results + for pagination purpose + default value is 0. + + + + The publish timetoken of a parent message @@ -253,6 +270,19 @@ Create a state-invocation pair + + + Extension methods for PNPushType enum to get url value + + + + + Converts PNPushType enum to the appropriate URL string. + GCM is converted to 'fcm' since GCM is decommisioned. + + The push type enum value + URL string representation of the push type + Supports Only APNS2 diff --git a/PubNubUnity/Assets/PubNub/Runtime/Util/NewtonsoftJsonUnity.cs b/PubNubUnity/Assets/PubNub/Runtime/Util/NewtonsoftJsonUnity.cs index bf36a89a..e6319ad5 100644 --- a/PubNubUnity/Assets/PubNub/Runtime/Util/NewtonsoftJsonUnity.cs +++ b/PubNubUnity/Assets/PubNub/Runtime/Util/NewtonsoftJsonUnity.cs @@ -140,7 +140,7 @@ public object DeserializeToObject(object rawObject, Type type) { try { - logger?.Debug("JsonNet Deserializing object data."); + logger?.Trace("JsonNet Deserializing object data."); if (rawObject is JObject jObject) { return jObject.ToObject(type); @@ -159,7 +159,7 @@ public object DeserializeToObject(object rawObject, Type type) public object DeserializeToObject(string jsonString) { - logger?.Debug("JsonNet Deserializing json string data."); + logger?.Trace("JsonNet Deserializing json string data."); object result = JsonConvert.DeserializeObject(jsonString, new JsonSerializerSettings { DateParseHandling = DateParseHandling.None, MaxDepth = 64 }); if (result.GetType().ToString() == "Newtonsoft.Json.Linq.JArray") @@ -180,7 +180,7 @@ public object DeserializeToObject(string jsonString) result = objectContainer; } } - logger?.Debug("JsonNet Deserialsed json string data successfully."); + logger?.Trace("JsonNet Deserialsed json string data successfully."); return result; } @@ -215,7 +215,7 @@ private bool IsGenericTypeForMessage() private T DeserializeMessageToObjectBasedOnPlatform(List listObject) { - logger?.Debug("JsonNet Deserializing Messages data."); + logger?.Trace("JsonNet Deserializing Messages data."); T ret = default(T); Type dataType = typeof(T).GetTypeInfo().GenericTypeArguments[0]; Type generic = typeof(PNMessageResult<>); @@ -290,7 +290,7 @@ private T DeserializeMessageToObjectBasedOnPlatform(List listObject) ret = (T)Convert.ChangeType(message, specific, CultureInfo.InvariantCulture); } - logger?.Debug("JsonNet Deserialized Messages successfully."); + logger?.Trace("JsonNet Deserialized Messages successfully."); return ret; } diff --git a/PubNubUnity/Assets/PubNub/Runtime/Util/UnityPNSDKSource.cs b/PubNubUnity/Assets/PubNub/Runtime/Util/UnityPNSDKSource.cs index d04a834f..e3a45425 100644 --- a/PubNubUnity/Assets/PubNub/Runtime/Util/UnityPNSDKSource.cs +++ b/PubNubUnity/Assets/PubNub/Runtime/Util/UnityPNSDKSource.cs @@ -5,7 +5,7 @@ namespace PubnubApi.Unity { public class UnityPNSDKSource : IPNSDKSource { - private const string build = "9.2.0"; + private const string build = "9.3.0"; public string Build => build; public string GetPNSDK() { diff --git a/PubNubUnity/Assets/PubNub/package.json b/PubNubUnity/Assets/PubNub/package.json index 785acaad..410644e5 100644 --- a/PubNubUnity/Assets/PubNub/package.json +++ b/PubNubUnity/Assets/PubNub/package.json @@ -1,6 +1,6 @@ { "name": "com.pubnub.sdk", - "version": "9.2.0", + "version": "9.3.0", "displayName": "PubNub SDK", "description": "PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks", "unity": "2018.2", diff --git a/VERSION b/VERSION index deeb3d66..b13d146a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -9.2.0 +9.3.0