Releases: leancloud/go-sdk
Releases · leancloud/go-sdk
v0.3.3
What's Changed
- feat: 输出带栈信息的错误 by @antigloss in #56
New Contributors
- @antigloss made their first contribution in #56
Full Changelog: v0.3.2...v0.3.3
v0.3.2
v0.3.1
v0.3.0
- Breaking change! LeanEngine related functions like
Handler,DefineandBeforeSaveetc. moved toCloudEngineinterface. SDK now exports a global singleton variable calledEngineto access LeanEngine related methods onCloudEngine. Removed first parameter ofHandler. - Breaking change! Added
Engine.Initfor initialize LeanEngine related features, should be called when startup when using Go SDK on LeanEngine (likeleancloud.Engine.Init(leancloud.NewEnvClient())). SDK no longer read app keys from environments by default. - Breaking change! Split
Run(andRPC) intoClient.Run(call remote function) andEngine.Run(call local function), RemovedWithRemoteoption. - Added
Exists,NotExistsandNotMatchesQueryonQuery. - Fixed panic when using before hooks.
- Fixed incorrect field name in error response of cloud function or hooks.
- Fixed incorrect implements of
Query.MatchesQuery. - Fixed
Client.User.
v0.2.0
- Breaking change! Removed
UserQuery, use the unifiedQueryinstead. - Breaking change! Add new Type
CloudErrorreplacedErrorandErrorWithCode. - Breaking change! Add
Files.UploadFromLocalFilereplacedFiles.UploadFromFile. - Add built-in fields like
SessionToken、Usernameon toUsertype. - Add
NewQueryonUsers,RolesandFiles. - Add
LogInByEmailandSignUpByEmailonUsers. - Auto recover from panic of cloud function handlers.
- Fix the validation of appKey and masterKey in LeanEngine server.
- Fix decode issues related to objectId and top-level arrays.