Octokit 0.29.0

An async-based GitHub API client library for .NET and .NET Core

Install-Package Octokit -Version 0.29.0
dotnet add package Octokit --version 0.29.0
paket add Octokit --version 0.29.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Advisories and Breaking Changes

  • On February 22, 2018 19:00 UTC, GitHub will disable permanently the use of weak cryptogrpahic standards. Applications targeting .NET Framework 4.5.x will be affected, as that framework does not enable the now required protocol (TLS1.2) by default. This octokit.net release will automatically enable this protocol, when the GitHubClient is constructed. Note that applications targeting .NET Framework 4.6+ or .NET Core should already have TLS1.2 enabled by default, and this release does nothing with enabled protocols on those platforms.
  • Affected clients that are unable to update octokit.net, can include their own code change to enable TLS1.2 as an alternative to updating to this release.

Release Notes

Milestone: Missing Pagination Support

Features/Enhancements

Milestone: None

Features/Enhancements

  • Add InReplyToId property to PullRequestReviewComment response model, to indicate when a comment is in reply to another comment - #1715 via @thedillonb
  • Ensure the netstandard1.1 targeted package is compatible with AWS Lambda netcoreapp1.0 environment, by explicitly specifying the NetStandard.Library meta-package version - #1713 via @ryangribble
  • Add UpdatedAt property to Milestone response model, to indicate when it was last updated - #1722 via @shaggygi, @ryangribble
  • Support StatusEvent payloads, using new response model StatusEventPayload - #1732 via @itaibh
  • Octokit now handles DateTime and DateTimeOffset response fields whose API response is in an unexpected Unix epoch time format - #1735 via @itaibh
  • Add PullRequestReviewId property to PullRequestReviewComment response model, to indicate which PullRequestReview the comment is related to - #1739 via @mirsaeedi
  • Implement support for Repository Licenses, including adding License property to Repository response model, adding SpxId field to LicenseMetadata response model and a new IRepositoriesClient.GetLicenseContents() call - #1630 via @jozefizso, @M-Zuber, @ryangribble
  • Add MergeableState property to PullRequest response model, to indicate additional information about why a pull request can't be merged - #1764 via @ryangribble
  • Add Visibility property to EmailAddress response model, to indicate whether a primary email address is Public or Private - #1757 via @asapferg, @ryangribble

Fixes

  • OAuthClient now handles GitHub Enterprise instances correctly in CreateAccessToken() and GetGitHubLoginUrl() methods - #1726 via @ryangribble
  • Using the same GitHubClient instance from multiple threads in parallel will no longer throw occasional exceptions, after making the GitHubSerializerStrategy internals thread-safe - #1748 via @daveaglick
  • Remove deserializer enum cache miss by correcting the case of AccountType parameter values - #1759 via @ryangribble
  • Add TLS1.2 to enabled security protocols (.NET Framework 4.5 only) to avoid SSL connectivity errors when GitHub deprecates weak algorithms on February 22 - #1758 via @ryangribble
  • Deserializer now handles nullable StringEnum<T> members - #1760 via @ryangribble

Documentation Updates

Advisories and Breaking Changes

  • On February 22, 2018 19:00 UTC, GitHub will disable permanently the use of weak cryptogrpahic standards. Applications targeting .NET Framework 4.5.x will be affected, as that framework does not enable the now required protocol (TLS1.2) by default. This octokit.net release will automatically enable this protocol, when the GitHubClient is constructed. Note that applications targeting .NET Framework 4.6+ or .NET Core should already have TLS1.2 enabled by default, and this release does nothing with enabled protocols on those platforms.
  • Affected clients that are unable to update octokit.net, can include their own code change to enable TLS1.2 as an alternative to updating to this release.

Release Notes

Milestone: Missing Pagination Support

Features/Enhancements

Milestone: None

