Skip to content

Latest commit

 

History

History
60 lines (40 loc) · 2.25 KB

CHANGELOG.md

File metadata and controls

60 lines (40 loc) · 2.25 KB

WaniKani gem - Changelog

3.0.0

  • Breaking: The wanikani gem was completely revamped to support Wanikani's V2 API.
  • With the API change, Gravatar is not supported anymore and many data fields were moved or replaced. Please read the documentation for more information.
  • The wanikani gem now requires Ruby 2.5 and above.

2.0.0

  • Breaking: The wanikani gem was completely revamped to use a per-instance client. Please read the documentation for more information.

1.5.0

  • The wanikani gem now requires Ruby 2.0 and above.
  • Handle invalid API keys better by raising a Wanikani::InvalidKey exception.
  • Fix issue where Wanikani.valid_api_key? was not properly working on unsuccessful responses.

1.4.1

  • Handle errors when the WaniKani API returns an unsuccessful API response with a blank body.

1.4

  • All changes were to the underlying code - no functionality has been changed.
  • Switched HTTP library from RestClient to Faraday.
  • Updated any outdated gems used in the library (for runtime and development dependencies).

1.3

  • Changed default API version to v1.4.

1.2

  • Changed default API version to v1.3.

1.1

  • Added full_response method to available classes that returns a hash with the full response from the WaniKani API call.

1.0

  • Version 1.0!
  • Added Wanikani.api_version to be able to select a specific API version to use.
  • Use HTTPS for all API requests.

0.10

  • Added Wanikani::SRS.items_by_type to return all items for a specific SRS type.
  • Slight change in versioning, in preparation for that all-so-important 1.0 release!

0.0.9

  • Added an optional parameter to Wanikani.valid_api_key? to allow checking an API key without having to set Wanikani.api_key beforehand.
  • Added a generic Wanikani::Exception class to define more specific exceptions when using this gem.

0.0.8

  • Added Wanikani::User.gravatar_url to return the Gravatar image URL.
  • Fixed case when using Wanikani::Level.vocabulary and not specifying a level - the API call returns a Hash instead of an Array.

0.0.7

  • Added Wanikani.valid_api_key? method

0.0.6

  • Added Wanikani::User#on_vacation? method