Octokit.NET v0.23.0 Release Notes

Release Date: 2016-10-07 // almost 6 years ago
  • Features

    • โž• Added support to test whether a URL points to a GitHub Enterprise instance - #1404 via @haacked
    • โž• Added granular methods for Protected Branches preview API - #1443 via @maddin2016
    • ๐Ÿ‘ Repository Traffic preview API support - #1457 via @maddin2016
    • ๐Ÿ”€ Preview API for merge/squash/rebase in repository settings - #1477 via @ryangribble
    • โž• Added support for performing a rebase and merge through the API- #1479 via @ryangribble

    ๐Ÿ›  Fixes

    Other

    ๐Ÿ’ฅ Breaking Changes

    โšก๏ธ Repository identifiers returned from the GitHub API will exceed Int32.MaxValue in around 12 months, based on current growth. We've decided to update everywhere we require (or return) a repository identifier from int to long so that these will continue to work in the future, and the implicit conversion from int to long means the impact should be manageable now.

    ๐Ÿ”€ MergePullRequest.Squash has been marked as obsolete in favour of the MergeMethod property - use PullRequestMergeMethod.Squash or PullRequestMergeMethod.Rebase if you want to change the merge behaviour when merging a pull request.