NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #99 most downloaded on pub.dev
A package for logging analytics for all Dart and Flutter related tooling to Google Analytics.
Last release 1 months ago
26 Aug 2026
Release timing varies
gaps range from 2 weeks to 5 months
Nearly every release is documented
notes for 49 of 53 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
54 releases · first in 2023
One column per quarter.
Added optional hostArch parameter to Event.flutterCommandResult .
hostArch parameter to Event.flutterCommandResult.pubspecHasFlutterSdk, pubspecEnvironmentSdk, and pubspecDependencies parameters to the Event.dartCliCommandExecuted constructor.hostArch parameter to Event.flutterCommandResult.pubspecHasFlutterSdk, pubspecEnvironmentSdk, and
pubspecDependencies parameters to the Event.dartCliCommandExecuted
constructor.minSdkConstraints and languageVersionOverrides parameters
to the Event.contextStructure constructor.isExternal to indicate if analytics are collected from an extenal build
system. The analytics consent mechanism is bypassed for non external builds.Added optional agentPlugin parameter to the Event.dartMCPEvent constructor to identify agent plugin usage.
Added Event.packageSkillsEvent to track events from package:skills.
Event.packageSkillsEvent to track events from package:skills.dart format.Added IDE and plugin information to Event.serverSession .
Event.serverSession.Exception or Error thrown while reading or writing analytics logs.agent parameter to Analytics constructors to track the AI coding assistant/agent executing the tool.Added HCPP related analytics to Event.commandUsageValues.
Event.commandUsageValues.Added success indicator and label to Event.flutterTrackAndroidDependencies
success indicator and label to Event.flutterTrackAndroidDependenciesDeprecated Event.flutterWasmDryRun in favor of Event.flutterWasmDryRunPackage.
Event.flutterTrackAndroidDependencies to track android dependencies.Event.flutterWasmDryRun in favor of Event.flutterWasmDryRunPackage.Event.plugins to track new analyzer pluginsDashEvent.ideEvent to track IDE reported events.Added Event.flutterWasmDryRunPackage to track dart2wasm dry run metrics from Flutter including public package information.
Event.flutterWasmDryRunPackage to track dart2wasm dry run metrics from Flutter
including public package information.Fix Event.flutterWasmDryRun fields.
Event.flutterWasmDryRun fields.Changed Event.flutterWasmDryRun to track dart2wasm dry run metrics from Flutter.
Event.flutterWasmDryRun to track dart2wasm dry run metrics from Flutter.Added Event.dartMCPEvent for events from the dart mcp-server command.
Event.dartMCPEvent for events from the dart mcp-server command.Added Event.flutterInjectDarwinPlugins event for plugins injected into an iOS/macOS project.
Event.flutterInjectDarwinPlugins event for plugins injected into an iOS/macOS project.Allow LogStatsFile to contain more granular event types (specifically property_editor events).
LogStatsFile to contain more granular event types (specifically property_editor events).Fixed UnsupportedError thrown when Event.exception is called without providing a value for args.
UnsupportedError thrown when Event.exception is called without providing a value for args.Added a required parameter screen to the Event.devtoolsEvent constructor.
screen to the Event.devtoolsEvent constructor.additionalMetrics to the Event.devtoolsEvent constructor.CustomMetrics class for unified_analytics clients to define custom event metrics.uiDurationMicros, rasterDurationMicros, shaderCompilationDurationMicros,
traceEventCount, cpuSampleCount, cpuStackDepth, heapDiffObjectsBefore, heapDiffObjectsAfter,
heapObjectsTotal, rootSetCount, rowCount, inspectorTreeControllerId, androidAppId, iosBundleId
from the Event.devtoolsEvent constructor.Nothing published for this version
Remove any data entries with a null value in the Event.exception constructor.
data entries with a null value in the Event.exception constructor.Fix formatting and remove dependency on package:intl.
package:intl.package:path in favor of package:file.androidAppId and iosBundleId to the Event.devtoolsEvent constructor.Added isWasm parameter to the Event.devtoolsEvent constructor.
isWasm parameter to the Event.devtoolsEvent constructor.data to the Event.exception constructor.Avoid opening large telemetry log files to prevent out of memory errors.
Fixed bug where calling Analytics.send could result in a FileSystemException when unable to write to a log file.
Analytics.send could result in a FileSystemException when unable to write to a log file.Added new event constructor Event.devtoolsEvent for the single devtools event with a new enum value DashEvent.devtoolsEvent
Event.devtoolsEvent for the single devtools event with a new enum value DashEvent.devtoolsEventConsolidate Session functionality into UserProperty to prevent race condition crash where session logic crashed before initializing UserProperty
Session functionality into UserProperty to prevent race condition crash where session logic crashed before initializing UserPropertylate variables throughout implementation class, AnalyticsImplEvent.analyticsException) encountered within package will be sent when invoking Analytics.close; replacing ErrorHandler functionalityFakeAnalytics.sendPendingErrorEvents to send error events on commandEvent.fromJson static method to generate instance of Event from JSONmeasurementId and apiSecret from the Analytics.test constructorAnalytics.test factory constructor in favor of Analytics.fake static method to return a FakeAnalytics instanceFakeAnalytics default constructor in favor of Analytics.fakeBug fix rewrite the other call site for the session file
Nothing published for this version
Nothing published for this version
Bug fix to rewrite the last_ping key into the session json file
last_ping key into the session json fileRefactored session handler class to use the last modified timestamp as the last ping value to prevent writing to file with each send
Fix late initialization error for Analytics.userProperty bug
Analytics.userProperty bugExporting all enums from `enums.dart` through lib/testing.dart
enums.dart through lib/testing.dartFix bug when parsing session json file
Added new event Event.analyticsException to track internal errors for this package
Event.analyticsException to track internal errors for this packageAnalytics.test factory to return an instance of FakeAnalyticsRefactor logic for okToSend and shouldShowMessage
okToSend and shouldShowMessageFix template string for consent message
enabledFeatures to constructor to collect features enabled for each dash toolNothing published for this version
Added the Event.commandUsageValues constructor
Event.commandUsageValues constructorAdded the Event.timing constructor
Event.timing constructorEdit to the Event.flutterCommandResult constructor to add commandHasTerminal
Event.flutterCommandResult constructor to add commandHasTerminalAnalytics.setTelemetry to prevent the clients from hangingEvent.appleUsageEvent constructorEvent.exception constructorAdded the Event.codeSizeAnalysis constructor
Event.codeSizeAnalysis constructorUser property "host_os_version" added to provide detail version information about the host
Event.flutterCommandResult constructorAdded the Event.hotRunnerInfo constructor
Event.hotRunnerInfo constructorAdded the Event.flutterBuildInfo constructor
Event.flutterBuildInfo constructorUpdate to the latest version of package:dart_flutter_team_lints
package:dart_flutter_team_lintsEvent.doctorValidatorResult constructorAdding constant for the NoOpAnalytics instance client ID to enable clients to reference it in tests
Enhanced LogFileStats data to include information about flutter channel counts and tool counts
LogFileStats data to include information about flutter channel counts and tool countsanalytics.suppressTelemetry()SurveyHandler feature to Analytics instance to fetch available surveys from remote endpoint to display to users along with functionality to dismiss themFakeAnalytics for clients of this tool that need to ensure workflows are sending events in testsAnalytics instance to fetch the client ID being sent to GA4Old functions still exists as deprecated, forwarding to the new functions without the preferNewest argument. Makes PackageConfig , Package and Languag…
findPackageConfigAndFile and findPackageConfigAndUri..packages file..packages files.packages.readAnyConfigFile to readConfigFile, and removedpreferNewest parameter.readAnyConfigFileUri which becomes readConfigFileUri.preferNewest argument.PackageConfig, Package and LanguageVersion @sealed classes,final in a future update.PackageConfig.minVersion to complement .maxVersion.2.file and httpEvent class that will standardize what event data can be sent with each eventsendEvent method in favor of the send methodRefactoring dateStamp utility function to be defined in utils.dart instead of having static methods in Initializer and ConfigHandler
dateStamp utility function to be defined in utils.dart instead of having static methods in Initializer and ConfigHandlerpddFlag now that the revisions to the PDD have been finalized to persist data in the log file and session json fileenableAsserts parameter added to constructors for Analytics to check body of POST request for Google Analytics 4 limitationsNoOpAnalytics returned by Analytics factory constructorAdd a deepCopyLinks argument to copyPath and copyPathSync .
deepCopyLinks argument to copyPath and copyPathSync.@visibleForTesting annotation from SharedStdIn.SharedStdIn.new.
AnsiCode and AnsiCodeType marked final. ThesefinalexpectApiSummaryClean, ApiSummaryFormat, andApiSummaryVerificationException to support one-liner golden file verificationdart test (e.g. test('api_summary', expectApiSummaryClean);).--write (-w), --check (-c), and --output (-o) flags to theapi_summary CLI executable.okToSend getter so that clients can easily and accurately check the state of the consent mechanism.Error handling on the analytics.sendEvent(...) method to silently error out and return a 500 http status code to let tools using this package know Goo
analytics.sendEvent(...) method to silently error out and return a 500 http status code to let tools using this package know Google Analytics did not receive the event (all successful requests will have a status code of 2xx provided by Google Analytics)Initial stable release.
clientShowedMessage()Implemented fake Google Analytics Client for Analytics.test(...) constructor; marked with visible for testing annotation
Analytics.test(...) constructor; marked with visible for testing annotationBumping intl package to 0.18.0 to fix version solving issue with flutter_tools
- Initial version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →