v0.7.0
This will be the final Swift 2.x release. Changes since v0.6.0:
- Migrated to Swift 2.3.
- Fixed an error that occurred when archiving an application that links to this library. (#108)
- Added the profile identifier constant
MBDirectionsProfileIdentifierAutomobileAvoidingTraffic
for driving routes that avoid traffic congestion. (#86) - Replaced RouteStep’s
name
property with anames
property; each string in the array is a road name that was previously delimited by a semicolon. (#91) - Added a
codes
property to RouteStep that contains any highway route numbers associated with the road. These are the same route numbers that were formerly parenthesized in thename
property. (#91) - Added a
destinations
property to RouteStep that indicates a highway ramp’s signposted destination. (#63) - Added an
intersections
property to RouteStep that indicates the locations and configurations of each intersection along the step, including turn lane markings. (#80) - Added
UseLane
andTakeRotary
maneuver types, which indicate an instruction to change lanes or enter a large, named roundabout, respectively. (#93) - Fixed a crash that could occur when the user is connected to a captive network. (#71)
- Fixed a crash that occurred when a request failed due to rate limiting. (#103)
- The Route, RouteLeg, and RouteStep classes now conform to the NSSecureCoding protocol. (#68)
- Added convenience initializers to RouteLeg and RouteStep that accept a JSON dictionary formatted as the relevant part of a Mapbox Directions API response. (#92)
- The user agent string sent by the Mac version of this library now says “macOS” instead of “OS X”. (#55)