Releases: dart-lang/tools
Releases · dart-lang/tools
package:unified_analytics v5.0.0
- Update to the latest version of
package:dart_flutter_team_lints
- Using internal futures list to store send events
- Added the
Event.doctorValidatorResult
constructor
Potential breaking changes due to the function signature changing for the Analytics.send
and Analytics.close
methods.
package:cli_config v0.1.2
- Add usage docs to the readme.
- Require Dart 3.0.
package:unified_analytics v4.0.1
- Adding constant for the NoOpAnalytics instance client ID to enable clients to reference it in tests
unified_analytics-v4.0.0
- Enhanced
LogFileStats
data to include information about flutter channel counts and tool counts - Added new method to suppress telemetry collection temporarily for current invocation via
analytics.suppressTelemetry()
- Added
SurveyHandler
feature toAnalytics
instance to fetch available surveys from remote endpoint to display to users along with functionality to dismiss them - Surveys will be disabled for any users that have been opted out
- Shipping
FakeAnalytics
for clients of this tool that need to ensure workflows are sending events in tests - Adding getter to
Analytics
instance to fetch the client ID being sent to GA4
Potential breaking change for clients using this package that implement Analytics
since there is a new instance getter for clientId
package:extension_discovery v2.0.0 Latest
- Use
extension/<package>/config.yaml
instead of
extension/<package>/config.json
for better consistency with other tooling. - Require that the top-level value in
extension/<package>/config.yaml
is
always aMap
, and that the structure can be converted to a JSON equivalent
structure.
package:extension_discovery v1.0.1
- Support optional
packageUri
.- Improve error messaging forpackage_config.json
parsing.- Update the package description.
unified_analytics-v3.0.0
- Allow latest package versions for
file
andhttp
- Introducing new
Event
class that will standardize what event data can be sent with each event - Deprecating the
sendEvent
method in favor of thesend
method
Breaking change has been introduced when swapping Analytics.sendEvent()
for Analytics.send()
with a new Event
class for .send()
unified_analytics-v2.0.0
- Refactoring
dateStamp
utility function to be defined inutils.dart
instead of having static methods inInitializer
andConfigHandler
- Remove the
pddFlag
now that the revisions to the PDD have been finalized to persist data in the log file and session json file - Opting out will now delete the contents of the CLIENT ID, session json, and log files; opting back in will regenerate them as events send
enableAsserts
parameter added to constructors forAnalytics
to check body of POST request for Google Analytics 4 limitations- Now checking if write permissions are enabled for user's home directory, if not allowed,
NoOpAnalytics
returned byAnalytics
factory constructor
Breaking change introduced when changing the default constructor for Analytics
to remove overrides. This change is due to the revision of the privacy document being approved.
graphs-v2.3.1
- Update package repository after move.
unified_analytics-v1.1.0
- Added a
okToSend
getter so that clients can easily and accurately check the state of the consent mechanism. - Initialize the config file with user opted out if user was opted out in legacy Flutter and Dart analytics