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

Release Notes

**Features/Enhancements**
- Add `GetAll` method to `OrganizationsClient` - [#1469](https://github.com/octokit/octokit.net/pull/1469) via [malamour-work](https://github.com/malamour-work)
- Add missing fields to `Repository` class - `HasPages`, `SubscribersCount`, `Size` - [#1473](https://github.com/octokit/octokit.net/pull/1473) via [ryangribble](https://github.com/ryangribble)
- Allow base64 content for create/update file - [#1488](https://github.com/octokit/octokit.net/pull/1488) via [laedit](https://github.com/laedit)
- Add `HtmlUrl` field to `Milestone` class - [#1489](https://github.com/octokit/octokit.net/pull/1489) via [StanleyGoldman](https://github.com/StanleyGoldman)
- Add support for passing sort options to `IssueCommentsClient.GetAllForRepository()` - [#1501](https://github.com/octokit/octokit.net/pull/1501) via [pjc0247](https://github.com/pjc0247)
- Rename `PullRequest.Comment` to `PullRequest.ReviewComment` for better accuracy - [#1520](https://github.com/octokit/octokit.net/pull/1520) via [bmeverett](https://github.com/bmeverett)
- Introduce `AbuseException` - [#1528](https://github.com/octokit/octokit.net/pull/1528) via [SeanKilleen](https://github.com/SeanKilleen)
- Add `Id` field to `PullRequest` class - [#1537](https://github.com/octokit/octokit.net/pull/1537) via [YunLi1988](https://github.com/YunLi1988)
- Unparseable `ApiErrors` should now fall back to better default error messages - [#1540](https://github.com/octokit/octokit.net/pull/1540) via [SeanKilleen](https://github.com/SeanKilleen)

**Fixes**
- Fix errors in `ObservableEventsClient` caused by incorrect return types - [#1490](https://github.com/octokit/octokit.net/pull/1490) via [StanleyGoldman](https://github.com/StanleyGoldman)
- Add missing `SecurityCritical` attribute on `GetObjectData()` overrides - [#1493](https://github.com/octokit/octokit.net/pull/1493) via [M-Zuber](https://github.com/M-Zuber)
- Fix exceptions in Events API by adding missing event types to `EventInfo` enumeration - [#1536](https://github.com/octokit/octokit.net/pull/1536) via [lynnfaraday](https://github.com/lynnfaraday)
- Add new AccountType "Bot" to prevent deserialization errors - [#1541](https://github.com/octokit/octokit.net/pull/1541) via [ryangribble](https://github.com/ryangribble)
Documentation Updates**
- Clarify `ApiInfo` rate limiting usage in docs - [#1524](https://github.com/octokit/octokit.net/pull/1524) via [SeanKilleen](https://github.com/SeanKilleen)
- Clarify label coloring usage in docs - [#1530](https://github.com/octokit/octokit.net/pull/1530) via [SeanKilleen](https://github.com/SeanKilleen)

**Breaking Changes**
- Creating and Editing Issues (and PullRequests) using `NewIssue` and `IssueUpdate` requests
should now use the `Assignees` collection rather than the now deprecated 'Assignee` field.
Both fields can't be specified on the same request, so any code still using `Assignee` will
need to explicitly set `Assignees` to `null` to avoid Api validation errors.
- `OrganizationsClient.GetAll(string user)` has been marked obsolete in favour of
`OrganizationsClient.GetAllForUser(string user)`
- `PullRequest.Comment` has been marked obsolete in favour of `PullRequest.ReviewComment`
- Several `EventsClient` methods previously returned the incorrect `Activity` response class.
This has been corrected to `IssueEvent` which although is now correct could break calling
code that was written assuming this previous incorrect return type.

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

Showing the top 5 NuGet packages that depend on Octokit:

Package Downloads
Nuke.Common
Cross-platform build automation system
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 (76)

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

Version History

Version Downloads Last updated
0.48.0 90,695 6/7/2020
0.47.0 107,919 4/12/2020
0.46.0 86,860 3/26/2020
0.45.0 5,334 3/17/2020
0.44.0 6,137 3/15/2020
0.43.0 18,899 3/2/2020
0.42.0 6,949 2/26/2020
0.41.0 762 2/24/2020
0.40.0 45,178 2/10/2020
0.39.0 215 2/9/2020
0.38.0 414 2/8/2020
0.37.0 4,782 2/3/2020
0.36.0 515,242 10/8/2019
0.35.0 3,808 10/1/2019
0.34.0 7,502 9/17/2019
0.33.0 8,401 9/12/2019
0.32.0 611,654 9/9/2018
0.31.0 173,822 7/21/2018
0.30.0 48,167 6/17/2018
0.29.0 332,228 2/18/2018
0.28.0 81,213 11/6/2017
0.27.0 30,221 10/7/2017
0.26.0 427,172 8/31/2017
0.25.0 22,198 8/23/2017
0.24.1-alpha0001 25,934 1/21/2017
0.24.0 137,908 1/17/2017
0.23.0 58,647 10/7/2016
0.22.0 15,980 9/1/2016
0.21.1 69,496 7/29/2016
0.21.0 8,547 7/28/2016
0.20.0 29,260 6/14/2016
0.19.0 110,277 3/13/2016
0.18.0 95,830 2/2/2016
0.17.0 30,890 12/8/2015
0.16.0 45,596 9/17/2015
0.15.0 9,454 9/10/2015
0.14.0 20,374 7/18/2015
0.13.0 25,836 6/17/2015
0.12.0 10,141 5/19/2015
0.11.0 7,787 5/9/2015
0.10.0 26,766 4/22/2015
0.9.0 10,549 4/6/2015
0.8.0 9,352 3/19/2015
0.7.3 7,371 3/9/2015
0.7.2 10,292 3/1/2015
0.7.1 8,027 2/24/2015
0.7.0 8,105 2/23/2015
0.7.0-alpha2 6,359 2/19/2015
0.7.0-alpha 6,457 2/19/2015
0.6.2 12,466 1/5/2015
0.6.1 7,040 12/23/2014
0.6.0 6,725 12/11/2014
0.5.3 6,386 12/10/2014
0.5.2 17,975 10/14/2014
0.5.1 7,003 10/7/2014
0.5.0 6,087 10/7/2014
0.4.1 46,845 7/22/2014
0.4.0 6,674 7/11/2014
0.3.5 6,395 6/30/2014
0.3.4 17,091 4/30/2014
0.3.3 8,193 4/24/2014
0.3.2 6,052 4/17/2014
0.3.1 6,526 3/31/2014
0.3.0 6,183 3/19/2014
0.2.2 6,018 3/6/2014
0.2.1 5,678 2/20/2014
0.2.0 5,575 2/20/2014
0.1.9 5,612 2/20/2014
0.1.8 5,377 1/22/2014
0.1.7 4,926 12/27/2013
0.1.6 4,437 12/26/2013
0.1.5 4,489 11/19/2013
0.1.4 4,129 11/7/2013
0.1.3 3,914 11/6/2013
0.1.1 3,893 10/30/2013
0.1.0 3,703 10/30/2013
Show less