Releases: octokit/octokit.net
v2.0.1
Advisories and Breaking Changes
- None
Release Notes
Features/Enhancements
- Adds active lock reason to issue - #2525 via @notauserx
- Added an asynchronous paging extension that adds paging for all list-based response objects - #2516 via @Saalvage
- implements [GET] failed org invites - #2533 via @FrediKats
- Adds generators project and AsyncPaginationExtension generator - #2537 via @nickfloyd
- Adds seats and filled seats to plan response - #2539 via @JonruAlveus
Housekeeping
- Cleaned up build warnings - #2529 via @JonruAlveus
- Fixed the binary formatter in net461 so all unit tests now pass. Also removed the need to have it run only in framework as it also works on netcoreapp3.1 - #2535 via @JonruAlveus
- Cleans up unused or unnecessary DefineConstants - #2538 via @JonruAlveus
Documentation Updates
- Updated the .NET supported version in readme - #2532 via @FrediKats
- Adds documentation on how to create a branch - #2541 via @JonruAlveus
v2.0.0
Advisories and Breaking Changes
In this release, we are dropping support for .NET 4.6. This needs to be done to move forward with the framework and innovate using the new APIs and assemblies.
Highlights from the issue description:
.NET Framework 4.6 (and 4.6.1) went out of support on April 26, 2022. Continuing to publish Octokit for this target adds a support burden.
.NET standard 2.0 covers .NET Framework 4.6.2 already.
Supporting a single target framework, .NET standard 2.0, would simplify maintenance of this project while supporting all target frameworks currently supported upstream.
For reference, these are the supported versions going forward
.NET implementation | Version support |
---|---|
.NET and .NET Core | 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0 |
.NET Framework | 4.6.1 2, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 |
For more information see #2521 via @nickfloyd
Release Notes
Fixes
- Fixes issues with two-factor authentication overload and certain endpoints - #2524 via @JonruAlveus | Note this bug was introduced in v1.0.1 - thanks to @casstait for finding and reporting it and for the quick turnaround from @JonruAlveus!
Housekeeping
- Bumps xunit from 2.4.1 to 2.4.2 - #2518 via @dependabot[bot]
Documentation Updates
- Updates deprecation warning from subscribers_count to watchers_count - #2519 via @Brend-Smits
- Updates code docs for SetRequestTimeout to more appropriately reflect what the method does. - #2520 via @notauserx
v1.0.1
Advisories and Breaking Changes
With this release, all preview logic and header implementations have been removed. GitHub REST API previews were promoted in October 2021. With this change, the headers no longer need to be passed to the GitHub REST API. This means you will no longer need to manually pass in preview headers (for any reason) to benefit from the API changes behind the preview logic.
Release Notes
Features/Enhancements
- Adds squash title and HasProjects to the NewRepository request object - #2482 via @JonruAlveus
- Adds DetailsUrl to CheckRun - #2479 via @JonruAlveus
- Updates the EventInfoState enum to align with the GitHub REST API - #2484 via @JonruAlveus
- Adds missing properties to the branch protection response object - #2485 via @JonruAlveus
- Adds new pull request from an existing issue API - #2389 via @miloush
- Adds 4 new Reaction delete routes to replace the existing obsolete routes - #2494 via @JonruAlveus
- Adds missing properties to RepositoryUpdate - #2492 via @JonruAlveus
- Adds code owners error endpoint - #2512 via @JonruAlveus
Fixes
- Trims trailing slashes from user-passed paths that appear before query string parameters - #2486 via @JonruAlveus
- Prevents a null reference exception when ContentType is null on ApiException - #2501 via @diogorolo
Housekeeping
- Updates integration test to use default branch/main instead of master. - #2489 via @JonruAlveus
- Updates and fixes for tests, changing master to main and adds flaky tests attribute - #2511 via @JonruAlveus
- Removes private repositories limit exception - #2514 via @JonruAlveus
- Removes all REST API previews logic from the SDK - #2515 via @JonruAlveus
Documentation Updates
- Fixes GitHubApp response object code docs - #2478 via @martincostello
- Updates organizations-related
GetAllForUser
method docs to make it clear that only public memberships are returned - #2487 via @timrogers
v1.0.0
Release Notes
Breaking changes
- Updates the NewDeployment Task property from the DeployTask enum to string - via REST API docs - #2413 via @mryanmurphy
Features/Enhancements
- Add method to check if repo vulnerability alerts are enabled - #2453 via @lboynton
- Adds handling for secondary rate limit exceptions from the GitHub REST API - #2473 via @JonruAlveus
- Adds Triage/Maintain permission properties - #2467 via @janv8000
- Adds enterprise pre-receive hooks client - #2375 via @tasadar2
- Adds new permissions to the team repository permissions enum - #2424 via @samvdd-247
- Adds AutoMerge and add MergeOptions to NewRepository object - #2476 via @JonruAlveus
- Adds the slug field to the GitHubApp response object - #2391 via @Whitestripe7773
Housekeeping
- Tweak User-Agent to refer to Octokit.net, not just Octokit - #2447 via @timrogers
- Dependency bump - Microsoft.NET.Test.Sdk from 16.11.0 to 17.2.0 - #2445 via @dependabot[bot]
- Dependency bump - NSubstitute from 4.2.2 to 4.3.0 - #2402 via @dependabot[bot]
- Dependency bump - Microsoft.SourceLink.GitHub from 1.0.0 to 1.1.1 - #2372 via @dependabot[bot]
- Dependency bump - NSubstitute from 4.3.0 to 4.4.0 - #2475 via @dependabot[bot]
- Dependency bump - Cake.Frosting from 1.1.0 to 2.2.0 in /build - #2437 via @dependabot[bot], @nickfloyd
- Dependency bump - xunit.runner.visualstudio from 2.4.3 to 2.4.5. Also updates the .NET versions for all test projects from 4.6 to 4.6.2 - #2440 via @dependabot[bot], @nickfloyd
Documentation Updates
- Fixes links to github API documentation - #2378 via @Stefan-J-Hanke
Full Changelog: v0.52.0...v1.0.0
v0.52 - Housekeeping and DX!
Advisories and Breaking Changes
- None
Release Notes
Features/Enhancements
- Adds Draft to MergeableState enum - #2381 via @adtakle
- Adds support for IsTemplate and Create Template from Repository - #2331 via @JonruAlveus
Housekeeping
- Adds stale bot functionality via action and removes the stalebot config - #2442 via @nickfloyd
- Configures the project for GitHub Codespaces - #2443 via @timrogers
- Fixs the Visual Studio Code tasks configuration file - #2448 via @timrogers
- Explicitly configures indentation settings for VSCode - #2450 via @timrogers
- Adds Codespaces template configuration for the dev container - #2449 via @timrogers
- Adds support to the dev container for OmniSharp - #2456 via @nickfloyd
- Adds mono-complete to the dev container - #2468 via @nickfloyd
v0.51 - It's good to be back!
Advisories and Breaking Changes
- None
Release Notes
Features/Enhancements
- Add support for repository topics API - #2246 via @SeanKilleen, @shiftkey
- Adds support for the Device Flow Oauth authentication pattern - #2310 via @palenshus
Housekeeping
- Cleans up some mentions of
master
branch in codebase - #2306 via @shiftkey - Updates Cake.Frosting dependency from 1.0.0 to 1.1.0 - #2313 via @dependabot[bot]
- Updates Cake.Codecov from 1.0.0 to 1.0.1 - #2316 via @dependabot[bot]
- Updates Microsoft.NET.Test.Sdk from 16.8.3 to 16.9.4 - #2318 via @dependabot[bot]
- Removes Appveyor and Codecov usage due to a codecov security incident - #2321 via @shiftkey
- Updates Microsoft.NETFramework.ReferenceAssemblies from 1.0.0 to 1.0.2 - #2325 via @dependabot[bot]
- Adds
Swift
to the language type enum so that it can be used when searching for repositories - #2344 via @p-brito - Updates GitHubJwt from 0.0.4 to 0.0.5 - #2348 via @dependabot[bot]
- Updates Microsoft.NET.Test.Sdk from 16.9.4 to 16.11.0 - #2350 via @dependabot[bot]
Documentation Updates
- Cleans up the docs after the move from using the
master
moniker tomain
- #2345 via @SeanKilleen - Updates docs to reflect the current workflow for generating releases - #2438 via @nickfloyd
v0.50 - All The Small Things
Advisories and Breaking Changes
- due to supporting repository previews, the type on
RepositoryRequest.Visibility
has been renamed fromRepositoryVisibility
toRepositoryRequestVisibility
to avoid clashing with the response type System.Reactive
has dropped support fornet46
with their next major release (v5). I plan to bump the new minimum version to forOctokit
andOctokit.Reactive
tonet472
to stay in sync in some future update. Please consider upgrading if you depend on a earlier version of .NET Framework thannet472
.
Release Notes
Features/Enhancements
- Added cancellation token support for release assets uploading API - #2267 via @KatoStoelen
- Add support for repository visibility preview - #2217 via @IvanJosipovic
Fixes
- Fixed deserialization issue for
Deployment.Payload
by returningDictionary<string,string>
- #2303 via @haacked
Housekeeping
v0.49 - Entropy or Atrophy?
Advisories and Breaking Changes
SearchCodeRequest.Users
andSearchCodeRequest.Organizations
now expects an array of strings, as the underling API supports searching for multiple users or organizations.- Type of
PullRequestCommit.Author
andPullRequestCommit.Commiter
properties is changed fromCommitter
toUser
, 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
andCommitter
properties onPullRequestCommit
are now of typeUser
, notCommitter
- #2224 via @mmv- Additional properties added to
Organization
response - #2239 via @InRedikaWB - Added
project
option tono
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
- Updated documentation to refer to
main
branch - #2220 via @HannahKiekens - Assorted XML documentation fixes for spelling issues - #2259 via @Dagizmo
- Updated code sample - #2247 via @ch1seL
- Updated
README
introduction to project - #2288 via @haacked - Updated link in
README
- #2280 via @eatdrinksleepcode - Updated framework targets in
README
- #2279 via @iAmBipinPaul
v0.48 - Waiting For News
Packages
Octokit 0.48.0
on NuGet
Octokit.Reactive 0.48.0
on NuGet
Release Notes
Features/Enhancements
- Added API for interacting with organization webhooks - #1884 via @MartinDawson, @nubby109, @shiftkey
- Added server time difference to
ApiInfo
API - #2196 via @fredrikhr - Added support for creating project cards from pull requests - #2185 via @boblangley
- Deserialize
requested_action
field oncheck_run
events - #2197 via @mitchdenny - Added
WatchersCount
toRepository
response model - #2182 via @KarolGrzesiak, @shiftkey
Housekeeping
- Update
Microsoft.NET.Test.Sdk
to latest version - #2183, #2178 via @dependabot-preview[bot] - Publish to NuGet using GitHub Actions when tag pushed - #2189 via @shiftkey
- Updated
xunit.runner.visualstudio
to latest version - #2198 via @dependabot-preview[bot] ChecksClient
constructor should take interface arguments - #2194 via @fredrikhr
v0.47 - Isolation Cocktails
Packages
Octokit 0.47.0
on NuGet
Octokit.Reactive 0.47.0
on NuGet
Release Notes
Features/Enhancements
- Added
GetRawContent
andGetRawContentByRef
APIs to Repository Contents client for cases where performance is desirable - #2151 via @0xced - Added
ReleaseEvent
payload - #2170 via @NextTurn
Fixes
Housekeeping
- Replace
Task.Factory.StartNew
usage in tests withTask.FromResult
to simplify test setup - #2164 via @shiftkey - Updated
System.Reactive
dependency to4.4.1
- #2168 via @dependabot-preview[bot]
Documentation Updates