diff --git a/CHANGELOG.md b/CHANGELOG.md index 696e255..686e54c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 4.1.1 (Oct 24, 2025) +### Features +- Added `SetPushTriggerOption` to `SendbirdChatClient` + +### Bug Fixes +- Fixed an issue with `SendbirdChat.BlockUser` where 'User not found error' occurs due to URL encoding ## 4.1.0 (Nov 29, 2024) ### Features - Added `SetPushTriggerOption` to `SendbirdChatClient` diff --git a/Runtime/Plugins/WebGL/SendbirdWebSocket.jslib.meta b/Runtime/Plugins/WebGL/SendbirdWebSocket.jslib.meta index dd47d31..70d8f60 100644 --- a/Runtime/Plugins/WebGL/SendbirdWebSocket.jslib.meta +++ b/Runtime/Plugins/WebGL/SendbirdWebSocket.jslib.meta @@ -1,3 +1,32 @@ fileFormatVersion: 2 guid: 97c26cf6f5704fbc91d0c13a43a99de5 -timeCreated: 1725605334 \ No newline at end of file +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 1 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 0 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + WebGL: WebGL + second: + enabled: 1 + settings: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Runtime/Scripts/Internal/Command/CommandRouter.cs b/Runtime/Scripts/Internal/Command/CommandRouter.cs index 073079d..9ad39a2 100644 --- a/Runtime/Scripts/Internal/Command/CommandRouter.cs +++ b/Runtime/Scripts/Internal/Command/CommandRouter.cs @@ -392,13 +392,14 @@ private WsClientConnectParams CreateWebSocketClientConnectParams(string inWebSoc #if UNITY_WEBGL uriStringBuilder.Append($"&{ConnectionHeaders.REQUEST_SENT_TIMESTAMP.Name}={ConnectionHeaders.REQUEST_SENT_TIMESTAMP.Value}"); +#else + uriStringBuilder.Append($"&{ConnectionHeaders.USER_AGENT.Name}={ConnectionHeaders.USER_AGENT.Value}"); #endif } WsClientConnectParams wsClientConnectParams = new WsClientConnectParams(uriStringBuilder.ToString()); { #if !UNITY_WEBGL - wsClientConnectParams.CustomHeaders.Add(ConnectionHeaders.USER_AGENT.Name, ConnectionHeaders.USER_AGENT.Value); wsClientConnectParams.CustomHeaders.Add(ConnectionHeaders.REQUEST_SENT_TIMESTAMP.Name, ConnectionHeaders.REQUEST_SENT_TIMESTAMP.Value); #endif diff --git a/Runtime/Scripts/UnityPlatform/UnityPlatformApplication.cs b/Runtime/Scripts/UnityPlatform/UnityPlatformApplication.cs index 681fa51..d152edb 100644 --- a/Runtime/Scripts/UnityPlatform/UnityPlatformApplication.cs +++ b/Runtime/Scripts/UnityPlatform/UnityPlatformApplication.cs @@ -9,7 +9,9 @@ namespace Sendbird.Chat { internal class UnityPlatformApplication : IPlatformApplication { - string IPlatformApplication.SdkVersion => "4.1.0"; + // NOTE: This version is automatically updated by the PublishPackage workflow during deployment. + // Only update manually when making releases outside of the automated workflow. + string IPlatformApplication.SdkVersion => "4.1.1"; string IPlatformApplication.PlatformName => "Unity"; string IPlatformApplication.PlatformVersion => Application.unityVersion; string IPlatformApplication.OsName => Application.platform.ToString(); diff --git a/package.json b/package.json index a25995f..227edf9 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "com.sendbird.chat", "displayName": "SendbirdChat", - "version": "4.1.0", + "version": "4.1.1", "documentationUrl": "https://github.com/sendbird/sendbird-chat-sdk-unity", "changelogUrl": "https://github.com/sendbird/sendbird-chat-sdk-unity/blob/master/CHANGELOG.md", "licensesUrl": "https://github.com/sendbird/sendbird-chat-sdk-unity/blob/master/LICENSE.md", - "description": "The Sendbird Chat SDK for Unity allows you to add real-time chat into your client app with minimal effort. Sendbird offers a feature rich, scalable, and proven chat solution depended on by companies like Reddit, Hinge, PubG and Paytm.", + "description": "The Sendbird Chat SDK for Unity allows you to add real-time chat into your client app with minimal effort. Sendbird offers a feature rich, scalable, and proven chat solution.", "dependencies": { "com.unity.nuget.newtonsoft-json": "2.0.0" },