Octokit 0.18.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Octokit --version 0.18.0
                    
NuGet\Install-Package Octokit -Version 0.18.0
                    
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="Octokit" Version="0.18.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Octokit" Version="0.18.0" />
                    
Directory.Packages.props
<PackageReference Include="Octokit" />
                    
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 Octokit --version 0.18.0
                    
#r "nuget: Octokit, 0.18.0"
                    
#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 Octokit@0.18.0
                    
#: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=Octokit&version=0.18.0
                    
Install as a Cake Addin
#tool nuget:?package=Octokit&version=0.18.0
                    
Install as a Cake Tool

An async-based GitHub API client library for .NET

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Windows Store netcore451 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCore 4.5

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • All Frameworks

  • Portable Class Library (Windows 8.1, WindowsPhoneApp 8.1)

    • No dependencies.

NuGet packages (180)

Showing the top 5 NuGet packages that depend on Octokit:

Package Downloads
Nuke.Common

The AKEless Build System for C#/.NET Signed by signpath.io from repository 'https://github.com/nuke-build/nuke' commit 'a20c3b752d0c9f533a6e2c21fee6325032cd3d70' (see contained AppVeyorSettings.json file for build settings).

DisCatSharp

DisCatSharp Your library to write discord bots in C# with a focus on always providing access to the latest discord features. Written with love and for everyone.

Soenneker.GitHub.Client

An async thread-safe singleton for Octokit's GitHubClient

OctoNotes.Generator.ReleaseNotesSource.GitHub

OctoNotes is a tool for generating release notes from Git repositories. In a perfect, trunk-based world, there would be a single, linear graph between versions of an application. In the real world, however, that's almost never the case. Many releases will have hotfixes; many applications will have LTS branches or maintenance releases; not to mention pull requests and other reasons for branches, both short-lived and long. OctoNotes takes a slightly different view of release notes. OctoNotes views the Git revision graph as the single source of truth. If a bug was fixed in a commit, that bug is only fixed in revisions containing that commit. If a feature was added between versions X and Y, it will appear in the Git revision graph as a commit somwehere between those two points. By leveraging Git tags, OctoNotes can pinpoint precisely where in a Git revision graph a change was introduced, and provide the release notes for just the commits between two points on that graph.

Fake.Api.GitHub

FAKE - F# Make - is a build automation tool for .NET. Tasks and dependencies are specified in a DSL which is integrated in F#.

GitHub repositories (212)

Showing the top 20 popular GitHub repositories that depend on Octokit:

