Skip to content

Commit

Permalink
[ios] Update dependencies for 3.6.0-beta.1 (#7508)
Browse files Browse the repository at this point in the history
  • Loading branch information
volkdmitri authored Dec 9, 2024
1 parent c8e046e commit f6588cf
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 9 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## v3.6.0-beta.1

### Packaging

* MapboxNavigationCore now requires [MapboxMaps v11.9.0-beta.1](https://github.com/mapbox/mapbox-maps-ios/releases/tag/v11.9.0-beta.1).
* MapboxNavigationCore now requires [MapboxNavigationNative v322.0.0-beta.1](https://github.com/mapbox/mapbox-navigation-native-ios/releases/tag/322.0.0-beta.1).

### ⚠️ Behavioral Changes ⚠️:
* The default intermediate waypoint appearance is now a circle without the pin icon. To customize the appearance of intermediate waypoints
follow steps from `NavigationMapViewDelegate.navigationMapView(_:shapeFor:legIndex:)` documentation.
Expand All @@ -21,7 +26,11 @@

### Other

* Fixed a resolved SDK name.
* Fixed incorrect SDK naming for the UX and UIKit frameworks. Previously, the SDK name `mapbox-navigationCore-ios` was mistakenly used for these frameworks.
* Fixed street names filtering by user's language.
* Improved history trace events.
* Fixed refreshing annotation of alternative routes.
* Avoided skipping of not passed instructions on teleports along the route.

## v3.5.0

Expand Down
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

import PackageDescription

let (navNativeVersion, navNativeChecksum, navNativeRevision) = ("321.0.0", "2c9ae6e116d90f1153bd365f7559bf572c2c827b039d24938698521f5a5e8c99", "730e5fef0c4a0564bfbf58fce54914e9ede9f776")
let mapsVersion: Version = "11.8.0"
let (navNativeVersion, navNativeChecksum, navNativeRevision) = ("322.0.0-beta.1", "0e06005a6962c9685f3685419790e1c2d195bc3c3190236797845cb8be32295b", "9b35b43cedafae390a94595f85d2dd28674811c2")
let mapsVersion: Version = "11.9.0-beta.1"

let package = Package(
name: "MapboxNavigation",
Expand All @@ -31,7 +31,7 @@ let package = Package(
dependencies: [
.package(url: "https://github.com/mapbox/mapbox-navigation-native-ios.git", exact: Version(stringLiteral: navNativeVersion)),
.package(url: "https://github.com/mapbox/mapbox-maps-ios.git", exact: mapsVersion),
.package(url: "https://github.com/mapbox/turf-swift.git", exact: "3.0.0"),
.package(url: "https://github.com/mapbox/turf-swift.git", exact: "4.0.0-beta.1"),
.package(url: "https://github.com/AliSoftware/OHHTTPStubs", from: "9.1.0"),
.package(url: "https://github.com/pointfreeco/swift-snapshot-testing.git", exact: "1.12.0"),
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.0.0"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ final class NativeHandlersFactory: @unchecked Sendable {
historyDirectoryURL.flatMap {
HistoryRecorderHandle.build(
forHistoryDir: $0.path,
sdkInfo: SdkHistoryInfo(
sdkVersion: Bundle.mapboxNavigationVersion,
sdkName: Bundle.resolvedNavigationSDKName
),
config: configHandle(by: configFactoryType)
)
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/MapboxNavigationCore/Version.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation

extension Bundle {
public static let mapboxNavigationVersion: String = "3.5.0"
public static let mapboxNavigationVersion: String = "3.6.0-beta.1"
public static let mapboxNavigationUXBundleIdentifier: String = "com.mapbox.navigationUX"
}
2 changes: 1 addition & 1 deletion Sources/MapboxNavigationUIKit/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>3.5.0</string>
<string>3.6.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>NSPrincipalClass</key>
Expand Down
2 changes: 1 addition & 1 deletion Sources/MapboxNavigationUIKit/Resources/MBXInfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>3.5.0</string>
<string>3.6.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>NSPrincipalClass</key>
Expand Down
2 changes: 1 addition & 1 deletion Sources/TestHelper/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>3.5.0</string>
<string>3.6.0</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Tests/MapboxNavigationPackageTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>3.5.0</string>
<string>3.6.0</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>Location Usage Description</string>
<key>NSLocationWhenInUseUsageDescription</key>
Expand Down

0 comments on commit f6588cf

Please sign in to comment.