Skip to content

Releases: octokit/octokit.rb

v4.4.1

25 Oct 14:14
Compare
Choose a tag to compare

Bugfix Release

Introduced in v4.4.0 #pages method was incorrectly updated to require the new preview header.

v4.4.0

23 Oct 23:58
Compare
Choose a tag to compare

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

v4.3.0

05 Mar 03:07
Compare
Choose a tag to compare

v4.2.0

17 Nov 12:15
Compare
Choose a tag to compare

v4.1.1

24 Sep 16:40
Compare
Choose a tag to compare
  • #641 - Validate repository format, raise more meaningful Octokit::InvalidRepository as custom ArgumentError - @simon0191
  • #644 - Allow custom headers when checking scopes on token - @tarebyte

v4.1.0

22 Aug 19:53
Compare
Choose a tag to compare

v4.0.1

29 Jun 15:55
Compare
Choose a tag to compare

#620 Allow repo under an org using org ID instead of name. @tarebyte

v4.0.0

25 Jun 19:23
Compare
Choose a tag to compare

v3.8.0

19 Feb 22:52
Compare
Choose a tag to compare
  • #564 Raise Octokit::RepositoryUnavailable when a repository resource is blocked - @Palleas
  • #566 Support for get latest release, get release by tag name - @zqzas

v3.7.1

13 Feb 14:39
Compare
Choose a tag to compare
  • #543 Properly paginate PR comments - @gylaz
  • #544 New Octokit::AbuseDetected error for some 403 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