MixinNetwork / android-app

πŸ“± Android private messenger, crypto wallet and light node to Mixin Network
https://play.google.com/store/apps/details?id=one.mixin.messenger
GNU General Public License v3.0
459 stars 99 forks source link

Bump leakcanaryVerison from 2.13 to 2.14 #4522

Closed dependabot[bot] closed 5 months ago

dependabot[bot] commented 5 months ago

Bumps leakcanaryVerison from 2.13 to 2.14. Updates com.squareup.leakcanary:leakcanary-android from 2.13 to 2.14

Release notes

Sourced from com.squareup.leakcanary:leakcanary-android's releases.

v2.14

See Change Log

Changelog

Sourced from com.squareup.leakcanary:leakcanary-android's changelog.

Version 2.14 (2024-04-17)

  • πŸ› #2650 Removed accidental usage of SettableFuture, a WorkManager internal class, which will be removed in a future release of WorkManager. After updating WorkManager to that future release, all versions of LeakCanary from 2.8 to 2.13 will crash on leak analysis. To avoid a nasty surprise in the near future, update to LeakCanary 2.14.
  • πŸ”¨ #2660 Add proguard mapping support for LeakCanary release.
  • πŸ› #2531 Heap dump & leak lists not preserving list position when navigating.
  • 🐀 #2615 Automatic fix of AOSP PermissionControllerManager leak (issuetracker.google.com/issues/318415056).
  • 🐀 #2559 Ignore UiModeManager AOSP leak.
  • πŸ’₯ #2643 Fixed rare crash on RenderHeapDumpScreen.

Version 3.0 Alpha 1 (2024-01-09)

This alpha release marks the start of the work on LeakCanary 3. It's not stable! While I intend to rework some APIs, I also want to minimize migration work. The best way to ensure migrations will go smoothly is to try upgrading to a 3.0 alpha and to let me know if you get any compile or runtime error.

Heap Growth

New APIs, not stable yet: the shark-heap-growth artifact contains APIs for writing test scenarios that detect repeated heap growth.

Here's how it's used with an Espresso test:

class MyEspressoTest {

@​Test fun greeter_says_hello_does_not_leak() { // Runs in a loop until the heap stops growing or we reach max heap dumps. val heapTraversal = HeapGrowthDetector.detectRepeatedHeapGrowth { // Runs repeatedly until the heap stops growing or we reach maxHeapDumps. onView(withId(R.id.name_field)).perform(typeText("Steve")) onView(withId(R.id.greet_button)).perform(click()) onView(withText("Hello Steve!")).check(matches(isDisplayed())) }

assertThat(heapTraversal.growingNodes).isEmpty()

} }

Here's an example set up, this is all very manual for now.

Add the new dependency:

dependencies {
  androidTestImplementation 'com.squareup.leakcanary:shark-heap-growth:3.0-alpha-1'
  androidTestImplementation 'com.squareup.leakcanary:leakcanary-android-core:3.0-alpha-1'
}

Create an implementation setup for Espresso in process UI tests:

... (truncated)

Commits
  • 8d29638 Prepare 2.14 release
  • 87e6134 Merge pull request #2660 from square/py/release_mapping_lc2
  • 11bc9a6 Add proguard mapping support for LeakCanary release
  • a9da75e Merge pull request #2658 from square/py/backports_3
  • 0509b3e Merge pull request #2657 from square/py/stop_using_work_manager_internals_lc2
  • 3a312c7 Fix crash reading Canvas size from IO thread
  • 3968bee Add known UiModeManager memory leak from Android OS
  • 0cfd00a Allow async restoring of view state
  • 60ad107 Stop using WorkManager internals
  • 3c71194 Merge pull request #2615 from daio/PermissionControllerManager_leak_2
  • Additional commits viewable in compare view


Updates com.squareup.leakcanary:leakcanary-android-process from 2.13 to 2.14

Release notes

Sourced from com.squareup.leakcanary:leakcanary-android-process's releases.

v2.14

See Change Log

Changelog

Sourced from com.squareup.leakcanary:leakcanary-android-process's changelog.

Version 2.14 (2024-04-17)

  • πŸ› #2650 Removed accidental usage of SettableFuture, a WorkManager internal class, which will be removed in a future release of WorkManager. After updating WorkManager to that future release, all versions of LeakCanary from 2.8 to 2.13 will crash on leak analysis. To avoid a nasty surprise in the near future, update to LeakCanary 2.14.
  • πŸ”¨ #2660 Add proguard mapping support for LeakCanary release.
  • πŸ› #2531 Heap dump & leak lists not preserving list position when navigating.
  • 🐀 #2615 Automatic fix of AOSP PermissionControllerManager leak (issuetracker.google.com/issues/318415056).
  • 🐀 #2559 Ignore UiModeManager AOSP leak.
  • πŸ’₯ #2643 Fixed rare crash on RenderHeapDumpScreen.

