-
Notifications
You must be signed in to change notification settings - Fork 318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Require map SDK v5.5.0 in v0.37.x (redux) #2317
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After this change is merged into the release-v0.37 branch, we’ll cherry-pick it into the release-v0.38 branch and release both v0.37.2 and v0.38.3.
@@ -44,7 +44,7 @@ Pod::Spec.new do |s| | |||
s.module_name = "MapboxNavigation" | |||
|
|||
s.dependency "MapboxCoreNavigation", "#{s.version.to_s}" | |||
s.dependency "Mapbox-iOS-SDK", "~> 5.5.0" | |||
s.dependency "Mapbox-iOS-SDK", "= 5.5.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CocoaPods wasn’t affected by the original issue, but I’m pinning the podspec too to ensure consistent dependencies regardless of the dependency manager used.
@@ -47,7 +47,7 @@ Pod::Spec.new do |s| | |||
|
|||
s.dependency "MapboxDirections.swift", "~> 0.30.0" | |||
s.dependency "MapboxGeocoder.swift", "~> 0.10.0" | |||
s.dependency "Mapbox-iOS-SDK", "~> 5.5.0" | |||
s.dependency "Mapbox-iOS-SDK", "= 5.5.0" | |||
s.dependency "MapboxMobileEvents", "~> 0.9.5" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just a small clarification in a test.
@@ -1,16 +1,16 @@ | |||
PODS: | |||
- Mapbox-iOS-SDK (5.5.0) | |||
- MapboxCoreNavigation (0.37.0): | |||
- MapboxCoreNavigation (0.37.1): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why the previous version should be used here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CocoaPods installation test lags official releases by design. We haven’t released v0.37.2 yet, so the test can’t verify that running pod update
would install v0.37.2. However, it would detect if a newer dependency would be pulled in. This is why the test has failed quite often during the v1.0 development process, as breaking changes were introduced between prereleases of MapboxDirections.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cherry-picked into the release-v0.38 branch as b666161. |
This is a reprise of #2301 that disallows versions of the map SDK other than v5.5.0. In other words, if map SDK v5.5.1 comes out with a critical bug fix, projects that depend on the navigation SDK will not receive v5.5.1 unless we also release a patch release of the navigation SDK.
This change targets the v0.37.x release series.
/ref #2299
/cc @mapbox/navigation-ios @mapbox/maps-ios @mapbox/mobile-telemetry @mapbox/vision-ios