Releases: leancloud/java-unified-sdk
Releases · leancloud/java-unified-sdk
leancloud-sdk-8.0.4
Break changes
- None
New features
- add LCUser#queryFriendship() to query all friendship data directly.
Optimization and fixed bugs
- fixed: always use application icon as notification icon.
leancloud-sdk-8.0.3
Break changes
- None
New features
- None
Optimization and fixed bugs
- LCUser#loginAnonymously always returns the same LCUser, except for re-installation.
- remove dependency of androidx in android sdk modules.
leancloud-sdk-8.0.2
8.0.2 release
Break changes
- Change the prefix of public class/method name from
AVtoLC, e.g:LCIMFileMessage#getAVFile->LCIMFileMessage#getLCFileLCIMFileMessage#attachAVFile->LCIMFileMessage#attachLCFileLCIMFileMessage#isExternalAVFile->LCIMFileMessage#isExternalLCFile
New features
- None
Optimization and fixed bugs
- check support VIVO Push or not within VIVOPushManager#register.
leancloud-sdk-8.0.1
Break changes
- Change the prefix of public class name from
AVtoLC, e.g:AVOSCloud->LeanCloudAVObject->LCObject,AVFile->LCFile,AVUser->LCUser,AVQuery->LCQueryAVCallback->LCCallback,AVException->LCExceptionAVIMClient->LCIMClient,AVIMMessage->LCIMMessage
- change enum
AVIMMessage#AVIMMessageIOTypetoLCIMMessage#MessageIOType, and redefined values:TypeIn(formalAVIMMessageIOTypeIn)TypeOut(formalAVIMMessageIOTypeOut)
- change enum
AVIMMessage#AVIMMessageStatustoLCIMMessage#MessageStatus, and redefined values:StatusNone(formalAVIMMessageStatusNone)StatusSending(formalAVIMMessageStatusSending)StatusSent(formalAVIMMessageStatusSent)StatusReceipt(formalAVIMMessageStatusReceipt)StatusFailed(formalAVIMMessageStatusFailed)StatusRecalled(formalAVIMMessageStatusRecalled)
- change enum
AVIMMessageQueryDirectiontoLCIMMessageQueryDirectionand redefined values:DirectionUnknown(formalAVIMMessageQueryDirectionUnknown),DirectionFromNewToOld(formalAVIMMessageQueryDirectionFromNewToOld),DirectionFromOldToNew(formalAVIMMessageQueryDirectionFromOldToNew);
- change inner class
AVIMMessageInterval#AVIMMessageIntervalBoundtoLCIMMessageInterval#MessageIntervalBound. - remove some deprecated methods as following:
AVQuery#doCloudQueryInBackground, please callLCCloudQuery#executeInBackgrounddirectly.ObserverBuilder#buildSingleObserver(FindCallback<T>), please useObserverBuilder#buildCollectionObserver(FindCallback<T>)directly.
New features
- None
Optimization and fixed bugs
- upgrade sqlite database version for saving conversation create/update timestamp correctly.
leancloud-sdk-8.0.0
Break changes
- Change the prefix of public class name from
AVtoLC, e.g:AVOSCloud->LeanCloudAVObject->LCObject,AVFile->LCFile,AVUser->LCUser,AVQuery->LCQueryAVCallback->LCCallback,AVException->LCExceptionAVIMClient->LCIMClient
- remove some deprecated methods as following:
AVQuery#doCloudQueryInBackground, please callLCCloudQuery#executeInBackgrounddirectly.ObserverBuilder#buildSingleObserver(FindCallback<T>), please useObserverBuilder#buildCollectionObserver(FindCallback<T>)directly.
New features
- None
Optimization and fixed bugs
- upgrade sqlite database version for saving conversation create/update timestamp correctly.
leancloud-sdk-7.2.7
Break changes
- None
New features
- None
Optimization and fixed bugs
- bugfix: can't get createdAt/updatedAt from cached AVIMConversation with Cache_Only policy.
leancloud-sdk-7.2.6
Break changes
- None
New features
- None
Optimization and fixed bugs
- bugfix: can't deserialize AVUser with AVFile attribute from cache.
- bugfix: AVObject.saveEventually will run more times bcz not deleting cache file correctly.
leancloud-sdk-7.2.5
Break changes
- None
New features
- None
Optimization and fixed bugs
- update firebase/fcm version to v27.0.0, hms version to v5.1.1.301
leancloud-sdk-7.2.4
Break changes
- None
New features
- None
Optimization and fixed bugs
- fixed: AVUser#becomeWithSessionToken will throw NetworkOnMainThreadException on Android.
7.2.3 releasenotes
Break changes
- None
New features
- None
Optimization and fixed bugs
- fixed: AVStatus#sendInBackground doesnt work in lean engine.