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
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.

Version History

Version Downloads Last updated
0.32.0 61,975 9/9/2018
0.31.0 41,292 7/21/2018
0.30.0 38,342 6/17/2018
0.29.0 217,781 2/18/2018
0.28.0 59,995 11/6/2017
0.27.0 19,675 10/7/2017
0.26.0 415,018 8/31/2017
0.25.0 16,587 8/23/2017
0.24.1-alpha0001 16,579 1/21/2017
0.24.0 112,185 1/17/2017
0.23.0 45,060 10/7/2016
0.22.0 10,846 9/1/2016
0.21.1 63,928 7/29/2016
0.21.0 4,074 7/28/2016
0.20.0 24,400 6/14/2016
0.19.0 96,235 3/13/2016
0.18.0 91,355 2/2/2016
0.17.0 23,245 12/8/2015
0.16.0 33,624 9/17/2015
0.15.0 5,366 9/10/2015
0.14.0 15,234 7/18/2015
0.13.0 13,113 6/17/2015
0.12.0 6,425 5/19/2015
0.11.0 4,139 5/9/2015
0.10.0 19,767 4/22/2015
0.9.0 6,632 4/6/2015
0.8.0 5,818 3/19/2015
0.7.3 4,016 3/9/2015
0.7.2 6,848 3/1/2015
0.7.1 4,647 2/24/2015
0.7.0 4,645 2/23/2015
0.7.0-alpha2 3,121 2/19/2015
0.7.0-alpha 3,163 2/19/2015
0.6.2 9,071 1/5/2015
0.6.1 3,831 12/23/2014
0.6.0 3,526 12/11/2014
0.5.3 3,197 12/10/2014
0.5.2 11,154 10/14/2014
0.5.1 3,887 10/7/2014
0.5.0 2,988 10/7/2014
0.4.1 16,245 7/22/2014
0.4.0 3,498 7/11/2014
0.3.5 3,337 6/30/2014
0.3.4 6,725 4/30/2014
0.3.3 5,183 4/24/2014
0.3.2 3,104 4/17/2014
0.3.1 3,577 3/31/2014
0.3.0 3,250 3/19/2014
0.2.2 3,115 3/6/2014
0.2.1 3,029 2/20/2014
0.2.0 2,933 2/20/2014
0.1.9 2,950 2/20/2014
0.1.8 3,250 1/22/2014
0.1.7 2,871 12/27/2013
0.1.6 2,645 12/26/2013
0.1.5 2,816 11/19/2013
0.1.4 2,631 11/7/2013
0.1.3 2,510 11/6/2013
0.1.1 2,410 10/30/2013
0.1.0 2,463 10/30/2013
Show less