Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

revert(analytics): Revert versioning #355

Merged
merged 6 commits into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions packages/analytics/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,3 @@
## [2.0.0]
- Introduced a flexible configuration system to support multiple analytics providers.
- Added `BaseAnalyticsConfiguration` interface for standardizing analytics configuration.
- Internalized and restructured Datadog analytics by providing a `DerivDatadog` class that implements `BaseAnalytics<DerivDatadogConfiguration>`.
- Refined existing analytics services to have their own classes implementing `BaseAnalytics`.
- Introduced Enum types and extensions (`TrackingConsent`, `DatadogSite`) to aid in analytics configuration.
- Improved navigation observer support to work with multiple analytics providers.
- Enhanced exception handling to capture Flutter and Platform-specific errors.
- Added ability to set user information for analytics tracking.
- Replaced in-house Rudderstack plugin with the official Rudderstack SDK.

### Breaking changes:
**General**:
- `setup()` method for analytics providers now requires configuration classes implementing `BaseAnalyticsConfiguration`.
- Exception handling updated to include multiple analytics providers.
- Rudderstack: Now requires the official Rudderstack SDK for analytics. Update dependencies accordingly.
- Datadog: Migrated from a separate package to an internal implementation within this package.
- Existing analytics services have been restructured to implement `BaseAnalytics`, potentially changing function signatures and configurations.

## [1.0.0]
- Migrated the package to null safety.

Expand Down
2 changes: 1 addition & 1 deletion packages/analytics/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: analytics
description: A new Flutter package for collecting and sending analytical information from the app.
version: 2.0.0
version: 1.0.0

homepage: https://deriv.com/
publish_to: "none"
Expand Down