Skip to content

Commit e186f8f

Browse files
committed
upgrade to 1.4.1
1 parent 6372faf commit e186f8f

File tree

7 files changed

+21
-15
lines changed

7 files changed

+21
-15
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ You can watch releases [on Maven](https://oss.sonatype.org/content/groups/public
77
- Bug fix.
88
- Add onBlock interceptor.
99

10+
### 1.4.1 (2017-01-19)
11+
12+
- Bug fix
13+
1014
## Version 1.3 *(2016-08-24)*
1115

1216
- Code refactor.

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ A transparent ui-block detection library for Android, app only needs one-line-co
55

66
The naming is to pay respect to the great library [LeakCanary](https://github.com/square/leakcanary), ui-related codes are modified from leakcanary's ui part.
77

8+
- 1.4.1 Bug fix.
89
- 1.4.0 Bug fix, add onBlock interceptor in context.
910
- 1.3.1 Enable configuration of label and icon.
1011
- 1.3.0 Add white-list and concern-package feature.
@@ -16,11 +17,11 @@ You may choose how to assemble them as you like.
1617
```gradle
1718
dependencies {
1819
// most often used way, enable notification to notify block event
19-
compile 'com.github.markzhai:blockcanary-android:1.4.0'
20+
compile 'com.github.markzhai:blockcanary-android:1.4.1'
2021
2122
// this way you only enable BlockCanary in debug package
22-
// debugCompile 'com.github.markzhai:blockcanary-android:1.4.0'
23-
// releaseCompile 'com.github.markzhai:blockcanary-no-op:1.4.0'
23+
// debugCompile 'com.github.markzhai:blockcanary-android:1.4.1'
24+
// releaseCompile 'com.github.markzhai:blockcanary-no-op:1.4.1'
2425
}
2526
```
2627

README_CN.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ BlockCanary是一个Android平台的一个非侵入式的性能监控组件,
55

66
取名为BlockCanary则是为了向LeakCanary致敬,顺便本库的UI部分是从LeakCanary改来的,之后可能会做一些调整。
77

8+
- 1.4.1 Bug修复
89
- 1.4.0 修复 1.3.x 的 bug,增加发生卡慢时的拦截方法。
910
- 1.3.0 增加白名单和包名过滤功能
1011

1112
# 包介绍
13+
1214
- blockcanary-android blockcanary类的一些实现
1315
- blockcanary-analyzer 记录block信息的核心实现
1416
- blockcanary-no-op 空包,为了release打包时不编译进去
@@ -21,11 +23,11 @@ BlockCanary是一个Android平台的一个非侵入式的性能监控组件,
2123

2224
```gradle
2325
dependencies {
24-
compile 'com.github.markzhai:blockcanary-android:1.4.0'
26+
compile 'com.github.markzhai:blockcanary-android:1.4.1'
2527
2628
// 仅在debug包启用BlockCanary进行卡顿监控和提示的话,可以这么用
27-
debugCompile 'com.github.markzhai:blockcanary-android:1.4.0'
28-
releaseCompile 'com.github.markzhai:blockcanary-no-op:1.4.0'
29+
debugCompile 'com.github.markzhai:blockcanary-android:1.4.1'
30+
releaseCompile 'com.github.markzhai:blockcanary-no-op:1.4.1'
2931
}
3032
```
3133

@@ -37,7 +39,6 @@ PS: 由于该库使用了 `getMainLooper().setMessageLogging()`, 请确认是否
3739
public class DemoApplication extends Application {
3840
@Override
3941
public void onCreate() {
40-
...
4142
// 在主进程初始化调用哈
4243
BlockCanary.install(this, new AppBlockCanaryContext()).start();
4344
}

blockcanary-analyzer/gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
POM_NAME=Android BlockCanary Analyzer Library
22
POM_ARTIFACT_ID=blockcanary-analyzer
33
POM_PACKAGING=aar
4-
VERSION_NAME=1.4.0
5-
VERSION_CODE=14
4+
VERSION_NAME=1.4.1
5+
VERSION_CODE=15
66
GROUP=com.github.markzhai
77

88
POM_DESCRIPTION=Android BlockCanary Analyzer Library

blockcanary-android-no-op/gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
POM_NAME=Android BlockCanary NO-OP Library
22
POM_ARTIFACT_ID=blockcanary-no-op
33
POM_PACKAGING=jar
4-
VERSION_NAME=1.4.0
5-
VERSION_CODE=14
4+
VERSION_NAME=1.4.1
5+
VERSION_CODE=15
66
GROUP=com.github.markzhai
77

88
POM_DESCRIPTION=Android BlockCanary NO-OP Library

blockcanary-android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ android {
2121

2222
dependencies {
2323
compile fileTree(include: ['*.jar'], dir: 'libs')
24-
compile project(':blockcanary-analyzer')
25-
// compile 'com.github.markzhai:blockcanary-analyzer:1.4.0'
24+
// compile project(':blockcanary-analyzer')
25+
compile 'com.github.markzhai:blockcanary-analyzer:1.4.1'
2626
}

blockcanary-android/gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
POM_NAME=Android BlockCanary Library
22
POM_ARTIFACT_ID=blockcanary-android
33
POM_PACKAGING=aar
4-
VERSION_NAME=1.4.0
5-
VERSION_CODE=14
4+
VERSION_NAME=1.4.1
5+
VERSION_CODE=15
66
GROUP=com.github.markzhai
77

88
POM_DESCRIPTION=Android BlockCanary Library

0 commit comments

Comments
 (0)