wdullaer / MaterialDateTimePicker

Pick a date or time on Android in style
Apache License 2.0
4.67k stars 948 forks source link

Bump leakcanary-android from 2.3 to 2.7 #717

Open dependabot-preview[bot] opened 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps leakcanary-android from 2.3 to 2.7.

Release notes

Sourced from leakcanary-android's releases.

v2.7

See Change Log

v2.6

See Change Log

v2.5

See Change Log

v2.4

See Change Log

Changelog

Sourced from leakcanary-android's changelog.

Version 2.7 (2021-03-26)

Please thank @chao2zhang, @ihrupin, @jzbrooks, @msfjarvis, @reneargento, @Unpublished for their contributions, bug reports and feature requests šŸ™ šŸ™ šŸ™.

Finer grained root view watching

In version 2.6, LeakCanary added detection of root views retained after View.onDetachedFromWindow(). This helps find more leaks, but unfortunately some Android widgets keep a detached root view around to reattach it later (e.g. spinner). App developers also sometimes do the same with dialogs, keeping a single instance around and calling show() and hide() as needed. As a result, LeakCanary would report leaks that were actually not leaks.

In version 2.7, the default behavior changed: LeakCanary will continue to detect leaks of toasts, but will ignore root views created by a PopupWindow (which is what Android widgets use). It will also ignore root views created by a dialog by default, and you can turn this back on by setting the leak_canary_watcher_watch_dismissed_dialogs resource boolean to true:

<?xml version="1.0" encoding="utf-8"?>
<resources>
  <bool name="leak_canary_watcher_watch_dismissed_dialogs">true</bool>
</resources>

This is implemented using a new Square library: Curtains.

Targeting Android 12

We fixed two issues for apps that want to target Android 12:

  • #2074 Activities that use intent filters must declare the android:exported attribute.
  • #2079 PendingIntent requires the FLAG_IMMUTABLE flag.

Bug fixes and improvements šŸ›šŸ”Ø

  • #2075 Fixed crash when sharing heap dumps.
  • #2067 Fixed crash when opening leaks from older versions (before 2.6) of LeakCanary.
  • #2049 Fixed Plumber crash due to R8 shaking AndroidLeakFixes.
  • #2084 Fixed Shark crash when used from multiple threads.
  • #2054 šŸ™ˆšŸ™‰šŸ™Š Blocked Monkeys from deleting leaks.
  • #2069 Added X button to the root leak activity (for custom devices with no back button)
  • #2091 Added receiver details if LoadedApk shows up in the leaktrace.
  • #2083 Added service status details (created or not) to leaktrace.
  • #2099 Retry button if analysis fails.
  • #2066 When heap analysis in UI tests is skipped and NoAnalysis is returned, NoAnalysis now includes a reason to help debug why it didn't run.
  • #2000 The LeakCanary CI now leverages GitHub actions instead of Travis.

Version 2.6 - Christmas Release šŸŽ„ (2020-12-24)

... (truncated)

Commits
  • 9f85fbc Prepare 2.7 release
  • bd3298d Merge pull request #2103 from square/py/file_provider_crash
  • 923b695 Merge pull request #2105 from square/py/println
  • 8b066f1 Merge pull request #2104 from square/py/monkey_delete
  • 845c1d3 Merge pull request #2100 from square/py/receivers_details
  • 626c3bd Remove debug logs
  • 3132dcc Don't let Monkeys delete leaks
  • a52f3f4 Merge pull request #2102 from square/py/back_home
  • a9a9f31 Provide help when FileProvider not defined right
  • 233066b Add labels for receivers in LoadedAPK
  • 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)