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

⬆️ Bump leakcanary-android from 2.8.1 to 2.10 #98

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 14, 2022

Bumps leakcanary-android from 2.8.1 to 2.10.

Release notes

Sourced from leakcanary-android's releases.

v2.10

See Change Log

v2.9.1

See Change Log

Changelog

Sourced from leakcanary-android's changelog.

Version 2.10 (2022-11-10)

Experimental Neo4j heap dump exploration

shark-cli has a new experiment neo4j command that will convert a heap dump into an embedded Neo4j database and then open Neo4j Browser to explore the heap dump.

brew install leakcanary-shark

shark-cli --process com.example.app.debug neo4j

Neo4J heap dump

Other bug fixes and improvements 🐛🔨

  • 🐤 #2440 Add Android 13 POST_NOTICICATIONS permission as well as a new LeakCanary.Config.showNotifications config to disable notifications entirely.
  • 🐤 #2416 Add Android 13 monochrome icon.
  • 💥 #2371 Fix db crash when navigating heap dump screen.
  • 🐛 #2393 Allow LeakCanary to be defined as an AndroidX Startup dependency.
  • 💥 #2430 Fix ShortcutManager crash on Android TV.
  • 💥 #2382 Fix heap dump close crash.

This list reflects only a subset of all changes. For more details, see the 2.10 Milestone and the full diff.

Version 2.9.1 (2022-04-20)

Preface

What are some things you'd like to see in a future LeakCanary 3 version? Tell me on Twitter!

Some ideas I'm playing with:

  • Moving heap analysis leak visualisation to a separate single app (written with Compose!) available on the PlayStore.
  • Bumping Okio to 3.0
  • Multiplatform heap analysis? Analyze a JVM heap dump in your browser?!
  • Visualize the heap dominators / retained size as a treemap.
  • A backend for LeakCanary?

Anyway, that's still very much the future, let's talk about what's in 2.9.1 now!

New metrics in heap analysis metadata

I built LeakCanary to help fix leaks, but in doing so I accidentally wrote a fairly flexible heap dump parser. Since we're parsing the heap to find leaks anyway, we might as well report additional interesting metrics. Here's what you'll now see in the heap dump metadata:

  • Class count: count of loaded classes
  • Instance count
  • Primitive array count
  • Object array count
  • Thread count

... (truncated)

Commits
  • 9da58bd Prepare 2.10 release
  • ebda255 Merge branch 'py/array_set_expander' into release_2.10
  • 2e6488d Merge pull request #2444 from square/py/close_crash_again
  • 6c61c09 Add custom expander for Android ArraySet
  • 5528f4d Ignore failure to close file
  • 7d3fe63 Merge pull request #2440 from square/py/no_notif
  • 8141f03 Merge pull request #2441 from square/py/AnimationHandler_leak
  • ffb8bd5 Report AnimationHandler leak
  • dd7c459 Merge pull request #2442 from square/py/storage
  • 9e3d3ee Request permission on Android 13
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [leakcanary-android](https://github.com/square/leakcanary) from 2.8.1 to 2.10.
- [Release notes](https://github.com/square/leakcanary/releases)
- [Changelog](https://github.com/square/leakcanary/blob/main/docs/changelog.md)
- [Commits](square/leakcanary@v2.8.1...v2.10)

---
updated-dependencies:
- dependency-name: com.squareup.leakcanary:leakcanary-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 14, 2022
@trafico-bot trafico-bot bot added the 🔍 Ready for Review Pull Request is not reviewed yet label Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file 🔍 Ready for Review Pull Request is not reviewed yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants