Octokit 0.22.0

An async-based GitHub API client library for .NET

There is a newer version of this package available.
See the version list below for details.
Install-Package Octokit -Version 0.22.0
dotnet add package Octokit --version 0.22.0
<PackageReference Include="Octokit" Version="0.22.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Octokit --version 0.22.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Octokit, 0.22.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Octokit as a Cake Addin
#addin nuget:?package=Octokit&version=0.22.0

// Install Octokit as a Cake Tool
#tool nuget:?package=Octokit&version=0.22.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Features**
- Timeline preview API support - #1435 via @alfhenrik
- Initial groundwork for Branches API - #1437 via @ryangribble
- Base branch can now be updated when updating a pull request - #1450 via @ryangribble
- Enhancements to Protected Branches preview API - #1441 via @ryangribble
Fixes**
- Redirect timeout when repository renamed - #1411 via @maddin2016
Breaking Changes**
The new Branches client added in #1437 means that existing methods on
I(Observable)RepositoryClient are now marked as obsolete. Please update your
usages to the new endpoints as these will be removed in a future release:
- `client.Repository.GetBranch()` => `client.Repository.Branch.Get()`
- `client.Repository.GetAllBranches()` => `client.Repository.Branch.GetAll()`
- `client.Repository.EditBranch()` => `client.Repository.Branch.Edit()`
There is also a change in how branch protection works with the API, due to
upstream changes. The existing methods have been marked as obsolete, but for
the sake of brevity here are the details about what you should be doing today.
The process for inspecting branch protection is now two steps:
- first, check the branch returned by `client.Repository.Branch.Get()` or
`client.Repository.Branch.GetAll()` has it's `Protected` property set to `true`.
- then, a call to `client.Repository.Branch.GetBranchProtection()` will return
the details about the protection settings for the given branch. If no protection
is set for this branch, you will received a `HTTP 404` response.

  • .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 (77)

Showing the top 5 NuGet packages that depend on Octokit:

Package Downloads
Nuke.Common
Cross-platform build automation system Signed by signpath.io from repository 'https://github.com/nuke-build/nuke' commit 'a69c742b7862fb624781dc20b2d9b8c088e98410' (see contained AppVeyorSettings.json file for build settings).
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#.
Octokit.Reactive
An IObservable based GitHub API client library for .NET and .NET Core using Reactive Extensions
FluffySpoon.Publisher
Publishes NPM or NuGet packages automatically.
Wyam.GitHub
Wyam is a simple to use, highly modular, and extremely configurable static content generator. This library contains modules for interacting with GitHub.

GitHub repositories (92)

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

Repository Stars
CodeHubApp/CodeHub
CodeHub is an iOS application written using Xamarin
dotnet/BenchmarkDotNet
Powerful .NET library for benchmarking
abpframework/abp
Open Source Web Application Framework for ASP.NET Core
rocksdanister/lively
Free and open-source software that allows users to set animated desktop wallpapers and screensavers.
OptiKey/OptiKey
OptiKey - Full computer control and speech with your eyes

Version History

Version Downloads Last updated
0.50.0 95,513 2/21/2021
0.49.0 8,234 2/13/2021
0.48.0 435,895 6/7/2020
0.47.0 207,364 4/12/2020
0.46.0 205,798 3/26/2020
0.45.0 6,165 3/17/2020
0.44.0 9,973 3/15/2020
0.43.0 44,614 3/2/2020
0.42.0 8,336 2/26/2020
0.41.0 1,644 2/24/2020
0.40.0 54,388 2/10/2020
0.39.0 421 2/9/2020
0.38.0 637 2/8/2020
0.37.0 8,141 2/3/2020
0.36.0 1,219,967 10/8/2019
0.35.0 4,043 10/1/2019
0.34.0 8,323 9/17/2019
0.33.0 8,822 9/12/2019
0.32.0 765,375 9/9/2018
0.31.0 179,899 7/21/2018
0.30.0 49,129 6/17/2018
0.29.0 361,213 2/18/2018
0.28.0 89,566 11/6/2017
0.27.0 33,671 10/7/2017
0.26.0 429,063 8/31/2017
0.25.0 22,714 8/23/2017
0.24.1-alpha0001 27,941 1/21/2017
0.24.0 145,284 1/17/2017
0.23.0 60,388 10/7/2016
0.22.0 16,292 9/1/2016
0.21.1 70,038 7/29/2016
0.21.0 8,878 7/28/2016
0.20.0 29,795 6/14/2016
0.19.0 111,652 3/13/2016
0.18.0 96,165 2/2/2016
0.17.0 34,130 12/8/2015
0.16.0 46,816 9/17/2015
0.15.0 9,891 9/10/2015
0.14.0 20,732 7/18/2015
0.13.0 26,209 6/17/2015
0.12.0 10,456 5/19/2015
0.11.0 8,076 5/9/2015
0.10.0 28,365 4/22/2015
0.9.0 11,083 4/6/2015
0.8.0 9,798 3/19/2015
0.7.3 7,885 3/9/2015
0.7.2 10,611 3/1/2015
0.7.1 8,358 2/24/2015
0.7.0 8,454 2/23/2015
0.7.0-alpha2 6,649 2/19/2015
0.7.0-alpha 6,678 2/19/2015
0.6.2 12,849 1/5/2015
0.6.1 7,377 12/23/2014
0.6.0 7,018 12/11/2014
0.5.3 6,677 12/10/2014
0.5.2 19,425 10/14/2014
0.5.1 7,284 10/7/2014
0.5.0 6,375 10/7/2014
0.4.1 60,552 7/22/2014
0.4.0 7,016 7/11/2014
0.3.5 6,883 6/30/2014
0.3.4 21,077 4/30/2014
0.3.3 8,494 4/24/2014
0.3.2 6,344 4/17/2014
0.3.1 6,819 3/31/2014
0.3.0 6,534 3/19/2014
0.2.2 6,297 3/6/2014
0.2.1 5,972 2/20/2014
0.2.0 5,862 2/20/2014
0.1.9 5,877 2/20/2014
0.1.8 5,787 1/22/2014
0.1.7 5,273 12/27/2013
0.1.6 4,721 12/26/2013
0.1.5 4,724 11/19/2013
0.1.4 4,483 11/7/2013
0.1.3 4,184 11/6/2013
0.1.1 4,652 10/30/2013
0.1.0 4,076 10/30/2013
Show less