Octokit.net Versions Save

A GitHub API client library for .NET

v3.0.0

1 year ago

Advisories and Breaking Changes

API METHOD CONTRACT CHANGE: In this release, the return type/exception implementation of AddCollaborator has changed by fixing a failure with 201 status code when adding a collaborator - #2559 via @annchous

RE: Converts response model property accessors from protected to the more appropriate private for consistency - #2565 via @nickfloyd - in support of Generative SDKs

Release Notes

Milestone: We modified the existing source to help unify it and prepare for our generative SDK work.

Features/Enhancements

Fixes

  • Fix failure with 201 status code on adding a collaborator - #2559 via @annchous

Housekeeping

Documentation Updates

  • Removed reference to Basic Authentication in the docs - #2555 via @rkreisel

Full Changelog: https://github.com/octokit/octokit.net/compare/v2.0.1...v3.0.0

v2.0.1

1 year ago

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

v2.0.0

1 year ago

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

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

1 year ago

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

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

1 year ago

Release Notes

Breaking changes

Features/Enhancements

Housekeeping

Documentation Updates

Full Changelog: https://github.com/octokit/octokit.net/compare/v0.52.0...v1.0.0

v0.52.0

1 year ago

Advisories and Breaking Changes

  • None

Release Notes

Features/Enhancements

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.0

2 years ago

Advisories and Breaking Changes

  • None

Release Notes

Features/Enhancements

Housekeeping

Documentation Updates

  • Cleans up the docs after the move from using the master moniker to main - #2345 via @SeanKilleen
  • Updates docs to reflect the current workflow for generating releases - #2438 via @nickfloyd

v0.50.0

3 years ago

Advisories and Breaking Changes

  • due to supporting repository previews, the type on RepositoryRequest.Visibility has been renamed from RepositoryVisibility to RepositoryRequestVisibility to avoid clashing with the response type
  • System.Reactive has dropped support for net46 with their next major release (v5). I plan to bump the new minimum version to for Octokit and Octokit.Reactive to net472 to stay in sync in some future update. Please consider upgrading if you depend on a earlier version of .NET Framework than net472.

Release Notes

Features/Enhancements

Fixes

  • Fixed deserialization issue for Deployment.Payload by returning Dictionary<string,string> - #2303 via @haacked

Housekeeping

v0.49.0

3 years ago

Advisories and Breaking Changes

  • SearchCodeRequest.Users and SearchCodeRequest.Organizations now expects an array of strings, as the underling API supports searching for multiple users or organizations.
  • Type of PullRequestCommit.Author and PullRequestCommit.Commiter properties is changed from Committer to User, 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 and Committer properties on PullRequestCommit are now of type User, not Committer - #2224 via @mmv
  • Additional properties added to Organization response - #2239 via @InRedikaWB
  • Added project option to no 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

v0.48.0

4 years ago

Packages

Octokit 0.48.0 on NuGet Octokit.Reactive 0.48.0 on NuGet

Release Notes

Features/Enhancements

Housekeeping