Bump Octokit from 0.43.0 to 0.45.0
Created by: dependabot-preview[bot]
Bumps Octokit from 0.43.0 to 0.45.0.
Release notes
Sourced from Octokit's releases.
v0.45.0 - Know Your Team
Packages
Octokit 0.45.0
on NuGetOctokit.Reactive 0.45.0
on NuGetAdvisories and Breaking Changes
- None
Release Notes
Fixes
- Fix for deserializing issue when parent team has
null
set forPermission
in some GitHub Enterprise environments - #2156 via @shiftkeyv0.44 - All The Housekeeping
Packages
Octokit 0.44.0
on NuGetOctokit.Reactive 0.44.0
on NuGetAdvisories 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 teamsThis 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
... (truncated)
Commits
-
e9516bb
bugfix: improve fallback when StringEnum encounters null value (#2156) -
f6a9a47
Graduate review requests to what eventually shipped (#2153) -
3918685
Mark ReleasesClientTests.TheCreateReleasesMethod tests as integration (#2152) -
5de5258
add attribute for tracking preview usage in the codebase (#2128) -
216e4e3
move GitHubAppInstallationsClient into root namespace for consistency, annota... -
43d1b8b
remove deprecated code for old Check Suites API (#2130) -
f968856
add metadata to each client action (#2124) -
a2b0d87
added Octokit.PullRequest.RequestedTeams property (#2123) -
c94cd05
Obsolete UnixTimestampExtensions methods (#2121) - See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language -
@dependabot badge me
will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)