Releases: octokit/octokit.rb
Releases · octokit/octokit.rb
v2.6.0
v2.5.1
v2.5.0
v2.4.0
Adds support for GET /user/teams
.
v2.3.0
v2.2.0
- Adds support for the new Releases API
- Adds
.errors
array toOctokit::Error
2.1.0
Updates to support GitHub 2FA.
- New error type
Octokit::OneTimePasswordRequired
raised when response is401
butX-GitHub-OTP
present - New idempotent token creation.
2.0.0
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 memoizedClient
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 tolegacy_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
andClient#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 exceededOctokit::TooManyLoginAttempts
when special login attempt limit exceeded
2.0 Release Candidate 3
- 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 exceededOctokit::TooManyLoginAttempts
when special login attempt limit exceeded
2.0 Release Candidate 2
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/>,
...