Soenneker.GitHub.Repositories.Subscriptions 11.0.458

Prefix Reserved
dotnet add package Soenneker.GitHub.Repositories.Subscriptions --version 11.0.458
                    
NuGet\Install-Package Soenneker.GitHub.Repositories.Subscriptions -Version 11.0.458
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.GitHub.Repositories.Subscriptions" Version="11.0.458" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.GitHub.Repositories.Subscriptions" Version="11.0.458" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.GitHub.Repositories.Subscriptions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.GitHub.Repositories.Subscriptions --version 11.0.458
                    
#r "nuget: Soenneker.GitHub.Repositories.Subscriptions, 11.0.458"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.GitHub.Repositories.Subscriptions@11.0.458
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.GitHub.Repositories.Subscriptions&version=11.0.458
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.GitHub.Repositories.Subscriptions&version=11.0.458
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.GitHub.Repositories.Subscriptions

Read, enable, or remove the authenticated GitHub user's watch subscription for a repository.

Installation

dotnet add package Soenneker.GitHub.Repositories.Subscriptions

Configuration

{
  "GH": {
    "Token": "github-token"
  }
}

The token identifies the user whose repository notification setting will be read or changed and needs access to the target repository.

Registration

services.AddGitHubRepositoriesSubscriptionsUtilAsSingleton();

Use AddGitHubRepositoriesSubscriptionsUtilAsScoped() for a scoped consumer.

Usage

RepositorySubscription? current = await subscriptions.GetStatus(
    "soenneker",
    "example-repository",
    cancellationToken);

RepositorySubscription watching = await subscriptions.Subscribe(
    "soenneker",
    "example-repository",
    cancellationToken);

await subscriptions.Unsubscribe(
    "soenneker",
    "example-repository",
    cancellationToken);

Subscribe sets subscribed to true and ignored to false, enabling watch notifications for the authenticated user. Unsubscribe removes that user's repository subscription.

These methods manage GitHub's repository watching/notification subscription. They do not manage webhooks, GitHub Sponsors, package subscriptions, or repository access.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Soenneker.GitHub.Repositories.Subscriptions:

Package Downloads
Soenneker.GitHub.Repositories.Suite

Registers commonly used Soenneker GitHub repository services through one package

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.458 0 11/15/2026
11.0.457 51 11/14/2026
11.0.456 103 11/13/2026
11.0.455 129 11/12/2026
11.0.454 111 11/11/2026
11.0.453 77 11/11/2026
11.0.452 95 11/11/2026
11.0.451 94 11/11/2026
11.0.450 99 11/11/2026
11.0.449 81 11/11/2026
11.0.448 77 11/11/2026
11.0.447 107 11/11/2026
11.0.446 91 11/11/2026
11.0.444 159 11/10/2026
11.0.443 166 11/9/2026
11.0.442 194 11/8/2026
11.0.441 129 11/7/2026
11.0.440 212 11/6/2026
11.0.439 234 11/5/2026
11.0.438 158 11/4/2026
Loading failed

Update dependency Soenneker.GitHub.ClientUtil to 11.0.786 (#736)