<commit_before>v1.8
====

NOTE: Due to updates to underlying gems, new versions of Koala no longer work
with Ruby 1.8.x and rbx/jruby in 1.8 mode. Earlier versions will, of course,
continue to work, since the underlying Facebook API remains the same.

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!](https://github.com/arsduo/koala/pull/330))

Internal Improvements:
* FIXED: TestUser#delete_all will avoid infinite loops if the user hashes
  change ([thanks, chunkerchunker!](https://github.com/arsduo/koala/pull/331))
* 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
====

New methods:
* API#debug_token allows you to examine user tokens (thanks, Cyril-sf!)<commit_msg>Update changelog<commit_after>v1.8
====

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:
* API#new now takes an optional access_token, which will be used to generate
  the appsecret_proof parameters ([thanks,
  nchelluri!](https://github.com/arsduo/koala/pull/323))
* GraphCollection#next_page and #previous_page can now take additional
  parameters ([thanks, gacha!](https://github.com/arsduo/koala/pull/330))

Internal Improvements:
* FIXED: TestUser#delete_all will avoid infinite loops if the user hashes
  change ([thanks, chunkerchunker!](https://github.com/arsduo/koala/pull/331))
* 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
====

New methods:
* API#debug_token allows you to examine user tokens (thanks, Cyril-sf!)
{'fraction_non_alphanumeric': 0.08898614150255288, 'fraction_numerical': 0.013858497447118891, 'mean_word_length': 5.320276497695852, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3975369', 'n_tokens_mistral': 865, 'n_tokens_neox': 806, 'n_words': 325}