Skip to content

Commit

Permalink
Prepare for next development iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
pyricau committed May 30, 2024
1 parent 4fc93cb commit 5738869
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,16 @@

Please thank our [contributors](https://github.com/square/leakcanary/graphs/contributors) 🙏 🙏 🙏.

## Version 3.0 Alpha 7 (TBD)
## Version 3.0 Alpha 7 (2024-05-30)

Revisited a number of API choices for heap growth, to simplify but also support more advanced
behavior such as keep heap dumps on test failure, or zipping heap dumps for CI upload.

- `HeapGrowthTraversal` is now `HeapDiff`
- `ObjectGrowthDetector.forAndroidHeap().repeatingAndroidInProcessScenario()` is now
`HeapDiff.repeatingAndroidInProcessScenario()` which is now really just a wrapper for
`HeapDiff.repeatingDumpingTestScenario()` with Android UI test specific configuration.
- `maxHeapDumps` and `scenarioLoopsPerDump` have moved from being factory parameters to being per
scenario parameters.
* `HeapGrowthTraversal` is now `HeapDiff`
* `ObjectGrowthDetector.forAndroidHeap().repeatingAndroidInProcessScenario()` is now HeapDiff.repeatingAndroidInProcessScenario()` which is now really just a wrapper for HeapDiff.repeatingDumpingTestScenario()` with Android UI test specific configuration.
* `maxHeapDumps` and `scenarioLoopsPerDump` have moved from being factory parameters to being per scenario parameters.
* 💥 [#2683](https://github.com/square/leakcanary/pull/2683) Fix crash when java.lang.Object has multiple class load records in JVM heap dumps
* 🔨 [#2682](https://github.com/square/leakcanary/pull/2682) Add support for unload class tags and records

### Heap Growth: Espresso test example

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GROUP=com.squareup.leakcanary
VERSION_NAME=3.0-alpha-7
VERSION_NAME=3.0-alpha-8-SNAPSHOT

POM_DESCRIPTION=LeakCanary
POM_INCEPTION_YEAR=2015
Expand Down

0 comments on commit 5738869

Please sign in to comment.