Koala v1.3 Release Notes
-
๐ 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
- โ RealtimeUpdates#subscription_path and TestUsers#test_user_accounts_path are now public
โก๏ธ Updated methods:
- ๐ REST API methods are now deprecated (see http://developers.facebook.com/blog/post/616/)
- 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)
- โก๏ธ TestUsers and RealtimeUpdates methods now take http_options arguments
- All methods with http_options can now take :http_component => :response for the complete response
- ๐ OAuth#get_user_info_from_cookies returns nil rather than an error if the cookies are expired (thanks, herzio)
- โ TestUsers#delete_all now uses the Batch API and is much faster
Internal improvements:
- FQL queries now use the Graph API behind-the-scenes
- Cleaned up file and class organization, with aliases for backward compatibility
- โ Added YARD documentation throughout
- ๐ Fixed bugs in RealtimeUpdates, TestUsers, elsewhere
- Reorganized file and class structure non-destructively
โ 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
- ๐ง Configured tests to run in random order using RSpec 2.8.0rc1