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
19 changes: 12 additions & 7 deletions .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
name: c-sharp
version: "8.0.0"
version: "8.0.1"
schema: 1
scm: github.com/pubnub/c-sharp
changelog:
- date: 2025-11-04
version: v8.0.1
changes:
- type: improvement
text: "Removed `limit` value clamp for HereNow API. Server will perform validation for limit parameter value."
- date: 2025-10-27
version: v8.0.0
changes:
Expand Down Expand Up @@ -952,7 +957,7 @@ features:
- QUERY-PARAM
supported-platforms:
-
version: Pubnub 'C#' 8.0.0
version: Pubnub 'C#' 8.0.1
platforms:
- Windows 10 and up
- Windows Server 2008 and up
Expand All @@ -963,7 +968,7 @@ supported-platforms:
- .Net Framework 4.6.1+
- .Net Framework 6.0
-
version: PubnubPCL 'C#' 8.0.0
version: PubnubPCL 'C#' 8.0.1
platforms:
- Xamarin.Android
- Xamarin.iOS
Expand All @@ -983,7 +988,7 @@ supported-platforms:
- .Net Core
- .Net 6.0
-
version: PubnubUWP 'C#' 8.0.0
version: PubnubUWP 'C#' 8.0.1
platforms:
- Windows Phone 10
- Universal Windows Apps
Expand All @@ -1007,7 +1012,7 @@ sdks:
distribution-type: source
distribution-repository: GitHub
package-name: Pubnub
location: https://github.com/pubnub/c-sharp/releases/tag/v8.0.0.0
location: https://github.com/pubnub/c-sharp/releases/tag/v8.0.1.0
requires:
-
name: ".Net"
Expand Down Expand Up @@ -1290,7 +1295,7 @@ sdks:
distribution-type: source
distribution-repository: GitHub
package-name: PubNubPCL
location: https://github.com/pubnub/c-sharp/releases/tag/v8.0.0.0
location: https://github.com/pubnub/c-sharp/releases/tag/v8.0.1.0
requires:
-
name: ".Net Core"
Expand Down Expand Up @@ -1649,7 +1654,7 @@ sdks:
distribution-type: source
distribution-repository: GitHub
package-name: PubnubUWP
location: https://github.com/pubnub/c-sharp/releases/tag/v8.0.0.0
location: https://github.com/pubnub/c-sharp/releases/tag/v8.0.1.0
requires:
-
name: "Universal Windows Platform Development"
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v8.0.1 - November 04 2025
-----------------------------
- Modified: removed `limit` value clamp for HereNow API. Server will perform validation for limit parameter value.

v8.0.0 - October 27 2025
-----------------------------
- Added: 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.
Expand Down
21 changes: 4 additions & 17 deletions src/Api/PubnubApi/EndPoint/Presence/HereNowOperation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ namespace PubnubApi.EndPoint
{
public class HereNowOperation : PubnubCoreBase
{
private const int DefaultLimit = 1000;

private readonly PNConfiguration config;
private readonly IJsonPluggableLibrary jsonLibrary;
private readonly IPubnubUnitTest unit;


private string[] channelNames;
private string[] channelGroupNames;
private bool includeUserState;
private bool includeChannelUUIDs = true;
private PNCallback<PNHereNowResult> savedCallback;
private Dictionary<string, object> queryParam;
private int limit = 1000;
private int limit = DefaultLimit;
private int offset;

public HereNowOperation(PNConfiguration pubnubConfig, IJsonPluggableLibrary jsonPluggableLibrary,
Expand Down Expand Up @@ -59,26 +59,13 @@ public HereNowOperation IncludeUUIDs(bool includeUUIDs)

/// <summary>
/// limit number of users details to be returned.
/// maximum value of limit parameter is 1000.
/// default value is 1000.
/// Note: value can not be greater than 1000.
/// If provided value more than 1000, It will be capped to 1000.
/// </summary>
/// <param name="limit"></param>
/// <returns></returns>
public HereNowOperation Limit(int limit)
{
if (limit < 1000)
{
this.limit = limit;
}

if (limit > 1000)
{
logger.Debug(
"Provided 'limit' value exceeds the maximum allowed (1000). The value has been capped to 1000.");
}

this.limit = limit;
return this;
}

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("8.0.0.0")]
[assembly: AssemblyFileVersion("8.0.0.0")]
[assembly: AssemblyVersion("8.0.1.0")]
[assembly: AssemblyFileVersion("8.0.1.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: 2 additions & 4 deletions src/Api/PubnubApi/PubnubApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,15 @@

<PropertyGroup>
<PackageId>Pubnub</PackageId>
<PackageVersion>8.0.0.0</PackageVersion>
<PackageVersion>8.0.1.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>Discard use of gcm and replaced with fcm for push notification service type of google. Removed mpns support.
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.
Added new tests for duplicate subscribe requests.</PackageReleaseNotes>
<PackageReleaseNotes>Removed `limit` value clamp for HereNow API. Server will perform validation for limit parameter value.</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
6 changes: 2 additions & 4 deletions src/Api/PubnubApiPCL/PubnubApiPCL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,15 @@

<PropertyGroup>
<PackageId>PubnubPCL</PackageId>
<PackageVersion>8.0.0.0</PackageVersion>
<PackageVersion>8.0.1.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>Discard use of gcm and replaced with fcm for push notification service type of google. Removed mpns support.
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.
Added new tests for duplicate subscribe requests.</PackageReleaseNotes>
<PackageReleaseNotes>Removed `limit` value clamp for HereNow API. Server will perform validation for limit parameter value.</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
6 changes: 2 additions & 4 deletions src/Api/PubnubApiUWP/PubnubApiUWP.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,15 @@

<PropertyGroup>
<PackageId>PubnubUWP</PackageId>
<PackageVersion>8.0.0.0</PackageVersion>
<PackageVersion>8.0.1.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>Discard use of gcm and replaced with fcm for push notification service type of google. Removed mpns support.
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.
Added new tests for duplicate subscribe requests.</PackageReleaseNotes>
<PackageReleaseNotes>Removed `limit` value clamp for HereNow API. Server will perform validation for limit parameter value.</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
2 changes: 1 addition & 1 deletion src/Api/PubnubApiUnity/PubnubApiUnity.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<PropertyGroup>
<PackageId>PubnubApiUnity</PackageId>
<PackageVersion>8.0.0.0</PackageVersion>
<PackageVersion>8.0.1.0</PackageVersion>
<Title>PubNub C# .NET - Web Data Push API</Title>
<Authors>Pandu Masabathula</Authors>
<Owners>PubNub</Owners>
Expand Down
Loading