diff --git a/CHANGELOG.md b/CHANGELOG.md
index 93f57160b..3a3e334df 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,7 +1,9 @@
# Changes to Mapbox Directions for Swift
-## main
+## v2.6.0
+* MapboxDirections now requires [Turf v2.4](https://github.com/mapbox/turf-swift/releases/tag/v2.4.0). ([#703](https://github.com/mapbox/mapbox-directions-swift/pull/703))
+* Added the `RouteOptions.maximumWeight` property to compute routes that excludes roads with a lower weight limit. ([#694](https://github.com/mapbox/mapbox-directions-swift/pull/694))
* Added `Route.refreshLegIncidents(from:)` method to allow refreshing `RouteLeg.incidents` during a route refresh. ([#704](https://github.com/mapbox/mapbox-directions-swift/pull/704))
## v2.5.0
@@ -12,7 +14,6 @@
* Fixed an issue where `RouteStep.distance`, `RouteStep.expectedTravelTime` and `RouteStep.typicalTravelTime` were rounded to one decimal place when being encoded. ([#697](https://github.com/mapbox/mapbox-directions-swift/pull/697))
* Fixed an issue where decoding a `RouteResponse` incorrectly set the `Waypoint.snappedDistance` property to `nil`. ([#669](https://github.com/mapbox/mapbox-directions-swift/pull/669))
* The `mapbox-directions-swift` command line tool now requests routes from the Mapbox Directions API if no input file is specified. ([#576](https://github.com/mapbox/mapbox-directions-swift/pull/576))
-* Added the `RouteOptions.maximumWeight` property to compute routes that excludes roads with a lower weight limit. ([#694](https://github.com/mapbox/mapbox-directions-swift/pull/694))
## v2.4.0
diff --git a/Directions Example/Info.plist b/Directions Example/Info.plist
index 4ef29dbf1..0846e139a 100644
--- a/Directions Example/Info.plist
+++ b/Directions Example/Info.plist
@@ -15,11 +15,11 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 2.5.0
+ 2.6.0
CFBundleSignature
????
CFBundleVersion
- 95
+ 96
LSRequiresIPhoneOS
NSLocationWhenInUseUsageDescription
diff --git a/MapboxDirections.podspec b/MapboxDirections.podspec
index d5c2bf56f..f59bcfd44 100644
--- a/MapboxDirections.podspec
+++ b/MapboxDirections.podspec
@@ -3,7 +3,7 @@ Pod::Spec.new do |s|
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.name = "MapboxDirections"
- s.version = "2.5.0"
+ s.version = "2.6.0-beta.1"
s.summary = "Mapbox Directions API wrapper for Swift."
s.description = <<-DESC
diff --git a/MapboxDirections.xcodeproj/project.pbxproj b/MapboxDirections.xcodeproj/project.pbxproj
index e845012dc..4dcddb478 100644
--- a/MapboxDirections.xcodeproj/project.pbxproj
+++ b/MapboxDirections.xcodeproj/project.pbxproj
@@ -1901,11 +1901,11 @@
CLANG_ANALYZER_NONNULL = YES;
CODE_SIGN_IDENTITY = "";
COMBINE_HIDPI_IMAGES = YES;
- CURRENT_PROJECT_VERSION = 95;
+ CURRENT_PROJECT_VERSION = 96;
DEBUG_INFORMATION_FORMAT = dwarf;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 95;
+ DYLIB_CURRENT_VERSION = 96;
DYLIB_INSTALL_NAME_BASE = "@rpath";
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
FRAMEWORK_VERSION = A;
@@ -1931,10 +1931,10 @@
CLANG_ANALYZER_NONNULL = YES;
CODE_SIGN_IDENTITY = "";
COMBINE_HIDPI_IMAGES = YES;
- CURRENT_PROJECT_VERSION = 95;
+ CURRENT_PROJECT_VERSION = 96;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 95;
+ DYLIB_CURRENT_VERSION = 96;
DYLIB_INSTALL_NAME_BASE = "@rpath";
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
FRAMEWORK_VERSION = A;
@@ -2005,11 +2005,11 @@
buildSettings = {
CLANG_ANALYZER_NONNULL = YES;
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
- CURRENT_PROJECT_VERSION = 95;
+ CURRENT_PROJECT_VERSION = 96;
DEBUG_INFORMATION_FORMAT = dwarf;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 95;
+ DYLIB_CURRENT_VERSION = 96;
DYLIB_INSTALL_NAME_BASE = "@rpath";
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = Sources/MapboxDirections/Info.plist;
@@ -2035,10 +2035,10 @@
buildSettings = {
CLANG_ANALYZER_NONNULL = YES;
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
- CURRENT_PROJECT_VERSION = 95;
+ CURRENT_PROJECT_VERSION = 96;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 95;
+ DYLIB_CURRENT_VERSION = 96;
DYLIB_INSTALL_NAME_BASE = "@rpath";
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = Sources/MapboxDirections/Info.plist;
@@ -2111,11 +2111,11 @@
APPLICATION_EXTENSION_API_ONLY = YES;
CLANG_ANALYZER_NONNULL = YES;
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
- CURRENT_PROJECT_VERSION = 95;
+ CURRENT_PROJECT_VERSION = 96;
DEBUG_INFORMATION_FORMAT = dwarf;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 95;
+ DYLIB_CURRENT_VERSION = 96;
DYLIB_INSTALL_NAME_BASE = "@rpath";
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = Sources/MapboxDirections/Info.plist;
@@ -2142,10 +2142,10 @@
APPLICATION_EXTENSION_API_ONLY = YES;
CLANG_ANALYZER_NONNULL = YES;
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
- CURRENT_PROJECT_VERSION = 95;
+ CURRENT_PROJECT_VERSION = 96;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 95;
+ DYLIB_CURRENT_VERSION = 96;
DYLIB_INSTALL_NAME_BASE = "@rpath";
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = Sources/MapboxDirections/Info.plist;
@@ -2171,12 +2171,12 @@
buildSettings = {
CLANG_ANALYZER_NONNULL = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
- CURRENT_PROJECT_VERSION = 95;
+ CURRENT_PROJECT_VERSION = 96;
DEBUG_INFORMATION_FORMAT = dwarf;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 95;
+ DYLIB_CURRENT_VERSION = 96;
DYLIB_INSTALL_NAME_BASE = "@rpath";
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = Sources/MapboxDirections/Info.plist;
@@ -2200,11 +2200,11 @@
buildSettings = {
CLANG_ANALYZER_NONNULL = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
- CURRENT_PROJECT_VERSION = 95;
+ CURRENT_PROJECT_VERSION = 96;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 95;
+ DYLIB_CURRENT_VERSION = 96;
DYLIB_INSTALL_NAME_BASE = "@rpath";
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = Sources/MapboxDirections/Info.plist;
diff --git a/README.md b/README.md
index 908a054e2..3b2a24df9 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ Specify the following dependency in your [Carthage](https://github.com/Carthage/
# Latest stable release
github "mapbox/mapbox-directions-swift" ~> 2.5
# Latest prerelease
-github "mapbox/mapbox-directions-swift" "v2.5.0-rc.1"
+github "mapbox/mapbox-directions-swift" "v2.6.0-beta.1"
```
Or in your [CocoaPods](http://cocoapods.org/) Podfile:
@@ -26,7 +26,7 @@ Or in your [CocoaPods](http://cocoapods.org/) Podfile:
# Latest stable release
pod 'MapboxDirections', '~> 2.5'
# Latest prerelease
-pod 'MapboxDirections', :git => 'https://github.com/mapbox/mapbox-directions-swift.git', :tag => 'v2.5.0-rc.1'
+pod 'MapboxDirections', :git => 'https://github.com/mapbox/mapbox-directions-swift.git', :tag => 'v2.6.0-beta.1'
```
Or in your [Swift Package Manager](https://swift.org/package-manager/) Package.swift:
@@ -35,7 +35,7 @@ Or in your [Swift Package Manager](https://swift.org/package-manager/) Package.s
// Latest stable release
.package(name: "MapboxDirections", url: "https://github.com/mapbox/mapbox-directions-swift.git", from: "2.5.0")
// Latest prerelease
-.package(name: "MapboxDirections", url: "https://github.com/mapbox/mapbox-directions-swift.git", .exact("2.5.0-rc.1"))
+.package(name: "MapboxDirections", url: "https://github.com/mapbox/mapbox-directions-swift.git", .exact("2.6.0-beta.1"))
```
Then `import MapboxDirections`.
diff --git a/Sources/MapboxDirections/Info.plist b/Sources/MapboxDirections/Info.plist
index dc3f2fbe0..d0a4799a8 100644
--- a/Sources/MapboxDirections/Info.plist
+++ b/Sources/MapboxDirections/Info.plist
@@ -15,11 +15,11 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 2.5.0
+ 2.6.0
CFBundleSignature
????
CFBundleVersion
- 95
+ 96
NSHumanReadableCopyright
Copyright © 2014–2022 Mapbox. All rights reserved.
NSPrincipalClass
diff --git a/Tests/MapboxDirectionsTests/Info.plist b/Tests/MapboxDirectionsTests/Info.plist
index 266c71870..8be8d04e7 100644
--- a/Tests/MapboxDirectionsTests/Info.plist
+++ b/Tests/MapboxDirectionsTests/Info.plist
@@ -15,10 +15,10 @@
CFBundlePackageType
BNDL
CFBundleShortVersionString
- 2.5.0
+ 2.6.0
CFBundleSignature
????
CFBundleVersion
- 95
+ 96