Releases: mapbox/mapbox-directions-swift
Releases · mapbox/mapbox-directions-swift
v2.0.0-beta.5
Changes since v2.0.0-beta.4:
- Carthage v0.38 or above is now required for installing this SDK if you use Carthage. #548
- Xcode 12.0 or above is now required to build MapboxDirections from source. #548
- You can fully build this SDK on Macs with Apple Silicon. #548
Documentation is available online or within Xcode.
v2.0.0-beta.4
Changes since v2.0.0-beta.3:
- This library requires Turf v2.0.0-beta.1. (#545)
Documentation is available online or within Xcode.
v2.0.0-beta.3
Changes since v2.0.0-beta.2:
- Preferred lane direction is now of type ManeuverDirection. (#535)
Documentation is available online or within Xcode.
v2.0.0-beta.2
Changes since v2.0.0-beta.1:
- Fixed an issue where
VisualInstruction.component.lane(indications:isUsable:preferredDirection:)
failed to decode and encoded incorrectly. (#532)
Documentation is available online or within Xcode.
v2.0.0-beta.1
Changes since v2.0.0-alpha.2:
- Added the
Intersection.preferredApproachLanes
andIntersection.usableLaneIndication
properties that indicate preferred lane usage.VisualInstruction.Component.lane(indications:isUsable:)
has been renamed toVisualInstruction.Component.lane(indications:isUsable:preferredDirection:)
. (#529) - Comparing two
Intersection
s with==
now considers whether theIntersection.restStop
,Intersection.regionCode
, andIntersection.outletMapboxStreetsRoadClass
properties are equal. (#529)
Documentation is available online or within Xcode.
v2.0.0-alpha.2
Changes since v2.0.0-alpha.1:
v2.0.0-alpha.1
- This library requires Turf v2.0.0-alpha.2. (#517)
- This library does not support tvOS, watchOS, or Linux. Support for these platforms will be restored before the final release. (#517)
- The
Incident.impact
property is now anIncident.Impact
value instead of a string. (#519)
Documentation is available online or within Xcode.
v1.2.0
Packaging
- Added support for building and running on any Linux distribution supported by Swift. (#488)
- Added the
MapboxDirectionsCLI
command line tool that round-trips Mapbox Directions API responses between JSON format and Swift model objects. (#469)
Other changes
- Added the
RouteStep.segmentIndicesByIntersection
property for associatingIntersection
s with portions of the step’s shape. (#490) - Added the
Intersection.outletMapboxStreetsRoadClass
property that indicates a more detailed road classification than the existingIntersection.outletRoadClasses
property. (#507) - Added the
RouteLeg.incidents
property that indicates known traffic incidents, toll collection points, rest areas, and border crossings along the route leg. (#466, #506) - Added the
RouteLeg.regionCode(atStepIndex:intersectionIndex:)
method andIntersection.regionCode
property to get the administrative region where an intersection is located, as well as aRouteLeg.administrativeRegions
property that indicates the administrative regions traversed by the route leg. (#466, #485, #506) - Added the
Intersection.tunnelName
,Intersection.tollCollection
,Intersection.restStop
, andIntersection.isUrban
properties. (#466, #506) - The
CongestionLevel
enumeration now conforms to theCaseIterable
protocol. (#500)
Documentation is available online or within Xcode.
v1.2.0-rc.1
Changes since v1.2.0-alpha.3:
- Fixed an issue where
JSONEncoder
did not encode theIntersection.tollCollection
property. (#510)
Documentation is available online or within Xcode.
v1.2.0-alpha.3
Changes since v1.2.0-alpha.2:
- Added the
Intersection.outletMapboxStreetsRoadClass
property that indicates a more detailed road classification than the existingIntersection.outletRoadClasses
property. (#507) - Added the
RouteLeg.incidents
property that indicates known traffic incidents, toll collection points, rest areas, and border crossings along the route leg. (#466, #506) - Added the
RouteLeg.administrativeRegions
property that indicates the administrative regions traversed by the route leg. (#466, #506) - Added the
Intersection.tunnelName
,Intersection.tollCollection
,Intersection.restStop
, andIntersection.isUrban
properties. (#466, #506)
Documentation is available online or within Xcode.