Changelog History
Page 2
-
v1.11.0 Changes
โก๏ธ Updated features:
- ๐ OAuth now supports decoding the new JSON responses from the access token endpoints (thanks, ridiculous!)
- Batch API now accepts either symbols or strings for the access token (thanks, mattmueller!)
- Incorporate user message and title into error handling (thanks, richrines and isra17!)
๐ Bug fixes:
- ๐ Fixed bug in GraphCollection URL versioning (thanks, deviousdodo and jankowy!)
- โ TestUsers#create_network now properly handles options (thanks, crx!)
๐ Documentation improvements:
- โก๏ธ Updated gem version (thanks, thomasklemm!)
-
v1.10.1 Changes
๐ Bug fixes:
- Facebook API version now works in all cases (thanks, markprzepiora!)
- ๐ Fixed a typo in an example (thanks, mktakuya!)
-
v1.10.0 Changes
๐ New features:
- ๐ API versioning is now supported through global and per-options requests (Koala.config.api_version and the :api_version key specified as a per-request options)
โก๏ธ Updated features:
- API calls won't modify argument hashes in place anymore (thanks, MSex!)
- OAuth#dialog_url now uses https rather than http
โ Testing improvements:
- ๐ Use the modern RSpec syntax (thanks, loganhasson!)
๐ Documentation improvements:
- โฑ Properly document the timeout option (thanks, bachand!)
- The gemspec now includes the license (thanks, coreyhaines!)
-
v1.9.0 Changes
โก๏ธ Updated Methods:
- API#new now takes an optional access_token, which will be used to generate the appsecret_proof parameters (thanks, nchelluri!)
โ Testing Improvements:
- โ Add 2.1.0 to travis.yml and update specs to pass w/o deprecation on RSpec 3.0 (thanks, petergoldstein!)
- ๐ With 1.9.0+ only support, removed the OrderedHash patch
๐ Documentation Improvements:
- ๐ Make it clear that connections take a singlar form in API#put_connection (thanks, josephdburdick!)
-
v1.8.0 Changes
โก๏ธ NOTE: Due to updates to underlying gems, new versions of Koala no longer work ๐ with Ruby 1.8.x, rbx/jruby in 1.8 mode, and Ruby 1.9.2. Earlier versions will, of course, continue to work, since the underlying Facebook API remains the same.
If you, tragically, find yourself stuck using these old versions, you may be able to get Koala to work by adding proper constraints to your Gemfile. Good luck.
๐ New methods:
- OAuth#generate_client_code lets you get long-lived user tokens for client apps (thanks, binarygeek!)
โก๏ธ Updated methods:
- GraphCollection#next_page and #previous_page can now take additional parameters (thanks, gacha!)
โก๏ธ NOTE: the appsecret_proof update from nchelluri was originally listed in the ๐ changelog for 1.8.0, but didn't make it in. It's now properly in the changelog for 1.9.0.
Internal Improvements:
- ๐ FIXED: TestUser#delete_all will avoid infinite loops if the user hashes change (thanks, chunkerchunker!)
- ๐ CHANGED: Koala now properly uploads Tempfiles like Files, detecting mime type (thanks, ys!)
- ๐ CHANGED: Koala now only passes valid Faraday options, improving compatibility with 0.9 (thanks, lsimoneau!)
- ๐ FIXED: RealtimeUpdates#validate_update now raise a proper error if secret is missing (thanks, theosp!)
โ Testing improvements:
- ๐ Fixed RSpec deprecations (thanks, sanemat!)
-
v1.7 Changes
๐ New methods:
- API#debug_token allows you to examine user tokens (thanks, Cyril-sf!)
- Koala.config allows you to set Facebook servers (to use proxies, etc.) (thanks, bnorton!)
Internal improvements:
- ๐ CHANGED: Parameters can now be Arrays of non-enumerable values, which get comma-separated (thanks, csaunders!)
- CHANGED: API#put_wall_post now automatically encodes parameters hashes as JSON
- ๐ CHANGED: GraphCollections returned by batch API calls retain individual access tokens (thanks, billvieux!)
- โก๏ธ CHANGED: Gem version restrictions have been removed, and versions updated.
- ๐ CHANGED: How support files are loaded in spec_helper has been improved.
- ๐ FIXED: API#get_picture returns nil if FB returns no result, rather than error (thanks, mtparet!)
- ๐ FIXED: Koala now uses the right grant_type value for fetching app access tokens (thanks, miv!)
- ๐ FIXED: Koala now uses the modern OAuth endpoint for generating codes (thanks, jayeff!)
- ๐ FIXED: Misc small fixes, typos, etc. (thanks, Ortuna, Crunch09, sagarbommidi!)
โ Testing improvements:
- ๐ FIXED: MockHTTPService compares Ruby objects rather than strings.
- FIXED: Removed deprecated usage of should_not_receive.and_return (thanks, Cyril-sf!)
- ๐ FIXED: Test suite now supports Typhoeus 0.5 (thanks, Cyril-sf!)
- ๐ CHANGED: Koala now tests against Ruby 2.0 on Travis (thanks, sanemat!)
-
v1.6 Changes
๐ New methods:
- โก๏ธ RealtimeUpdates#validate_update to validate the signature of a Facebook call (thanks, gaffo!)
โก๏ธ Updated methods:
- ๐ Graph API methods now accepts a post processing block, see readme for examples (thanks, wolframarnold!)
Internal improvements:
- Koala now returns more specific and useful error classes (thanks, archfear!)
- ๐ Switched URL parsing to addressable, which can handle unusual FB URLs (thanks, bnorton!)
- ๐ Fixed Batch API bug that seems to have broken calls requiring post-processing
- โฌ๏ธ Bump Faraday requirement to 0.8 (thanks, jarthod!)
- ๐ Picture and video URLs now support unicode characters (thanks, jayeff!)
โ Testing improvements:
- โ Cleaned up some test suites (thanks, bnorton!)
๐ Documentation:
- ๐ Changelog is now markdown
- Code highlighting in readme (thanks, sfate!)
- โ Added Graph API explorer link in readme (thanks, jch!)
- โ Added permissions example for OAuth (thanks, sebastiandeutsch!)
-
v1.5 Changes
๐ New methods:
- โ Added Koala::Utils.logger to enable debugging (thanks, KentonWhite!)
- Expose fb_error_message and fb_error_code directly in APIError
โก๏ธ Updated methods:
- GraphCollection.parse_page_url now uses the URI library and can parse any address (thanks, bnorton!)
Internal improvements:
- โก๏ธ Update MultiJson dependency to support the Oj library (thanks, eckz and zinenko!)
- Loosened Faraday dependency (thanks, rewritten and romanbsd!)
- ๐ Fixed typos (thanks, nathanbertram!)
- Switched uses of put_object to the more semantically accurate put_connections
- Cleaned up gemspec
- ๐ Handle invalid batch API responses better
๐ Documentation:
- โ Added HTTP Services description for Faraday 0.8/persistent connections (thanks, romanbsd!)
- โ Remove documentation of the old pre-1.2 HTTP Service options
-
v1.4.1 Changes
- โก๏ธ Update MultiJson to 1.3 and change syntax to silence warnings (thanks, eckz and masterkain!)
-
v1.4 Changes
๐ New methods:
- OAuth#exchange_access_token(_info) allows you to extend access tokens you receive (thanks, etiennebarrie!)
โก๏ธ Updated methods:
- HTTPServices#encode_params sorts parameters to aid in URL comparison (thanks, sholden!)
- get_connections is now aliased as get_connection (use whichever makes sense to you)
Internal improvements:
- ๐ Fixed typos (thanks, brycethornton and jpemberthy!)
- โก๏ธ RealtimeUpdates will no longer execute challenge block unnecessarily (thanks, iainbeeston!)
โ Testing improvements:
- โ Added parallel_tests to development gem file
- ๐ Fixed failing live tests
- โ Koala now tests against JRuby and Rubinius in 1.9 mode on Travis-CI