diff --git a/CHANGELOG b/CHANGELOG index 18f26ac5..dece4e37 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,20 @@ +v1.3 +New methods: +-- OAuth#url_for_dialog creates URLs for Facebook dialog pages +-- API#set_app_restrictions handles JSON-encoding app restrictions +-- GraphCollection.parse_page_url now exposes useful functionality for non-Rails apps +Updated methods: +-- OAuth#url_for_access_token and #url_for_oauth_code now include any provided options as URL parameters +-- APIError#raw_response allows access to the raw error response received from Facebook +-- Utils#deprecate only prints each message once (no more spamming) +-- API#get_page_access_token now accepts additional arguments and HTTP options (like other calls) +Internal improvements: +-- FQL queries now use the Graph API behind-the-scenes +Testing improvements: +-- Expanded/improved test coverage +-- The test suite no longer users any hard-coded user IDs +-- KoalaTest.test_user_api allows access to the TestUsers instance + v1.2.1 New methods: -- RestAPI.set_app_properties handles JSON-encoding application properties diff --git a/lib/koala/version.rb b/lib/koala/version.rb index 26d5b1da..4c1c94fe 100644 --- a/lib/koala/version.rb +++ b/lib/koala/version.rb @@ -1,3 +1,3 @@ module Koala - VERSION = "1.2.1" + VERSION = "1.3.0beta1" end \ No newline at end of file diff --git a/readme.md b/readme.md index c9d9b797..2aa89a7d 100644 --- a/readme.md +++ b/readme.md @@ -6,13 +6,8 @@ Koala * Lightweight: Koala should be as light and simple as Facebook’s own libraries, providing API accessors and returning simple JSON. * Fast: Koala should, out of the box, be quick. Out of the box, we use Facebook's faster read-only servers when possible and if available, the Typhoeus gem to make snappy Facebook requests. Of course, that brings us to our next topic: -* Flexible: Koala should be useful to everyone, regardless of their current configuration. (We support JRuby, Rubinius, and REE as well as vanilla Ruby, and use the Faraday library to provide complete flexibility over how HTTP requests are made.) -* Tested: Koala should have complete test coverage, so you can rely on it. (Our test coverage is complete and can be run against either mocked responses or the live Facebook servers.) - -Facebook Changes on October 1, 2011 ---- - -Koala 1.2 supports all of Facebook's new authentication schemes, which were introduced on October 1, 2011. If you have the appropriate calls to get_user_info_from_cookies (apps using the Javascript SDK) and/or parse_signed_params (for Canvas and tab apps), your application should work without a hitch. For more information, see Facebook's [OAuth 2.0 and HTTPS Migration](https://developers.facebook.com/docs/oauth2-https-migration/) guide. +* Flexible: Koala should be useful to everyone, regardless of their current configuration. We support JRuby, Rubinius, and REE as well as vanilla Ruby (1.8.7, 1.9.2, and 1.9.3), and use the Faraday library to provide complete flexibility over how HTTP requests are made. +* Tested: Koala should have complete test coverage, so you can rely on it. Our test coverage is complete and can be run against either mocked responses or the live Facebook servers; we're also on [Travis CI](travis-ci.org/arsduo/koala/). Installation --- @@ -134,7 +129,7 @@ Koala makes it easy to interact with your applications using the RealtimeUpdates You can do just about anything with your real-time update subscriptions using the RealtimeUpdates class: # Add/modify a subscription to updates for when the first_name or last_name fields of any of your users is changed - @updates.subscribe("user", "first_name, last_name", callback_token, verify_token) + @updates.subscribe("user", "first_name, last_name", callback_url, verify_token) # Get an array of your current subscriptions (one hash for each object you've subscribed to) @updates.list_subscriptions