leancloud-sdk-7.2.0
·
492 commits
to master
since this release
Break changes
AVUser#currentUserdoesn't work in lean-engine.
AVUser#currentUseris a short-cut for use, only working within single thread, so it is not appropriate in lean engine.
We disable AVUser#currentUser at present, and add many new methods for supporting requests with particular user authentication:
AVObject#saveInBackground(AVUser asAuthenticatedUser);
AVQuery#findInBackground(AVUser asAuthenticatedUser);
All these methods should be invoked in lean engine.
New features
AVUser#becomeWithSessionToken(String sessionToken, boolean saveToCurrentUser)was added to change currentUser automatically.
Optimization and fixed bugs
- None