Skip to content

Releases: leancloud/java-unified-sdk

leancloud-sdk-8.0.4

23 Jul 08:27

Choose a tag to compare

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

08 Jul 07:49

Choose a tag to compare

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

02 Jul 06:53

Choose a tag to compare

8.0.2 release

Break changes

  • Change the prefix of public class/method name from AV to LC, e.g:
    1. LCIMFileMessage#getAVFile -> LCIMFileMessage#getLCFile
    2. LCIMFileMessage#attachAVFile -> LCIMFileMessage#attachLCFile
    3. LCIMFileMessage#isExternalAVFile -> LCIMFileMessage#isExternalLCFile

New features

  • None

Optimization and fixed bugs

  • check support VIVO Push or not within VIVOPushManager#register.

leancloud-sdk-8.0.1

10 Jun 08:22

Choose a tag to compare

Break changes

  • Change the prefix of public class name from AV to LC, e.g:
    1. AVOSCloud -> LeanCloud
    2. AVObject -> LCObject, AVFile -> LCFile, AVUser -> LCUser, AVQuery -> LCQuery
    3. AVCallback -> LCCallback, AVException -> LCException
    4. AVIMClient -> LCIMClient, AVIMMessage -> LCIMMessage
  • change enum AVIMMessage#AVIMMessageIOType to LCIMMessage#MessageIOType, and redefined values:
    1. TypeIn(formal AVIMMessageIOTypeIn)
    2. TypeOut(formal AVIMMessageIOTypeOut)
  • change enum AVIMMessage#AVIMMessageStatus to LCIMMessage#MessageStatus, and redefined values:
    1. StatusNone(formal AVIMMessageStatusNone)
    2. StatusSending(formal AVIMMessageStatusSending)
    3. StatusSent(formal AVIMMessageStatusSent)
    4. StatusReceipt(formal AVIMMessageStatusReceipt)
    5. StatusFailed(formal AVIMMessageStatusFailed)
    6. StatusRecalled(formal AVIMMessageStatusRecalled)
  • change enum AVIMMessageQueryDirection to LCIMMessageQueryDirection and redefined values:
    1. DirectionUnknown(formal AVIMMessageQueryDirectionUnknown),
    2. DirectionFromNewToOld(formal AVIMMessageQueryDirectionFromNewToOld),
    3. DirectionFromOldToNew(formal AVIMMessageQueryDirectionFromOldToNew);
  • change inner class AVIMMessageInterval#AVIMMessageIntervalBound to LCIMMessageInterval#MessageIntervalBound.
  • remove some deprecated methods as following:
    1. AVQuery#doCloudQueryInBackground, please call LCCloudQuery#executeInBackground directly.
    2. ObserverBuilder#buildSingleObserver(FindCallback<T>), please use ObserverBuilder#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

09 Jun 08:31

Choose a tag to compare

Break changes

  • Change the prefix of public class name from AV to LC, e.g:
    1. AVOSCloud -> LeanCloud
    2. AVObject -> LCObject, AVFile -> LCFile, AVUser -> LCUser, AVQuery -> LCQuery
    3. AVCallback -> LCCallback, AVException -> LCException
    4. AVIMClient -> LCIMClient
  • remove some deprecated methods as following:
    1. AVQuery#doCloudQueryInBackground, please call LCCloudQuery#executeInBackground directly.
    2. ObserverBuilder#buildSingleObserver(FindCallback<T>), please use ObserverBuilder#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

18 May 06:28

Choose a tag to compare

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

25 Apr 02:17

Choose a tag to compare

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

22 Apr 04:02

Choose a tag to compare

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

24 Mar 00:56

Choose a tag to compare

Break changes

  • None

New features

  • None

Optimization and fixed bugs

  • fixed: AVUser#becomeWithSessionToken will throw NetworkOnMainThreadException on Android.

7.2.3 releasenotes

10 Mar 08:34

Choose a tag to compare

Break changes

  • None

New features

  • None

Optimization and fixed bugs

  • fixed: AVStatus#sendInBackground doesnt work in lean engine.