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.

Version History

Version Downloads Last updated
0.32.0 215,053 9/9/2018
0.31.0 73,895 7/21/2018
0.30.0 45,030 6/17/2018
0.29.0 258,031 2/18/2018
0.28.0 67,243 11/6/2017
0.27.0 24,167 10/7/2017
0.26.0 419,723 8/31/2017
0.25.0 19,690 8/23/2017
0.24.1-alpha0001 20,497 1/21/2017
0.24.0 122,085 1/17/2017
0.23.0 50,361 10/7/2016
0.22.0 13,555 9/1/2016
0.21.1 67,299 7/29/2016
0.21.0 6,686 7/28/2016
0.20.0 27,041 6/14/2016
0.19.0 101,703 3/13/2016
0.18.0 93,976 2/2/2016
0.17.0 26,657 12/8/2015
0.16.0 43,221 9/17/2015
0.15.0 7,665 9/10/2015
0.14.0 17,776 7/18/2015
0.13.0 19,823 6/17/2015
0.12.0 8,643 5/19/2015
0.11.0 6,317 5/9/2015
0.10.0 22,676 4/22/2015
0.9.0 8,811 4/6/2015
0.8.0 7,922 3/19/2015
0.7.3 6,075 3/9/2015
0.7.2 8,887 3/1/2015
0.7.1 6,646 2/24/2015
0.7.0 6,676 2/23/2015
0.7.0-alpha2 5,085 2/19/2015
0.7.0-alpha 5,153 2/19/2015
0.6.2 11,102 1/5/2015
0.6.1 5,789 12/23/2014
0.6.0 5,489 12/11/2014
0.5.3 5,128 12/10/2014
0.5.2 13,844 10/14/2014
0.5.1 5,803 10/7/2014
0.5.0 4,857 10/7/2014
0.4.1 23,847 7/22/2014
0.4.0 5,414 7/11/2014
0.3.5 5,181 6/30/2014
0.3.4 10,468 4/30/2014
0.3.3 7,018 4/24/2014
0.3.2 4,920 4/17/2014
0.3.1 5,378 3/31/2014
0.3.0 5,061 3/19/2014
0.2.2 4,908 3/6/2014
0.2.1 4,718 2/20/2014
0.2.0 4,622 2/20/2014
0.1.9 4,641 2/20/2014
0.1.8 4,649 1/22/2014
0.1.7 4,236 12/27/2013
0.1.6 3,889 12/26/2013
0.1.5 4,021 11/19/2013
0.1.4 3,694 11/7/2013
0.1.3 3,535 11/6/2013
0.1.1 3,237 10/30/2013
0.1.0 3,288 10/30/2013
Show less