diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 9e4e115..c0a3268 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,7 +1,9 @@ -## 1.2.0 +## 2.0.0 -- Added iOS UIScene life cycle support (deep links are now received via `scene(_:openURLContexts:)`) -- **Breaking:** requires Flutter 3.38 or newer. Apps on an older Flutter version should stay on `segment_analytics: 1.1.13` +- **Breaking:** requires Flutter 3.38 or newer on every platform. Apps on an older Flutter version should stay on `segment_analytics: 1.1.13` (#220) +- iOS: added UIScene life cycle support. Deep links are now also received via `scene(_:openURLContexts:)`, so `trackDeeplinks` keeps working in apps that adopt UIScene (#220) +- iOS: the User-Agent is now generated the same way as analytics-swift instead of being read from a `WKWebView`, which blocked the main thread for up to ~300 ms at launch. It now reports the real OS version (e.g. `iPhone OS 26_4_1` rather than WebKit's frozen `18_7`), and iPads report `CPU iPad OS` (#222) +- Web: fixed persistence under WebAssembly builds (`flutter build web --wasm`), which fell back to an unsupported storage stub (#165) ## 1.1.13 diff --git a/packages/core/README.md b/packages/core/README.md index 196efd2..b9397e4 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -58,7 +58,7 @@ Run: `flutter pub add segment_analytics` -> **Flutter version compatibility:** `segment_analytics` 1.2.0 and newer require Flutter 3.38+ (iOS UIScene life cycle support). If you are on an older Flutter version, pin `segment_analytics: 1.1.13`. +> **Flutter version compatibility:** `segment_analytics` 2.0.0 and newer require Flutter 3.38+ (iOS UIScene life cycle support). If you are on an older Flutter version, pin `segment_analytics: 1.1.13`. ```dart import 'package:segment_analytics/client.dart'; diff --git a/packages/core/lib/version.dart b/packages/core/lib/version.dart index 3490806..bd2d609 100644 --- a/packages/core/lib/version.dart +++ b/packages/core/lib/version.dart @@ -1 +1 @@ -const segmentVersion = "1.2.0"; +const segmentVersion = "2.0.0"; diff --git a/packages/core/pubspec.yaml b/packages/core/pubspec.yaml index 7c3aec8..6d6b98a 100644 --- a/packages/core/pubspec.yaml +++ b/packages/core/pubspec.yaml @@ -1,6 +1,6 @@ name: segment_analytics description: The hassle-free way to add Segment analytics to your Flutter app. -version: 1.2.0 +version: 2.0.0 homepage: https://github.com/segmentio/analytics_flutter#readme repository: https://github.com/segmentio/analytics_flutter/tree/main/packages/core#readme issue_tracker: https://github.com/segmentio/analytics_flutter/issues diff --git a/packages/plugins/plugin_adjust/CHANGELOG.md b/packages/plugins/plugin_adjust/CHANGELOG.md index c82439e..1897bc9 100644 --- a/packages/plugins/plugin_adjust/CHANGELOG.md +++ b/packages/plugins/plugin_adjust/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.3 + +- Allow `segment_analytics` 2.x + ## 1.0.2 - Updating dependencies diff --git a/packages/plugins/plugin_adjust/pubspec.yaml b/packages/plugins/plugin_adjust/pubspec.yaml index bf8479a..95ad23b 100644 --- a/packages/plugins/plugin_adjust/pubspec.yaml +++ b/packages/plugins/plugin_adjust/pubspec.yaml @@ -1,6 +1,6 @@ name: segment_analytics_plugin_adjust description: The hassle-free way to add Segment analytics to your Flutter app. -version: 1.0.2 +version: 1.0.3 homepage: https://github.com/segmentio/analytics_flutter#readme repository: https://github.com/segmentio/analytics_flutter/tree/main/packages/plugins/plugin_adjust#readme issue_tracker: https://github.com/segmentio/analytics_flutter/issues @@ -12,7 +12,7 @@ environment: dependencies: flutter: sdk: flutter - segment_analytics: ^1.1.1 + segment_analytics: ">=1.1.1 <3.0.0" json_annotation: ^4.9.0 adjust_sdk: ^5.0.2 diff --git a/packages/plugins/plugin_advertising_id/CHANGELOG.md b/packages/plugins/plugin_advertising_id/CHANGELOG.md index 37229a5..de091ec 100644 --- a/packages/plugins/plugin_advertising_id/CHANGELOG.md +++ b/packages/plugins/plugin_advertising_id/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.0.1 + +- Allow `segment_analytics` 2.x +- Android: fixed a "Reply already submitted" crash when Limit Ad Tracking is enabled (#77) + ## 1.0.0 - Initial version, based off the React Native implementation (@segment/analytics-react-native-plugin-advertising-id) v1.2.0 diff --git a/packages/plugins/plugin_advertising_id/pubspec.yaml b/packages/plugins/plugin_advertising_id/pubspec.yaml index 074efa2..955ae05 100644 --- a/packages/plugins/plugin_advertising_id/pubspec.yaml +++ b/packages/plugins/plugin_advertising_id/pubspec.yaml @@ -1,6 +1,6 @@ name: segment_analytics_plugin_advertising_id description: The hassle-free way to add Segment analytics to your Flutter app. -version: 1.0.0 +version: 1.0.1 homepage: https://github.com/segmentio/analytics_flutter#readme repository: https://github.com/segmentio/analytics_flutter/tree/main/packages/plugins/plugin_advertising_id#readme issue_tracker: https://github.com/segmentio/analytics_flutter/issues @@ -12,7 +12,7 @@ environment: dependencies: flutter: sdk: flutter - segment_analytics: ^1.0.0 + segment_analytics: ">=1.0.0 <3.0.0" plugin_platform_interface: ^2.0.2 dev_dependencies: diff --git a/packages/plugins/plugin_amplitude/CHANGELOG.md b/packages/plugins/plugin_amplitude/CHANGELOG.md index 01eb584..fd6d1d9 100644 --- a/packages/plugins/plugin_amplitude/CHANGELOG.md +++ b/packages/plugins/plugin_amplitude/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.1 + +- Allow `segment_analytics` 2.x + ## 1.0.0 - Initial Version diff --git a/packages/plugins/plugin_amplitude/pubspec.yaml b/packages/plugins/plugin_amplitude/pubspec.yaml index 023c56b..3da2cb2 100644 --- a/packages/plugins/plugin_amplitude/pubspec.yaml +++ b/packages/plugins/plugin_amplitude/pubspec.yaml @@ -1,6 +1,6 @@ name: segment_analytics_plugin_amplitude description: "amplitude plugin." -version: 1.0.0 +version: 1.0.1 homepage: https://github.com/segmentio/analytics_flutter#readme repository: https://github.com/segmentio/analytics_flutter/tree/main/packages/plugins/plugin_amplitude#readme issue_tracker: https://github.com/segmentio/analytics_flutter/issues @@ -12,7 +12,7 @@ environment: dependencies: flutter: sdk: flutter - segment_analytics: ^1.0.0 + segment_analytics: ">=1.0.0 <3.0.0" json_annotation: ^4.8.0 amplitude_flutter: ^3.13.0 diff --git a/packages/plugins/plugin_appsflyer/CHANGELOG.md b/packages/plugins/plugin_appsflyer/CHANGELOG.md index a5e8884..f46e439 100644 --- a/packages/plugins/plugin_appsflyer/CHANGELOG.md +++ b/packages/plugins/plugin_appsflyer/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.3 + +- Allow `segment_analytics` 2.x + ## 1.0.2 - Updating AppsFlyer SDK version diff --git a/packages/plugins/plugin_appsflyer/pubspec.yaml b/packages/plugins/plugin_appsflyer/pubspec.yaml index a3d9462..ac44e25 100644 --- a/packages/plugins/plugin_appsflyer/pubspec.yaml +++ b/packages/plugins/plugin_appsflyer/pubspec.yaml @@ -1,6 +1,6 @@ name: segment_analytics_plugin_appsflyer description: The hassle-free way to add Segment analytics to your Flutter app. -version: 1.0.2 +version: 1.0.3 homepage: https://github.com/segmentio/analytics_flutter#readme repository: https://github.com/segmentio/analytics_flutter/tree/main/packages/plugins/plugin_appsflyer#readme issue_tracker: https://github.com/segmentio/analytics_flutter/issues @@ -12,7 +12,7 @@ environment: dependencies: flutter: sdk: flutter - segment_analytics: ^1.1.1 + segment_analytics: ">=1.1.1 <3.0.0" json_annotation: ^4.9.0 appsflyer_sdk: ^6.15.2 diff --git a/packages/plugins/plugin_firebase/CHANGELOG.md b/packages/plugins/plugin_firebase/CHANGELOG.md index a121c5b..029f055 100644 --- a/packages/plugins/plugin_firebase/CHANGELOG.md +++ b/packages/plugins/plugin_firebase/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.2 + +- Allow `segment_analytics` 2.x + ## 1.0.1 - Updated dependencies diff --git a/packages/plugins/plugin_firebase/pubspec.yaml b/packages/plugins/plugin_firebase/pubspec.yaml index 24c06b4..9225e95 100644 --- a/packages/plugins/plugin_firebase/pubspec.yaml +++ b/packages/plugins/plugin_firebase/pubspec.yaml @@ -1,6 +1,6 @@ name: segment_analytics_plugin_firebase description: The hassle-free way to add Segment analytics to your Flutter app. -version: 1.0.1 +version: 1.0.2 homepage: https://github.com/segmentio/analytics_flutter#readme repository: https://github.com/segmentio/analytics_flutter/tree/main/packages/plugins/plugin_firebase#readme issue_tracker: https://github.com/segmentio/analytics_flutter/issues @@ -15,7 +15,7 @@ dependencies: flutter: sdk: flutter json_annotation: ^4.8.0 - segment_analytics: ^1.1.1 + segment_analytics: ">=1.1.1 <3.0.0" dev_dependencies: build_runner: ^2.3.3 diff --git a/packages/plugins/plugin_idfa/CHANGELOG.md b/packages/plugins/plugin_idfa/CHANGELOG.md index 60291d1..a61ce30 100644 --- a/packages/plugins/plugin_idfa/CHANGELOG.md +++ b/packages/plugins/plugin_idfa/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.4 + +- Allow `segment_analytics` 2.x + ## 1.0.3 - Fixed Swift Package Manager support for iOS: the package now uses the layout Flutter 3.44+ expects diff --git a/packages/plugins/plugin_idfa/pubspec.yaml b/packages/plugins/plugin_idfa/pubspec.yaml index 93a15f1..5add282 100644 --- a/packages/plugins/plugin_idfa/pubspec.yaml +++ b/packages/plugins/plugin_idfa/pubspec.yaml @@ -1,6 +1,6 @@ name: segment_analytics_plugin_idfa description: The hassle-free way to add Segment analytics to your Flutter app. -version: 1.0.3 +version: 1.0.4 homepage: https://github.com/segmentio/analytics_flutter#readme repository: https://github.com/segmentio/analytics_flutter/tree/main/packages/plugins/plugin_idfa#readme issue_tracker: https://github.com/segmentio/analytics_flutter/issues @@ -12,7 +12,7 @@ environment: dependencies: flutter: sdk: flutter - segment_analytics: ^1.0.0 + segment_analytics: ">=1.0.0 <3.0.0" plugin_platform_interface: ^2.0.2 dev_dependencies: