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
,Define
andBeforeSave
etc. moved toCloudEngine
interface. SDK now exports a global singleton variable calledEngine
to access LeanEngine related methods onCloudEngine
. Removed first parameter ofHandler
. - Breaking change! Added
Engine.Init
for 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), RemovedWithRemote
option. - Added
Exists
,NotExists
andNotMatchesQuery
onQuery
. - 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 unifiedQuery
instead. - Breaking change! Add new Type
CloudError
replacedError
andErrorWithCode
. - Breaking change! Add
Files.UploadFromLocalFile
replacedFiles.UploadFromFile
. - Add built-in fields like
SessionToken
、Username
on toUser
type. - Add
NewQuery
onUsers
,Roles
andFiles
. - Add
LogInByEmail
andSignUpByEmail
onUsers
. - 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.