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