Skip to content
This repository has been archived by the owner on Jan 5, 2021. It is now read-only.

Releases: loicteixeira/gj-unity-api

v2.3.0

08 Nov 04:34
Compare
Choose a tag to compare

Add

  • New GameJolt.API.DataStore.GetKeys(bool global, string pattern, Action<string[]> callback) method to fetch all datastore keys matching the provided pattern.
  • New "Remember me" functionality for SignIn (user credentials stored in PlayerPrefs with XTEA encryption), see issue #18
  • Demo scenes are now included in the package.

Changed

  • Changed SignIn signature to void SignIn(Action<bool> signedInCallback = null, Action<bool> userFetchedCallback = null, bool rememberMe = false)

Fixed

  • Users.Get(int[] ids, ...) throws an exception #79

v2.2.0

14 Aug 11:10
Compare
Choose a tag to compare

Add

  • New GameJolt.API.Scores.GetRank(int value, int table = 0, Action<int> callback = null) method to fetch the rank of a given score value. #29
  • New GameJolt.API.Misc.GetTime(Action<DateTime> callback) method to get the server time. #24
  • User.SignIn and GameJolt.UI.Manager.Instance.ShowSignIn now accept a second callback Action<bool> userFetchedCallback = null which is called once all the attributes of the user have been populated. The first callback is called like before, as soon as the user has been successfully signed-in. #48
    • Thanks to @movrajr for reporting the issue and discussing solutions.

Changed

  • Use HTTPS for API calls. #76
  • Use API version 1.2. #23

v2.1.3

20 Jul 09:05
Compare
Choose a tag to compare

Fixed

v2.1.2

09 Apr 02:34
Compare
Choose a tag to compare

Fixed

  • Unity 5.5 compatibility. #70
    • Thanks to Moire (hkid800) for reporting the issue
  • Leaderboard window sometimes not showing scores. #47, #65
    • Thanks to Derpybunneh, Nanapus and sebasrez for reporting the issue and helping diagnosing it

v2.1.1

21 Jun 10:05
Compare
Choose a tag to compare

Fixed

  • Could not unlock trophies. #64
    • Thanks to RomejanicDev for reporting the issue.

v2.1.0

19 Jun 03:16
Compare
Choose a tag to compare

Warning

  • The minimum version to use the API is now Unity 5.0.1.
  • License is now MIT (less restrictive). #62.

Fixed

  • ShowLeaderboards callback not being called. #51
  • Call signature could be invalid when using URL with forward slash. #59
    • Thanks to DerpVulpes for his contribution

Other

  • Thanks to @andyman for helping other users on Twitter.

v2.0.2

18 Jul 03:39
Compare
Choose a tag to compare

Fixed

  • AutoConnect for WebGL builds was broken.
    • Thanks to David Florek for reporting the issue.
  • The UI was not on the UI layer.
    • Thanks to Piotrek for reporting the issue.

Deprecated

  • Unity 5.0.0 has a bug regarding md5 calculations for WebGL builds. It has been fixed in Unity 5.0.1. Therefore the API will require Unity 5.0.1 from the next update.

v2.0.1

11 Jul 23:42
Compare
Choose a tag to compare

Fixed

  • Allow UI do display when Time.timeScale is set to 0.
  • Automatically create EventSystem if there is none.
    • Thanks to Gosh Darn Games for reporting the issue and providing useful information.
  • Prevent user to be unauthenticated if he signed in with his name with a different case as what is stored in GameJolt database.
    • Thanks to @sebasrez for reporting the issue and providing useful information.

v2.0.0

02 Jul 21:48
Compare
Choose a tag to compare

Initial Release