Skip to content

Releases: octokit/octokit.rb

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