device_diagnostics 0.1.0
device_diagnostics: ^0.1.0 copied to clipboard
A Flutter package for opt-in device diagnostics, performance monitoring, network instrumentation, and PDF diagnostic reports.
Changelog #
All notable changes to device_diagnostics are documented in this file.
0.1.0 #
Added #
- ๐ Prepared the package for the
0.1.0release with updated package metadata and platform configuration. - ๐ฑ Improved native diagnostic integration for Android and iOS.
- ๐งช Improved example-app test configuration to support package validation.
- ๐ฆ Updated package and example dependency configuration for development and analysis.
Changed #
- ๐ ๏ธ Refined Android Gradle configuration for modern Android and Kotlin tooling compatibility.
- ๐ Updated iOS package structure and configuration work toward supporting modern Swift Package Manager integration alongside CocoaPods.
- ๐ Improved package configuration and release-readiness documentation.
- ๐ Continued improving analyzer compatibility and maintainability across the package and example project.
Fixed #
- ๐ Fixed PDF report generation failures caused by infinite-height constraints.
- ๐ Improved PDF layout constraint handling to reduce height-related rendering errors.
- ๐จ Preserved the existing diagnostic report layout and visual styling while addressing PDF export issues.
- ๐งช Corrected example widget-test references after the example app structure changed.
- โ๏ธ Updated example development dependencies to resolve missing Flutter test and lint package references.
Notes #
- Native platform metrics remain dependent on operating-system capabilities and platform implementation.
- Android and iOS platform builds should be validated before release.
- Swift Package Manager and CocoaPods integration should both be tested before claiming full iOS package-manager compatibility.
- Package analysis, tests, and
flutter pub publish --dry-runshould pass before publishing the release.
0.0.9 #
Fixed #
- ๐ Fixed PDF export failure caused by an infinite-height constraint during PDF report generation.
- ๐ Improved PDF rendering reliability by resolving layout constraints that could cause height-related rendering errors.
- ๐จ Preserved the existing diagnostic report layout and visual styling while fixing the PDF export issue.
0.0.8 #
Fixed #
- ๐ Fixed PDF export failure caused by an incompatible combination of
borderRadiusand non-uniform borders in PDF metric cards. - ๐ Improved PDF report generation reliability by correcting metric card border decoration.
- ๐จ Preserved the diagnostic report's visual styling while resolving the PDF rendering assertion.
0.0.7 #
Added #
- ๐ Added enhanced PDF performance report summaries with average, minimum, and peak metric statistics.
- ๐ Improved performance timelines for memory usage, CPU utilization, frame rate, network traffic, and thermal state.
- ๐ Added minimum metric statistics to provide additional insight into observed performance.
Changed #
- ๐จ Redesigned the floating diagnostic overlay with a more modern dashboard interface.
- ๐ฅ๏ธ Improved metric presentation with dedicated cards for memory, CPU, FPS, dropped frames, network type, and thermal state.
- ๐ข Improved recording status visibility and session controls.
- ๐ Improved PDF report presentation with a structured summary, device information, performance charts, screen visit details, and measurement limitations.
- ๐ Improved network traffic visualization by accumulating available per-sample received and sent byte deltas.
- ๐ Improved chart axis scaling for clearer performance timelines.
Fixed #
- ๐ ๏ธ Fixed numeric type compatibility in PDF chart axis calculations.
- ๐งน Incorporated minimum statistics into the PDF summary to eliminate the unused-function warning.
0.0.6 #
Fixed #
- ๐ Fixed the
No Overlay widget founderror when the diagnostic overlay is displayed outside the application'sMaterialAppoverlay hierarchy. - ๐ ๏ธ Improved diagnostic overlay integration by providing an appropriate
Overlayancestor for overlay-dependent widgets, including tooltips. - ๐ง Improved compatibility with Flutter applications that wrap
MaterialAppusingDeviceDiagnostics.observability. - โป๏ธ Improved overlay lifecycle handling to support reliable rendering and updates.
0.0.5 #
Fixed #
- ๐ Fixed the
Directionalityassertion triggered by the diagnostic overlay'sStackwhen no ancestor provides text direction. - ๐งญ Added a fallback text direction to support applications that wrap
MaterialAppwithDeviceDiagnostics.observability. - ๐ ๏ธ Updated stack alignment to use
Alignment.topLeft, removing the stack's dependency on directional alignment. - ๐ง Improved diagnostic overlay compatibility with Flutter's widget hierarchy.
0.0.4 #
Fixed #
- ๐ Fixed the missing
Directionalityissue in the diagnostic overlay when used aboveMaterialApp. - ๐งญ Added a fallback text direction to ensure the diagnostic overlay can resolve directional alignment when no ancestor provides
Directionality. - ๐ ๏ธ Improved diagnostic overlay compatibility with Flutter's inherited widget system.
0.0.3 #
Fixed #
- ๐ Fixed a
Directionalityerror in the diagnostic overlay that occurred when the overlay was built without an ancestor providing text direction. - ๐งญ Improved overlay compatibility with Flutter applications using
MaterialAppand inherited widget configurations.
0.0.2 #
Added #
- ๐ Expanded the README with detailed installation and usage instructions.
- ๐๏ธ Documented all diagnostic visibility modes:
debug,profile,release,debugAndRelease, andall. - โ๏ธ Added explanations for configuration options and diagnostic session management.
- ๐ Improved documentation for HTTP network instrumentation.
- ๐ Expanded PDF reporting and platform support documentation.
- ๐ Added privacy, performance, and troubleshooting guidance.
- ๐จ Improved README presentation with emojis, badges, and clearer section organization.
Changed #
- ๐ Improved the overall documentation structure and readability.
- ๐ก Clarified platform-dependent metric availability and network instrumentation limitations.
0.0.1 Initial Release #
Added #
- ๐ Initial release of the
device_diagnosticsFlutter package. - ๐ Diagnostic session management and configurable metric collection.
- ๐ฑ Device and platform metric reporting where supported.
- โก Frame performance monitoring where enabled and supported.
- ๐ Network instrumentation for requests made through
DiagnosticHttpClient. - ๐งญ Screen route visit tracking through the route observer.
- ๐ PDF diagnostic report generation and optional sharing.
- ๐ ๏ธ Diagnostic overlay and observability integration.
- โ๏ธ Configuration options for diagnostic visibility and sampling behavior.
Notes #
- Metric availability depends on the operating system and platform implementation.
- Unsupported metrics may be unavailable.
- Network instrumentation observes only traffic covered by the configured instrumentation.
- Diagnostic measurements may vary depending on platform support, sampling conditions, and application workload.