Skip to content

Releases: octokit/octokit.rb

v2.4.0

22 Oct 12:26
Compare
Choose a tag to compare

Adds support for GET /user/teams.

v2.3.0

01 Oct 16:58
Compare
Choose a tag to compare
  • Restores 1.8.7 compatibility #317 boxen/boxen#111
  • Removes spec files from gemspec to fix installation on Windows #313

v2.2.0

26 Sep 15:20
Compare
Choose a tag to compare
  • Adds support for the new Releases API
  • Adds .errors array to Octokit::Error

2.1.0

03 Sep 18:32
Compare
Choose a tag to compare

Updates to support GitHub 2FA.

  • New error type Octokit::OneTimePasswordRequired raised when response is 401 but X-GitHub-OTP present
  • New idempotent token creation.

2.0.0

23 Aug 17:09
Compare
Choose a tag to compare

This new major version is hypermedia-enabled, version 3.0.0 will aim to be hypermedia-driven. See the Upgrade Guide for more.

Highlights

  • Totally refactored Configuration and defaults to support memoized Client objects, required to use middleware like faraday-http-cache for conditional requests.
  • Bumped Faraday dependency to 0.9
  • New Client#last_response for raw access to the last HTTP response, including pagination headers.
  • Moves search_* methods to legacy_search_*
  • Uses VCR for more robust test request/response fixtures.
  • Uses Sawyer under the hood for hypermedia support. HTTP responses are now proper Resources with link Releations. Client.root and Client#agent are also provided to make hypermedia requests:
>> Octokit.root.rels[:user].get :uri => {:user => 'mojombo'}
  • Support for the new Search APIs as a preview feature.
>> Octokit.search_code 'octokit in:file extension:gemspec'
WARNING: The preview version of the Search API is not yet suitable for production use.
See the blog post for details: http://git.io/_-FA3g

#<Sawyer::Resource:0x007faf749ec138 @_agent=<Sawyer::Agent https://api.github.com/>, 
...
  • Adds ability to check if one user follows another via .follows? - @catsby
  • Adds to new error classes for 403 responses:
    • Octokit::TooManyRequests when rate limit exceeded
    • Octokit::TooManyLoginAttempts when special login attempt limit exceeded

2.0 Release Candidate 3

14 Aug 16:42
Compare
Choose a tag to compare
Pre-release
  • Adds ability to check if one user follows another via .follows? - @catsby
  • Adds to new error classes for 403 responses:
    • Octokit::TooManyRequests when rate limit exceeded
    • Octokit::TooManyLoginAttempts when special login attempt limit exceeded

2.0 Release Candidate 2

19 Jul 14:52
Compare
Choose a tag to compare
Pre-release

This release candidate adds support for the new Search APIs as a preview feature.

>> Octokit.search_code 'octokit in:file extension:gemspec'
WARNING: The preview version of the Search API is not yet suitable for production use.
See the blog post for details: http://git.io/_-FA3g

#<Sawyer::Resource:0x007faf749ec138 @_agent=<Sawyer::Agent https://api.github.com/>, 
...

2.0.0 Preview

05 Jul 17:15
Compare
Choose a tag to compare
2.0.0 Preview Pre-release
Pre-release

This is the first pre release of 2.0.0 and includes a number of changes. While this version is hypermedia-enabled, version 3.0.0 will aim to be hypermedia-driven.

  • Totally refactored Configuration and defaults to support memoized Client objects, required to use middleware like faraday-http-cache for conditional requests.
  • Bumped Faraday dependency to 0.9
  • New Client#last_response for raw access to the last HTTP response, including pagination headers.
  • Moves search_* methods to legacy_search_*
  • Uses VCR for more robust test request/response fixtures.
  • Uses Sawyer under the hood for hypermedia support. HTTP responses are now proper Resources with link Releations. Client.root and Client#agent are also provided to make hypermedia requests:
>> Octokit.root.rels[:user].get :uri => {:user => 'mojombo'}

v1.25.0

03 Jul 02:23
Compare
Choose a tag to compare

Highlights

Full Changelog