Octokit 0.30.0 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved

.NET Standard 1.1 .NET Framework 4.5
There is a newer version of this package available.
See the version list below for details.
Install-Package Octokit -Version 0.30.0
dotnet add package Octokit --version 0.30.0
<PackageReference Include="Octokit" Version="0.30.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Octokit --version 0.30.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Octokit, 0.30.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Octokit as a Cake Addin
#addin nuget:?package=Octokit&version=0.30.0

// Install Octokit as a Cake Tool
#tool nuget:?package=Octokit&version=0.30.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Advisories and Breaking Changes

  • Note that the IssuesLabelsClient.RemoveFromIssue() methods which previously had no return value, will now return an IReadonlyList<Label>. This change is source compatible but not binary compatible.
  • The following [Obsolete] items have been removed from octokit, please use the indicated replacements:

Client Methods

  • OranizationsClient.GetAll()GetAllForUser()
  • PullRequestsClient.CommentReviewComment
  • RepositoryBranchesClient.GetRequiredStatusChecksContexts()GetAllRequiredStatusChecksContexts()
  • RepositoryBranchesClient.GetProtectedBranchTeamRestrictions()GetAllProtectedBranchTeamRestrictions()
  • RepositoryBranchesClient.GetProtectedBranchUserRestrictions()GetAllProtectedBranchUserRestrictions()
  • RepositoryTrafficClient.GetReferrers()GetAllReferrers()
  • RepositoryTrafficClient.GetPaths()GetAllPaths()
  • TeamsClient.GetMembership()GetMembershipDetails()
  • TeamsClient.AddMembership()AddOrEditMembership()
  • TeamsClient.AddMembership()AddOrEditMembership()

Request Models

  • Remove unwanted ctor's from BranchProtectionUpdateSettings and UpdateTeam
  • NewIssue AssigneeAssignees
  • IssueUpdate AssigneeAssignees

Response Models

  • TeamMembershipTeamMembershipDetails

Release Notes

Milestone: GitHub Apps

Features/Enhancements

Milestone: None

Features/Enhancements

  • Added PreviousFileName field to PullRequestFile response - #1770 via @Kaneraz
  • Support PullRequestReviewEvent payloads using new response model PullRequestReviewEventPayload - #1767 via @Cyberboss
  • Add the ability to search issues by milestones, using SearchIssuesRequest.Milestone - #1788 via @mkArtak
  • Add an overload to IReleasesClient.Get() that allows retrieving a Release by the associated tag - #1793 via @tasadar2, @ryangribble
  • Add MaintainerCanModify field to PullRequest response and NewPullRequest and UpdatePullRequest requests - #1771 via @Cyberboss, @ryangribble
  • Enabled additional methods for preview "Nested Teams" support:
    • IRepositoriesClient.GetAllTeams()
    • IRepositoryBranchesClient.GetAllProtectedBranchTeamRestrictions()
    • IRepositoryBranchesClient.UpdateProtectedBranchTeamRestrictions()
    • IRepositoryBranchesClient.AddProtectedBranchTeamRestrictions()
    • IRepositoryBranchesClient.DeleteProtectedBranchTeamRestrictions() - #1795 via @MikhailTymchukDX, @ryangribble
  • Implement Pre Receive Environments API (Preview) for GitHub Enterprise - #1796 via @tasadar2, @ryangribble
  • Implement support for Label API Improvements, including additional fields (Description and Default), emoji support and searching for labels (SearchClient.SearchLabels()) - #1802 via @jozefizso, @ryangribble

Housekeeping

  • Correct missing/incorrect XmlDoc entries for parameters on some methods - #1779 via @ryangribble
  • Parameter names in validation exception messages are now derived from the parameters themselves, rather than a literal string that was hopefully kept up to date - #1781 via @itaibh
  • Update Octokit build tooling to use .NET SDK 2.x (note that this is only an SDK tooling update - Octokit and Octokit.Reactive libraries are still targeting netstandard1.1) - #1784 via @ryangribble
  • Removed a number of [Obsolete] methods, members and constructors inline with our standard deprecation schedule - #1780 via @ryangribble
  • Ensure all response models have appropriate ctor's to allow mocking, and enforce with a convention test - #1798 via @tasadar2, @ryangribble

Documentation Updates

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.1 netstandard1.2 netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Windows Phone wpa81
Windows Store netcore netcore45 netcore451
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (103)

Showing the top 5 NuGet packages that depend on Octokit:

Package Downloads
Nuke.Common The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Cross-platform build automation system Signed by signpath.io from repository 'https://github.com/nuke-build/nuke' commit '12a091bbe2dc56bb3a2db64178dfc5305d769b3b' (see contained AppVeyorSettings.json file for build settings).

GitOps.Clients.GitHub

Package Description

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

GitOps.Primitives

Package Description

Octokit.Reactive The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

An IObservable based GitHub API client library for .NET and .NET Core using Reactive Extensions

GitHub repositories (112)

Showing the top 5 popular GitHub repositories that depend on Octokit:

Repository Stars
CodeHubApp/CodeHub
CodeHub is an iOS application written using Xamarin
BeyondDimension/SteamTools
🛠「Watt Toolkit」是一个开源跨平台的多功能 Steam 工具箱。
abpframework/abp
Open Source Web Application Framework for ASP.NET Core
dotnet/BenchmarkDotNet
Powerful .NET library for benchmarking
rocksdanister/lively
Free and open-source software that allows users to set animated desktop wallpapers and screensavers.
Version Downloads Last updated
0.52.0 980 7/1/2022
0.51.0 82,929 4/27/2022
0.50.0 1,375,425 2/21/2021
0.49.0 19,806 2/13/2021
0.48.0 965,027 6/7/2020
0.47.0 279,805 4/12/2020
0.46.0 360,146 3/26/2020
0.45.0 6,436 3/17/2020
0.44.0 18,202 3/15/2020
0.43.0 64,586 3/2/2020
0.42.0 8,671 2/26/2020
0.41.0 1,868 2/24/2020
0.40.0 64,298 2/10/2020
0.39.0 623 2/9/2020
0.38.0 842 2/8/2020
0.37.0 16,119 2/3/2020
0.36.0 3,120,925 10/8/2019
0.35.0 4,275 10/1/2019
0.34.0 9,660 9/17/2019
0.33.0 9,195 9/12/2019
0.32.0 952,554 9/9/2018
0.31.0 188,305 7/21/2018
0.30.0 50,329 6/17/2018
0.29.0 405,527 2/18/2018
0.28.0 94,797 11/6/2017
0.27.0 38,816 10/7/2017
0.26.0 437,713 8/31/2017
0.25.0 23,239 8/23/2017
0.24.1-alpha0001 30,649 1/21/2017
0.24.0 156,257 1/17/2017
0.23.0 61,089 10/7/2016
0.22.0 16,652 9/1/2016
0.21.1 70,563 7/29/2016
0.21.0 9,310 7/28/2016
0.20.0 30,617 6/14/2016
0.19.0 113,242 3/13/2016
0.18.0 96,488 2/2/2016
0.17.0 36,563 12/8/2015
0.16.0 47,817 9/17/2015
0.15.0 10,213 9/10/2015
0.14.0 21,126 7/18/2015
0.13.0 26,768 6/17/2015
0.12.0 10,774 5/19/2015
0.11.0 8,358 5/9/2015
0.10.0 34,952 4/22/2015
0.9.0 13,339 4/6/2015
0.8.0 10,204 3/19/2015
0.7.3 8,158 3/9/2015
0.7.2 11,248 3/1/2015
0.7.1 9,018 2/24/2015
0.7.0 9,107 2/23/2015
0.7.0-alpha2 7,167 2/19/2015
0.7.0-alpha 7,182 2/19/2015
0.6.2 13,616 1/5/2015
0.6.1 8,056 12/23/2014
0.6.0 7,521 12/11/2014
0.5.3 7,181 12/10/2014
0.5.2 20,694 10/14/2014
0.5.1 7,570 10/7/2014
0.5.0 6,670 10/7/2014
0.4.1 69,702 7/22/2014
0.4.0 7,350 7/11/2014
0.3.5 7,283 6/30/2014
0.3.4 26,202 4/30/2014
0.3.3 8,969 4/24/2014
0.3.2 6,817 4/17/2014
0.3.1 7,195 3/31/2014
0.3.0 6,904 3/19/2014
0.2.2 6,616 3/6/2014
0.2.1 6,295 2/20/2014
0.2.0 6,178 2/20/2014
0.1.9 6,204 2/20/2014
0.1.8 6,106 1/22/2014
0.1.7 5,589 12/27/2013
0.1.6 5,002 12/26/2013
0.1.5 5,017 11/19/2013
0.1.4 4,868 11/7/2013
0.1.3 4,468 11/6/2013
0.1.1 5,400 10/30/2013
0.1.0 4,392 10/30/2013