Skip to content

v2.8.0

Compare
Choose a tag to compare
@chezzdev chezzdev released this 17 Nov 09:46
· 50 commits to main since this release
2f91fad

Changes since v2.7.0:

Packaging

  • This library now requires a minimum deployment target of iOS 12.0 or above, macOS 10.14.0 or above, tvOS 12.0 or above, or watchOS 5.0 or above. Older operating system versions are no longer supported. (#736)

Other changes

  • Added the Waypoint.layer property, which can ensure that the route begins on the correct road if it is above or below another road. (#745)
  • Added the AttributeOptions.update(customOption:comparisonPolicy:) method and AttributeOptions.customOptionsByRawValue property for specifying attribute options that are still marked as beta in the Mapbox Directions API. (#748)
  • Fixed stale Incident.shapeIndexRange values even after calling the RouteRefreshResponse.refreshLegIncidents(from:legIndex:legShapeIndex:) method. (#752)
  • Added the RouteLeg.closures property containing information about road closures based on live traffic conditions. This information requires adding AttributeOptions.closures to the RouteOptions.attributeOptions property and setting the DirectionsOptions.profileIdentifier property to ProfileIdentifier.automobileAvoidingTraffic. (#755)
  • Added the Route.refresh(from:refreshParameters:) method as a single entry point for refreshing various parameters of the Route object. (#755)

Documentation is available online or within Xcode.