Regression notice
#815 #pages method was incorrectly updated to require the new preview header. Fix released in v4.4.1
Library changes
- #777 This impacts all methods that pass a repository parameter. Change Repository.validate_owner_and_name! to use URI::ABS_URI instead the deprecated URI.regexp
- #752 Use octokit_warn instead of warn in Preview.warn_preview
- #761 Octokit::AccountSuspended for 403 responses @koglinjg
New methods
- #748 Add support for Source Import APIs @LizzHale
https://developer.github.com/v3/migration/source_imports/ - #814 #799 New method Repositories.branch_protection to get a branch's protection status
https://developer.github.com/v3/repos/branches/#get-branch-protection - #770 Add Issues#lock and Issues#unlock @davidcelis
https://developer.github.com/v3/issues/#lock-an-issue
https://developer.github.com/v3/issues/#unlock-an-issue - #816 Add Pages.pages_build to get specific page build by ID https://developer.github.com/v3/repos/pages/#list-a-specific-pages-build
Updated Methods
- #733 Support getting Milestones by repository id @stmllr
- #739 Escape options values in authorize_url @shvaikalesh
- #705 #704 Support API urls in Repository#from_url
- #780 Dup options in #create_repo method before mutating the hash @davidcpell
- #815 Change Pages.pages to use preview media type to gain additional data. Add Pages.request_page_build for https://developer.github.com/v3/repos/pages/#request-a-page-build
- #797 Change #upload_assets to read files in read only mode @trevorrowe
- #743 Add deprecation warning for when :permission parameter is passed to Organizations.create_team. Assign team repository permissions with Organizations.add_team_repository instead.
- #805 *_stats methods return nil on timeout when : retry_wait is used. Previously returned empty Sawyer::Resource. @etiennebarrie
- #819 #protect_branch Enable branch protection without enforcing required_status_checks. @mgreensmith
Documentation Edits
- #750 Fix typo in README.md @blunderdome
- #804 @kei-s #create_pull_request_comment_reply
- #817 Fix .decline_repository_invitation API doc url
- #742 Fix Default.middleware documentation comment @v-kolesnikov
- #754 Add Table of contents to README.md