Skip to content

Releases: octokit/octokit.net

v0.49 - Entropy or Atrophy?

13 Feb 21:54
9cbe8ac
Compare
Choose a tag to compare

Advisories and Breaking Changes

  • SearchCodeRequest.Users and SearchCodeRequest.Organizations now expects an array of strings, as the underling API supports searching for multiple users or organizations.
  • Type of PullRequestCommit.Author and PullRequestCommit.Commiter properties is changed from Committer to User, please ensure serializing or deserializing this object in your code is not impacted by this change.

Release Notes

Fixes

  • License property added to repository search API - #2258 via @Dagizmo
  • Added HtmlUrl property to team and project response models - #2249 via @colbylwilliams
  • Added support for specifying multiple users or organizations when searching for code - #2291 via @ecarlson94
  • Added DeleteBranchOnMerge property to repository creation API, also included on response model - #2268 via @samcackett
  • Author and Committer properties on PullRequestCommit are now of type User, not Committer - #2224 via @mmv
  • Additional properties added to Organization response - #2239 via @InRedikaWB
  • Added project option to no term for searching issues and pull requests - #2227 via @samhouts

Housekeeping

  • Removed unused helper class ConcurrentCache previously marked as obsolete - #2202 via @shiftkey
  • Updated Cake.Frosting to 1.0 and fixed continuous integration issues - #2289 via @devlead
  • Fixed publish flow for Actions due to environment changes - #2299 via @shiftkey

Documentation Updates

v0.48 - Waiting For News

07 Jun 21:44
d02a230
Compare
Choose a tag to compare

Packages

Octokit 0.48.0 on NuGet
Octokit.Reactive 0.48.0 on NuGet

Release Notes

Features/Enhancements

Housekeeping

v0.47 - Isolation Cocktails

12 Apr 16:48
69d1182
Compare
Choose a tag to compare

Packages

Octokit 0.47.0 on NuGet
Octokit.Reactive 0.47.0 on NuGet

Release Notes

Features/Enhancements

  • Added GetRawContent and GetRawContentByRef APIs to Repository Contents client for cases where performance is desirable - #2151 via @0xced
  • Added ReleaseEvent payload - #2170 via @NextTurn

Fixes

  • Parsing of case-insensitive response headers in GitHubClient.GetLastApiInfo() - #2175 via @shiftkey

Housekeeping

Documentation Updates

  • Updated GitHub Apps documentation to render emoji correctly - #2169 via @NextTurn

v0.46 - Jump To Conclusions Mat

26 Mar 00:15
87d2b0f
Compare
Choose a tag to compare

Packages

Octokit 0.46.0 on NuGet
Octokit.Reactive 0.46.0 on NuGet

Advisories and Breaking Changes

  • This release stops sending preview accept headers which are no longer mentioned in the developer documentation. These features should be working as expected if the service no longer looks for the preview header, but if you spot a situation where the code is not returning the expected response as it was in previous releases please open an issue so we can investigate.

Release Notes

Housekeeping

  • Clean up preview accept headers which are no longer documented or have graduated to production. - #2154 via @shiftkey
  • Tidy up route metadata attributes based on schema information. - #2157 #2158 via @shiftkey

v0.45.0 - Know Your Team

17 Mar 18:16
e9516bb
Compare
Choose a tag to compare

Packages

Octokit 0.45.0 on NuGet
Octokit.Reactive 0.45.0 on NuGet

Advisories and Breaking Changes

  • None

Release Notes

Fixes

  • Fix for deserializing issue when parent team has null set for Permission in some GitHub Enterprise environments - #2156 via @shiftkey

v0.44 - All The Housekeeping

15 Mar 16:16
f6a9a47
Compare
Choose a tag to compare

Packages

Octokit 0.44.0 on NuGet
Octokit.Reactive 0.44.0 on NuGet

Advisories and Breaking Changes

  • Due to the Review Request API graduating from preview there are some breaking changes that will impact callers:

    • client.PullRequest.ReviewRequest.GetAll() has been removed in favour of client.PullRequest.ReviewRequest.Get() as there is no pagination support for the API
    • client.PullRequest.ReviewRequest.Get() now returns a RequestedReviews object that contains users and teams
    • PullRequestReviewRequest now accepts teams, and helper functions are added to make it clear whether a request review is for users or teams

This snippet illustrates how to use the updated API:

// request specific collaborators
var collaborators = new List<string> { "shiftkey", "ryangribble" };
var requestCollaborators = PullRequestReviewRequest.ForReviewers(collaborators);

var number = 123;

await client.PullRequest.ReviewRequest.Create("owner", "repo", number, requestCollaborators);

var reviewers = await client.PullRequest.ReviewRequest.Get("owner", "repo", number);

Console.WriteLine($"Review {number} has requested {reviewers.Users.Count} user reviews and {reviewers.Teams.Count} team reviews");
  • The UnixTimestampExtensions.ToUnixTime methods are marked obsolete because there are equivalent APIs available in .NET Framework 4.6. As these are also intended for internal usage in .NET and should not be imported into the library code, these will be removed in a later update.

Release Notes

Fixes

  • added RequestedTeams property to PullRequest response model - #2123 via @ch1seL
  • updated client.PullRequest.ReviewRequest to reflect what is currently supported - #2153 via @shiftkey

Housekeeping

  • Replaced old UnixTimestampExtensions.ToUnixTime extension methods with inbuild equivalents now that we target .NET Framework 4.6 - #2121 via @0xced
  • Add metadata to each client to assist with auditing API coverage - #2124 via @shiftkey
  • removed obsolete code for CheckSuitesClient - #2130 via @shiftkey
  • Move GitHubAppInstallationsClient into root namespace - #2131 via @shiftkey
  • Added preview header for OAuth Applications API changes that were overlooked in #2116 in readiness for eventual deprecation - #2128 via @shiftkey
  • Mark ReleasesClientTests.TheCreateReleasesMethod tests as integration - #2152 via @0xced

v0.43 - Are You Coming Down With Something?

02 Mar 23:20
faedc8d
Compare
Choose a tag to compare

Packages

Octokit 0.43.0 on NuGet
Octokit.Reactive 0.43.0 on NuGet

Advisories and Breaking Changes

  • None

Release Notes

Fixes

Housekeeping

  • Improvement to AuthorizationClient tests around internal behaviour - #2118 via @MGudgin

v0.42 - Morning Brew

26 Feb 13:23
9b3cf30
Compare
Choose a tag to compare

Packages

Octokit 0.42.0 on NuGet
Octokit.Reactive 0.42.0 on NuGet

Advisories and Breaking Changes

  • None

Release Notes

Features/Enhancements

Fixes

  • Repository.Contents.GetAllContentsByRef handles special case for enumerating content at / as well as a different branch. - #2105 via @shiftkey
  • Added support for handling fully qualified references in Git.References endpoints - #2110 via @shiftkey, @astrohart
  • Added 🚀 and 👀 emoji to Reaction type - #2114 via @ridhoq, @shiftkey

Housekeeping

v0.41 - Waiting For Queries

24 Feb 20:19
6fdd800
Compare
Choose a tag to compare

Packages

Octokit 0.41.0 on NuGet
Octokit.Reactive 0.41.0 on NuGet

Advisories and Breaking Changes

  • Octokit and Octokit.Reactive now have a minimum target of net46 and netstandard2.0 to keep up with the minimum supported versions of Reactive Extensions for .NET. v0.40.0 is the last version that targets net45 or netstandard1.0, but you will need to upgrade your projects to continue to get further updates and fixes.

Release Notes

Fixes

Housekeeping

v0.40 - Oops, I Did It Again

10 Feb 02:31
5de3791
Compare
Choose a tag to compare

Packages

Octokit 0.40.0 on NuGet
Octokit.Reactive 0.40.0 on NuGet

Advisories and Breaking Changes

  • None

Release Notes

Fixes

  • Change TimelineEventInfo.Id from int to long to address deserialization issue - #2092 via @shiftkey
  • Encode offset part of DateTimeOffset when used in Search APIs - #2091 via @shiftkey