Features/Enhancements

  • Add InReplyToId property to PullRequestReviewComment response model, to indicate when a comment is in reply to another comment - #1715 via @thedillonb
  • Ensure the netstandard1.1 targeted package is compatible with AWS Lambda netcoreapp1.0 environment, by explicitly specifying the NetStandard.Library meta-package version - #1713 via @ryangribble
  • Add UpdatedAt property to Milestone response model, to indicate when it was last updated - #1722 via @shaggygi, @ryangribble
  • Support StatusEvent payloads, using new response model StatusEventPayload - #1732 via @itaibh
  • Octokit now handles DateTime and DateTimeOffset response fields whose API response is in an unexpected Unix epoch time format - #1735 via @itaibh
  • Add PullRequestReviewId property to PullRequestReviewComment response model, to indicate which PullRequestReview the comment is related to - #1739 via @mirsaeedi
  • Implement support for Repository Licenses, including adding License property to Repository response model, adding SpxId field to LicenseMetadata response model and a new IRepositoriesClient.GetLicenseContents() call - #1630 via @jozefizso, @M-Zuber, @ryangribble
  • Add MergeableState property to PullRequest response model, to indicate additional information about why a pull request can't be merged - #1764 via @ryangribble
  • Add Visibility property to EmailAddress response model, to indicate whether a primary email address is Public or Private - #1757 via @asapferg, @ryangribble

Fixes

  • OAuthClient now handles GitHub Enterprise instances correctly in CreateAccessToken() and GetGitHubLoginUrl() methods - #1726 via @ryangribble
  • Using the same GitHubClient instance from multiple threads in parallel will no longer throw occasional exceptions, after making the GitHubSerializerStrategy internals thread-safe - #1748 via @daveaglick
  • Remove deserializer enum cache miss by correcting the case of AccountType parameter values - #1759 via @ryangribble
  • Add TLS1.2 to enabled security protocols (.NET Framework 4.5 only) to avoid SSL connectivity errors when GitHub deprecates weak algorithms on February 22 - #1758 via @ryangribble
  • Deserializer now handles nullable StringEnum<T> members - #1760 via @ryangribble

Documentation Updates

Version History

Version Downloads Last updated
0.29.0 (current version) 347 2/18/2018
0.28.0 38,304 11/6/2017
0.27.0 8,467 10/7/2017
0.26.0 406,103 8/31/2017
0.25.0 10,737 8/23/2017
0.24.1-alpha0001 8,846 1/21/2017
0.24.0 71,443 1/17/2017
0.23.0 30,513 10/7/2016
0.22.0 6,174 9/1/2016
0.21.1 58,869 7/29/2016
0.21.0 196 7/28/2016
0.20.0 20,194 6/14/2016
0.19.0 70,583 3/13/2016
0.18.0 83,556 2/2/2016
0.17.0 18,235 12/8/2015
0.16.0 19,129 9/17/2015
0.15.0 2,073 9/10/2015
0.14.0 11,865 7/18/2015
0.13.0 5,714 6/17/2015
0.12.0 3,095 5/19/2015
0.11.0 1,140 5/9/2015
0.10.0 9,465 4/22/2015
0.9.0 3,415 4/6/2015
0.8.0 2,524 3/19/2015
0.7.3 1,057 3/9/2015
0.7.2 3,547 3/1/2015
0.7.1 1,409 2/24/2015
0.7.0 903 2/23/2015
0.7.0-alpha2 148 2/19/2015
0.7.0-alpha 142 2/19/2015
0.6.2 5,937 1/5/2015
0.6.1 952 12/23/2014
0.6.0 518 12/11/2014
0.5.3 454 12/10/2014
0.5.2 7,373 10/14/2014
0.5.1 899 10/7/2014
0.5.0 242 10/7/2014
0.4.1 7,895 7/22/2014
0.4.0 456 7/11/2014
0.3.5 410 6/30/2014
0.3.4 2,319 4/30/2014
0.3.3 2,295 4/24/2014
0.3.2 238 4/17/2014
0.3.1 592 3/31/2014
0.3.0 361 3/19/2014
0.2.2 337 3/6/2014
0.2.1 298 2/20/2014
0.2.0 198 2/20/2014
0.1.9 195 2/20/2014
0.1.8 621 1/22/2014
0.1.7 287 12/27/2013
0.1.6 192 12/26/2013
0.1.5 389 11/19/2013
0.1.4 357 11/7/2013
0.1.3 271 11/6/2013
0.1.1 247 10/30/2013
0.1.0 279 10/30/2013