Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if useLocalFramework {
path: "./common/target/ios/libferrostar-rs.xcframework"
)
} else {
let releaseTag = "0.46.1"
let releaseTag = "0.47.0"
let releaseChecksum = "dca5014d77e90fc0935a3f23d49d6bd599f1a7d753df9ad046d5cbab02a34715"
binaryTarget = .binaryTarget(
name: "FerrostarCoreRS",
Expand Down
4 changes: 3 additions & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

When cutting a release, follow this checklist:

1. Run `./update-release-version.sh X.Y.Z` with the new version string. Note that this is currently macOS-specific given the vagaries of GNU sed.
1. Run `scripts/update-release-version.sh X.Y.Z` with the new version string.
Note that this is currently macOS-specific given the vagaries of GNU `sed`.
Run this from the root of the repo.
2. Commit staged changes and push.
3. Create a GitHub release and use the new version as the tag name (note that it must be in X.Y.Z format to please SPM).
4. Sit back and watch. GitHub actions take care of the rest.
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ ext {

allprojects {
group = "com.stadiamaps.ferrostar"
version = "0.46.1"
version = "0.47.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import org.junit.Assert.fail
import org.junit.Test
import uniffi.ferrostar.BoundingBox
import uniffi.ferrostar.CourseFiltering
import uniffi.ferrostar.DrivingSide
import uniffi.ferrostar.GeographicCoordinate
import uniffi.ferrostar.ManeuverModifier
import uniffi.ferrostar.ManeuverType
Expand Down Expand Up @@ -133,6 +134,8 @@ class FerrostarCoreTest {
duration = 0.0,
annotations = null,
incidents = listOf(),
drivingSide = DrivingSide.RIGHT,
roundaboutExitNumber = null,
)),
)

Expand Down
4 changes: 3 additions & 1 deletion apple/Sources/FerrostarCore/Mock/MockNavigationState.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ public extension NavigationState {
],
spokenInstructions: [],
annotations: nil,
incidents: []
incidents: [],
drivingSide: .left,
roundaboutExitNumber: nil
),
],
remainingWaypoints: [],
Expand Down
4 changes: 3 additions & 1 deletion apple/Sources/FerrostarSwiftUI/TestFixtureFactory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ struct RouteStepFactory: TestFixtureFactory {
visualInstructions: [visualInstructionBuilder(n)],
spokenInstructions: [],
annotations: nil,
incidents: []
incidents: [],
drivingSide: .left,
roundaboutExitNumber: nil
)
}
}
Expand Down
152 changes: 150 additions & 2 deletions apple/Sources/UniFFI/ferrostar.swift

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion apple/Tests/FerrostarCoreTests/FerrostarCoreTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ let mockRoute = Route(
)],
spokenInstructions: [],
annotations: nil,
incidents: []
incidents: [],
drivingSide: .left,
roundaboutExitNumber: nil
)]
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,6 @@
- spokenInstructions: 0 elements
- annotations: Optional<Array<String>>.none
- incidents: 0 elements
▿ drivingSide: Optional<DrivingSide>
- some: DrivingSide.left
- roundaboutExitNumber: Optional<UInt8>.none
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,6 @@
- spokenInstructions: 0 elements
- annotations: Optional<Array<String>>.none
- incidents: 0 elements
▿ drivingSide: Optional<DrivingSide>
- some: DrivingSide.left
- roundaboutExitNumber: Optional<UInt8>.none
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,6 @@
- spokenInstructions: 0 elements
- annotations: Optional<Array<String>>.none
- incidents: 0 elements
▿ drivingSide: Optional<DrivingSide>
- some: DrivingSide.left
- roundaboutExitNumber: Optional<UInt8>.none
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@
- spokenInstructions: 0 elements
- annotations: Optional<Array<String>>.none
- incidents: 0 elements
▿ drivingSide: Optional<DrivingSide>
- some: DrivingSide.right
- roundaboutExitNumber: Optional<UInt8>.none
▿ RouteStep: You have arrived at your destination.
▿ geometry: 2 elements
▿ GeographicCoordinate
Expand All @@ -115,3 +118,6 @@
- spokenInstructions: 0 elements
- annotations: Optional<Array<String>>.none
- incidents: 0 elements
▿ drivingSide: Optional<DrivingSide>
- some: DrivingSide.right
- roundaboutExitNumber: Optional<UInt8>.none
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@
- spokenInstructions: 0 elements
- annotations: Optional<Array<String>>.none
- incidents: 0 elements
▿ drivingSide: Optional<DrivingSide>
- some: DrivingSide.right
- roundaboutExitNumber: Optional<UInt8>.none
▿ RouteStep: You have arrived at your destination.
▿ geometry: 2 elements
▿ GeographicCoordinate
Expand All @@ -115,3 +118,6 @@
- spokenInstructions: 0 elements
- annotations: Optional<Array<String>>.none
- incidents: 0 elements
▿ drivingSide: Optional<DrivingSide>
- some: DrivingSide.right
- roundaboutExitNumber: Optional<UInt8>.none
2 changes: 1 addition & 1 deletion common/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/ferrostar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lints.workspace = true

[package]
name = "ferrostar"
version = "0.46.1"
version = "0.47.0"
readme = "README.md"
description = "The core of modern turn-by-turn navigation."
keywords = ["navigation", "routing", "valhalla", "osrm"]
Expand Down
Loading
Loading