leak_tracker
A framework for memory leak tracking for Dart and Flutter applications.
11.0.2
7.3M downloads/mo
#81 most downloaded on pub.dev
dart-lang/leak_tracker
What this package is like to depend on
Last release 11 months ago
10 Sep 2025
Release timing varies
gaps range from 9 days to 5 months
Most releases are documented
notes for 39 of 49 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
56 releases · first in 2022
1 release in the last 12 months
see the full history below
Release timeline
56 releases · Dec 2022 to Sep 2025Releases
latest 56-
11.0.210 Sep 2025Nothing published for this version
-
11.0.121 Apr 2025Nothing published for this version
-
10.0.928 Jan 2025Nothing published for this version
-
10.0.822 Oct 2024Nothing published for this version
-
10.0.724 Aug 2024Nothing published for this version
-
10.0.528 Mar 2024Nothing published for this version
-
10.0.409 Feb 2024Nothing published for this version
-
10.0.324 Jan 2024Nothing published for this version
-
10.0.214 Jan 2024Nothing published for this version
-
10.0.109 Jan 2024Nothing published for this version
-
10.0.030 Dec 2023Release notes
Open source →- Remove
memory_usage, as it is moved to https://github.com/dart-lang/leak_tracker/tree/main/pkgs/memory_usage.
- Remove
-
9.0.1820 Dec 2023 -
9.0.1713 Dec 2023 -
9.0.1613 Nov 2023 -
9.0.1511 Nov 2023Release notes
Open source →- Fix: debug information should not wipe other settings.
- Add arguments allNotGCed and allNotDisposed to withTracked.
- Remove the dependency on
package:intl. - Updated to use
package:lints/recommended.yamlfor analysis.
-
9.0.1402 Nov 2023 -
9.0.1331 Oct 2023 -
9.0.1231 Oct 2023 -
9.0.1124 Oct 2023 -
9.0.1023 Oct 2023 -
9.0.923 Oct 2023 -
9.0.829 Sep 2023 -
9.0.720 Sep 2023Release notes
Open source →- Use ObjectRecord instead of hash code to identify objects.
- Remove collection of stack trace by class in LeakDiagnosticConfig.
- Bump version of SDK to 3.1.2.
-
9.0.629 Aug 2023Release notes
Open source →- Improve error reporting for connection to vm service.
- Fix misspelling.
- Enable memory baselining.
-
9.0.515 Aug 2023Release notes
Open source →- Fix issue of using wrong settings for a phase, so that the tracker uses settings at time of object tracking start, instead of current configuration.
-
9.0.410 Aug 2023 -
9.0.307 Aug 2023 -
9.0.204 Aug 2023 -
9.0.101 Aug 2023 -
9.0.001 Aug 2023Release notes
Open source →- Refactor to improve performance of regression tests with leak tracking.
- Remove API that is not used in Flutter Framework.
- Rename
LeakTrackingConfigurationtoLeakTrackingConfig. - Remove global flag [collectDebugInformationForLeaks].
- Rename
checkNonGCedtocheckNotGCedandcollectRetainingPathForNonGCedtocollectRetainingPathForNotGCed. - Group global items related to leak tracking, in abstract class LeakTracking.
- Rename
gcCountBuffertonumberOfGcCyclesanddisposalTimeBuffertodisposalTime.
-
8.0.321 Jul 2023 -
8.0.219 Jul 2023Release notes
Open source →- Improve performance.
- Make gcCountBuffer customizable with default value 3.
-
8.0.114 Jul 2023Release notes
Open source →- Handle SentinelException for retaining path.
- Limit number of requests for retaining path.
-
8.0.013 Jul 2023Release notes
Open source →- Enable turn on/off tracking for leak types.
- Put all global flags into one class.
-
7.0.813 Jul 2023Release notes
Open source →- Disconnect from service after obtaining retaining paths.
- Protect from identityHashCode equal to 0.
-
7.0.611 Jul 2023Release notes
Open source →- Add helpers for troubleshooting.
- Handle generic arguments for retaining path detection.
- Convert to multi-package.
-
7.0.406 Jun 2023Release notes
Open source →- Fix path collection.
- Create constructor to collect path.
- Fix connection issue.
- Improve retaining path formatting.
- Format retaining path nicely.
- Enable collection of retaining path.
- Separate testing.
- Fixes to support g3.
- Fix for MemoryUsageEvent constructor.
-
6.0.012 May 2023Release notes
Open source →- Fix typo in public API.
- Add assertion for negative delay between snapshots.
-
5.0.009 May 2023Release notes
Open source →- Migrate from auto-snapshotting to usage-tracking.
- Improve leak debugging UX.
- Fix failures in case of duplicates.
-
4.0.304 May 2023 -
4.0.204 May 2023 -
4.0.101 May 2023 -
4.0.021 Apr 2023 -
3.0.221 Apr 2023 -
3.0.118 Apr 2023 -
3.0.018 Apr 2023Release notes
Open source →- Breaking changes: update names of types to be align with Flutter naming convention.
- Add model for Flutter unit testing configuration.
- Adopt Flutter standard lints.
- Improve documentation.
-
2.0.2-dev.0.030 Jan 2023 pre-releaseNothing published for this version
-
2.0.126 Jan 2023 -
2.0.004 Jan 2023Release notes
Open source →- Breaking changes in
withLeakTracking. - Refactor test_infra libraries.
- Documentation updates.
- Breaking changes in
-
1.0.019 Dec 2022 -
1.0.0-dev.1.619 Dec 2022 pre-releaseNothing published for this version
-
1.0.0-dev.1.518 Dec 2022 pre-releaseNothing published for this version
-
1.0.0-dev.1.415 Dec 2022 pre-releaseNothing published for this version
-
1.0.0-dev.1.207 Dec 2022 pre-releaseNothing published for this version
-
1.0.0-dev.1.106 Dec 2022 pre-releaseNothing published for this version
-
1.0.0-dev.1.006 Dec 2022 pre-releaseNothing published for this version