Releases: octokit/octokit.net
v4.0.0: Strong-naming
What's Changed
- (feat): Add strong name signing by @AndreyTretyak in #2575
New Contributors
- @AndreyTretyak made their first contribution in #2575
Full Changelog: v3.0.1...v4.0.0
v3.0.1
What's Changed
- bugfix: Fix deserializing of Emoji types by @JonruAlveus in #2577
- bugfix: Fixes the meta DTO and meta tests so they pass and are the same as what is documented in the REST API docs by @JonruAlveus in #2579
- chore: updates tests to include new IP block fields by @nickfloyd in #2581
- chore: Splitting out the misc client into separate clients as per current documentation by @JonruAlveus in #2574
- chore: Base classes need protected setters, ActivityPayload had privates by @JonruAlveus in #2591
- chore: Use correct methods and URL to generate release notes by @rdeago in #2592
- deps: bump Microsoft.NET.Test.Sdk from 17.3.1 to 17.3.2 by @dependabot in #2583
- docs: Remove
/en
slug in docs.github.com links (and stop VSCode from formatting on save) by @SeanKilleen in #2573
New Contributors
Full Changelog: v3.0.0...v3.0.1
v3.0.0
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
- Added Packages and Package versions APIs - #2551 via @JonruAlveus
- Reworks how Locking and Unlocking works on Issues and adds Locking and Unlocking to Pull Requests - #2543 via @notauserx
- Adds the ability to pass ApiOptions to PullRequestsClient.Files - #2553 via @Gamer025
- Added support for generating release notes. 😉 - #2563 via @Cristaling
- Adds missing fields for deployments API - #2560 via @hansmbakker, @nickfloyd
- Adds credential-authorization get endpoints - #2556 via @JonruAlveus, @nickfloyd
Fixes
Housekeeping
- Bumps Microsoft.NET.Test.Sdk from 17.2.0 to 17.3.0. - #2548 via @dependabot[bot]
- Bumps Microsoft.NET.Test.Sdk from 17.3.0 to 17.3.1. - #2561 via @dependabot[bot]
- Bumps Microsoft.NETFramework.ReferenceAssemblies from 1.0.2 to 1.0.3. - #2549 via @dependabot[bot]
Documentation Updates
Full Changelog: v2.0.1...v3.0.0
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