Releases: mapbox/mapbox-directions-swift
Releases · mapbox/mapbox-directions-swift
v2.6.0-rc.1
No public changes since v2.6.0-beta.2.
Documentation is available online or within Xcode.
v2.6.0-beta.2
Changes since v2.6.0-beta.1:
- Added the
Intersection.railroadCrossing
,Intersection.trafficSignal
,Intersection.stopSign
andIntersection.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
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 refreshingRouteLeg.incidents
during a route refresh. (#704)
Documentation is available online or within Xcode.
v2.5.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
, andRouteStep
, now conform to theForeignMemberContainer
andForeignMemberClassContainer
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 theForeignMemberContainer.foreignMembers
andForeignMemberClassContainer.foreignMembers
properties. (#669) - Fixed an issue where
RouteStep.distance
,RouteStep.expectedTravelTime
andRouteStep.typicalTravelTime
were rounded to one decimal place when being encoded. (#697) - Fixed an issue where decoding a
RouteResponse
incorrectly set theWaypoint.snappedDistance
property tonil
. (#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
No changes since v2.5.0-beta.1.
Documentation is available online or within Xcode.
v2.5.0-beta.1
- 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
, andRouteStep
, now conform to theForeignMemberContainer
andForeignMemberClassContainer
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 theForeignMemberContainer.foreignMembers
andForeignMemberClassContainer.foreignMembers
properties. (#669) - Fixed an issue where decoding a
RouteResponse
incorrectly set theWaypoint.snappedDistance
property tonil
. (#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
- Fixed a crash that occurred when
RouteOptions.roadClassesToAvoid
orRouteOptions.roadClassesToAllow
properties contained multiple road classes. RoadClasses.tunnel
andRoadClasses.restricted
are no longer supported inRouteOptions.roadClassesToAvoid
orRouteOptions.roadClassesToAllow
properties- Added
DirectionsOptions(url:)
,RouteOptions(url:)
and extended existingDirectionsOptions(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
andarriveBy
properties toRouteOptions
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
Changes since v2.4.0-rc.1:
- Added
Incident
properties:countryCode
,countryCodeAlpha3
,roadIsClosed
,longDescription
,numberOfBlockedLanes
,congestionLevel
,affectedRoadNames
. (#672) - Added
departAt
andarriveBy
properties toRouteOptions
to allow configuring Directions routes calculation. (#673)
Documentation is available online or within Xcode.
v2.4.0-rc.1
No changes since v2.4.0-beta.1.
Documentation is available online or within Xcode.
v2.4.0-beta.1
- Fixed a crash that occurred when
RouteOptions.roadClassesToAvoid
orRouteOptions.roadClassesToAllow
properties contained multiple road classes. (#664) RoadClasses.tunnel
andRoadClasses.restricted
are no longer supported inRouteOptions.roadClassesToAvoid
orRouteOptions.roadClassesToAllow
properties (#664)- Added
DirectionsOptions(url:)
,RouteOptions(url:)
and extended existingDirectionsOptions(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.