Version 3.0 Alpha 1 (2024-01-09)

This alpha release marks the start of the work on LeakCanary 3. It's not stable! While I intend to rework some APIs, I also want to minimize migration work. The best way to ensure migrations will go smoothly is to try upgrading to a 3.0 alpha and to let me know if you get any compile or runtime error.

Heap Growth

New APIs, not stable yet: the shark-heap-growth artifact contains APIs for writing test scenarios that detect repeated heap growth.

Here's how it's used with an Espresso test:

class MyEspressoTest {

@​Test fun greeter_says_hello_does_not_leak() { // Runs in a loop until the heap stops growing or we reach max heap dumps. val heapTraversal = HeapGrowthDetector.detectRepeatedHeapGrowth { // Runs repeatedly until the heap stops growing or we reach maxHeapDumps. onView(withId(R.id.name_field)).perform(typeText("Steve")) onView(withId(R.id.greet_button)).perform(click()) onView(withText("Hello Steve!")).check(matches(isDisplayed())) }

assertThat(heapTraversal.growingNodes).isEmpty()

} }

Here's an example set up, this is all very manual for now.

Add the new dependency:

dependencies {
  androidTestImplementation 'com.squareup.leakcanary:shark-heap-growth:3.0-alpha-1'
  androidTestImplementation 'com.squareup.leakcanary:leakcanary-android-core:3.0-alpha-1'
}

Create an implementation setup for Espresso in process UI tests:

... (truncated)

Commits
  • 8d29638 Prepare 2.14 release
  • 87e6134 Merge pull request #2660 from square/py/release_mapping_lc2
  • 11bc9a6 Add proguard mapping support for LeakCanary release
  • a9da75e Merge pull request #2658 from square/py/backports_3
  • 0509b3e Merge pull request #2657 from square/py/stop_using_work_manager_internals_lc2
  • 3a312c7 Fix crash reading Canvas size from IO thread
  • 3968bee Add known UiModeManager memory leak from Android OS
  • 0cfd00a Allow async restoring of view state
  • 60ad107 Stop using WorkManager internals
  • 3c71194 Merge pull request #2615 from daio/PermissionControllerManager_leak_2
  • Additional commits viewable in compare view


Updates com.squareup.leakcanary:leakcanary-android-release from 2.13 to 2.14

Release notes

Sourced from com.squareup.leakcanary:leakcanary-android-release's releases.

v2.14

See Change Log

Changelog

Sourced from com.squareup.leakcanary:leakcanary-android-release's changelog.

Version 2.14 (2024-04-17)

  • πŸ› #2650 Removed accidental usage of SettableFuture, a WorkManager internal class, which will be removed in a future release of WorkManager. After updating WorkManager to that future release, all versions of LeakCanary from 2.8 to 2.13 will crash on leak analysis. To avoid a nasty surprise in the near future, update to LeakCanary 2.14.
  • πŸ”¨ #2660 Add proguard mapping support for LeakCanary release.
  • πŸ› #2531 Heap dump & leak lists not preserving list position when navigating.
  • 🐀 #2615 Automatic fix of AOSP PermissionControllerManager leak (issuetracker.google.com/issues/318415056).
  • 🐀 #2559 Ignore UiModeManager AOSP leak.
  • πŸ’₯ #2643 Fixed rare crash on RenderHeapDumpScreen.

Version 3.0 Alpha 1 (2024-01-09)

This alpha release marks the start of the work on LeakCanary 3. It's not stable! While I intend to rework some APIs, I also want to minimize migration work. The best way to ensure migrations will go smoothly is to try upgrading to a 3.0 alpha and to let me know if you get any compile or runtime error.

Heap Growth

New APIs, not stable yet: the shark-heap-growth artifact contains APIs for writing test scenarios that detect repeated heap growth.

Here's how it's used with an Espresso test:

class MyEspressoTest {

@​Test fun greeter_says_hello_does_not_leak() { // Runs in a loop until the heap stops growing or we reach max heap dumps. val heapTraversal = HeapGrowthDetector.detectRepeatedHeapGrowth { // Runs repeatedly until the heap stops growing or we reach maxHeapDumps. onView(withId(R.id.name_field)).perform(typeText("Steve")) onView(withId(R.id.greet_button)).perform(click()) onView(withText("Hello Steve!")).check(matches(isDisplayed())) }

assertThat(heapTraversal.growingNodes).isEmpty()

} }

