Skip to content

Releases: leancloud/java-unified-sdk

5.0.16 release

17 Jul 09:00
Compare
Choose a tag to compare

Break changes

  • None

New features

  • 增加 oppo 推送

Optimization and fixed bugs

  • 修复 bug #59
  • 修复 bug #60

5.0.13 release

10 May 10:25
Compare
Choose a tag to compare

Break changes

  • None

New features

  • None

Optimization and fixed bugs

5.0.12 releasenotes

11 Mar 12:49
Compare
Choose a tag to compare

Break changes

  • None

New features

  • cn.leancloud.core.AppConfiguration 中增加设置项,允许禁止本地缓存任何数据。可在应用初始化时设置。
  /**
   * set flag to enable local cache or not.
   * @param enableLocalCache
   */
  public static void setEnableLocalCache(boolean enableLocalCache)

Optimization and fixed bugs

  • AVIMClient 创建普通 AVIMConversation 时,默认启用 unique 标志;
  • 缓存数据与 appid 关联,避免同一个程序切换 appId 之后受之前缓存数据的影响;

5.0.11 release notes

29 Jan 09:24
Compare
Choose a tag to compare

Break changes

  • None

New features

  • convert Throwable(HttpException) to Throwable(AVException) while failed to call RxJava API.

Optimization and fixed bugs

  • fixed bug: PushService can't start under Android 6.0(or elder);

5.0.10 release notes

29 Jan 03:22
Compare
Choose a tag to compare

Break changes

  • None

New features

  • add new instance method to AVUser:
public void getFollowersAndFolloweesInBackground(final FollowersAndFolloweesCallback callback)
  • add new static method to AVUser in order to compatible with old Android SDK.
public static <T extends AVUser> T cast(AVUser user, Class<T> clazz);
public static AVUser becomeWithSessionToken(String sessionToken);
public static <T extends AVUser> T becomeWithSessionToken(String sessionToken, Class<T> clazz);

Optimization and fixed bugs

  • change AVUser#getQuery declaration as following to compatible with old Android SDK:
public static AVQuery<AVUser> getQuery()

5.0.9 release notes

28 Jan 10:22
Compare
Choose a tag to compare

Break changes

  • None

New features

  • add new static method to AVUser:
AVUser.alwaysUseSubUserClass(Class<? extends AVUser> clazz);
  • add new static method to PushService. If you only use LiveQuery(exclude Push or Realtime), you can invoke this method to starting PushService(establishing websocket connection).
PushService.startIfRequired(android.content.Context context);

Optimization and fixed bugs

  • upgrade okhttp.version to 3.12.1;
  • fixed: instance created by AVFile.withFile(name, file) can't be upload correctly;
  • fixed: can't change http/https protocol dynamically while uploading AVFile;

5.0.8 releasenotes

15 Jan 11:41
Compare
Choose a tag to compare

Break changes

  • None

New features

  • None。

Optimization and fixed bugs

  • 修复 AVObject 反序列化老版本 Android SDK 字符串时因为 OperationQueue 中存在老版本 XXOp 而出错的 bug;

5.0.7 releasenotes

14 Jan 06:41
Compare
Choose a tag to compare

Break changes

  • None

New features

  • None。

Optimization and fixed bugs

  • 修复 AVObject 反序列化的 bug;

5.0.5 releasenotes

14 Jan 06:40
Compare
Choose a tag to compare

Break changes

  • None

New features

  • None。

Optimization and fixed bugs

  • 支持反序列化老版本 android sdk 序列化的 AVInstallation 字符串;
  • 修复 AVObject 序列化反序列化的 bug;

5.0.4 release notes

27 Dec 10:14
Compare
Choose a tag to compare

Break changes

  • None

New features

  • AVObject 增加 String toJSONString() 实例方法和 static AVObject parseAVObject(String) 静态方法,以兼容老版本。

Optimization and fixed bugs

  • 修复 Android 平台上 AVObject 序列化/反序列化为 JSON String 时的 bug;