Skip to content

Releases: mapbox/mapbox-directions-swift

v2.6.0-rc.1

24 Jun 19:21
d703690
Compare
Choose a tag to compare
v2.6.0-rc.1 Pre-release
Pre-release

No public changes since v2.6.0-beta.2.

Documentation is available online or within Xcode.

v2.6.0-beta.2

08 Jun 11:07
fb04a4c
Compare
Choose a tag to compare
v2.6.0-beta.2 Pre-release
Pre-release

Changes since v2.6.0-beta.1:

  • Added the Intersection.railroadCrossing, Intersection.trafficSignal, Intersection.stopSign and Intersection.yieldSign properties to indicate the kind of traffic control devices at an intersection along the route. #706

Documentation is available online or within Xcode.

v2.6.0-beta.1

02 Jun 09:32
0309c64
Compare
Choose a tag to compare
v2.6.0-beta.1 Pre-release
Pre-release

Changes since v2.5.0:

  • MapboxDirections now requires Turf v2.4. (#703)
  • Added the RouteOptions.maximumWeight property to compute routes that excludes roads with a lower weight limit. (#694)
  • Added Route.refreshLegIncidents(from:) method to allow refreshing RouteLeg.incidents during a route refresh. (#704)

Documentation is available online or within Xcode.

v2.5.0

26 May 19:55
Compare
Choose a tag to compare

Changes since v2.4.0:

  • Added the RestStop.name property. (#689)
  • Added the TollCollection.name property. (#691)
  • Types that correspond to objects in the Mapbox Directions API response, such as RouteResponse, RouteRefreshResponse, MatchResponse, and RouteStep, now conform to the ForeignMemberContainer and ForeignMemberClassContainer protocols. Types that conform to these protocols can persist unrecognized properties in the response, such as properties that are in beta, even after coding and decoding. You can access these properties using the ForeignMemberContainer.foreignMembers and ForeignMemberClassContainer.foreignMembers properties. (#669)
  • Fixed an issue where RouteStep.distance, RouteStep.expectedTravelTime and RouteStep.typicalTravelTime were rounded to one decimal place when being encoded. (#697)
  • Fixed an issue where decoding a RouteResponse incorrectly set the Waypoint.snappedDistance property to nil. (#669)
  • The mapbox-directions-swift command line tool now requests routes from the Mapbox Directions API if no input file is specified. (#576)

Documentation is available online or within Xcode.

v2.5.0-rc.1

20 May 10:23
v2.5.0-rc.1
e767d05
Compare
Choose a tag to compare
v2.5.0-rc.1 Pre-release
Pre-release

No changes since v2.5.0-beta.1.

Documentation is available online or within Xcode.

v2.5.0-beta.1

06 May 21:31
Compare
Choose a tag to compare
v2.5.0-beta.1 Pre-release
Pre-release

Changes since v2.4.0:

  • Added the RestStop.name property. (#689)
  • Added the TollCollection.name property. (#691)
  • Types that correspond to objects in the Mapbox Directions API response, such as RouteResponse, RouteRefreshResponse, MatchResponse, and RouteStep, now conform to the ForeignMemberContainer and ForeignMemberClassContainer protocols. Types that conform to these protocols can persist unrecognized properties in the response, such as properties that are in beta, even after coding and decoding. You can access these properties using the ForeignMemberContainer.foreignMembers and ForeignMemberClassContainer.foreignMembers properties. (#669)
  • Fixed an issue where decoding a RouteResponse incorrectly set the Waypoint.snappedDistance property to nil. (#669)
  • The mapbox-directions-swift command line tool now requests routes from the Mapbox Directions API if no input file is specified. (#576)

Documentation is available online or within Xcode.

v2.4.0

14 Apr 19:41
a85b353
Compare
Choose a tag to compare

Changes since v2.3.0:

  • Fixed a crash that occurred when RouteOptions.roadClassesToAvoid or RouteOptions.roadClassesToAllow properties contained multiple road classes.
  • RoadClasses.tunnel and RoadClasses.restricted are no longer supported in RouteOptions.roadClassesToAvoid or RouteOptions.roadClassesToAllow properties
  • Added DirectionsOptions(url:), RouteOptions(url:) and extended existing DirectionsOptions(waypoints:profileIdentifier:queryItems:), RouteOptions(waypoints:profileIdentifier:queryItems:), MatchOptions(waypoints:profileIdentifier:queryItems:) and related convenience init methods for deserializing corresponding options object using appropriate request URL or it's query items. (#655)
  • Added Incident properties: countryCode, countryCodeAlpha3, roadIsClosed, longDescription, numberOfBlockedLanes, congestionLevel, affectedRoadNames. (#672)
  • Added departAt and arriveBy properties to RouteOptions to allow configuring Directions routes calculation. (#673)
  • Removed url request's .json suffix for Directions and Isochrones to follow V5 scheme. (#678)

Documentation is available online or within Xcode.

v2.4.0-rc.2

07 Apr 07:17
469f328
Compare
Choose a tag to compare
v2.4.0-rc.2 Pre-release
Pre-release

Changes since v2.4.0-rc.1:

  • Added Incident properties: countryCode, countryCodeAlpha3, roadIsClosed, longDescription, numberOfBlockedLanes, congestionLevel, affectedRoadNames. (#672)
  • Added departAt and arriveBy properties to RouteOptions to allow configuring Directions routes calculation. (#673)

Documentation is available online or within Xcode.

v2.4.0-rc.1

31 Mar 09:01
8284de2
Compare
Choose a tag to compare
v2.4.0-rc.1 Pre-release
Pre-release

No changes since v2.4.0-beta.1.

Documentation is available online or within Xcode.

v2.4.0-beta.1

18 Mar 13:25
v2.4.0-beta.1
f40fcea
Compare
Choose a tag to compare
v2.4.0-beta.1 Pre-release
Pre-release

Changes since v2.3.0:

  • Fixed a crash that occurred when RouteOptions.roadClassesToAvoid or RouteOptions.roadClassesToAllow properties contained multiple road classes. (#664)
  • RoadClasses.tunnel and RoadClasses.restricted are no longer supported in RouteOptions.roadClassesToAvoid or RouteOptions.roadClassesToAllow properties (#664)
  • Added DirectionsOptions(url:), RouteOptions(url:) and extended existing DirectionsOptions(waypoints:profileIdentifier:queryItems:), RouteOptions(waypoints:profileIdentifier:queryItems:), MatchOptions(waypoints:profileIdentifier:queryItems:) and related convenience init methods for deserializing corresponding options object using appropriate request URL or it's query items. (#655)

Documentation is available online or within Xcode.