Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
name: c-sharp
version: "7.3.2"
version: "7.3.3"
schema: 1
scm: github.com/pubnub/c-sharp
changelog:
- date: 2025-03-26
version: v7.3.3
changes:
- type: improvement
text: "Upgrade Cbor library to latest version."
- type: improvement
text: "Additional logging to log pubnub instance configuration through registered custom logger."
- date: 2025-03-26
version: v7.3.2
changes:
Expand Down Expand Up @@ -855,7 +862,7 @@ features:
- QUERY-PARAM
supported-platforms:
-
version: Pubnub 'C#' 7.3.2
version: Pubnub 'C#' 7.3.3
platforms:
- Windows 10 and up
- Windows Server 2008 and up
Expand All @@ -866,7 +873,7 @@ supported-platforms:
- .Net Framework 4.6.1+
- .Net Framework 6.0
-
version: PubnubPCL 'C#' 7.3.2
version: PubnubPCL 'C#' 7.3.3
platforms:
- Xamarin.Android
- Xamarin.iOS
Expand All @@ -886,7 +893,7 @@ supported-platforms:
- .Net Core
- .Net 6.0
-
version: PubnubUWP 'C#' 7.3.2
version: PubnubUWP 'C#' 7.3.3
platforms:
- Windows Phone 10
- Universal Windows Apps
Expand All @@ -910,7 +917,7 @@ sdks:
distribution-type: source
distribution-repository: GitHub
package-name: Pubnub
location: https://github.com/pubnub/c-sharp/releases/tag/v7.3.2.0
location: https://github.com/pubnub/c-sharp/releases/tag/v7.3.3.0
requires:
-
name: ".Net"
Expand Down Expand Up @@ -1193,7 +1200,7 @@ sdks:
distribution-type: source
distribution-repository: GitHub
package-name: PubNubPCL
location: https://github.com/pubnub/c-sharp/releases/tag/v7.3.2.0
location: https://github.com/pubnub/c-sharp/releases/tag/v7.3.3.0
requires:
-
name: ".Net Core"
Expand Down Expand Up @@ -1552,7 +1559,7 @@ sdks:
distribution-type: source
distribution-repository: GitHub
package-name: PubnubUWP
location: https://github.com/pubnub/c-sharp/releases/tag/v7.3.2.0
location: https://github.com/pubnub/c-sharp/releases/tag/v7.3.3.0
requires:
-
name: "Universal Windows Platform Development"
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v7.3.3 - March 26 2025
-----------------------------
- Modified: upgrade Cbor library to latest version.
- Modified: additional logging to log pubnub instance configuration through registered custom logger.

