This repository has been archived by the owner on Jan 5, 2021. It is now read-only.
Releases: loicteixeira/gj-unity-api
Releases · loicteixeira/gj-unity-api
v2.3.0
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
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
andGameJolt.UI.Manager.Instance.ShowSignIn
now accept a second callbackAction<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- Thanks to @jianmingyong for his insight.
v2.1.3
Fixed
- Unity 2017.1 compatibility. #73
- Thanks to @DanielJMus for his contribution and @mgeorgedeveloper for his help
v2.1.2
v2.1.1
v2.1.0
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
- Thanks to @michidk for his contribution and @WizzardMaker for his help.
- 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
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
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
Initial Release