Skip to content

Releases: mapbox/mapbox-directions-swift

v2.0.0-beta.5

16 Jun 07:19
Compare
Choose a tag to compare
v2.0.0-beta.5 Pre-release
Pre-release

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

28 May 21:01
60b4a02
Compare
Choose a tag to compare
v2.0.0-beta.4 Pre-release
Pre-release

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

14 Apr 22:58
c2bfe34
Compare
Choose a tag to compare
v2.0.0-beta.3 Pre-release
Pre-release

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

09 Apr 23:37
Compare
Choose a tag to compare
v2.0.0-beta.2 Pre-release
Pre-release

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

02 Apr 23:59
Compare
Choose a tag to compare
v2.0.0-beta.1 Pre-release
Pre-release

Changes since v2.0.0-alpha.2:

  • Added the Intersection.preferredApproachLanes and Intersection.usableLaneIndication properties that indicate preferred lane usage. VisualInstruction.Component.lane(indications:isUsable:) has been renamed to VisualInstruction.Component.lane(indications:isUsable:preferredDirection:). (#529)
  • Comparing two Intersections with == now considers whether the Intersection.restStop, Intersection.regionCode, and Intersection.outletMapboxStreetsRoadClass properties are equal. (#529)

Documentation is available online or within Xcode.

v2.0.0-alpha.2

04 Mar 22:57
e40ab7c
Compare
Choose a tag to compare
v2.0.0-alpha.2 Pre-release
Pre-release

Changes since v2.0.0-alpha.1:

  • This library requires Turf v2.0.0-alpha.3. tvOS, watchOS, and Linux support was restored. (#525)
  • MBXAccessToken is now used as default access token, in case if it's not found in Info.plist MGLMapboxAccessToken will be used. (#522)

v2.0.0-alpha.1

19 Feb 20:14
Compare
Choose a tag to compare
v2.0.0-alpha.1 Pre-release
Pre-release

Changes since v1.2.0:

  • 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 an Incident.Impact value instead of a string. (#519)

Documentation is available online or within Xcode.

v1.2.0

22 Jan 23:29
Compare
Choose a tag to compare

Changes since v1.1.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 associating Intersections with portions of the step’s shape. (#490)
  • Added the Intersection.outletMapboxStreetsRoadClass property that indicates a more detailed road classification than the existing Intersection.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 and Intersection.regionCode property to get the administrative region where an intersection is located, as well as a RouteLeg.administrativeRegions property that indicates the administrative regions traversed by the route leg. (#466, #485, #506)
  • Added the Intersection.tunnelName, Intersection.tollCollection, Intersection.restStop, and Intersection.isUrban properties. (#466, #506)
  • The CongestionLevel enumeration now conforms to the CaseIterable protocol. (#500)

Documentation is available online or within Xcode.

v1.2.0-rc.1

15 Jan 00:12
Compare
Choose a tag to compare
v1.2.0-rc.1 Pre-release
Pre-release

Changes since v1.2.0-alpha.3:

  • Fixed an issue where JSONEncoder did not encode the Intersection.tollCollection property. (#510)

Documentation is available online or within Xcode.

v1.2.0-alpha.3

12 Dec 01:52
Compare
Choose a tag to compare
v1.2.0-alpha.3 Pre-release
Pre-release

Changes since v1.2.0-alpha.2:

  • Added the Intersection.outletMapboxStreetsRoadClass property that indicates a more detailed road classification than the existing Intersection.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, and Intersection.isUrban properties. (#466, #506)

Documentation is available online or within Xcode.