Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V0.1.0更新介绍 #38

Open
Sunzxyong opened this issue Oct 10, 2017 · 1 comment
Open

V0.1.0更新介绍 #38

Sunzxyong opened this issue Oct 10, 2017 · 1 comment

Comments

@Sunzxyong
Copy link
Owner

感谢提出Issues的同学,在此版本做了一个api的改变,外抛了压缩失败后异常信息的抛出,便于排查问题。

】这次更新没有用@Deprecated方式进行callback方法的兼容,主要考虑api变化不大,且需兼容之前的需增加额外的接口以及大部分代码,导致业务层api使用代码过多,所以版本连升3个版本号。

api改动仅仅增加了一个Throwable参数,
由原先:
void callback(boolean isSuccess, Bitmap bitmap);
变为:
void callback(boolean isSuccess, Bitmap bitmap, Throwable t);

所以业务逻辑可不变即可平滑升级。

@pedrofsn
Copy link

Cool!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants