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