Releases: octokit/octokit.net
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
v0.36 - Not the Wurst
Packages
Octokit 0.36.0
on NuGet
Octokit.Reactive 0.36.0
on NuGet
Advisories and Breaking Changes
SearchCodeRequest.Extension
has been renamed to SearchCodeRequest.Extensions
and is now an IEnumerable<string>
to support specifying multiple file extensions when searching
Release Notes
Fixes
- Added support for searching code with multiple file extensions - #2019 via @ecarlson94
- Added new event payload fields for
head_ref_force_pushed
andtransferred
- #2024 via @hnrkndrssn
v0.35 - A Bit Of Everything
Packages
Octokit 0.35.0
on NuGet
Octokit.Reactive 0.35.0
on NuGet
Advisories and Breaking Changes
As part of keeping up with current target frameworks in .NET, we will be deprecating net45
and netstandard1.1
targets in a future release. This update adds net46
and netstandard2.0
outputs which will become the new baseline, so please test them out in your projects and report any issues you encounter.
Release Notes
Features/Enhancements
- Added support for retrieving and creating draft pull requests - #2009 via @hnrkndrssn
- Added Management Console API to view and edit maintenance mode - #2010 via @shiftkey, @ryangribble
Fixes
- Added
Id
property toMilestone
response - #2007 via @hnrkndrssn - Added
since
parameter toIssue.Comments.GetAllForIssue()
- #2008 via @hnrkndrssn
Housekeeping
v0.34 - Too Soon?
Advisories and Breaking Changes
- None
Release Notes
Fixes
- Add comment about caching when calling the repository statistics endpoint - #1954 via @hnrkndrssn, @shiftkey
- Fixed formatting bug where
DateTimeOffset
is provided to filter search results by date - #1988 via @shiftkey
Housekeeping
- Update SourceLink.Create.GitHub to 2.8.3 - #1992 via @dependabot-preview[bot]
- Update xunit to 2.4.1 - #1995 via @dependabot
- Update GitHubJwT to 0.0.3 - #1991 via @dependabot
- Update NSubstitute to 4.2.1 - #1993 via @dependabot, @shiftkey
v0.33 - The One In September
Packages
Octokit 0.33.0
on NuGet
Octokit.Reactive 0.33.0
on NuGet
Advisories and Breaking Changes
- None
Release Notes
Milestone: Missing Pagination Support
Features/Enhancements
- Added pagination support to
MigrationsClient
- #1949 via @hnrkndrssn - Added pagination support to
CommitCommentReactionsClient
,IssueCommentReactionsClient
,IssueReactionsClient
andPullRequestReviewCommentReactionsClient
- #1948 via @hnrkndrssn
Milestone: None
Features/Enhancements
- Added
AuthorAssociation
field toIssueComment
,PullRequestReview
andPullRequestReviewComment
response models - #1877 via @mirsaeedi, @ryangribble - Add
Labels
toPullRequest
response model - #1926 via @ItsVeryWindy - Add additional optional fields
Login
andAllowSignup
toOauthLoginRequest
request - #1919 via @patriksvensson - Implement Require Multiple Approving Reviews for Protected Branches (Preview) - #1912 via @ryangribble
- Add
Slug
field toTeam
response - #1913 via @ryangribble - Support
CreateEvent
andDeleteEvent
payloads, using new response modelsCreateEventPayload
andDeleteEventPayload
- #1932 via @GMouron - Add
Id
field toLabel
response model - #1946 via @Potapy4 - Enhanced
DateRange
class used inSearchClient
requests to support time and timezone components - #1905 via @patricknolan
Fixes
- Update
EventInfo.Id
field fromint
tolong
to prevent overflow exceptions - #1940 via @matt-richardson - Prevent previous Tls1.2 fix for earlier frameworks from interfering with .NET 4.7+
SecurityProtocolType.SystemDefault
configuration - #1936 via @ryangribble, @shiftkey - Fix
SearchRepositoriesRequest
Language
filter option to use the parameter value rather than enum member name - #1951 via @benmcmorran - Implement
SubmittedAt
field onPullRequestReview
response model - #1964 via @ryangribble
Housekeeping
- Adjust Cake and native build configurations to allow building on OSX/Linux out of the box - #1930 via @Vogel612
- Updated Cake.Frosting tooling to latest version - #1978 via @devlead
Documentation Updates
- Update samples to use more up to date repository names - #1872 via @richlander
- Corrected the issues sample code to use the correct
ItemStateFilter
enumeration - #1879 via @sebastienros - Update
releases
sample code to await the async call - #1924 via @shiftkey - Spell checked markdown doc files - #1929 via @bchavez
- Added sample covering how to create a PR from a fork - #1944 via @shahabhijeet
- Fixed typo in developer documentation - #1971 via @shaggygi
- Fixed typo in GitHub Apps documentation - #1985 via @Kissaki
v0.32 - App-stravaganza!
Packages
Octokit 0.32.0
on NuGet
Octokit.Reactive 0.32.0
on NuGet
Advisories and Breaking Changes
- Due to upstream breaking changes in the CheckRuns API, using check runs against github.com will require using the new/renamed fields on
CheckRunAnnotation
response andNewCheckRunAnnotation
request models. However the old fields are maintained in octokit.net (marked as deprecated) to continue supporting GitHub Enterprise 2.14, which will not receive these changes. Users of GHE 2.14 should use the old fields, whilst users of github.com should update to use the new fields
Release Notes
Milestone: GitHub Apps
Features/Enhancements
- Adjust GitHub App Installation Access Token route in line with announced API changes - #1860 via @ryangribble
- Implement additional endpoints for GitHub Apps to find installations for a given organization, repository or user - #1854 via @StanleyGoldman, @ryangribble
- Implement GitHub Apps Installation API to allow listing all repositories a GitHub App Installation or GitHub App authenticated user has access to - #1854 via @StanleyGoldman, @ryangribble
- Implement new/changed fields on
CheckRunAnnotation
response andNewCheckRunAnnotation
request models - replaceFilename
withPath
,WarningLevel
withAnnotationLevel
and addStartColumn
andEndColumn
- #1857 via @ryangribble - Add new method
CheckSuitesClient.Rerequest()
and mark the oldCheckSuitesClient.Request()
method as deprecated (this will no longer function on github.com but will continue to be supported on GitHub Enterprise 2.14) - #1857 via @ryangribble
Fixes
- Adjust
StartedAt
andStatus
fields ofNewCheckRun
andCheckRunUpdate
requests, to allownull
values, avoiding resetting these to default values when not specified - #1852 via @Cyberboss, @ryangribble
Documentation Updates
- Fixed code samples in GitHub Apps sample docs to use the correct sub client property name - #1853 via @d-a-s
Milestone: None
Fixes
IssueLabelsClient.RemoveFromIssue()
no longer fails with a HTTP 400 "Bad Request" error from the GitHub Api - #1868 via @ryangribble
v0.31 - Check yo' self!
Packages
Octokit 0.31.0
on NuGet
Octokit.Reactive 0.31.0
on NuGet
Advisories and Breaking Changes
- None
Release Notes
Milestone: GitHub Apps
Features/Enhancements
- Implemented Check Suites component of New Checks Api (Public Beta) - #1846 via @ryangribble, @Cyberboss
- Implemented Check Runs component of New Checks Api (Public Beta) - #1847 via @ryangribble, @Cyberboss
Milestone: None
Features/Enhancements
- Add new
EventInfoState
values (MarkedAsDuplicate
,UnmarkedAsDuplicate
andCommentDeleted
) - #1818 via @mirsaeedi - Add GraphQL NodeId property to all affected response models - #1806 via @ryangribble
- Implemented New API parameters for Project Card archiving (Preview) including
ProjectCard.Archived
,ProjectCardUpdate.Archived
and newProjectCardRequest
request - #1842 via @ryangribble - Implement support for Archiving repositories including adding
Archived
property toRepository
response model, adding the ability to archive a repository viaUpdateRepository.Archived
request, and filtering repo/issues searches withSearchRepositoriesRequest.Archived
andSearchIssuesRequest.Archived
- #1845 via @jguevara, @ryangribble
Fixes
- Fix exception in
RepositoriesClient.GetAllLanguages()
when no languages exist - #1831 via @ryangribble
Housekeeping
- Remove nuget dependency on
SourceLink.Create.GitHub
package - #1822 via @ryangribble
Documentation Updates
- Clarify the rate limit
Reset
field is in UTC - #1819 via @mirsaeedi - Revise GitHub Apps walkthrough documentation to provide more clarity - #1824 via @ryangribble
v0.30 - Where Have You Been All My life?
Packages
Octokit 0.30.0
on NuGet
Octokit.Reactive 0.30.0
on NuGet
Advisories and Breaking Changes
- Note that the
IssuesLabelsClient.RemoveFromIssue()
methods which previously had no return value, will now return anIReadonlyList<Label>
. This change is source compatible but not binary compatible. - The following
[Obsolete]
items have been removed from octokit, please use the indicated replacements:
Client Methods
OranizationsClient.GetAll()
=>GetAllForUser()
PullRequestsClient.Comment
=>ReviewComment
RepositoryBranchesClient.GetRequiredStatusChecksContexts()
=>GetAllRequiredStatusChecksContexts()
RepositoryBranchesClient.GetProtectedBranchTeamRestrictions()
=>GetAllProtectedBranchTeamRestrictions()
RepositoryBranchesClient.GetProtectedBranchUserRestrictions()
=>GetAllProtectedBranchUserRestrictions()
RepositoryTrafficClient.GetReferrers()
=>GetAllReferrers()
RepositoryTrafficClient.GetPaths()
=>GetAllPaths()
TeamsClient.GetMembership()
=>GetMembershipDetails()
TeamsClient.AddMembership()
=>AddOrEditMembership()
TeamsClient.AddMembership()
=>AddOrEditMembership()
Request Models
- Remove unwanted
ctor
's fromBranchProtectionUpdateSettings
andUpdateTeam
NewIssue
Assignee
=>Assignees
IssueUpdate
Assignee
=>Assignees
Response Models
TeamMembership
=>TeamMembershipDetails
Release Notes
Milestone: GitHub Apps
Features/Enhancements
- Add initial support for GitHub Apps, see the documentation for further information - #1738 via @itaibh, @adriangodong, @ryangribble
Milestone: None
Features/Enhancements
- Added
PreviousFileName
field toPullRequestFile
response - #1770 via @Kaneraz - Support
PullRequestReviewEvent
payloads using new response modelPullRequestReviewEventPayload
- #1767 via @Cyberboss - Add the ability to search issues by milestones, using
SearchIssuesRequest.Milestone
- #1788 via @mkArtak - Add an overload to
IReleasesClient.Get()
that allows retrieving aRelease
by the associated tag - #1793 via @tasadar2, @ryangribble - Add
MaintainerCanModify
field toPullRequest
response andNewPullRequest
andUpdatePullRequest
requests - #1771 via @Cyberboss, @ryangribble - Enabled additional methods for preview "Nested Teams" support:
IRepositoriesClient.GetAllTeams()
IRepositoryBranchesClient.GetAllProtectedBranchTeamRestrictions()
IRepositoryBranchesClient.UpdateProtectedBranchTeamRestrictions()
IRepositoryBranchesClient.AddProtectedBranchTeamRestrictions()
IRepositoryBranchesClient.DeleteProtectedBranchTeamRestrictions()
- #1795 via @MikhailTymchukDX, @ryangribble
- Implement Pre Receive Environments API (Preview) for GitHub Enterprise - #1796 via @tasadar2, @ryangribble
- Implement support for Label API Improvements, including additional fields (
Description
andDefault
), emoji support and searching for labels (SearchClient.SearchLabels()
) - #1802 via @jozefizso, @ryangribble
Housekeeping
- Correct missing/incorrect XmlDoc entries for parameters on some methods - #1779 via @ryangribble
- Parameter names in validation exception messages are now derived from the parameters themselves, rather than a literal string that was hopefully kept up to date - #1781 via @itaibh
- Update Octokit build tooling to use .NET SDK 2.x (note that this is only an SDK tooling update -
Octokit
andOctokit.Reactive
libraries are still targetingnetstandard1.1
) - #1784 via @ryangribble - Removed a number of
[Obsolete]
methods, members and constructors inline with our standard deprecation schedule - #1780 via @ryangribble - Ensure all response models have appropriate
ctor
's to allow mocking, and enforce with a convention test - #1798 via @tasadar2, @ryangribble
Documentation Updates
- Tidy up code formatting in docs/samples - #1791 via @txdv
- Clarify the usage of
reference
parameter inIReferencesClient
methods - #1778 via @Cyberboss, @ryangribble - Improved the "Upload Release Asset" doc sample - #1805 via @mungojam
- Fixed error in "Create Release" doc sample - #1804 via @mungojam