Here's an example set up, this is all very manual for now.

Add the new dependency:

dependencies {
  androidTestImplementation 'com.squareup.leakcanary:shark-heap-growth:3.0-alpha-1'
  androidTestImplementation 'com.squareup.leakcanary:leakcanary-android-core:3.0-alpha-1'
}

Create an implementation setup for Espresso in process UI tests:

... (truncated)

Commits
  • 8d29638 Prepare 2.14 release
  • 87e6134 Merge pull request #2660 from square/py/release_mapping_lc2
  • 11bc9a6 Add proguard mapping support for LeakCanary release
  • a9da75e Merge pull request #2658 from square/py/backports_3
  • 0509b3e Merge pull request #2657 from square/py/stop_using_work_manager_internals_lc2
  • 3a312c7 Fix crash reading Canvas size from IO thread
  • 3968bee Add known UiModeManager memory leak from Android OS
  • 0cfd00a Allow async restoring of view state
  • 60ad107 Stop using WorkManager internals
  • 3c71194 Merge pull request #2615 from daio/PermissionControllerManager_leak_2
  • Additional commits viewable in compare view


Updates com.squareup.leakcanary:leakcanary-object-watcher-android from 2.13 to 2.14

Release notes

Sourced from com.squareup.leakcanary:leakcanary-object-watcher-android's releases.

v2.14

See Change Log

Changelog

Sourced from com.squareup.leakcanary:leakcanary-object-watcher-android's changelog.

Version 2.14 (2024-04-17)

  • πŸ› #2650 Removed accidental usage of SettableFuture, a WorkManager internal class, which will be removed in a future release of WorkManager. After updating WorkManager to that future release, all versions of LeakCanary from 2.8 to 2.13 will crash on leak analysis. To avoid a nasty surprise in the near future, update to LeakCanary 2.14.
  • πŸ”¨ #2660 Add proguard mapping support for LeakCanary release.
  • πŸ› #2531 Heap dump & leak lists not preserving list position when navigating.
  • 🐀 #2615 Automatic fix of AOSP PermissionControllerManager leak (issuetracker.google.com/issues/318415056).
  • 🐀 #2559 Ignore UiModeManager AOSP leak.
  • πŸ’₯ #2643 Fixed rare crash on RenderHeapDumpScreen.

Version 3.0 Alpha 1 (2024-01-09)

This alpha release marks the start of the work on LeakCanary 3. It's not stable! While I intend to rework some APIs, I also want to minimize migration work. The best way to ensure migrations will go smoothly is to try upgrading to a 3.0 alpha and to let me know if you get any compile or runtime error.

Heap Growth

New APIs, not stable yet: the shark-heap-growth artifact contains APIs for writing test scenarios that detect repeated heap growth.

Here's how it's used with an Espresso test:

class MyEspressoTest {

@​Test fun greeter_says_hello_does_not_leak() { // Runs in a loop until the heap stops growing or we reach max heap dumps. val heapTraversal = HeapGrowthDetector.detectRepeatedHeapGrowth { // Runs repeatedly until the heap stops growing or we reach maxHeapDumps. onView(withId(R.id.name_field)).perform(typeText("Steve")) onView(withId(R.id.greet_button)).perform(click()) onView(withText("Hello Steve!")).check(matches(isDisplayed())) }

assertThat(heapTraversal.growingNodes).isEmpty()

} }

Here's an example set up, this is all very manual for now.

Add the new dependency:

dependencies {
  androidTestImplementation 'com.squareup.leakcanary:shark-heap-growth:3.0-alpha-1'
  androidTestImplementation 'com.squareup.leakcanary:leakcanary-android-core:3.0-alpha-1'
}

Create an implementation setup for Espresso in process UI tests:

... (truncated)

Commits
  • 8d29638 Prepare 2.14 release
  • 87e6134 Merge pull request #2660 from square/py/release_mapping_lc2
  • 11bc9a6 Add proguard mapping support for LeakCanary release
  • a9da75e Merge pull request #2658 from square/py/backports_3
  • 0509b3e Merge pull request #2657 from square/py/stop_using_work_manager_internals_lc2
  • 3a312c7 Fix crash reading Canvas size from IO thread
  • 3968bee Add known UiModeManager memory leak from Android OS
  • 0cfd00a Allow async restoring of view state
  • 60ad107 Stop using WorkManager internals
  • 3c71194 Merge pull request #2615 from daio/PermissionControllerManager_leak_2
  • Additional commits viewable in compare view


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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)