From 1a0d7daaf5e4dcb996506b0d3a491b7033ae437d Mon Sep 17 00:00:00 2001 From: Elias Yishak <42216813+eliasyishak@users.noreply.github.com> Date: Mon, 26 Feb 2024 13:00:03 -0500 Subject: [PATCH] Export `testing.dart` with all enums (#237) * Export `testing.dart` with all enums * Prep for publishing --- pkgs/unified_analytics/CHANGELOG.md | 4 ++++ pkgs/unified_analytics/lib/src/constants.dart | 2 +- pkgs/unified_analytics/lib/testing.dart | 1 + pkgs/unified_analytics/pubspec.yaml | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 pkgs/unified_analytics/lib/testing.dart diff --git a/pkgs/unified_analytics/CHANGELOG.md b/pkgs/unified_analytics/CHANGELOG.md index 19a91ef7a..8dcf985be 100644 --- a/pkgs/unified_analytics/CHANGELOG.md +++ b/pkgs/unified_analytics/CHANGELOG.md @@ -1,3 +1,7 @@ +## 5.8.4 + +- Exporting all enums from [`enums.dart`](https://github.com/dart-lang/tools/blob/main/pkgs/unified_analytics/lib/src/enums.dart) through `lib/testing.dart` + ## 5.8.3 - [Fix bug](https://github.com/flutter/flutter/issues/143792) when parsing session json file diff --git a/pkgs/unified_analytics/lib/src/constants.dart b/pkgs/unified_analytics/lib/src/constants.dart index 04b749aaf..77ec0212f 100644 --- a/pkgs/unified_analytics/lib/src/constants.dart +++ b/pkgs/unified_analytics/lib/src/constants.dart @@ -82,7 +82,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 = '5.8.3'; +const String kPackageVersion = '5.8.4'; /// The minimum length for a session. const int kSessionDurationMinutes = 30; diff --git a/pkgs/unified_analytics/lib/testing.dart b/pkgs/unified_analytics/lib/testing.dart new file mode 100644 index 000000000..f6194bfb6 --- /dev/null +++ b/pkgs/unified_analytics/lib/testing.dart @@ -0,0 +1 @@ +export 'src/enums.dart'; diff --git a/pkgs/unified_analytics/pubspec.yaml b/pkgs/unified_analytics/pubspec.yaml index 1de690100..cc57c0d51 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: 5.8.3 +version: 5.8.4 repository: https://github.com/dart-lang/tools/tree/main/pkgs/unified_analytics environment: