Skip to content

Releases: octokit/octokit.net

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

v0.39 - Sunday Funday

09 Feb 16:55
8dac968
Compare
Choose a tag to compare

Packages

Octokit 0.39.0 on NuGet
Octokit.Reactive 0.39.0 on NuGet

Advisories and Breaking Changes

  • None

Release Notes

Fixes

  • Search Issues endpoint to does not handles labels containing spaces correctly - #2084 via @zHaytam
  • added IsTemplate field to Repository response model returned from API - #2090 via @shiftkey

Housekeeping

v0.38 - Short and Sweet

08 Feb 18:02
26d770b
Compare
Choose a tag to compare

Packages

Octokit 0.38.0 on NuGet
Octokit.Reactive 0.38.0 on NuGet

Advisories and Breaking Changes

  • None

Release Notes

Fixes

  • Add CheckConclusion.Stale value to Conclusion property for CheckSuite and CheckRun - #2080 via @BenEmdon

Housekeeping

  • formatting code is now opt-in when running build scripts locally - #2085 via @shiftkey

v0.37 - Back From Somewhere

03 Feb 22:33
Compare
Choose a tag to compare

Packages

Octokit 0.37.0 on NuGet
Octokit.Reactive 0.37.0 on NuGet

Advisories and Breaking Changes

  • None

Release Notes

Features/Enhancements

  • Add support for organization memberships API - #2014 via @hnrkndrssn
  • Add support for filtering repository collaborators by their affiliation - #2043 via @hnrkndrssn

Fixes

  • Added "Jupyter Notebook" to Search Repositories API - #2032 via @Dagizmo
  • Fix encoding of spaces when using Search API - #2038 via @Dagizmo
  • Change IssueEvent.Id from int to long to address deserialization issue - #2060 via @stevedesmond-ca
  • Add CheckConclusion.Skipped value to Conclusion property for CheckSuite and CheckRun - #2077 via @JeffreyPalmer

Housekeeping

  • Upgrade project tooling to Cake 0.36 - #2039 and #2062 via @devlead
  • Update GitHubJwt to version 0.0.4 - #2057 via @dependabot
  • Address NuGet warning about deprecated PackageIconUrl value - #2063 via @shiftkey
  • Add Microsoft.NETFramework.ReferenceAssemblies to allow building projects properly on platforms that only have .NET Core installed - #2064 via @shiftkey
  • Upgrade SourceLink and GitVersion tools - #2065 via @shiftkey
  • Enable GitHub Actions for building and testing pull requests - #2066 via @shiftkey
  • Cleanup CoreOnly usage in project files - #2072 via @shiftkey
  • Cleanup Travis features in build scripts - #2073 via @shiftkey
  • Switch to Microsoft.SourceLink.GitHub for embedding GitHub URLs into assemblies - #2074 via @shiftkey

Documentation Updates