Repository navigation
chore: bump iOS SDK to 2.3.1 and release 2.2.3 - #21
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps the iOS dependency to
MiddlewareRum2.3.1 and the package to 2.2.3, so Flutter apps get the fixes in iOS 2.3.1. The same change for React Native is in middleware-labs/middleware-react-native#62.ios/middleware_flutter_opentelemetry.podspec: the minimum goes from>= 2.3.0to>= 2.3.1, still~> 2.3.pubspec.yamlandlib/src/util/sdk_version.dart: version 2.2.3.example/ios/Podfile: adds the Middleware specs repo as a source, because 2.3.1 is not on CocoaPods trunk yet and CI builds this example.example/ios/Podfile.lock: regenerated withpod update MiddlewareRum, which also movesDeviceKitfrom 5.9.0 to 5.10.0.example/pubspec.lockpicks up the new package version.CHANGELOG.md: adds a[2.2.3]section.Hot restart benefits too: a repeat native
build()no longer starts native instrumentation or the slow-rendering detector again. I confirmed from the plugin code that it sets the session first and still getsinitialized: true. I did not run an actual hot restart.Impact on apps
App developers need to:
ios/Podfile, unless 2.3.1 has reached trunk by then. The README already covers this.pod update MiddlewareRuminios/.Plain
pod installshould fail against aPodfile.lockthat pins an older version, as it did in the React Native example, with an error that wrongly mentions the deployment target. The changelog entry warns about this.Testing
flutter test: all 106 pass, including the check that the SDK version matchespubspec.yaml.flutter build ios --debug --no-codesignbuilds the example with 2.3.1 and the fix in its code. This ran on local Flutter 3.44.2, while CI uses 3.38.3, so CI will confirm it.Not in this PR
Flutter's Dart route observer also emits
slowRendersandfrozenRenders, based on route load time rather than frame time (lib/src/nav/otel_navigator_observer.dart). This release does not change those, so Flutter's totals still mix both kinds of span on iOS.Merging does not publish the package to pub.dev.