Skip to content

Commit 0ebc1fc

Browse files
committed
Prepare 1.6.2 release
1 parent 5c1e1ba commit 0ebc1fc

File tree

3 files changed

+36
-4
lines changed

3 files changed

+36
-4
lines changed

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# Change Log
22

3+
## Version 1.6.2 (2018-10-16)
4+
5+
* [#1067])https://github.com/square/leakcanary/issues/1067) Fixed TransactionTooLargeException crash (leak analysis would never complete).
6+
* [#1061](https://github.com/square/leakcanary/pull/1061) Detection of Fragment view leaks after Fragment#onDestroyView().
7+
* [#1076](https://github.com/square/leakcanary/pull/1076) Added the FOREGROUND_SERVICE permission for Android P.
8+
* [#1062](https://github.com/square/leakcanary/issues/1062) The LeakCanary toast now always shows correctly. It doesn't show if there is no activity in foreground.
9+
* [#1115](https://github.com/square/leakcanary/issues/1115) Reenabled the DisplayLeakActivity icon on fresh installs.
10+
* [#1100](https://github.com/square/leakcanary/pull/1100) Added nullability annotations to improve Kotlin support.
11+
* Updates to excluded leaks ([commits](https://github.com/square/leakcanary/commits/v1.6.2/leakcanary-android/src/main/java/com/squareup/leakcanary/AndroidExcludedRefs.java)).
12+
* Updates to reachability inspectors ([diff](https://github.com/square/leakcanary/commits/v1.6.2/leakcanary-android/src/main/java/com/squareup/leakcanary/AndroidReachabilityInspectors.java)).
13+
14+
Many thanks to
15+
[@fractalwrench](https://github.com/fractalwrench),
16+
[@hzsweers](https://github.com/hzsweers),
17+
[@Goddchen](https://github.com/Goddchen),
18+
[@igokoro](https://github.com/igokoro),
19+
[@IlyaGulya](https://github.com/IlyaGulya),
20+
[@JakeWharton](https://github.com/JakeWharton),
21+
[@javmarina](https://github.com/javmarina),
22+
[@jokermonn](https://github.com/jokermonn),
23+
[@jrodbx](https://github.com/jrodbx),
24+
[@Parseus](https://github.com/Parseus),
25+
[@pyricau](https://github.com/pyricau),
26+
[@scottkennedy](https://github.com/scottkennedy)
27+
for the code contributions!
28+
29+
### Public API changes
30+
31+
* Subclasses of `AbstractAnalysisResultService` should now override `onHeapAnalyzed(@NonNull AnalyzedHeap analyzedHeap)` instead of `onHeapAnalyzed(@NonNull HeapDump heapDump, @NonNull AnalysisResult result)`
32+
33+
For more details, see the [1.6.2 Milestone](https://github.com/square/leakcanary/milestone/4) and the [full diff](https://github.com/square/leakcanary/compare/v1.6.1...v1.6.2).
34+
335
## Version 1.6.1 (2018-06-21)
436

537
* [#727](https://github.com/square/leakcanary/issues/727) Improved leak analysis: LeakCanary now identifies and highlights the potential causes of the leak.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ In your `build.gradle`:
1515

1616
```groovy
1717
dependencies {
18-
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.1'
19-
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.1'
18+
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.2'
19+
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.2'
2020
// Optional, if you use support library fragments:
21-
debugImplementation 'com.squareup.leakcanary:leakcanary-support-fragment:1.6.1'
21+
debugImplementation 'com.squareup.leakcanary:leakcanary-support-fragment:1.6.2'
2222
}
2323
```
2424

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
GROUP=com.squareup.leakcanary
2-
VERSION_NAME=1.7-SNAPSHOT
2+
VERSION_NAME=1.6.2
33

44
POM_DESCRIPTION=Leak Canary
55

0 commit comments

Comments
 (0)