Skip to content

Releases: octokit/octokit.rb

v4.16.0

05 Feb 20:13
Compare
Choose a tag to compare

New features

Resolve deprecation warnings

  • #1192 Fix deprecation notice for authentication via query parameters @tarebyte

Documentation

Tooling updates

v4.15.0

02 Jan 19:12
14bb1a1
Compare
Choose a tag to compare

Preview header support

New features

Improved error handling

Resolve deprecation warnings

Documentation

Tooling updates

v4.14.0

29 Mar 21:32
a52d502
Compare
Choose a tag to compare

Bug fixes

Code cleanup

  • Change the raise_invalid_repository! msg from repo/user to user/repo #1094 (@DaiAoki)
  • Fix redundant code in Octkit::Client #1100 (@rnitta)

Documentation

New features

v4.13.0

11 Oct 22:06
737748e
Compare
Choose a tag to compare

Bug fixes

  • Fixes 422 error for passing client_id when making a new OAuth Authorization #1077 (@tarebyte)

Documentation

Support for new preview headers

Testing fixes

  • Update WebMock and VCR / update Octokit::Client::Authorizations spec #1077 (@tarebyte)

v4.12.0

11 Sep 17:22
Compare
Choose a tag to compare

Support for additional APIs

#1060 Add support for Transfer repository API
#1070 Add support for List Assignees API
#975 Add support for Community Profile API

Bugfixes

#1069 Do not pass wrong params in org membership method

v4.11.0

30 Aug 14:41
9f32f5a
Compare
Choose a tag to compare

Code clean up

  • #1054 Remove the :name key from #add_team_repository request

Documentation fixes

  • #1050 Add in note about require
  • #1056 Fixes documentation url for outside_collaborators

Existing endpoint changes

  • #1055 Use new app installation token endpoint

Support new endpoints

  • #1052 App installation finders

v4.10.0

09 Aug 22:15
Compare
Choose a tag to compare

Graduated preview periods

  • #1020 Remove preview warning for marketplace API
  • #1041 Remove marketplace preview warnings (we mean it, this time)
  • #1042 Remove preview warning for Repository Invitations API
  • #1047 Rework request review API to support team reviewers

Support for new endpoints

  • #1044 Implement Topics API
  • #990 Implement delete a pull request review request

Bugfixes

  • #1025 Fix contributors endpoint for empty repos
  • #1034 Duplicate option to prevent mutating original
  • #1018 Convert OCTOKIT_SSL_VERIFY_MODE environment variable to integer

Enhancements

  • #1021 Add Faraday retry middleware
  • #1032 Use auto pagination when retrieving statuses

v4.9.0

08 May 13:45
3e0ffcf
Compare
Choose a tag to compare

Bugfixes

  • #1006 Use Addressable::URI instead of stdlib URI for normalization
  • #1003 Fix pagination of GitHub App endpoints
  • #1000 Call dup on arguments before mutating

Documentation changes

  • #969 Document the steps necessary to cut a release
  • #972 Url to the review API was wrong
  • #973 Fix pull_requests_comments example documentation
  • #985 Add tag_name to update_release documentation
  • #989 Command example fix in documentation.
  • #1008 Fixes documentation for getting single issue comment
  • #1011 Fix example call to Octokit.label

Enhancements

  • #982 Be able to set an SSL verify mode on faraday
  • #1009 Add missing remove_org_membership alias

Maintenance

  • #970 Update Ruby versions for CI
  • #961 Update VCR gem

Support for additional API endpoints

  • #984 Add remove_assignees method to the client
  • #959 Commit Search API preview
  • #996 Add ability to list a single deployment, by id

v4.8.0

20 Dec 18:17
Compare
Choose a tag to compare

Support for additional API endpoints

  • #885 Topics API
  • #884 Get a single Installation
  • #894 Add assignees
  • #895 Find user installations
  • #929 Marketplace listings API
  • #928 Nested Teams API
  • #938 Get user's marketplace purchases
  • #932 GitHub Apps API

APIs taken out of preview

  • #913 Organization Memberships API
  • #923 Pull Request Review API

Enhancements

  • #886 Allow reviews and review comments to be paginated
  • #899 Expose response_headers and response_body on error objects
  • #877 Improve error message when Octokit::Repository.new fails
  • #958 Update add/remove installations methods to use non-deprecated endpoints
  • #892 Move integrations endpoints across to apps

Bugfixes

  • #876 Remove destructive assignment for repository
  • #966 Fix apps client for GitHub Enterprise installs (new endpoints in this release, but still)

Note about Rubinius support

We have been unable to get a Rubinius build working for CI for quite some time, meaning that Rubinius support has been spotty or non-existent. In this release we finally stopped trying. This isn't directly backwards-incompatible since it already wasn't working, but it does feel a bit iffy.

If you happen to use Rubinius and know how to get this working on Travis, we'd be delighted to review a pull request that adds it back in.

v4.7.0

05 Apr 21:50
Compare
Choose a tag to compare
  • #837 Fix passing options to all_organizations
  • #841 Add new methods from the most recent org memberships API enhancements
  • #851 Fix application requests for non dotcom hosts
  • #858 Don't mutate the options variable passed to API calls
  • #871 Add support to prerelease Integrations API
  • #874 Handle PR Review errors
  • #860 Implement Review Preview API
  • #869 Use Organization.path for organization membership method
  • #880 Fix incorrect mimetype for integrations in PREVIEW_TYPES
  • #881 Change several occurrences of Hash#merge!