Octokit 0.24.0

An async-based GitHub API client library for .NET

Install-Package Octokit -Version 0.24.0
dotnet add package Octokit --version 0.24.0

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.24.1-alpha0001 4,329 1/21/2017
0.24.0 (current version) 43,438 1/17/2017
0.23.0 24,581 10/7/2016
0.22.0 5,861 9/1/2016
0.21.1 40,675 7/29/2016
0.21.0 162 7/28/2016
0.20.0 19,469 6/14/2016
0.19.0 60,984 3/13/2016
0.18.0 81,354 2/2/2016
0.17.0 17,556 12/8/2015
0.16.0 18,528 9/17/2015
0.15.0 1,975 9/10/2015
0.14.0 11,774 7/18/2015
0.13.0 5,630 6/17/2015
0.12.0 2,991 5/19/2015
0.11.0 1,089 5/9/2015
0.10.0 6,218 4/22/2015
0.9.0 3,331 4/6/2015
0.8.0 2,484 3/19/2015
0.7.3 993 3/9/2015
0.7.2 3,452 3/1/2015
0.7.1 1,367 2/24/2015
0.7.0 427 2/23/2015
0.7.0-alpha2 112 2/19/2015
0.7.0-alpha 107 2/19/2015
0.6.2 5,858 1/5/2015
0.6.1 914 12/23/2014
0.6.0 477 12/11/2014
0.5.3 415 12/10/2014
0.5.2 6,786 10/14/2014
0.5.1 854 10/7/2014
0.5.0 207 10/7/2014
0.4.1 5,370 7/22/2014
0.4.0 392 7/11/2014
0.3.5 326 6/30/2014
0.3.4 1,740 4/30/2014
0.3.3 2,216 4/24/2014
0.3.2 202 4/17/2014
0.3.1 551 3/31/2014
0.3.0 320 3/19/2014
0.2.2 286 3/6/2014
0.2.1 258 2/20/2014
0.2.0 157 2/20/2014
0.1.9 157 2/20/2014
0.1.8 572 1/22/2014
0.1.7 241 12/27/2013
0.1.6 155 12/26/2013
0.1.5 342 11/19/2013
0.1.4 318 11/7/2013
0.1.3 221 11/6/2013
0.1.1 202 10/30/2013
0.1.0 213 10/30/2013