github octokit/octokit.rb v4.4.0

latest releases: v9.2.0, v9.1.0, v9.0.0...
8 years ago

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

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

Octokit Development Changes

  • #751 Add webmock pessimism < 2.0.0
  • #723 Improved the setup for the Issues specs by creating temp repos to test against @tarebyte

Don't miss a new octokit.rb release

NewReleases is sending notifications on new releases.