Repository Stars
CodeHubApp/CodeHub
CodeHub is an iOS application written using Xamarin
marticliment/UniGetUI
UniGetUI: The Graphical Interface for your package managers. Could be terribly described as a package manager manager to manage your package managers
rocksdanister/lively
Free and open-source software that allows users to set animated desktop wallpapers and screensavers powered by WinUI 3.
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
dotnet/BenchmarkDotNet
Powerful .NET library for benchmarking
BornToBeRoot/NETworkManager
A powerful tool for managing networks and troubleshoot network problems!
BartoszCichecki/LenovoLegionToolkit
Lightweight Lenovo Vantage and Hotkeys replacement for Lenovo Legion laptops.
LykosAI/StabilityMatrix
Multi-Platform Package Manager for Stable Diffusion
AngleSharp/AngleSharp
:angel: The ultimate angle brackets parser library parsing HTML5, MathML, SVG and CSS to construct a DOM based on the official W3C specifications.
rmcrackan/Libation
Libation: Liberate your Library
Azure/azure-powershell
Microsoft Azure PowerShell
OptiKey/OptiKey
OptiKey - Full computer control and speech with your eyes
Ombi-app/Ombi
Want a Movie or TV Show on Plex/Emby/Jellyfin? Use Ombi!
cyanfish/naps2
Scan documents to PDF and more, as simply as possible.
elastic/elasticsearch-net
This strongly-typed, client library enables working with Elasticsearch. It is the official client maintained and supported by Elastic.
dotnet/samples
Sample code referenced by the .NET documentation
nuke-build/nuke
🏗 The AKEless Build System for C#/.NET
OpenTabletDriver/OpenTabletDriver
Open source, cross-platform, user-mode tablet driver
odedshimon/BruteShark
Network Analysis Tool
ferventdesert/Hawk
visualized crawler & ETL IDE written with C#/WPF
Version Downloads Last Updated
14.0.0 1,536,630 1/8/2025
13.0.1 5,792,795 7/2/2024
13.0.0 57,847 6/26/2024
12.0.0 326,896 6/10/2024
11.0.1 588,740 4/15/2024
11.0.0 26,659 4/10/2024
10.0.0 4,857,073 2/23/2024
9.1.2 93,209 2/1/2024
9.1.1 304,799 1/25/2024
9.1.0 160,148 1/3/2024
9.0.0 3,747,021 10/31/2023
8.1.1 64,779 10/12/2023
8.0.1 68,239 9/29/2023
8.0.0 48,319 9/22/2023
7.2.0 4,065 9/22/2023 7.2.0 is deprecated because it has critical bugs.
7.1.0 298,287 7/27/2023
7.0.1 260,926 7/5/2023
7.0.0 70,962 7/3/2023
6.2.1 51,631 6/28/2023
6.2.0 2,318 6/28/2023
6.1.0 19,210 6/22/2023
6.0.0 219,530 5/9/2023
5.1.0 40,357 4/28/2023
5.0.4 172,861 4/14/2023
5.0.3 50,545 4/6/2023
5.0.2 90,300 3/10/2023
5.0.1 3,890 3/9/2023
5.0.0 2,307,214 1/20/2023
4.0.4 61,391 1/13/2023
4.0.3 278,061 12/2/2022
4.0.2 4,748,442 11/23/2022
4.0.1 380,581 10/20/2022
4.0.0 72,709 10/10/2022
3.0.1 16,937 10/7/2022
3.0.0 121,324 9/13/2022
2.0.1 262,646 8/12/2022
2.0.0 104,672 8/4/2022
1.0.1 168,153 8/1/2022
1.0.0 155,161 7/13/2022
0.52.0 346,475 7/1/2022
0.51.0 2,794,041 4/27/2022
0.50.0 4,163,753 2/21/2021
0.49.0 26,767 2/13/2021
0.48.0 2,727,949 6/7/2020
0.47.0 297,399 4/12/2020
0.46.0 539,434 3/26/2020
0.45.0 8,689 3/17/2020
0.44.0 41,234 3/15/2020
0.43.0 133,647 3/2/2020
0.42.0 11,841 2/26/2020
0.41.0 3,836 2/24/2020
0.40.0 92,164 2/10/2020
0.39.0 2,418 2/9/2020
0.38.0 2,649 2/8/2020
0.37.0 75,184 2/3/2020
0.36.0 6,181,226 10/8/2019
0.35.0 6,108 10/1/2019
0.34.0 14,512 9/17/2019
0.33.0 11,096 9/12/2019
0.32.0 3,114,326 9/9/2018
0.31.0 214,438 7/21/2018
0.30.0 56,072 6/17/2018
0.29.0 623,392 2/18/2018
0.28.0 121,841 11/6/2017
0.27.0 51,615 10/7/2017
0.26.0 444,018 8/31/2017
0.25.0 25,681 8/23/2017
0.24.1-alpha0001 38,521 1/21/2017
0.24.0 196,418 1/17/2017
0.23.0 65,027 10/7/2016
0.22.0 18,809 9/1/2016
0.21.1 76,126 7/29/2016
0.21.0 11,350 7/28/2016
0.20.0 33,096 6/14/2016
0.19.0 117,016 3/13/2016
0.18.0 98,713 2/2/2016
0.17.0 65,608 12/8/2015
0.16.0 63,668 9/17/2015
0.15.0 12,265 9/10/2015
0.14.0 23,633 7/18/2015
0.13.0 28,959 6/17/2015
0.12.0 12,962 5/19/2015
0.11.0 10,419 5/9/2015
0.10.0 52,594 4/22/2015
0.9.0 44,876 4/6/2015
0.8.0 12,595 3/19/2015
0.7.3 10,315 3/9/2015
0.7.2 13,365 3/1/2015
0.7.1 11,229 2/24/2015
0.7.0 11,593 2/23/2015
0.7.0-alpha2 8,837 2/19/2015
0.7.0-alpha 8,251 2/19/2015
0.6.2 15,867 1/5/2015
0.6.1 10,169 12/23/2014
0.6.0 9,544 12/11/2014
0.5.3 9,224 12/10/2014
0.5.2 23,187 10/14/2014
0.5.1 9,666 10/7/2014
0.5.0 8,722 10/7/2014
0.4.1 92,543 7/22/2014
0.4.0 9,428 7/11/2014
0.3.5 9,771 6/30/2014
0.3.4 30,364 4/30/2014
0.3.3 10,970 4/24/2014
0.3.2 8,896 4/17/2014
0.3.1 9,234 3/31/2014
0.3.0 9,055 3/19/2014
0.2.2 8,687 3/6/2014
0.2.1 8,265 2/20/2014
0.2.0 8,171 2/20/2014
0.1.9 8,282 2/20/2014
0.1.8 8,287 1/22/2014
0.1.7 7,889 12/27/2013
0.1.6 7,085 12/26/2013
0.1.5 6,359 11/19/2013
0.1.4 7,131 11/7/2013
0.1.3 6,559 11/6/2013
0.1.1 8,376 10/30/2013
0.1.0 21,710 10/30/2013

