|
1 | 1 | # Change Log |
2 | 2 |
|
| 3 | +## Version 1.5 *(2016-09-28)* |
| 4 | + |
| 5 | +* New excluded leaks |
| 6 | +* Added `LeakCanary.isInAnalyzerProcess()` to the no-op jar |
| 7 | +* Fixed several file access issues: |
| 8 | + * No more cleanup on startup, we rotate the heap dump files on every new heap dump. |
| 9 | + * LeakCanary now falls back to the app directory until it can write to the external storage. |
| 10 | +* Leak notifications now each use a distinct notification instead of erasing each other. |
| 11 | +* If LeakCanary can't perform a heap dump for any reason (e.g. analysis in progress, debugger attached ), it retries later with an exponential backoff. |
| 12 | +* Added confirmation dialog when user deletes all leaks. |
| 13 | +* Replace the two leakcanary configuration methods with a builder that provides more flexibility, see `LeakCanary.refWatcher()`. |
| 14 | +* For more details, see the [full diff](https://github.com/square/leakcanary/compare/v1.4...v1.5). |
| 15 | + |
| 16 | +### Public API changes |
| 17 | + |
| 18 | +* New `HeapAnalyzer.findTrackedReferences()` method for headless analysis when you have no context on what leaked. |
| 19 | +* Added `LeakCanary.isInAnalyzerProcess()` to the no-op jar |
| 20 | +* Added `LeakCanary.refWatcher()` which returns an `AndroidRefWatcherBuilder` that extends `RefWatcherBuilder` and lets you fully customize the `RefWatcher` instance. |
| 21 | +* Removed `LeakCanary.install(Application, Class)` and `LeakCanary.androidWatcher(Context, HeapDump.Listener, ExcludedRefs)`. |
| 22 | +* Removed `R.integer.leak_canary_max_stored_leaks` and `R.integer.leak_canary_watch_delay_millis`, those can now be set via `LeakCanary.refWatcher()`. |
| 23 | +* Updated the `LeakDirectoryProvider` API to centralize all file related responsibilities. |
| 24 | +* `RefWatcher` is now constructed with a `WatchExecutor` which executes a `Retryable`, instead of an `Executor` that executes a `Runnable`. |
| 25 | +* `HeapDumper.NO_DUMP` was renamed `HeapDumper.RETRY_LATER` |
| 26 | + |
3 | 27 | ## Version 1.4 *(2016-09-11)* |
4 | 28 |
|
5 | 29 | * Fix false negative where GC root is of type android.os.Binder [#482](https://github.com/square/leakcanary/issues/482) |
|
0 commit comments