NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet, #728 most downloaded on NuGet
An async-based GitHub API client library for .NET and .NET Core
Latest stable
14.0.0
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 7 months
Nearly every release is documented
notes for 59 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
127 years old
120 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
`Octokit 0.31.0` on NuGet `Octokit.Reactive 0.31.0` on NuGet
Octokit 0.31.0 on NuGet
Octokit.Reactive 0.31.0 on NuGet
Features/Enhancements
Features/Enhancements
EventInfoState values (MarkedAsDuplicate, UnmarkedAsDuplicate and CommentDeleted) - #1818 via @mirsaeediProjectCard.Archived, ProjectCardUpdate.Archived and new ProjectCardRequest request - #1842 via @ryangribbleArchived property to Repository response model, adding the ability to archive a repository via UpdateRepository.Archived request, and filtering repo/issues searches with SearchRepositoriesRequest.Archived and SearchIssuesRequest.Archived - #1845 via @jguevara, @ryangribbleFixes
RepositoriesClient.GetAllLanguages() when no languages exist - #1831 via @ryangribbleHousekeeping
SourceLink.Create.GitHub package - #1822 via @ryangribbleDocumentation Updates
Reset field is in UTC - #1819 via @mirsaeediYour coding agent can read these notes before it upgrades. Set up the MCP server →
Removed a number of [Obsolete] methods, members and constructors inline with our standard deprecation schedule - #1780 via @ryangribble
Octokit 0.30.0 on NuGet
Octokit.Reactive 0.30.0 on NuGet
IssuesLabelsClient.RemoveFromIssue() methods which previously had no return value, will now return an IReadonlyList<Label>. This change is source compatible but not binary compatible.[Obsolete] items have been removed from octokit, please use the indicated replacements:Client Methods
OranizationsClient.GetAll() => GetAllForUser()PullRequestsClient.Comment => ReviewCommentRepositoryBranchesClient.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
ctor's from BranchProtectionUpdateSettings and UpdateTeamNewIssue Assignee => AssigneesIssueUpdate Assignee => AssigneesResponse Models
TeamMembership => TeamMembershipDetailsFeatures/Enhancements
Features/Enhancements
PreviousFileName field to PullRequestFile response - #1770 via @KanerazPullRequestReviewEvent payloads using new response model PullRequestReviewEventPayload - #1767 via @CyberbossSearchIssuesRequest.Milestone - #1788 via @mkArtakIReleasesClient.Get() that allows retrieving a Release by the associated tag - #1793 via @tasadar2, @ryangribbleMaintainerCanModify field to PullRequest response and NewPullRequest and UpdatePullRequest requests - #1771 via @Cyberboss, @ryangribbleIRepositoriesClient.GetAllTeams()IRepositoryBranchesClient.GetAllProtectedBranchTeamRestrictions()IRepositoryBranchesClient.UpdateProtectedBranchTeamRestrictions()IRepositoryBranchesClient.AddProtectedBranchTeamRestrictions()IRepositoryBranchesClient.DeleteProtectedBranchTeamRestrictions() - #1795 via @MikhailTymchukDX, @ryangribbleDescription and Default), emoji support and searching for labels (SearchClient.SearchLabels()) - #1802 via @jozefizso, @ryangribbleHousekeeping
Octokit and Octokit.Reactive libraries are still targeting netstandard1.1) - #1784 via @ryangribble[Obsolete] methods, members and constructors inline with our standard deprecation schedule - #1780 via @ryangribblector's to allow mocking, and enforce with a convention test - #1798 via @tasadar2, @ryangribbleDocumentation Updates
reference parameter in IReferencesClient methods - #1778 via @Cyberboss, @ryangribbleAdd TLS1.2 to enabled security protocols (.NET Framework 4.5 only) to avoid SSL connectivity errors when GitHub deprecates weak algorithms on February…
Octokit 0.29.0 on NuGet
Octokit.Reactive 0.29.0 on NuGet
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.Features/Enhancements
ReferencesClient - #1694 via @gdziadkiewiczRepositoryInvitationsClient - #1692 via @gdziadkiewiczFeatures/Enhancements
InReplyToId property to PullRequestReviewComment response model, to indicate when a comment is in reply to another comment - #1715 via @thedillonbnetstandard1.1 targeted package is compatible with AWS Lambda netcoreapp1.0 environment, by explicitly specifying the NetStandard.Library meta-package version - #1713 via @ryangribbleUpdatedAt property to Milestone response model, to indicate when it was last updated - #1722 via @shaggygi, @ryangribbleStatusEvent payloads, using new response model StatusEventPayload - #1732 via @itaibhDateTime and DateTimeOffset response fields whose API response is in an unexpected Unix epoch time format - #1735 via @itaibhPullRequestReviewId property to PullRequestReviewComment response model, to indicate which PullRequestReview the comment is related to - #1739 via @mirsaeediLicense property to Repository response model, adding SpxId field to LicenseMetadata response model and a new IRepositoriesClient.GetLicenseContents() call - #1630 via @jozefizso, @M-Zuber, @ryangribbleMergeableState property to PullRequest response model, to indicate additional information about why a pull request can't be merged - #1764 via @ryangribbleVisibility property to EmailAddress response model, to indicate whether a primary email address is Public or Private - #1757 via @asapferg, @ryangribbleFixes
OAuthClient now handles GitHub Enterprise instances correctly in CreateAccessToken() and GetGitHubLoginUrl() methods - #1726 via @ryangribbleGitHubClient instance from multiple threads in parallel will no longer throw occasional exceptions, after making the GitHubSerializerStrategy internals thread-safe - #1748 via @daveaglickAccountType parameter values - #1759 via @ryangribbleStringEnum<T> members - #1760 via @ryangribbleDocumentation Updates
.NET Standard 1.1 - #1744 via @ShalokShalom, @ryangribbleProductHeaderValue usage to align with GitHub API Docs - #1751 via @IAmHughes, @ryangribble, @UnknownUser`Octokit 0.28.0` on NuGet `Octokit.Reactive 0.28.0` on NuGet
Octokit 0.28.0 on NuGet
Octokit.Reactive 0.28.0 on NuGet
CommitStatus.Id on GitHub exceeding Int32.MaxValue. We've made this field a long now... sorry about that!Features/Enhancements
IGitHubClient.SetRequestTimeout(TimeSpan timeout) to set a custom timeout, particularly useful for lengthy operations such as uploading release assets. - #1693 via @pmiossec, @ryangribbleFixes
Housekeeping
`Octokit 0.27.0` on NuGet `Octokit.Reactive 0.27.0` on NuGet
Octokit 0.27.0 on NuGet
Octokit.Reactive 0.27.0 on NuGet
NewTeam.Permission has been changed to a nullable type Permission? and will no longer be sent unless explicitly setFeatures/Enhancements
Team response and NewTeam and UpdateTeam requests, for Privacy, Maintainers and Description where they were missing - #1669 via @ryangribbleOrganization filter in ISearchClient.SearchCode() - #1672 via @sepharg, @ryangribbleTeamsClient.AddOrEditMembership() and TeamsClient.GetMembershipDetails() and updating TeamsClient.GetAllMembers() to allow filtering by role. - #1670 via @ryangribbleFixes
PlatformNotSupported exception was encountered when initializing the API connection (eg AWS Lambda) - #1660 via @ryangribble, @mderrieyISearchClient.SearchRepo() now uses the correct values for the Forks search qualifiers (Include or Only) - #1680 via @ryangribbleHousekeeping
EnforceAdmins now provides a standard ctor allowing it to be mocked if required - #1679 via @ryangribble`Octokit 0.26.0` on nuget `Octokit.Reactive 0.26.0` on nuget
Octokit 0.26.0 on nuget
Octokit.Reactive 0.26.0 on nuget
required_pull_request_reviews field on Branch Protection updates, which becomes mandatory when the Protected Branches API graduates from preview mode on the 1st SeptemberFeatures/Enhancements
RequiredPullRequestReviews support in IRepositoryBranchesClient.UpdateBranchProtection and additional granular methods to GetReviewEnforcement, UpdateReviewEnforcement and RemoveReviewEnforcement via @M-Zuber, @ryangribble…on protected branches. This was an upstream API breaking change so we couldn't follow our normal deprecation schedule
Octokit 0.25.0 on nuget
Octokit.Reactive 0.25.0 on nuget
Octokit.net has been ported to dotnetcore :tada: providing libraries targetting netstandard1.1 and net45 frameworks
Enum fields in Octokit response classes are now wrapped in an StringEnum<TEnum> helper class, to provide more robustness in dealing with unknown API values for these fields. Whilst the changes are backwards compatible, please consult the guidance on working with Enums for more information
IncludeAdmins field is no longer present in BranchProtectionRequiredStatusChecks and BranchProtectionRequiredStatusChecksUpdate classes, instead use the new EnforceAdmins field on BranchProtectionSettingsUpdate or the new explicit methods for configuring Admin Enforcement on protected branches. This was an upstream API breaking change so we couldn't follow our normal deprecation schedule
Features/Enhancements
Features/Enhancements
Fixes
Features/Enhancements
PullRequest.MergeCommitSha property - #1562 via @alexperovichRepositoryBranchesClient to support Admin Enforcement changes - #1598 via @M-ZuberReviewPermission() functionality for OrganizationMembersClient (Preview API) - #1633 via @alfhenrikOrganizationOutsideCollaboratorsClient.GetAll() method - #1650 via @ryangribbleGetAllPendingInvitations() functionality for OrganizationMembersClient and TeamsClient (Preview API) - #1640 via @alfhenrik, @ryangribbleFixes
RepositoryTrafficClient to handle upstream API change in timestamps from Unix epoch time to ISO8601 - #1560 via @mderriey, @ryangribbleIssueTimelineClient deserialization exceptions by adding more new EventInfoState values - #1563 via @ryangribbleNotificationsClient.MarkAsRead() exception by specifying a payload body in the PUT request - #1579 via @shiftkey, @ryangribbleconnection.GetLastApiInfo() was returning null in some situations - #1580 via @ryangribbleIssueTimelineClient deserialization exceptions by adding even more new EventInfoState values (this is getting old!) - #1591 via @lynnfaraday, @ryangribbleNewRepositoryWebHook.ToRequest() no longer discards existing fields if they are set - #1623 via @ctolkienUri parameters (typically for requests that include some form of filtering) - #1649 via @ryangribbleRepositoryCommitsClient.GetSha1() to correctly obtain the sha1 of the specified commit, after the API went from preview to official - #1654 via @ryangribbleHousekeeping
RepositoryUpdate request class - #1569 via @eriawanUri to string - #1585 via @mderriey[Obsolete] in 0.23 or earlier - #1622 via @ryangribbleDocumentation Updates
Nothing published for this version
…use the Assignees collection rather than the now deprecated Assigneefield. Both fields can't be specified on the same request, so any code still using…
Features/Enhancements
GetAll method to OrganizationsClient - #1469 via malamour-workRepository class - HasPages, SubscribersCount, Size - #1473 via ryangribbleHtmlUrl field to Milestone class - #1489 via StanleyGoldmanIssueCommentsClient.GetAllForRepository() - #1501 via pjc0247PullRequest.Comment to PullRequest.ReviewComment for better accuracy - #1520 via bmeverettAbuseException - #1528 via SeanKilleenId field to PullRequest class - #1537 via YunLi1988ApiErrors should now fall back to better default error messages - #1540 via SeanKilleenFixes
ObservableEventsClient caused by incorrect return types - #1490 via StanleyGoldmanSecurityCritical attribute on GetObjectData() overrides - #1493 via M-ZuberEventInfo enumeration - #1536 via lynnfaradayDocumentation Updates
ApiInfo rate limiting usage in docs - #1524 via SeanKilleenBreaking Changes
NewIssue and IssueUpdate requests
should now use the Assignees collection rather than the now deprecated Assigneefield.
Both fields can't be specified on the same request, so any code still usingAssigneewill
need to explicitly setAssigneestonull 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.ReviewCommentEventsClient 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.Added support to test whether a URL points to a GitHub Enterprise instance - #1404 via @haacked
Features
Fixes
long instead of int - #1445 via @shana, #1485 via @ryangribbleOther
Breaking Changes
Repository identifiers returned from the GitHub API will exceed Int32.MaxValue in around 12 months, based on current growth. We've decided to update everywhere we require (or return) a repository identifier from int to long so that these will continue to work in the future, and the implicit conversion from int to long means the impact should be manageable now.
MergePullRequest.Squash has been marked as obsolete in favour of the MergeMethod property - use PullRequestMergeMethod.Squash or PullRequestMergeMethod.Rebase if you want to change the merge behaviour when merging a pull request.
Timeline preview API support - #1435 via @alfhenrik
Features
Fixes
Breaking Changes
The new Branches client added in #1437 means that existing methods on I(Observable)RepositoryClient are now marked as obsolete. Please update your usages to the new endpoints as these will be removed in a future release:
client.Repository.GetBranch() => client.Repository.Branch.Get()client.Repository.GetAllBranches() => client.Repository.Branch.GetAll()client.Repository.EditBranch() => client.Repository.Branch.Edit()There is also a change in how branch protection works with the API, due to upstream changes. The existing methods have been marked as obsolete, but for the sake of brevity here are the details about what you should be doing today.
The process for inspecting branch protection is now two steps:
client.Repository.Branch.Get() or client.Repository.Branch.GetAll() has it's Protected property set to true.client.Repository.Branch.GetBranchProtection() will return the details about the protection settings for the given branch. If no protection is set for this branch, you will received a HTTP 404 response.Due to a programming error in the tool to generate these release notes, additional features were not properly documented for the previous release:
Features
Due to a programming error in the tool to generate these release notes, additional features were not properly documented for the previous release:
No additional code changes have been made to this release.
This release adds support across Octokit.net for providing the repository Id rather than a name/owner pair. The repository Id does not change when tra
Features
This release adds support across Octokit.net for providing the repository Id rather than a name/owner pair. The repository Id does not change when transferring ownership of a repository, and is more robust for API callers. This work was lead by @dampir as part of Google Summer of Code 2016.
Fixes
Other
Breaking Changes
After a long grace period, #1422 has removed these obsoleted members. These features exist in other parts of the API surface:
I(Observable)GitHubClient.ReleaseI(Observable)GitHubClient.NotificationI(Observable)GitHubClient.GitDatabaseI(Observable)GitHubClient.SshKeyI(Observable)GitHubClient.Repository.RepositoryCommentsI(Observable)GitHubClient.Repository.CommitStatusI(Observable)GitHubClient.Repository.RepoCollaboratorsI(Observable)GitHubClient.Repository.CommitsThis method is no longer supported through the API and has been removed from Octokit.net:
I(Observable)GitHubClient.Authorization.RevokeAllApplicationAuthentications()The big focus for this release is pagination support. This lets the caller control how much data to retrieve for GetAll* endpoints throughout Octokit.
Features
The big focus for this release is pagination support. This lets the caller
control how much data to retrieve for GetAll* endpoints throughout Octokit.
This was a team effort to apply this across the entire codebase, with
contributions from @dampir, @devkhan, @prayankmathur, @SamTheDev and @shiftkey.
For more information about how to use pagination in your projects refer to the documentation: http://octokitnet.readthedocs.io/en/latest/extensibility/#pagination
SearchIssuesRequest - #1228 via @ryangribbleImporter property to Meta endpoint - #1235 via @ryangribbleIEventsClient - #1288 via @drasticactionsFixes
IUserKeysClient.GetAll() to IUserKeysClient.GetAllForCurrent() - #1139 via @M-ZuberItemStateFilter enum to differentiate between search and list endpoints - #1140 via @prayankmathurRepositoriesClient.GetAllPublic() fails for Enterprise instanes due to URI structure - #1204 via @ryangribbleConfigureAwait(false) usages added, eliminating deadlocks - #1248 via @shiftkeyCompareResult.MergedBaseCommit to fix serialization issue - #1265 via @kivancmusluRepository property to Issue response - #1292 via @M-ZuberSearchCodeRequest now supports searching without specifying a term - #1338 via @dsplaistedClosedBy property to Issue - #1353 via @maddin2016Other
Uris created in Octokit - #1287, #1290 via @dampirBreaking Changes
IUserKeysClient.GetAll() was named incorrectly when it was originally implemented
and only works for the current user's keys. Update all usages to GetAllForCurrent().CompareResult.MergedBaseCommit was never deserialized correctly, and has
been marked as obsolete. You should use CompareResult.MergeBaseCommit
instead (note the lack of a d).IEventsClient.GetAllForRepository was incorrectly retrieving issue
events before this release. Use the new IEventsClient.GetAllIssuesForRepository
method if you still require issues, or continue to use IEventsClient.GetAllForRepository
if you require all repository events.IUsersClient has a property named Keys which has been renamed in the
GitHub API documentation - Octokit has added the name GitSshKey to
reflect this change, and Keys will be removed in a later release.ItemStateFilter has been introduced to separate it from the search APIs, which still use ItemState. This affects IssueRequest.State, PullRequestRequest.State and MilestoneRequest.State. You'll need to rename any enum usages from ItemState to ItemStateFilter.Add GetLatest endpoint for Releases API - #975 via @chenjiaming93
Features
GetLatest endpoint for Releases API - #975 via @chenjiaming93PullRequest - #1089 via @M-ZuberVisibility and Affiliation to repository search - #1096, #1132 via @Sarmad93, @AlexP11223CreateBranch extension methods to IReferencesClient - #1103 via @M-ZuberUserKeysClient API - #1112 via @ryangribbleRepositoryContentsClient create, update and delete actions now specify branch - #1093 via @M-ZuberFixes
StatisticsClient should not clobber /api/v3/ in path - #1085 via @shiftkeyRepositoryContentsClient.GetArchive - #1113 via @michael-kokorinOther
IReleasesClient.GetLatest - #1090 via @M-ZuberIJsonSerializer not used inside Connection - #1133 via @devkhanBreaking Changes
ISshKeysClient has a number of methods which at the time should have been
implemented in IUserKeysClient - these methods are marked as obsolete and will
be removed in a future release:
ISshKeysClient.Get(int id)ISshKeysClient.GetAll(string user)ISshKeysClient.GetAllForCurrent()ISshKeysClient.Create(SshKeyUpdate key)ISshKeysClient.Update(int id, SshKeyUpdate key)ISshKeysClient.Delete(int id)New: support for User Administration API (GitHub Enterprise) - #1068 via @paladique
Milestone property added to PullRequest response - #1075 via @EilonOrganizationMembersClient.GetAll() - #1072 via @ryangribbleRepository.Content.GetAllContents now support the root of the repository - #1064 via @naveensrinivasan, @shiftkeyId and Locked to Issue, added CommitUrl to IssueEvent - #1039 via @gabrielweyerRelease and ReleaseAsset - #1009 via @gabrielweyerApiException now includes JSON payload when .ToString()- #974 via @asizikovBreaking Changes:
As part of reaching 1.0 we went through to audit the current implementation
and identify areas that didn't align with our conventions. For this release,
we're marking the endpoints as [Obsolete] and indicating the new location.
These will be cleaned up in the next release:
IGitHubClient.Notifications -> IGitHubClient.Activity.Notifications - #1019 via @M-ZuberIGitHubClient.Repository.CommitStatus -> IGitHubClient.Repository.Status - #1043 via @RobPethickIGitHubClient.Repository.Commits -> IGitHubClient.Repository.Commit - #1057 via @M-ZuberIGitHubClient.Repository.RepoCollaborators -> IGitHubClient.Repository.Collaborator - #1040 via @M-ZuberIGitHubClient.Repository.RepositoryComments -> IGitHubClient.Repository.Comment - #1044 via @M-ZuberIGitHubClient.Release -> IGitHubClient.Repository.Release - #1058 via @RobPethickIGitHubClient.GitDatabase -> IGitHubClient.Git - #1048 via @RobPethickOther breaking changes:
ApiExtensions.Get<T> extension method was causing a bunch of
tests to be written in a confusing way. This has been ported to an interface
method on IApiConnection but hopefully you're not referencing this method
externally - see #1063 for more information.IRepositoryContentsClient.GetArchiveLink is no longer correct, as the HTTP
behaviour in Octokit was updated to follow redirects received from the server.
See #986 for the last bits of cleanup.IRepositoryContentsClient.GetAllContents(string owner, string name, string path, string reference)
has been renamed to GetAllContentsByRef(string owner, string name, string path, string reference)
to prevent overlap with methods on IRepositoryContentsClient which do not
specify a path - and thus look at the root of the repository.IssueEventPayload has two fields which are never populated from the API -
Assignee and Label - these are now removed. You should use
Issue.Assignee and Issue.Labels instead. See #1039 for more details.PullRequest.MergeCommitSha is marked as obsolete by the GitHub API - we
are cleaning up the behaviour for determining whether a PR has been
merged in #997 - see the PR for more information.IAuthorizationsClient.RevokeAllApplicationAuthentications is no longer
available through the GitHub API - this will be removed in the next
release.Shout outs
A lot of extra work went into this release, and I wanted to thank those people who helped out - without their efforts we wouldn't be at this point:
New: NewRepositoryWebHook helper class useful for creating web hooks - #917 via @alfhenrik
NewRepositoryWebHook helper class useful for creating web hooks - #917 via @alfhenrikGetArchive method of RepositoryContentsClient that accept a timeout - #918 via @willsbEventsUrl to Issue - #901 via @alfhenrikCommitter and Author to the GitHubCommit object - #903 via @willsbEncodedContent property of RepositoryContent public - #861 via @naveensrinivasanContent property to NewTreeItem to allow specifying content for a tree - #915 via @haackedDescription property to NewTeam to allow specifying a description for a team - #915 via @haackedDescription property to OrganizationUpdate to allow specifying a description for an organization - #915 via @haackedBefore property to NotificationsRequest to find notifications updated before a specific time - #915 via @haackedSignatureResponse to Committer and replaced CommitEntity with Committer - #916 via @haackedPrivateRepositoryQuotaExceededException - #929 via @elbalooMerge method of PullRequestsClient now throws more specific exceptions when pull request is not mergeable - #976 via @elbaloo and @shiftkeySystem to required framework assemblies for the net45 NuGet package - #919 via @adamralphHasIssues property of NewRepository to be a nullable boolean because it's optional - #942 via @alfhenrikapplication/octet-stream content type properly - #943 via @naveensrinivasanBreaking Changes:
NewDeployment constructor requires a ref as this is required for the API. It no longer has a default constructor.NewDeploymentStatus constructor requires a DeploymentState as this is required for the API. It no longer has a default constructor.Name property of NewTeam is now read only. It is specified via the constructor.SignatureResponse to Committer and removes CommitEntity, replacing it with Committer.HasIssues property of NewRepository to be nullable.New: Implemented GetMetadata method of IMiscellaneousClient to retrieve information from the Meta endpoint -#892 via @haacked
GetMetadata method of IMiscellaneousClient to retrieve information from the Meta endpoint -#892 via @haackedClosedAt property to Milestone response - #890 via @geek0rNullReferenceException when retrieving contributors for an empty repository - #897 via @adamralphNew: IRepositoryContentsClient.GetAllContents now has an overload to support specifying a reference - #730 via @goalie7960
IRepositoryContentsClient.GetAllContents now has an overload to support specifying a reference - #730 via @goalie7960IMiscellaneousClient - #848 via @Red-FolderGitHubClient.GetLastApiInfo() to get API information for previous request - #855 via @Red-Folder, @khellangPreviousFileName returned to show renamed files in commit - #871 via @CorinaCiocaneaCommentUrl returned on Issue response - #884 via @naveensrinivasanIssue response - #876 via @EilonFileName parameter - #864 via @fffejGetQueuedContent should return empty response for 204 No Content, instead of throwing - #862 via @haackedTeamClient.AddMembership sends correct parameter to server - #856 via @davidalpertAuthorization endpoint which does not require fingerprint - #878 via @niikBreaking Changes:
Repos property for SearchIssuesRequest and SearchCodeRequest
are now of type RepositoryCollection so that multiple repositories can be searched.New: Repository redirects are supported natively - #808 via @darrelmiller, @shiftkey
Fixed: Added some missing Organization Teams methods - #795 via @phantomtypist, @shiftkey
New: Added support for repository hooks and forks - #776 via @kristianhald, @johnduhart and @AndyCross
New: Added overload to IRepositoryClient.GetAllPublic specifying a since parameter - #774 via @alfhenrik
IRepositoryClient.GetAllPublic specifying a since parameter - #774 via @alfhenrikIGistsClient.GetAllCommits and IGistsClient.GetAllForks implementations - #542 via @haagenson, #794 via @shiftkeyIRepositoryContentsClient.GetArchiveLink for getting archived code - #765 via @alfhenrikPullRequestFile properties were not serialized correctly - #789 via @thedillonbFixed: renamed methods to follow GetAll convention - #771 via @alfhenrik
GetAll convention - #771 via @alfhenrikBreaking Changes:
GetAll to re-disocver that API.CommitComment.Position is now a nullable int to prevent serialization issues.Deprecated: Repository.GetReadme and Repository.GetReadmeHtml - #759 via @khellang
PullRequest.Files APIs - #752 via @alfhenrikPullRequestRequest now supports SortDirection and SortProperty - #752 via @alfhenrikRepository.Create now enforces a repository name - #763 via @haackedRepository.GetReadme and Repository.GetReadmeHtml - #759 via @khellangBreaking Changes:
NewRepository constructor requires a name parameterIRepositoriesClient.GetReadme -> IRepositoriesClient.Content.GetReadmeIRepositoriesClient.GetReadmeHtml -> IRepositoriesClient.Content.GetReadmeHtmlIFollowersClient.GetFollowingForCurrent -> IFollowersClient.GetAllFollowingForCurrentIFollowersClient.GetFollowing -> IFollowersClient.GetAllFollowingNew: added MiscellaneousClient.GetGitIgnoreTemplates and MiscellaneousClient.GetGitIgnoreTemplates APIs - #753 via @haacked
MiscellaneousClient.GetGitIgnoreTemplates and MiscellaneousClient.GetGitIgnoreTemplates APIs - #753 via @haackedMiscellaneousClient.GetLicenses and MiscellaneousClient.GetLicense preview APIs - #754 via @haackedAuthorizationClient- #731 via @alfhenrikunsubscribe type for Issue events - #751 via @darrencampDeprecated: Repository.SubscriberCount has no data - #739 via @basildk
Repository.GetAllPublic for searching public repositories - #691 via @rms81Repository.GetAllForCurrent() - #742 via @shiftkeyEventInfoType value with underscore now works - #727 via @janoveskRepository.SubscriberCount has no data - #739 via @basildkRepository.Organization has no data - #726 via @alfhenrikFixed: unshipped Orgs Permissions preview API changes due to excessive paging in some situations.
Deprecated: Repository.WatchedCount has no data - #701 via @DaveWM
SearchCodeRequest has overloads for owner and repository name - #705 via @kfrancisAccount.Type to identify user or organization account - #714 via @shiftkeyEventTypeInfo did not parse head_ref_deleted and head_ref_restored - #711 via @janoveskIssueUpdate.Labels did not support "no change" updates - #718 via @shiftkeyRepository.WatchedCount has no data - #701 via @DaveWMNew: Response models now use read-only properties - #658, #662 via @haacked, #663 via @khellang, #679 via @Zoltu
Truncated property to TreeResponse - #674 via @ZoltuGetRecursive method to ITreesClient - #673 via @ZoltuMerging client to Repository API - #603 via @tabroIGistCommentsClient identifiers to string instead of int - #681 via @thedillonbBreaking Changes
IResponse is now a readonly interface.ApiResponse<T> accepts the strongly typed body as an argument.IResponse<T> changed to IApiResponse<T>.Nothing published for this version
Nothing published for this version
New: Added Assignee and Label to EventInfo and IssueEvent repsonses - #644 via @thedillonb
Assignee and Label to EventInfo and IssueEvent repsonses - #644 via @thedillonbBrowserDownloadUrl to ReleaseAsset response - #648 via @erangeljrStats to GitHubCommit and Patch to GitHubCommitFile - #646 via @thedillonbGitClient.Repository.Content - #649 via @haacked and @khellangEventInfo.Event - #644 via @thedillonbHead and Base in pull request - #606 via @mgeSignatureResponse.Date is now a DateTimeOffset - #646 via @thedillonbBreaking Changes:
EventInfo.InfoState is now EventInfo.EventIssueEvent.InfoState is now IssueEvent.EventSignatureResponse.Date has changed from Date to DateTimeOffsetNew: IOrganizationMembersClient.GetAll now has enum to filter 2FA - #626 via @gbaychev
IOrganizationMembersClient.GetAll now has enum to filter 2FA - #626 via @gbaychevUser.GravatarId and Author.GravatarId are marked as obsolete - #622 via @gbaychevDateTimeOffset.MinValue as default parameter for NotificationRequest.Since - #641 via @thedillonbFixed: Typo in guard clause for ApiInfo - #588 via @karlbohlmark
ApiInfo - #588 via @karlbohlmarkNewRepository - #590 via @karlbohlmarkFiles array now included when fetching a commit - #608 via @kzuGetAllContributors return Contributions count - #614 via @SimonCroppNew: Uploading release assets now supports an optional timeout value - #587 via @shiftkey
New: Method to add repository to team - #546 via @kevfromireland
Breaking Changes:
PullRequestUpdate removed unused fields: Number, State, Base, and HeadReleaseClient.Create now accepts a NewRelease parameter (was ReleaseUpdate)ReleaseUpdate no longer requires a TagName in the constructor (see NewRelease)ReleaseUpdate now has nullable Draft and Prerelease properties - only
set these if you want to apply changes to the APIIssueUpdate.State is now a nullable ItemStateMilestoneUpdate.Number is now removedMilestoneUpdate.State is now a nullable ItemStateNew: added XML docs to NuGet package for Maximum Intellisense - #586 via @shiftkey
Breaking Change: Readme.GetHtmlContent() would return a 404, due to Readme.HtmlUrl not accepting custom Accepts header. This method now uses Readme.Ur…
Repository - #560 via @thedillonbItemState.All enum value so issue filtering can be bypassed - #550 via @MitjaBezensekApiUrl that causes /team/{id}/repos to fail - #555 via @matt-gibbsPullRequest.Mergeable was misspelt, causing serialization issue - #576 via @jrowiesBreaking Change: Readme.GetHtmlContent() would return a 404, due to Readme.HtmlUrl not accepting custom Accepts header. This method now uses Readme.Url internally, which will return a slightly different DOM.
New: Added a public method for turning pages of requests into a flat observable - #544 via @haacked
New: added Commit.CommentCount property - #494 via @gabrielweyer
Fix issue search filtering bug - #481 via @shiftkey
Improvements to "repository exists" exception result - #473 via @shiftkey
Add methods to retrieve a team's members and to check if a user is a member of a team - #449 via @kzu
Allow passing a parameter to the Patch method - #440 via @nigel-sampson
Add support for comparing two commits - #428 via @shiftkey
Add Portable Class Library support for Octokit package - #401 via @trsneed
Task-based and Observable-based APIs are now consistent - #361 #376 #378 via @shiftkey and @ammeep
Reverted the dependency on Reactive Extensions 2.2.2 which introduced breaking changes
Fixed an issue where some new observable clients were not accessible - #376 via @shiftkey
New client for searching users - #289 via @hahmed
Deprecate custom Releases Accept header - #291 via @shiftkey
New client for repository search - #226 and @273 via @hahmed
New client for managing Gists - #225 via @SimonCropp
New client for starring repositories
New client for retrieving activity events
New Xamarin Component store versions of Octokit.net
Bug fix: It failed to run on .NET 4.5
Nothing published for this version
Nothing published for this version
One column per quarter.