Skip to content

Releases: hkwu/wargamer

v0.5.0

12 Feb 18:52
Compare
Choose a tag to compare

⭐ Breaking

Added

  • Additional options to configure the client's data cache.
  • Accounts module for all API clients.

Changed

  • The cacheTimeToLive client option now represents the TTL in seconds, not milliseconds. ⭐

Fixed

  • Issue with findVehicleProfile() not returning null when a vehicle ID match is not found.

v0.4.0

29 Jan 21:36
Compare
Choose a tag to compare

⭐ Breaking

Added

  • Encyclopedia modules for World of Tanks Blitz, World of Tanks Console, World of Warplanes and World of Warships.
  • findVehicleProfile() method for World of Tanks module.

Changed

  • Removed options parameter from module convenience methods. ⭐

Fixed

  • Issue with request rejection handler not handling certain types of errors.

v0.3.1

23 Jan 00:46
Compare
Choose a tag to compare

No changes from previous release. Just a patch for npm.

v0.3.0

22 Jan 22:41
Compare
Choose a tag to compare

⭐ Breaking

Added

  • Default language option for client constructor.
  • Client modules.
    • Separate components for each client with convenience methods associated with specific endpoints.
  • Caching system for requests.
  • More unit tests!

Changed

  • The World of Tanks Console client's factory method on the Wargamer class is now WoTX() instead of WoTC() in order to be consistent with the client slugs. The exported WorldOfTanksConsole client class remains the same. ⭐
  • Changed Webpack's Babel preset setting to >2% usage. Node distribution now builds based on Node v4 compatibility only. ⭐
  • APIResponse#response is now APIResponse#body. ⭐
  • Client methods that weren't entirely asynchronous have been rewritten to be 100% asynchronous.

Removed

  • APIResponse#url removed since it's not consistent with SuperAgent's response. ⭐

v0.2.1

10 Jan 03:37
Compare
Choose a tag to compare

Changed

  • Publishing process.

Removed

  • Web distribution from version control. For real this time.

v0.2.0

10 Jan 02:46
Compare
Choose a tag to compare

Changed

  • client.fetch() is now a private method. Requests must now go through client.get() or client.post(). The requestMethod option is no longer available.
  • Web distribution: the Wargamer object is now available as Wargamer or window.Wargamer (the name is capitalized).

Removed

  • Wiped out .npmignore in favour of package.json.
  • Web distribution removed from version control.

v0.1.2

04 Jan 21:31
Compare
Choose a tag to compare

Added

  • Webpack bundles for the client.

Fixed

  • Undefined property issue in client while handling responses.

v0.1.1

03 Jan 21:04
Compare
Choose a tag to compare

Added

  • Parameter normalization for request methods.

Fixed

  • Documentation build process for custom domains.
  • Missing entries in .npmignore.
  • Missing environment variables in Travis builds.

v0.1.0

03 Jan 02:37
Compare
Choose a tag to compare

Added

  • API clients with promise interface for requests.
  • Custom wrapper classes for responses and errors.
  • Unit tests and continuous integration.
  • Documentation build process.