Octokit 0.20.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.20.0
dotnet add package Octokit --version 0.20.0
<PackageReference Include="Octokit" Version="0.20.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Octokit --version 0.20.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Features**
The big focus for this release is pagination support. This lets the caller
control how much data to retrieve for `GetAll*` endpoints throughout Octokit.
This was a team effort to apply this across the entire codebase, with
contributions from @dampir, @devkhan, @prayankmathur, @SamTheDev and @shiftkey.
For more information about how to use pagination in your projects refer to the
documentation: http://octokitnet.readthedocs.io/en/latest/extensibility/#pagination
- Add Migrations preview API - #1141 via @devkhan
- Add Issue Lock/Unlock functionality - #1185 via @prayankmathur
- Added Commit Reference SHA-1 API - #1195 via @ryangribble
- Add additional parameters to `SearchIssuesRequest` -  #1228 via @ryangribble
- Add `Importer` property to Meta endpoint - #1235 via @ryangribble
- Raise HTTP 451 exception when repository has DMCA notice - #1239 via @devkhan
- Add Merge and Squash preview API - #1245 via @Sarmad93
- Add additional methods to `IEventsClient` - #1288 via @drasticactions
- Add Organization Permissions preview API - #1342 via @ryangribble
- Add GPG Keys preview API - #1343 via @alfhenrik
Fixes**
- Renamed `IUserKeysClient.GetAll()` to `IUserKeysClient.GetAllForCurrent()` - #1139 via @M-Zuber
- Add `ItemStateFilter` enum to differentiate between search and list endpoints - #1140 via @prayankmathur
- `RepositoriesClient.GetAllPublic()` fails for Enterprise instanes due to URI structure - #1204 via @ryangribble
- `ConfigureAwait(false)` usages added, eliminating deadlocks - #1248 via @shiftkey
- Renamed `CompareResult.MergedBaseCommit` to fix serialization issue - #1265 via @kivancmuslu
- Activity Feed now returns issues and repository events - #1288 via @drasticactions
- Add `Repository` property to `Issue` response - #1292 via @M-Zuber
- `SearchCodeRequest` now supports searching without specifying a term - #1338 via @dsplaisted
- Add required Permission parameter to team management APIs - #1347 via @ryangribble
- Add `ClosedBy` property to `Issue` - #1353 via @maddin2016
Other**
- Deleting now-obsolete code - #1224 via @M-Zuber
- Centralize and cleanup the `Uri`s created in Octokit - #1287, #1290 via @dampir
- Updated documentation links - #1289 via @radu-matei, #1250 via @SamTheDev
Breaking Changes**
- `IUserKeysClient.GetAll()` was named incorrectly when it was originally implemented
and only works for the current user's keys. Update all usages to `GetAllForCurrent()`.
- `CompareResult.MergedBaseCommit` was never deserialized correctly, and has
been marked as obsolete. You should use `CompareResult.MergeBaseCommit`
instead (note the lack of a `d`).
- `IEventsClient.GetAllForRepository` was incorrectly retrieving issue
events before this release. Use the new `IEventsClient.GetAllIssuesForRepository`
method if you still require issues, or continue to use `IEventsClient.GetAllForRepository`
if you require all repository events.
- `IUsersClient` has a property named `Keys` which has been renamed in the
GitHub API documentation - Octokit has added the name `GitSshKey` to
reflect this change, and `Keys` will be removed in a later release.

  • .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,722 9/9/2018
0.31.0 75,876 7/21/2018
0.30.0 45,144 6/17/2018
0.29.0 259,149 2/18/2018
0.28.0 67,470 11/6/2017
0.27.0 24,285 10/7/2017
0.26.0 419,861 8/31/2017
0.25.0 19,807 8/23/2017
0.24.1-alpha0001 20,586 1/21/2017
0.24.0 122,269 1/17/2017
0.23.0 50,444 10/7/2016
0.22.0 13,629 9/1/2016
0.21.1 67,368 7/29/2016
0.21.0 6,767 7/28/2016
0.20.0 27,113 6/14/2016
0.19.0 101,913 3/13/2016
0.18.0 94,023 2/2/2016
0.17.0 26,741 12/8/2015
0.16.0 43,296 9/17/2015
0.15.0 7,737 9/10/2015
0.14.0 17,835 7/18/2015
0.13.0 20,015 6/17/2015
0.12.0 8,714 5/19/2015
0.11.0 6,364 5/9/2015
0.10.0 22,768 4/22/2015
0.9.0 8,877 4/6/2015
0.8.0 7,975 3/19/2015
0.7.3 6,105 3/9/2015
0.7.2 8,942 3/1/2015
0.7.1 6,708 2/24/2015
0.7.0 6,728 2/23/2015
0.7.0-alpha2 5,160 2/19/2015
0.7.0-alpha 5,215 2/19/2015
0.6.2 11,146 1/5/2015
0.6.1 5,830 12/23/2014
0.6.0 5,544 12/11/2014
0.5.3 5,176 12/10/2014
0.5.2 13,905 10/14/2014
0.5.1 5,849 10/7/2014
0.5.0 4,899 10/7/2014
0.4.1 24,134 7/22/2014
0.4.0 5,457 7/11/2014
0.3.5 5,227 6/30/2014
0.3.4 10,530 4/30/2014
0.3.3 7,063 4/24/2014
0.3.2 4,966 4/17/2014
0.3.1 5,420 3/31/2014
0.3.0 5,102 3/19/2014
0.2.2 4,963 3/6/2014
0.2.1 4,790 2/20/2014
0.2.0 4,665 2/20/2014
0.1.9 4,714 2/20/2014
0.1.8 4,725 1/22/2014
0.1.7 4,284 12/27/2013
0.1.6 3,928 12/26/2013
0.1.5 4,060 11/19/2013
0.1.4 3,707 11/7/2013
0.1.3 3,546 11/6/2013
0.1.1 3,251 10/30/2013
0.1.0 3,298 10/30/2013
Show less