Skip to content

Commit 4fa980e

Browse files
chore: bump version to v0.14.0 (#218)
## Description Release v0.14.0 — version bump and changelog update. ### What's included in this release **Added** - Swift Package Manager (SPM) support for the iOS plugin (#189, #35) - Android native unit test infrastructure (JUnit) with CI and pre-release script integration **Changed** - SDK metadata improvements: renamed SDK to `faro-mobile-flutter`, sends real SDK version, removed `Integration` model (#135) - Bump Android `compileSdkVersion` from 35 to 36 - Reorganized iOS source files for SPM directory convention - Bumped iOS deployment target from 11.0 to 13.0 - Updated `faro.podspec` metadata - Fixed pre-existing Swift compiler warnings in iOS native code **Fixed** - OOM crash in `ANRTracker` when capturing stack traces on low-memory Android devices (#174) ### Housekeeping - `version_bump.dart` now runs `flutter pub get` to keep `example/pubspec.lock` in sync - Updated `RELEASING.md` to reflect current version bump behavior - Fixed misplaced changelog entry (SDK metadata was under [0.10.0] instead of [Unreleased]) ## Type of Change - [x] 🧹 Chore / Housekeeping ## Checklist - [x] I have made corresponding changes to the documentation - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have updated the CHANGELOG.md under the "Unreleased" section Made with [Cursor](https://cursor.com) <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Low risk versioning/release automation changes; the only behavioral change is `tool/version_bump.dart` now runs `flutter pub get`, which could affect release scripting/CI environments without Flutter available. > > **Overview** > Prepares the `0.14.0` release by bumping package versions across `pubspec.yaml`, Android `build.gradle`, iOS `faro.podspec`, and `FaroConstants.sdkVersion`, and updating `example/pubspec.lock` accordingly. > > Updates release documentation and finalizes the `CHANGELOG.md` by adding the `0.14.0` section and moving the SDK metadata notes into the correct release entry. > > Enhances `tool/version_bump.dart` to also run `flutter pub get` so the example lockfile stays in sync after version bumps. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 38d5066. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 884dc17 commit 4fa980e

File tree

8 files changed

+30
-18
lines changed

8 files changed

+30
-18
lines changed

CHANGELOG.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.14.0] - 2026-04-14
11+
1012
### Fixed
1113

