Releases: octokit/octokit.rb
Releases · octokit/octokit.rb
v4.4.1
v4.4.0
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
Octokit Development Changes
v4.3.0
- #667 Fix org creation to include login and admin. @nmaki
- #668 Allow org hooks to be used by org login or ID @tarebyte
- #677 Fix Migration API bug @gjtorikian
- #678 Fix Managment console bug @gjtorikian
- #680 Add Hooks#ping_hook method @joeyw
- #682 Add Gists#gist_commits method @joeyw
- #683 Add Gists#gist_forks method @joeyw
- #692 Fetch stats with retry
- #722 Add Source Imports preview to Octokit @tarebyte
- #725 Loosen sawyer dependency @nlopes
v4.2.0
- #649 - Creating Authorization with fingerprint - @jessicayang15
- #652 - Add
Client#license_contents
method - @benbalter - #653 - Delete user Enterprise Admin API - @gjtorikian
- #655 - Fix labels docs - @byroot
- #658 - Custom error class for unverified emails - @johnpaulashenfelter
- #660 - Fix user teams path to be Enterprise-friendly - @nBerg
- #661 - Fix preview warnings - @pvdb
- #662 - Add warning for protected branches preview - @pvdb
- #664 - Add
Client#protect_branch
,Client#unprotect_branch
- @tarebyte
v4.1.1
v4.1.0
- #627 Migrator API support - @gjtorikian
- #628 Admin APIs for GitHub Enterprise 2.3 - @gjtorikian
v4.0.1
v4.0.0
- #567 New hook payload parser @zqzas
- #568 Fix tests on JRuby, Rubinius @bjfish
- #572 Licenses API support @zqzas
- #582 Support for Enterprise-only APIs @gjtorikian @joeyw
- #588 Remove defaults for Client#edit_hook @byroot
- #593 Stop passing convenience headers in query string @krainboltgreene
- #596 Support auto-pagination for listing user orgs
- #618 Paginate all orgs
v3.8.0
v3.7.1
- #543 Properly paginate PR comments - @gylaz
- #544 New
Octokit::AbuseDetected
error for some403
responses - @bhuga - #553 Make sure
owner/repo
string is properly formatted - @joeyw - #555 Remove some hardcoding from tests - @sm11963
- #558 Separate constants for
Octokit::VERSION
parts - @jacobbednarz - #562 Properly encode spaces in Labels API paths