New: support for User Administration API (GitHub Enterprise) - #1068 via @paladique
New: support for Admin Stats API (GitHub Enterprise) - - #1049 via @ryangribble
New: support for Repository Pages API - #1061 via @M-Zuber
New: get stargazer creation timestamps - #1060 via @daveaglick
New: support for Protected Branches API - #996 via @ryangribble
New: support for creating Personal Access Tokens - #990 via @alfhenrik
Fixed: `Milestone` property added to `PullRequest` response - #1075 via @Eilon
Fixed: Add member role filter to `OrganizationMembersClient.GetAll()` - #1072 via @ryangribble
Fixed: `Repository.Content.GetAllContents` now support the root of the repository - #1064 via @naveensrinivasan, @shiftkey
Fixed: added `Id` and `Locked` to `Issue`, added `CommitUrl` to `IssueEvent` - #1039 via @gabrielweyer
Fixed: additional fields on `Release` and `ReleaseAsset` - #1009 via @gabrielweyer
Fixed: `ApiException` now includes JSON payload when `.ToString()`- #974 via @asizikov
Breaking Changes:**
As part of reaching 1.0 we went through to audit the current implementation
and identify areas that didn't align with our conventions. For this release,
we're marking the endpoints as `[Obsolete]` and indicating the new location.
These will be cleaned up in the next release:
- `IGitHubClient.Notifications` -> `IGitHubClient.Activity.Notifications` - #1019 via @M-Zuber
- `IGitHubClient.Repository.CommitStatus` -> `IGitHubClient.Repository.Status` - #1043 via @RobPethick
- `IGitHubClient.Repository.Commits` -> `IGitHubClient.Repository.Commit` - #1057 via @M-Zuber
- `IGitHubClient.Repository.RepoCollaborators` -> `IGitHubClient.Repository.Collaborator` - #1040 via @M-Zuber
- `IGitHubClient.Repository.RepositoryComments` -> `IGitHubClient.Repository.Comment` - #1044 via @M-Zuber
- `IGitHubClient.Release` -> `IGitHubClient.Repository.Release` - #1058 via @RobPethick
- `IGitHubClient.GitDatabase` -> `IGitHubClient.Git` - #1048 via @RobPethick
Other breaking changes:
- a public `ApiExtensions.Get<T>` extension method was causing a bunch of
tests to be written in a confusing way. This has been ported to an interface
method on `IApiConnection` but hopefully you're not referencing this method
externally - see #1063 for more information.
- `IRepositoryContentsClient.GetArchiveLink` is no longer correct, as the HTTP
behaviour in Octokit was updated to follow redirects received from the server.
See #986 for the last bits of cleanup.
- `IRepositoryContentsClient.GetAllContents(string owner, string name, string path, string reference)`
has been renamed to `GetAllContentsByRef(string owner, string name, string path, string reference)`
to prevent overlap with methods on `IRepositoryContentsClient` which do not
specify a path - and thus look at the root of the repository.
- `IssueEventPayload` has two fields which are never populated from the API -
`Assignee` and `Label` - these are now removed. You should use
`Issue.Assignee` and `Issue.Labels` instead. See #1039 for more details.
- `PullRequest.MergeCommitSha` is marked as obsolete by the GitHub API - we
are cleaning up the behaviour for determining whether a PR has been
merged in #997 - see the PR for more information.
- `IAuthorizationsClient.RevokeAllApplicationAuthentications` is no longer
available through the GitHub API - this will be removed in the next
release.
Shout outs**
A lot of extra work went into this release, and I wanted to thank those people
who helped out - without their efforts we wouldn't be at this point:
- @naveensrinivasan - for helping set up our Travis CI builds to test this on
Mono - see #995 for the details
- @hahmed - for contributing a bunch of documentation around the Octokit search
APIs - see #955, #954 and #951
- @JakesCode - for clarifying some documentation after he reported an issue - #1054
- @ryangribble - for helping get our GitHub Enterprise testing off the ground - #987
- @naveensrinivasan - for catching and addressing an issue with our LINQPad snippets - #987