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.

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.

Showing the top 10 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
OptiKey/OptiKey
OptiKey - Full computer control and speech with your eyes
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.
ferventdesert/Hawk
visualized crawler & ETL IDE written with C#/WPF
elastic/elasticsearch-net
Elasticsearch.Net & NEST
abpframework/abp
ABP vNext
reactjs/React.NET
.NET library for JSX compilation and server-side rendering of React components
tidusjar/Ombi
Want a Movie or TV Show on Plex or Emby? Use Ombi!
Azure/azure-powershell
Microsoft Azure PowerShell

Version History

Version Downloads Last updated
0.32.0 221,447 9/9/2018
0.31.0 75,727 7/21/2018
0.30.0 45,128 6/17/2018
0.29.0 259,077 2/18/2018
0.28.0 67,448 11/6/2017
0.27.0 24,261 10/7/2017
0.26.0 419,841 8/31/2017
0.25.0 19,791 8/23/2017
0.24.1-alpha0001 20,571 1/21/2017
0.24.0 122,236 1/17/2017
0.23.0 50,432 10/7/2016
0.22.0 13,618 9/1/2016
0.21.1 67,361 7/29/2016
0.21.0 6,752 7/28/2016
0.20.0 27,102 6/14/2016
0.19.0 101,882 3/13/2016
0.18.0 94,015 2/2/2016
0.17.0 26,731 12/8/2015
0.16.0 43,285 9/17/2015
0.15.0 7,723 9/10/2015
0.14.0 17,825 7/18/2015
0.13.0 20,008 6/17/2015
0.12.0 8,698 5/19/2015
0.11.0 6,357 5/9/2015
0.10.0 22,757 4/22/2015
0.9.0 8,868 4/6/2015
0.8.0 7,965 3/19/2015
0.7.3 6,100 3/9/2015
0.7.2 8,931 3/1/2015
0.7.1 6,699 2/24/2015
0.7.0 6,718 2/23/2015
0.7.0-alpha2 5,145 2/19/2015
0.7.0-alpha 5,207 2/19/2015
0.6.2 11,145 1/5/2015
0.6.1 5,822 12/23/2014
0.6.0 5,538 12/11/2014
0.5.3 5,168 12/10/2014
0.5.2 13,897 10/14/2014
0.5.1 5,843 10/7/2014
0.5.0 4,894 10/7/2014
0.4.1 24,126 7/22/2014
0.4.0 5,450 7/11/2014
0.3.5 5,219 6/30/2014
0.3.4 10,526 4/30/2014
0.3.3 7,053 4/24/2014
0.3.2 4,958 4/17/2014
0.3.1 5,418 3/31/2014
0.3.0 5,093 3/19/2014
0.2.2 4,951 3/6/2014
0.2.1 4,782 2/20/2014
0.2.0 4,656 2/20/2014
0.1.9 4,702 2/20/2014
0.1.8 4,706 1/22/2014
0.1.7 4,273 12/27/2013
0.1.6 3,922 12/26/2013
0.1.5 4,050 11/19/2013
0.1.4 3,707 11/7/2013
0.1.3 3,544 11/6/2013
0.1.1 3,248 10/30/2013
0.1.0 3,296 10/30/2013
Show less