From 700192bf9c0380da093005f32a197cf33c2755d7 Mon Sep 17 00:00:00 2001 From: Neelkanth Kaushik Date: Fri, 23 May 2025 12:47:40 +0530 Subject: [PATCH 1/3] Release Notes for version 1.1.7 --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index a400ead..208a28a 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,26 @@ Some destination plugins might not support all platform functionality. Refer to See the [example app](./example/README.md) to check a full test app of how to integrate Analytics-Flutter into your own Flutter app. +## Release Notes + +### Version 1.1.7 + +1. **Release Date** - 21st May 2025. + +2. **Fixes Github Issue [#144](https://github.com/segmentio/analytics_flutter/issues/144)** - Up to version 1.1.6, the `setFlushPolicies` method inadvertently overwrote the `Configuration.collectDeviceId`property. This issue has been resolved in version 1.1.7. + +3. **Fixes Github Issue [#147](https://github.com/segmentio/analytics_flutter/issues/147)** - The `compileSdkVersion` in the `build.gradle` file has been updated from 31 to 35. Previously, this caused the following error: +`Android build error "Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'android.content.pm.ApplicationInfo?"` . This update resolves the issue with `compileSdkVersion 35`. + +4. **Fixes Github Issue [#138](https://github.com/segmentio/analytics_flutter/issues/138)** - Prior to version 1.1.7, the version field returned the browser's version string instead of the app version from `pubspec.yaml`. Since `pubspec.yaml` is a build-time configuration file and not accessible at runtime (especially in browser environments), this was expected behavior. +As of version 1.1.7, if the following tag is added to `/web/index.html`: `` +the app will return the value in the `content` attribute. +**Note:** This value should be manually synchronized with the version in `pubspec.yaml`. + +5. **Fixes Github Issue [#152](https://github.com/segmentio/analytics_flutter/issues/152) and [#98](https://github.com/segmentio/analytics_flutter/issues/98)** - Until version 1.1.6, the `integrations: {}` field was missing in the data payload sent to the Segment server. This has been addressed in version 1.1.7. + +6. **Fixes Github Issue [#157](https://github.com/segmentio/analytics_flutter/issues/157)** - Resolves the `Concurrent modification during iteration: Instance(length: 6) of '_GrowableList'` error that occurred when multiple plugins were added simultaneously. + ## Contributing See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow. From 5f6c3ffb57b789f23aec360fbe3f2ad2e4a0ec14 Mon Sep 17 00:00:00 2001 From: Neelkanth Kaushik Date: Fri, 23 May 2025 19:20:46 +0530 Subject: [PATCH 2/3] Moved Release Notes from root README.md to packages/core/README.md --- README.md | 20 -------------------- packages/core/README.md | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 208a28a..a400ead 100644 --- a/README.md +++ b/README.md @@ -62,26 +62,6 @@ Some destination plugins might not support all platform functionality. Refer to See the [example app](./example/README.md) to check a full test app of how to integrate Analytics-Flutter into your own Flutter app. -## Release Notes - -### Version 1.1.7 - -1. **Release Date** - 21st May 2025. - -2. **Fixes Github Issue [#144](https://github.com/segmentio/analytics_flutter/issues/144)** - Up to version 1.1.6, the `setFlushPolicies` method inadvertently overwrote the `Configuration.collectDeviceId`property. This issue has been resolved in version 1.1.7. - -3. **Fixes Github Issue [#147](https://github.com/segmentio/analytics_flutter/issues/147)** - The `compileSdkVersion` in the `build.gradle` file has been updated from 31 to 35. Previously, this caused the following error: -`Android build error "Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'android.content.pm.ApplicationInfo?"` . This update resolves the issue with `compileSdkVersion 35`. - -4. **Fixes Github Issue [#138](https://github.com/segmentio/analytics_flutter/issues/138)** - Prior to version 1.1.7, the version field returned the browser's version string instead of the app version from `pubspec.yaml`. Since `pubspec.yaml` is a build-time configuration file and not accessible at runtime (especially in browser environments), this was expected behavior. -As of version 1.1.7, if the following tag is added to `/web/index.html`: `` -the app will return the value in the `content` attribute. -**Note:** This value should be manually synchronized with the version in `pubspec.yaml`. - -5. **Fixes Github Issue [#152](https://github.com/segmentio/analytics_flutter/issues/152) and [#98](https://github.com/segmentio/analytics_flutter/issues/98)** - Until version 1.1.6, the `integrations: {}` field was missing in the data payload sent to the Segment server. This has been addressed in version 1.1.7. - -6. **Fixes Github Issue [#157](https://github.com/segmentio/analytics_flutter/issues/157)** - Resolves the `Concurrent modification during iteration: Instance(length: 6) of '_GrowableList'` error that occurred when multiple plugins were added simultaneously. - ## Contributing See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow. diff --git a/packages/core/README.md b/packages/core/README.md index 5d1a3ff..6817b96 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -47,6 +47,7 @@ Some destination plugins might not support all platform functionality. Refer to - [Handling errors](#handling-errors) - [Reporting errors from plugins](#reporting-errors-from-plugins) - [Example App](#example-app) + - [Release Notes](#release-notes) - [Contributing](#contributing) - [Code of Conduct](#code-of-conduct) - [License](#license) @@ -575,6 +576,24 @@ try { See the [example app](../../example/README.md) to check a full test app of how to integrate Analytics-Flutter into your own Flutter app. +## Release Notes + +### Version 1.1.7 (21 May 2025) + +1. **Fixes Github Issue [#144](https://github.com/segmentio/analytics_flutter/issues/144)** - Up to version 1.1.6, the `setFlushPolicies` method inadvertently overwrote the `Configuration.collectDeviceId`property. This issue has been resolved in version 1.1.7. + +2. **Fixes Github Issue [#147](https://github.com/segmentio/analytics_flutter/issues/147)** - The `compileSdkVersion` in the `build.gradle` file has been updated from 31 to 35. Previously, this caused the following error: +`Android build error "Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'android.content.pm.ApplicationInfo?"` . This update resolves the issue with `compileSdkVersion 35`. + +3. **Fixes Github Issue [#138](https://github.com/segmentio/analytics_flutter/issues/138)** - Prior to version 1.1.7, the version field returned the browser's version string instead of the app version from `pubspec.yaml`. Since `pubspec.yaml` is a build-time configuration file and not accessible at runtime (especially in browser environments), this was expected behavior. +As of version 1.1.7, if the following tag is added to `/web/index.html`: `` +the app will return the value in the `content` attribute. +**Note:** This value should be manually synchronized with the version in `pubspec.yaml`. + +4. **Fixes Github Issue [#152](https://github.com/segmentio/analytics_flutter/issues/152) and [#98](https://github.com/segmentio/analytics_flutter/issues/98)** - Until version 1.1.6, the `integrations: {}` field was missing in the data payload sent to the Segment server. This has been addressed in version 1.1.7. + +5. **Fixes Github Issue [#157](https://github.com/segmentio/analytics_flutter/issues/157)** - Resolves the `Concurrent modification during iteration: Instance(length: 6) of '_GrowableList'` error that occurred when multiple plugins were added simultaneously. + ## Contributing See the [contributing guide](./CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow. From 3dd83473da84ec8c701bb2705054d40520bc5879 Mon Sep 17 00:00:00 2001 From: Neelkanth Kaushik Date: Fri, 23 May 2025 20:01:30 +0530 Subject: [PATCH 3/3] Removed extra quote from the package name in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a400ead..ae9c285 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ This is a monorepo containing all Segment packages ## Core (`segment_analytics`) -The main [`segment_analytics](http://pub.dev/packages/segment_analytics) package. +The main [segment_analytics](http://pub.dev/packages/segment_analytics) package. [Pub.dev](http://pub.dev/packages/segment_analytics)