Skip to content

Commit 71217ab

Browse files
Update C# SDK to 8.0.0 (#121)
* Import latest C# SDK DLL * Add minor C# SDK release changes * PubNub SDK v9.3.0 release. --------- Co-authored-by: PubNub Release Bot <[email protected]>
1 parent 8418222 commit 71217ab

File tree

7 files changed

+48
-11
lines changed

7 files changed

+48
-11
lines changed

.pubnub.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
---
2-
version: v9.2.0
2+
version: v9.3.0
33
changelog:
4+
- date: 2025-11-04
5+
version: v9.3.0
6+
changes:
7+
- type: feature
8+
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."
9+
- type: bug
10+
text: "Discard use of gcm and replaced with fcm for push notification service type of google. Removed mpns support."
411
- date: 2025-10-02
512
version: v9.2.0
613
changes:
@@ -795,7 +802,7 @@ sdks:
795802
distribution-type: package
796803
distribution-repository: git release
797804
package-name: PubNub.unitypackage
798-
location: https://github.com/pubnub/unity/releases/download/v9.2.0/PubNub.unitypackage
805+
location: https://github.com/pubnub/unity/releases/download/v9.3.0/PubNub.unitypackage
799806
requires:
800807
-
801808
name: "UnityEditor"
@@ -927,7 +934,7 @@ sdks:
927934
distribution-type: package
928935
distribution-repository: git release
929936
package-name: PubNub.unitypackage
930-
location: https://github.com/pubnub/unity/releases/download/v9.2.0/PubNub.unitypackage
937+
location: https://github.com/pubnub/unity/releases/download/v9.3.0/PubNub.unitypackage
931938
requires:
932939
-
933940
name: "UnityEditor"
0 Bytes
Binary file not shown.

PubNubUnity/Assets/PubNub/Runtime/Plugins/PubnubApiUnity.xml

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PubNubUnity/Assets/PubNub/Runtime/Util/NewtonsoftJsonUnity.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public object DeserializeToObject(object rawObject, Type type)
140140
{
141141
try
142142
{
143-
logger?.Debug("JsonNet Deserializing object data.");
143+
logger?.Trace("JsonNet Deserializing object data.");
144144
if (rawObject is JObject jObject)
145145
{
146146
return jObject.ToObject(type);
@@ -159,7 +159,7 @@ public object DeserializeToObject(object rawObject, Type type)
159159

160160
public object DeserializeToObject(string jsonString)
161161
{
162-
logger?.Debug("JsonNet Deserializing json string data.");
162+
logger?.Trace("JsonNet Deserializing json string data.");
163163
object result = JsonConvert.DeserializeObject<object>(jsonString,
164164
new JsonSerializerSettings { DateParseHandling = DateParseHandling.None, MaxDepth = 64 });
165165
if (result.GetType().ToString() == "Newtonsoft.Json.Linq.JArray")
@@ -180,7 +180,7 @@ public object DeserializeToObject(string jsonString)
180180
result = objectContainer;
181181
}
182182
}
183-
logger?.Debug("JsonNet Deserialsed json string data successfully.");
183+
logger?.Trace("JsonNet Deserialsed json string data successfully.");
184184
return result;
185185
}
186186

@@ -215,7 +215,7 @@ private bool IsGenericTypeForMessage<T>()
215215

216216
private T DeserializeMessageToObjectBasedOnPlatform<T>(List<object> listObject)
217217
{
218-
logger?.Debug("JsonNet Deserializing Messages data.");
218+
logger?.Trace("JsonNet Deserializing Messages data.");
219219
T ret = default(T);
220220
Type dataType = typeof(T).GetTypeInfo().GenericTypeArguments[0];
221221
Type generic = typeof(PNMessageResult<>);
@@ -290,7 +290,7 @@ private T DeserializeMessageToObjectBasedOnPlatform<T>(List<object> listObject)
290290

291291
ret = (T)Convert.ChangeType(message, specific, CultureInfo.InvariantCulture);
292292
}
293-
logger?.Debug("JsonNet Deserialized Messages successfully.");
293+
logger?.Trace("JsonNet Deserialized Messages successfully.");
294294
return ret;
295295
}
296296

PubNubUnity/Assets/PubNub/Runtime/Util/UnityPNSDKSource.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace PubnubApi.Unity
55
{
66
public class UnityPNSDKSource : IPNSDKSource {
77

8-
private const string build = "9.2.0";
8+
private const string build = "9.3.0";
99
public string Build => build;
1010

1111
public string GetPNSDK() {

PubNubUnity/Assets/PubNub/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.pubnub.sdk",
3-
"version": "9.2.0",
3+
"version": "9.3.0",
44
"displayName": "PubNub SDK",
55
"description": "PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks",
66
"unity": "2018.2",

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9.2.0
1+
9.3.0

0 commit comments

Comments
 (0)