diff --git a/CHANGELOG.md b/CHANGELOG.md index d5c5b70..ac14d57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,21 @@ Maintaining this file: ## [Unreleased] +## [2.2.3] - 2026-11-03 + +- iOS now requires `MiddlewareRum` 2.3.1 or a newer 2.x version. Add the Middleware + specs repo as a source in `ios/Podfile`, as described in the README, then run + `pod update MiddlewareRum` in `ios/`. Plain `pod install` fails against a + `Podfile.lock` that pins an older version, with an error that wrongly mentions the + deployment target. Until 2.3.1 is on CocoaPods trunk, it can't be found without + that source. +- iOS: a hot restart no longer doubles native `slowRenders` and `frozenRenders` + spans, or starts native instrumentation again. Native settings now apply once per + process, so relaunch the app to change them. +- iOS: a native frame now has to miss a vsync to count as slow, and native spans + report the screen that was showing when the frame was slow. Slow-render totals may + drop after upgrading. + ## [2.2.2] - 2026-10-28 - Bumped Android `io.github.middleware-labs:android-sdk` to 3.2.2 (was diff --git a/example/ios/Podfile b/example/ios/Podfile index 620e46e..0b32ac8 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -1,3 +1,6 @@ +source 'https://github.com/middleware-labs/cocoapods-specs.git' +source 'https://cdn.cocoapods.org/' + # Uncomment this line to define a global platform for your project # platform :ios, '13.0' diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 98eea17..79b48c3 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,11 +1,11 @@ PODS: - BitByteData (2.0.4) - - DeviceKit (5.9.0) + - DeviceKit (5.10.0) - Flutter (1.0.0) - middleware_flutter_opentelemetry (2.1.0): - Flutter - - MiddlewareRum (>= 2.3.0, ~> 2.3) - - MiddlewareRum (2.3.0): + - MiddlewareRum (>= 2.3.1, ~> 2.3) + - MiddlewareRum (2.3.1): - DeviceKit (~> 5.4) - PLCrashReporter (~> 1.11) - Reachability (~> 3.7) @@ -61,10 +61,11 @@ DEPENDENCIES: - middleware_flutter_opentelemetry (from `.symlinks/plugins/middleware_flutter_opentelemetry/ios`) SPEC REPOS: + https://github.com/middleware-labs/cocoapods-specs.git: + - MiddlewareRum trunk: - BitByteData - DeviceKit - - MiddlewareRum - PLCrashReporter - Reachability - SWCompression @@ -78,15 +79,15 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: BitByteData: 2422ed269fcddc44976d97f171a183d25ef535ce - DeviceKit: 90a1ff9c523d856d52a85d3b6088cad30f6234ff + DeviceKit: 37fc92e0e41f6b2586b510c4798e89d7b44d7bc4 Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467 - middleware_flutter_opentelemetry: 8b98bc210510ef5d3a4a2ed7ce353114cc4b9024 - MiddlewareRum: eb263cbb3da6dce5cda225f7d8cdbc72c8e09bf4 + middleware_flutter_opentelemetry: 3b4a63483a2ea4cbc2e5d05fd9f6bf4fc2f18ab8 + MiddlewareRum: 90091571a8a411f82016ac5f98a228f9f9949fa5 PLCrashReporter: db59ef96fa3d25f3650040d02ec2798cffee75f2 Reachability: 8bf74b755b2993968c344b465c13e602db2b1044 SWCompression: 9379873ad5e9f25b31db88c441649b59a4c2bab7 SwiftProtobuf: b109bd17979d7993a84da14b1e1fdd8b0ded934a -PODFILE CHECKSUM: 3c63482e143d1b91d2d2560aee9fb04ecc74ac7e +PODFILE CHECKSUM: 2dd8a1b3979d16249fda199a29b1e334a22fd3b1 COCOAPODS: 1.17.0 diff --git a/example/pubspec.lock b/example/pubspec.lock index 967ba9c..139c5a9 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -286,7 +286,7 @@ packages: path: ".." relative: true source: path - version: "2.2.2" + version: "2.2.3" mime: dependency: transitive description: diff --git a/ios/middleware_flutter_opentelemetry.podspec b/ios/middleware_flutter_opentelemetry.podspec index 22494d3..eb4605f 100644 --- a/ios/middleware_flutter_opentelemetry.podspec +++ b/ios/middleware_flutter_opentelemetry.podspec @@ -17,7 +17,7 @@ reporting and v3 session recording. s.dependency 'Flutter' # Stable native SDK (2.1+ adds setNativeSession); static_framework pod, # brings PLCrashReporter/DeviceKit/SwiftProtobuf/SWCompression/Reachability. - s.dependency 'MiddlewareRum', '~> 2.3', '>= 2.3.0' + s.dependency 'MiddlewareRum', '~> 2.3', '>= 2.3.1' s.swift_version = '5.0' # MiddlewareRum is a static framework; this pod must be static too so apps diff --git a/lib/src/util/sdk_version.dart b/lib/src/util/sdk_version.dart index 48503d6..9629cbb 100644 --- a/lib/src/util/sdk_version.dart +++ b/lib/src/util/sdk_version.dart @@ -5,4 +5,4 @@ /// /// Dart can't read its own pubspec at runtime, so keep this equal to the /// `version:` in pubspec.yaml (test/sdk_version_test.dart checks it). -const String middlewareFlutterSdkVersion = '2.2.2'; +const String middlewareFlutterSdkVersion = '2.2.3'; diff --git a/pubspec.yaml b/pubspec.yaml index e8f38c2..9ca4b45 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: middleware_flutter_opentelemetry description: "A Flutter package for OpenTelemetry based on middleware_dart_opentelemetry" -version: 2.2.2 +version: 2.2.3 homepage: https://middleware.io repository: https://github.com/middleware-labs/flutter-sdk.git