Skip to content

Releases: octokit/octokit.net

v0.18 - Bringing The Thunder

02 Feb 23:04
Compare
Choose a tag to compare
  • New: support for User Administration API (GitHub Enterprise) - #1068 via @paladique
  • New: support for Admin Stats API (GitHub Enterprise) - - #1049 via @ryangribble
  • New: support for Repository Pages API - #1061 via @M-Zuber
  • New: get stargazer creation timestamps - #1060 via @daveaglick
  • New: support for Protected Branches API - #996 via @ryangribble
  • New: support for creating Personal Access Tokens - #990 via @alfhenrik
  • Fixed: Milestone property added to PullRequest response - #1075 via @Eilon
  • Fixed: Add member role filter to OrganizationMembersClient.GetAll() - #1072 via @ryangribble
  • Fixed: Repository.Content.GetAllContents now support the root of the repository - #1064 via @naveensrinivasan, @shiftkey
  • Fixed: added Id and Locked to Issue, added CommitUrl to IssueEvent - #1039 via @gabrielweyer
  • Fixed: additional fields on Release and ReleaseAsset - #1009 via @gabrielweyer
  • Fixed: ApiException now includes JSON payload when .ToString()- #974 via @asizikov

Breaking 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-Zuber
  • IGitHubClient.Repository.CommitStatus -> IGitHubClient.Repository.Status - #1043 via @RobPethick
  • IGitHubClient.Repository.Commits -> IGitHubClient.Repository.Commit - #1057 via @M-Zuber
  • IGitHubClient.Repository.RepoCollaborators -> IGitHubClient.Repository.Collaborator - #1040 via @M-Zuber
  • IGitHubClient.Repository.RepositoryComments -> IGitHubClient.Repository.Comment - #1044 via @M-Zuber
  • IGitHubClient.Release -> IGitHubClient.Repository.Release - #1058 via @RobPethick
  • IGitHubClient.GitDatabase -> IGitHubClient.Git - #1048 via @RobPethick

Other breaking changes:

  • a public 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:

  • @naveensrinivasan - for helping set up our Travis CI builds to test this on
    Mono - see #995 for the details
  • @hahmed - for contributing a bunch of documentation around the Octokit search
    APIs - see #955, #954 and #951
  • @JakesCode - for clarifying some documentation after he reported an issue - #1054
  • @ryangribble - for helping get our GitHub Enterprise testing off the ground - #987
  • @naveensrinivasan - for catching and addressing an issue with our LINQPad snippets - #987

Octokit.net v0.17

08 Dec 00:47
Compare
Choose a tag to compare
  • New: NewRepositoryWebHook helper class useful for creating web hooks - #917 via @alfhenrik
  • New: Overloads to the GetArchive method of RepositoryContentsClient that accept a timeout - #918 via @WillsB
  • Improved: Added EventsUrl to Issue - #901 via @alfhenrik
  • Improved: Added Committer and Author to the GitHubCommit object - #903 via @WillsB
  • Improved: Made EncodedContent property of RepositoryContent public - #861 via @naveensrinivasan
  • Improved: Added ability to create deploy keys that are read only and can only be used to read repository contents and not write to them - #915 via @haacked
  • Improved: Added Content property to NewTreeItem to allow specifying content for a tree - #915 via @haacked
  • Improved: Added Description property to NewTeam to allow specifying a description for a team - #915 via @haacked
  • Improved: Added Description property to OrganizationUpdate to allow specifying a description for an organization - #915 via @haacked
  • Improved: Added Before property to NotificationsRequest to find notifications updated before a specific time - #915 via @haacked
  • Improved: Renamed SignatureResponse to Committer and replaced CommitEntity with Committer - #916 via @haacked
  • Improved: Added URLs with more information to the PrivateRepositoryQuotaExceededException - #929 via @elbaloo
  • Improved: The Merge method of PullRequestsClient now throws more specific exceptions when pull request is not mergeable - #976 via @elbaloo and @shiftkey
  • Fixed: Bug that prevented specifying a commit message for pull request merges - #915 via @haacked
  • Fixed: Added System to required framework assemblies for the net45 NuGet package - #919 via @adamralph
  • Fixed: Change the HasIssues property of NewRepository to be a nullable boolean because it's optional - #942 via @alfhenrik
  • Fixed: Bug that caused downloading release assets to fail because it didn't handle the application/octet-stream content type properly - #943 via @naveensrinivasan
  • Fixed: JSON serialization bug with unicode characters - via ##972 @naveensrinivasan

Breaking 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.
  • The Name property of NewTeam is now read only. It is specified via the constructor.
  • Renamed SignatureResponse to Committer and removes CommitEntity, replacing it with Committer.
  • Changed the type of HasIssues property of NewRepository to be nullable.

v0.16 - ironic ties

17 Sep 23:32
Compare
Choose a tag to compare
  • New: Implemented GetMetadata method of IMiscellaneousClient to retrieve information from the Meta endpoint -#892 via @haacked
  • Improved: Add missing ClosedAt property to Milestone response - #890 via @geek0r
  • Fixed: NullReferenceException when retrieving contributors for an empty repository - #897 via @adamralph
  • Fixed: Bug that prevented release uploads and will unblock the entire F# ecosystem - #895 via @naveensrinivasan

v0.15 - Bearded Hijinks

10 Sep 06:41
Compare
Choose a tag to compare
  • New: IRepositoryContentsClient.GetAllContents now has an overload to support specifying a reference - #730 via @goalie7960
  • New: Support for retrieving rate limit information from IMiscellaneousClient - #848 via @Red-Folder
  • New: Use GitHubClient.GetLastApiInfo() to get API information for previous request - #855 via @Red-Folder, @khellang
  • New: PreviousFileName returned to show renamed files in commit - #871 via @CorinaCiocanea
  • Improved: CommentUrl returned on Issue response - #884 via @naveensrinivasan
  • Improved: Issue and Code Search now accepts multiple repositories - #835 via @shiftkey
  • Improved: Search now accepts a range of dates - #857 via @ChrisMissal
  • Improved: Documentation on Issue response - #876 via @Eilon
  • Improved: Code Search now accepts FileName parameter - #864 via @fffej
  • Fixed: GetQueuedContent should return empty response for 204 No Content, instead of throwing - #862 via @haacked
  • Fixed: TeamClient.AddMembership sends correct parameter to server - #856 via @davidalpert
  • Obsolete: Authorization endpoint which does not require fingerprint - #878 via @niik

Breaking Changes:

  • #835 has changed the Repos property for SearchIssuesRequest and SearchCodeRequest
    are now of type RepositoryCollection so that multiple repositories can be searched.
  • The workarounds removed in #878 were added initially to support transitioning, but now
    we enforce the use of a fingerprint. See https://developer.github.com/v3/oauth_authorizations/
    for more details.

v0.14 - Jet Lag

18 Jul 22:17
Compare
Choose a tag to compare
  • New: Repository redirects are supported natively - #808 via @darrelmiller, @shiftkey
  • Fixed: Support for searching repositories without a search term - #828 via @alexandrugyori

v0.13 - Doof Wagon

17 Jun 02:08
Compare
Choose a tag to compare

v0.12 - The Webzone™

19 May 08:53
Compare
Choose a tag to compare

v0.11 - Sled Dogs

09 May 02:39
Compare
Choose a tag to compare

New in 0.11.0 (released 2015/05/10)

  • New: Added overload to IRepositoryClient.GetAllPublic specifying a since parameter - #774 via @alfhenrik
  • New: Added IGistsClient.GetAllCommits and IGistsClient.GetAllForks implementations - #542 via @haagenson, #794 via @shiftkey
  • New: Added IRepositoryContentsClient.GetArchiveLink for getting archived code - #765 via @alfhenrik
  • Fixed: PullRequestFile properties were not serialized correctly - #789 via @thedillonb
  • Fixed: Allow to download zip-attachments - #792 via @csware

v0.10.0 - Beer Snake

22 Apr 03:01
Compare
Choose a tag to compare
  • Fixed: renamed methods to follow GetAll convention - #771 via @alfhenrik
  • Fixed: helper functions and cleanup to make using Authorization API easier to consume - #786 via @haacked

Breaking Changes:

  • As part of #771 there were many method which were returning collections
    but the method name made it unclear. You might think that it wasn't much, but
    you'd be wrong. So if you have a method that no longer compile,
    it is likely that you need to set the prefix to GetAll to re-disocver that API.
  • CommitComment.Position is now a nullable int to prevent serialization issues.

v0.9.0 - It's The Vibe

06 Apr 08:11
Compare
Choose a tag to compare
  • New: added PullRequest.Files APIs - #752 via @alfhenrik
  • Fixed: PullRequestRequest now supports SortDirection and SortProperty - #752 via @alfhenrik
  • Fixed: Repository.Create now enforces a repository name - #763 via @haacked
  • Fixed: corrected naming conventions for endpoints which return a list of results - #766 via @alfhenrik
  • Deprecated: Repository.GetReadme and Repository.GetReadmeHtml - #759 via @khellang

Breaking Changes:

  • NewRepository constructor requires a name parameter
  • IRepositoriesClient.GetReadme -> IRepositoriesClient.Content.GetReadme
  • IRepositoriesClient.GetReadmeHtml -> IRepositoriesClient.Content.GetReadmeHtml
  • IFollowersClient.GetFollowingForCurrent -> IFollowersClient.GetAllFollowingForCurrent
  • IFollowersClient.GetFollowing -> IFollowersClient.GetAllFollowing