Releases: octokit/octokit.net
v0.46 - Jump To Conclusions Mat
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
v0.45.0 - Know Your Team
Packages
Octokit 0.45.0
on NuGet
Octokit.Reactive 0.45.0
on NuGet
Advisories and Breaking Changes
- None
Release Notes
Fixes
v0.44 - All The Housekeeping
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 ofclient.PullRequest.ReviewRequest.Get()
as there is no pagination support for the APIclient.PullRequest.ReviewRequest.Get()
now returns aRequestedReviews
object that contains users and teamsPullRequestReviewRequest
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 toPullRequest
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?
Packages
Octokit 0.43.0
on NuGet
Octokit.Reactive 0.43.0
on NuGet
Advisories and Breaking Changes
- None
Release Notes
Fixes
- In preparation for the Deprecating OAuth Application API brownout and eventual removal on July 1 2020 we have updated the client internals to ensure we are calling the supported endpoint well in advance - #2116 via @MGudgin
Housekeeping
v0.42 - Morning Brew
Packages
Octokit 0.42.0
on NuGet
Octokit.Reactive 0.42.0
on NuGet
Advisories and Breaking Changes
- None
Release Notes
Features/Enhancements
- Added support for Deployment Status API improvements - #1895 via @Cyberboss, @shiftkey
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
- Moved
dotnet-format
out to tool manifest file - #2109 via @shiftkey - Added pagination support to
client.Miscellaneous.GetAllLicenses();
- #1716 via @gdziadkiewicz, @shiftkey
v0.41 - Waiting For Queries
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
andnetstandard2.0
to keep up with the minimum supported versions of Reactive Extensions for .NET.v0.40.0
is the last version that targetsnet45
ornetstandard1.0
, but you will need to upgrade your projects to continue to get further updates and fixes.
Release Notes
Fixes
- Added new states to the
EventInfoState
enum - #2101 via @maxim-lobanov - Added
ProjectCard
property toIssueEvent
response model - #2102 via @maxim-lobanov
Housekeeping
- Upgraded Octokit.Reactive to target
System.Reactive
v4.3.2
- #2055 via @dependabot-preview[bot], @shiftkey - Upgraded Cake.Frosting tooling to
v0.37
- #2096 via @dependabot-preview[bot] - Added new types for webhook commit payload - #1844 via @itaibh, @shiftkey
v0.40 - Oops, I Did It Again
Packages
Octokit 0.40.0
on NuGet
Octokit.Reactive 0.40.0
on NuGet
Advisories and Breaking Changes
- None
Release Notes
Fixes
v0.39 - Sunday Funday
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 toRepository
response model returned from API - #2090 via @shiftkey
Housekeeping
- updated Codecov to version 1.10.0 - #2088 via @dependabot, @shiftkey
- upgraded project tooling to .NET Core 3.1 - #2089 via @shiftkey
v0.38 - Short and Sweet
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 toConclusion
property forCheckSuite
andCheckRun
- #2080 via @BenEmdon
Housekeeping
v0.37 - Back From Somewhere
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
fromint
tolong
to address deserialization issue - #2060 via @stevedesmond-ca - Add
CheckConclusion.Skipped
value toConclusion
property forCheckSuite
andCheckRun
- #2077 via @JeffreyPalmer
Housekeeping
- Upgrade project tooling to Cake 0.36 - #2039 and #2062 via @devlead
- Update
GitHubJwt
to version0.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