v7.3.2 - March 26 2025
-----------------------------
- Modified: upgrade newtonsoft json library.
Expand Down
5 changes: 3 additions & 2 deletions src/Api/PubnubApi/EndPoint/PubSub/SubscribeManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -337,11 +337,12 @@ private void MultiChannelSubscribeRequest<T>(PNOperationType type, string[] chan
}
} else
{
logger?.Debug("Request cancelled");
logger?.Debug($"Subscribe request cancelled for timetoken {LastSubscribeTimetoken[PubnubInstance.InstanceId]}");
MultiChannelSubscribeRequest<T>(type, channels, channelGroups, LastSubscribeTimetoken[PubnubInstance.InstanceId], LastSubscribeRegion[PubnubInstance.InstanceId], false, null, externalQueryParam);
}
});
} catch (Exception ex) {
logger?.Error($"method:_subscribe \n channel={string.Join(",", channels.OrderBy(x => x).ToArray())} \n timetoken={timetoken} \n Exception Details={ex}");
logger?.Error($"While making subscribe request channel={string.Join(",", channels.OrderBy(x => x).ToArray())} \n timetoken={timetoken} \n Exception Details={ex}");
PNStatusCategory errorCategory = PNStatusCategoryHelper.GetPNStatusCategory(ex);
PNStatus status = new StatusBuilder(config[PubnubInstance.InstanceId], jsonLibrary).CreateStatusResponse<T>(type, errorCategory, pubnubRequestState, Constants.ResourceNotFoundStatusCode, new PNException(ex));
if (channels != null && channels.Length > 0) {
Expand Down
4 changes: 2 additions & 2 deletions src/Api/PubnubApi/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
[assembly: AssemblyProduct("Pubnub C# SDK")]
[assembly: AssemblyCopyright("Copyright © 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyVersion("7.3.2.0")]
[assembly: AssemblyFileVersion("7.3.2.0")]
[assembly: AssemblyVersion("7.3.3.0")]
[assembly: AssemblyFileVersion("7.3.3.0")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
Expand Down
6 changes: 5 additions & 1 deletion src/Api/PubnubApi/Pubnub.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,11 @@ public void DecryptFile(string sourceFile, string destinationFile, string cipher
/// Configures a custom logger.
/// </summary>
/// <param name="logger">The logger to use.</param>
public void SetLogger(IPubnubLogger logger) => this.logger?.AddLogger(logger);
public void SetLogger(IPubnubLogger logger)
{
this.logger?.AddLogger(logger);
logger?.Debug(GetConfigurationLogString(pubnubConfig[InstanceId]));
}

public void RemoveLogger(IPubnubLogger logger) => this.logger?.RemoveLogger(logger);

Expand Down
7 changes: 4 additions & 3 deletions src/Api/PubnubApi/PubnubApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,16 @@

<PropertyGroup>
<PackageId>Pubnub</PackageId>
<PackageVersion>7.3.2.0</PackageVersion>
<PackageVersion>7.3.3.0</PackageVersion>
<Title>PubNub C# .NET - Web Data Push API</Title>
<Authors>Pandu Masabathula</Authors>
<Owners>PubNub</Owners>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<PackageIconUrl>http://pubnub.s3.amazonaws.com/2011/powered-by-pubnub/pubnub-icon-600x600.png</PackageIconUrl>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<RepositoryUrl>https://github.com/pubnub/c-sharp/</RepositoryUrl>
<PackageReleaseNotes>Upgrade newtonsoft json library.</PackageReleaseNotes>
<PackageReleaseNotes>Upgrade Cbor library to latest version.
Additional logging to log pubnub instance configuration through registered custom logger.</PackageReleaseNotes>
<PackageTags>Web Data Push Real-time Notifications ESB Message Broadcasting Distributed Computing</PackageTags>
<!--<Summary>PubNub is a Massively Scalable Web Push Service for Web and Mobile Games. This is a cloud-based service for broadcasting messages to thousands of web and mobile clients simultaneously</Summary>-->
<Description>PubNub is a Massively Scalable Web Push Service for Web and Mobile Games. This is a cloud-based service for broadcasting messages to thousands of web and mobile clients simultaneously</Description>
Expand Down Expand Up @@ -66,7 +67,7 @@
<PackageReference Include="Newtonsoft.Json" Version="13.0.3">
<PrivateAssets>None</PrivateAssets>
</PackageReference>
<PackageReference Include="PeterO.Cbor" Version="4.5.2" />
<PackageReference Include="PeterO.Cbor" Version="4.5.5" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net35'">
Expand Down
7 changes: 4 additions & 3 deletions src/Api/PubnubApiPCL/PubnubApiPCL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,16 @@

<PropertyGroup>
<PackageId>PubnubPCL</PackageId>
<PackageVersion>7.3.2.0</PackageVersion>
<PackageVersion>7.3.3.0</PackageVersion>
<Title>PubNub C# .NET - Web Data Push API</Title>
<Authors>Pandu Masabathula</Authors>
<Owners>PubNub</Owners>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<PackageIconUrl>http://pubnub.s3.amazonaws.com/2011/powered-by-pubnub/pubnub-icon-600x600.png</PackageIconUrl>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<RepositoryUrl>https://github.com/pubnub/c-sharp/</RepositoryUrl>
<PackageReleaseNotes>Upgrade newtonsoft json library.</PackageReleaseNotes>
<PackageReleaseNotes>Upgrade Cbor library to latest version.
Additional logging to log pubnub instance configuration through registered custom logger.</PackageReleaseNotes>
<PackageTags>Web Data Push Real-time Notifications ESB Message Broadcasting Distributed Computing</PackageTags>
<!--<Summary>PubNub is a Massively Scalable Web Push Service for Web and Mobile Games. This is a cloud-based service for broadcasting messages to thousands of web and mobile clients simultaneously</Summary>-->
<Description>PubNub is a Massively Scalable Web Push Service for Web and Mobile Games. This is a cloud-based service for broadcasting messages to thousands of web and mobile clients simultaneously</Description>
Expand Down Expand Up @@ -637,7 +638,7 @@
<PackageReference Include="Newtonsoft.Json" Version="13.0.3">
<PrivateAssets>None</PrivateAssets>
</PackageReference>
<PackageReference Include="PeterO.Cbor" Version="4.5.2" />
<PackageReference Include="PeterO.Cbor" Version="4.5.5" />
</ItemGroup>

<ItemGroup>
Expand Down
7 changes: 4 additions & 3 deletions src/Api/PubnubApiUWP/PubnubApiUWP.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,16 @@

<PropertyGroup>
<PackageId>PubnubUWP</PackageId>
<PackageVersion>7.3.2.0</PackageVersion>
<PackageVersion>7.3.3.0</PackageVersion>
<Title>PubNub C# .NET - Web Data Push API</Title>
<Authors>Pandu Masabathula</Authors>
<Owners>PubNub</Owners>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<PackageIconUrl>http://pubnub.s3.amazonaws.com/2011/powered-by-pubnub/pubnub-icon-600x600.png</PackageIconUrl>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<RepositoryUrl>https://github.com/pubnub/c-sharp/</RepositoryUrl>
<PackageReleaseNotes>Upgrade newtonsoft json library.</PackageReleaseNotes>
<PackageReleaseNotes>Upgrade Cbor library to latest version.
Additional logging to log pubnub instance configuration through registered custom logger.</PackageReleaseNotes>
<PackageTags>Web Data Push Real-time Notifications ESB Message Broadcasting Distributed Computing</PackageTags>
<!--<Summary>PubNub is a Massively Scalable Web Push Service for Web and Mobile Games. This is a cloud-based service for broadcasting messages to thousands of web and mobile clients simultaneously</Summary>-->
<Description>PubNub is a Massively Scalable Web Push Service for Web and Mobile Games. This is a cloud-based service for broadcasting messages to thousands of web and mobile clients simultaneously</Description>
Expand Down Expand Up @@ -777,7 +778,7 @@
<PackageReference Include="Newtonsoft.Json">
<Version>13.0.3</Version>
</PackageReference>
<PackageReference Include="PeterO.Cbor" Version="4.5.2" />
<PackageReference Include="PeterO.Cbor" Version="4.5.5" />
<PackageReference Include="System.Security.Cryptography.Algorithms" Version="4.3.0" />
<PackageReference Include="System.Collections.Concurrent">
<Version>4.3.0</Version>
Expand Down
4 changes: 2 additions & 2 deletions src/Api/PubnubApiUnity/PubnubApiUnity.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<PropertyGroup>
<PackageId>PubnubApiUnity</PackageId>
<PackageVersion>7.3.2.0</PackageVersion>
<PackageVersion>7.3.3.0</PackageVersion>
<Title>PubNub C# .NET - Web Data Push API</Title>
<Authors>Pandu Masabathula</Authors>
<Owners>PubNub</Owners>
Expand Down Expand Up @@ -676,7 +676,7 @@
<PackageReference Include="Newtonsoft.Json" Version="13.0.3">
<PrivateAssets>None</PrivateAssets>
</PackageReference>
<PackageReference Include="PeterO.Cbor" Version="4.5.2" />
<PackageReference Include="PeterO.Cbor" Version="4.5.5" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.0' ">
Expand Down
Loading