From 8db0aa1e8c418289b9a972529b0f47902c559550 Mon Sep 17 00:00:00 2001 From: Elias Yishak <42216813+eliasyishak@users.noreply.github.com> Date: Fri, 23 Jun 2023 15:38:22 -0400 Subject: [PATCH] Bump versions to publish (#116) * Bump versions to publish * Update labels for camelcase events --- pkgs/unified_analytics/CHANGELOG.md | 2 +- pkgs/unified_analytics/lib/src/constants.dart | 2 +- pkgs/unified_analytics/lib/src/enums.dart | 4 ++-- pkgs/unified_analytics/pubspec.yaml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/unified_analytics/CHANGELOG.md b/pkgs/unified_analytics/CHANGELOG.md index ac79db645..0b4d08c5b 100644 --- a/pkgs/unified_analytics/CHANGELOG.md +++ b/pkgs/unified_analytics/CHANGELOG.md @@ -1,4 +1,4 @@ -## 3.0.0-wip +## 3.0.0 - Allow latest package versions for `file` and `http` - Introducing new `Event` class that will standardize what event data can be sent with each event diff --git a/pkgs/unified_analytics/lib/src/constants.dart b/pkgs/unified_analytics/lib/src/constants.dart index 77edf9709..d3591d91f 100644 --- a/pkgs/unified_analytics/lib/src/constants.dart +++ b/pkgs/unified_analytics/lib/src/constants.dart @@ -70,7 +70,7 @@ const int kLogFileLength = 2500; const String kLogFileName = 'dart-flutter-telemetry.log'; /// The current version of the package, should be in line with pubspec version. -const String kPackageVersion = '3.0.0-wip'; +const String kPackageVersion = '3.0.0'; /// The minimum length for a session const int kSessionDurationMinutes = 30; diff --git a/pkgs/unified_analytics/lib/src/enums.dart b/pkgs/unified_analytics/lib/src/enums.dart index ff10f977c..d84e24eb6 100644 --- a/pkgs/unified_analytics/lib/src/enums.dart +++ b/pkgs/unified_analytics/lib/src/enums.dart @@ -32,7 +32,7 @@ enum DashEvent { description: 'Requests sent from the client', ), commandExecuted( - label: 'commandExecuted', + label: 'command_executed', description: 'Number of times a command is executed', ), contextStructure( @@ -52,7 +52,7 @@ enum DashEvent { description: 'Request responses from plugins', ), pluginUse( - label: 'pluginUse', + label: 'plugin_use', description: 'Information about how often a plugin was used', ), serverSession( diff --git a/pkgs/unified_analytics/pubspec.yaml b/pkgs/unified_analytics/pubspec.yaml index ca87aa433..9727340f9 100644 --- a/pkgs/unified_analytics/pubspec.yaml +++ b/pkgs/unified_analytics/pubspec.yaml @@ -4,7 +4,7 @@ description: >- to Google Analytics. # When updating this, keep the version consistent with the changelog and the # value in lib/src/constants.dart. -version: 3.0.0-wip +version: 3.0.0 repository: https://github.com/dart-lang/tools/tree/main/pkgs/unified_analytics environment: