Skip to content

Releases: stadiamaps/ferrostar

0.25.0

18 Dec 02:59
Compare
Choose a tag to compare

Added

Fixed

This introduces a breaking change in the StepAdvanceMode type. The automaticAdvanceDistance parameter has been replaced with specialAdvanceConditions, which is an enum with multiple cases. We recommend using the minimum distance from current step line variant now for vehicle navigation. Our testing indicates a value of around 10m is good for most cases, but feedback is very much welcome!

Changed

Full Changelog: 0.24.0...0.25.0

0.24.0

09 Dec 06:48
Compare
Choose a tag to compare

This release bring a few new features and bug fixes.

Added

  • Added better logging support on Android from the Rust core by @Archdoog in #388
  • Breaking Expose exit information on RouteSteps by @ahmedre in #391. This changed a few data models, so it's possible that some old code will not compile. In case you hit this, you should receive an obvious quick-fix suggestion from your IDE.

Fixed

  • Properly update sub model with type and modifier by @ahmedre in #384
  • Fix for initial camera position when snapUserLocationToRoute is enabled by @bjtrounson in #386

Changed

  • Bump thiserror from 1.0.66 to 2.0.3 in /common by @dependabot in #373
  • Bump com.ncorti.ktfmt.gradle from 0.20.1 to 0.21.0 in /android by @dependabot in #382
  • Bump kotlin from 2.0.20 to 2.1.0 in /android by @dependabot in #378
  • Bump serde from 1.0.210 to 1.0.215 in /common by @dependabot in #376
  • Bump serde_json from 1.0.132 to 1.0.133 in /common by @dependabot in #375
  • Bump com.android.tools:desugar_jdk_libs from 2.1.2 to 2.1.3 in /android by @dependabot in #381
  • Bump github.com/maplibre/swiftui-dsl from 0.4.0 to 0.4.1 by @dependabot in #372

New Contributors

Full Changelog: 0.23.0...0.24.0

0.23.0

26 Nov 16:15
Compare
Choose a tag to compare

This release brings a number of improvements, including upstream dependency updates, speed formatters for Android (paving the way to a standardized speed display), support for incident data models, bug fixes, and developer workflow improvements.

See the full list of changes below for more details!

What's Changed

New Contributors

Full Changelog: 0.22.0...0.23.0

0.22.0

14 Nov 05:15
Compare
Choose a tag to compare

This release brings the ability to deserialize annotations like speed limits and traffic congestion on Android! Examples will be coming in a future release.

This release also refactors Jetpack Compose views further to improve their usability and extensibility. This does result in some breaking changes, which should be compile-time errors. See the demo app diff for this release if you run into migration issues.

What's Changed

Full Changelog: 0.21.0...0.22.0

0.21.0

11 Nov 03:21
Compare
Choose a tag to compare

What's Changed

This release adds a route overview for Android, after some updates to the MapLibre Compose wrapper enabled bounding box cameras. This comes with a new button in the default UI which is shown automatically whenever the camera is following the user during navigation.

This release also includes a breaking change to the startNavigation method of FerrostarCore on Android. This previously returned a view model, but after discussing with major users, we determined that this was not a good approach. Every app, except for those that consist only of a navigation view presented "modally" for a single purpose, will have its own view model. Since view models are not composable, we determined that this method should no longer return anything.

This is a source breaking change, so the compiler will let you know that your code is broken. We will continue to ship a DefaultViewModel to enable the super simple "modal" navigation use case without extra code, but you need to construct it yourself. We have also updated the demo app to reflect best practices, continuing to use the AppModule object as a stand-in for dependency injection, and modeling things as they would be structured in most apps, without locking the demo app into a specific DI framework. In short, everything you need is exposed by the FerrostarCore UI StateFlow, and you can build your view model around this.

We have also bumped the minimum iOS version to 16, which is a breaking change. iOS 16 contains significant improvements to SwiftUI, which we will be incorporating over time.

Added

Fixed

New Contributors

Full Changelog: 0.20.1...0.21.0

0.20.1

05 Nov 15:18
Compare
Choose a tag to compare

No breaking changes; just a bunch of small improvements and dependency updates :)

What's Changed

Full Changelog: 0.20.0...0.20.1

0.20.0

01 Nov 03:15
Compare
Choose a tag to compare

Another epic release! The most exciting feature is support for arbitrary annotations on iOS. Annotations are JSON data that "annotates" each line segment (coordinate pair) for the entire route. We've included data models for the ones included in Valhalla, most notably speed limits, but you can add your own arbitrary fields too!

screenshot

Breaking changes

  • We made some changes to the navigation views on iOS; if you had a heavily customized view, you may get some compilation errors which should guide you to a fix.
  • Users of the simulated location provider may need to add a third argument to configure jitter. (Add a random jitter of 10 meters to make your GPS look a bit tipsy 🙃)
  • The interface to the instructions view on Android has changed rather significantly to include a view of upcoming steps.

What's Changed

New Contributors

Full Changelog: 0.19.0...0.20.0

0.19.0

22 Oct 15:49
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.18.0...0.19.0

0.18.0

17 Oct 16:24
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.17.0...0.18.0

0.17.0

02 Oct 04:36
Compare
Choose a tag to compare

What's Changed

  • [ios] pull down InstructionView handle to show remaining steps by @michaelkirk in #276
  • Bump thiserror from 1.0.63 to 1.0.64 in /common by @dependabot in #279
  • Bump rstest from 0.22.0 to 0.23.0 in /common by @dependabot in #280
  • Bump net.java.dev.jna:jna from 5.14.0 to 5.15.0 in /android by @dependabot in #282
  • Bump kotlinx-coroutines from 1.8.1 to 1.9.0 in /android by @dependabot in #283
  • Bump github.com/maplibre/swiftui-dsl from 0.0.29 to 0.1.0 by @dependabot in #278

Full Changelog: 0.16.0...0.17.0