1214
- Fix OOM crash in `ANRTracker` when capturing stack traces on low-memory Android devices (#174).
1315

1416
### Changed
1517

18+
- **SDK metadata improvements**: Updated SDK identification to align with Faro Web SDK patterns and improve backend analytics
19+
- Changed SDK name from `'faro-flutter-sdk'` to `'faro-mobile-flutter'` to match naming convention discussed with Faro team
20+
- Removed hardcoded version `'1.3.5'` workaround and now sends actual SDK version in `meta.sdk.version`
21+
- Removed `integrations` field from SDK metadata (following Faro Web SDK pattern - this field provided no actionable insights)
22+
- Removed unused `Integration` model class and its export from models barrel file
23+
- Backend endpoint service now properly handles Flutter SDK payloads with correct version checking
24+
- Enables better SDK version analytics and distribution tracking across different Faro implementations
1625
- Bump Android `compileSdkVersion` from 35 to 36 (aligned with Flutter default since May 2025).
1726
- Reorganized iOS source files from `ios/Classes/` to `ios/faro/Sources/faro/` to support the SPM directory convention.
1827
- Bumped iOS deployment target from 11.0 to 13.0.
@@ -146,16 +155,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
146155

147156
- **Span.noParent sentinel**: New `Span.noParent` static constant allows explicitly starting a span with no parent, ignoring the active span in zone context. Useful for timer callbacks or event-driven scenarios where you want to start a fresh, independent trace. (Resolves #105)
148157

149-
### Changed
150-
151-
- **SDK metadata improvements**: Updated SDK identification to align with Faro Web SDK patterns and improve backend analytics
152-
- Changed SDK name from `'faro-flutter-sdk'` to `'faro-mobile-flutter'` to match naming convention discussed with Faro team
153-
- Removed hardcoded version `'1.3.5'` workaround and now sends actual SDK version (`0.9.0`) in `meta.sdk.version`
154-
- Removed `integrations` field from SDK metadata (following Faro Web SDK pattern - this field provided no actionable insights)
155-
- Removed unused `Integration` model class and its export from models barrel file
156-
- Backend endpoint service now properly handles Flutter SDK payloads with correct version checking
157-
- Enables better SDK version analytics and distribution tracking across different Faro implementations
158-
159158
### Fixed
160159

161160
- **SDK-internal span attributes now use typed values**: HTTP span attributes (`http.status_code`, `http.request_size`, `http.response_size`) are now sent as integers instead of strings, enabling proper numeric queries in Tempo (e.g., `status_code > 400`)

RELEASING.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ As you develop new features or fix bugs, add entries to the `CHANGELOG.md` under
5252

5353
This automatically:
5454

55-
- Updates version in `pubspec.yaml`, `ios/faro.podspec`, and `android/build.gradle`
56-
- Converts `## Unreleased``## 0.3.4 (2025-01-22)` in `CHANGELOG.md`
57-
- Creates a new empty `## Unreleased` section
55+
- Updates version in `pubspec.yaml`, `ios/faro.podspec`, `android/build.gradle`, and `lib/src/util/constants.dart`
56+
- Converts `## [Unreleased]``## [x.y.z] - YYYY-MM-DD` in `CHANGELOG.md`
57+
- Creates a new empty `## [Unreleased]` section
58+
- Runs `flutter pub get` to update `example/pubspec.lock`
5859

5960
4. **Commit Version Bump Changes**
6061

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group 'com.grafana.faro'
2-
version '0.13.0'
2+
version '0.14.0'
33

44
buildscript {
55
repositories {

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ packages:
183183
path: ".."
184184
relative: true
185185
source: path
186-
version: "0.13.0"
186+
version: "0.14.0"
187187
ffi:
188188
dependency: transitive
189189
description:

ios/faro.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
Pod::Spec.new do |s|
66
s.name = 'faro'
7-
s.version = '0.13.0'
7+
s.version = '0.14.0'
88
s.summary = 'Grafana Faro SDK for Flutter - mobile observability and real user monitoring.'
99
s.description = <<-DESC
1010
Grafana Faro SDK for Flutter applications. Monitor your Flutter app with ease

lib/src/util/constants.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/// Constants for the Faro Flutter SDK
22
class FaroConstants {
33
/// The version of the Faro Flutter SDK
4-
static const String sdkVersion = '0.13.0';
4+
static const String sdkVersion = '0.14.0';
55

66
/// The name of the Faro Flutter SDK
77
static const String sdkName = 'faro-mobile-flutter';

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: faro
22
description: Grafana Faro SDK for Flutter applications - Monitor your Flutter app with ease.
3-
version: 0.13.0
3+
version: 0.14.0
44
homepage: https://grafana.com/oss/faro/
55
repository: https://github.com/grafana/faro-flutter-sdk
66

tool/version_bump.dart

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,18 @@ Future<void> main(List<String> args) async {
189189
await updateChangelog(newVersion.toString());
190190
await updateConstants(newVersion.toString());
191191

192+
// Resolve dependencies so example/pubspec.lock reflects the new version
193+
stdout.writeln('Resolving dependencies...');
194+
final pubGetResult = await Process.run(
195+
'flutter',
196+
['pub', 'get'],
197+
workingDirectory: Directory.current.path,
198+
);
199+
if (pubGetResult.exitCode != 0) {
200+
stderr.writeln('Warning: flutter pub get failed:');
201+
stderr.writeln(pubGetResult.stderr);
202+
}
203+
192204
stdout.writeln('Successfully updated version to $newVersion');
193205
} catch (e) {
194206
stderr.writeln('Error updating version: $e');

0 commit comments

Comments
 (0)