From 504751c561625c22a1657b6ea519ab79807770c3 Mon Sep 17 00:00:00 2001 From: Alexander Pristavko Date: Fri, 10 Dec 2021 14:00:56 +0300 Subject: [PATCH 1/2] Add v2.2.0 section to changelog --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d2ef62638..b4e5bd090 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changes to Mapbox Directions for Swift +## v2.2.0 + +* Added the `RouteResponse.roadClassViolations` property, which indicates any requested `RouteOptions.roadClassesToAvoid` values that could not be satisfied when calculating the routes. You can use convenience `RouteResponse.exclusionViolations(routeIndex:legIndex:stepIndex:intersectionIndex:)` method to search for a specific item. ([#627](https://github.com/mapbox/mapbox-directions-swift/pull/627)) + ## v2.1.0 * Added the `Waypoint.snappedDistance` property to get the straight-line distance from the waypoint to the location it was snapped to in the `RouteResponse`. ([#616](https://github.com/mapbox/mapbox-directions-swift/pull/616)) @@ -11,7 +15,7 @@ * Added the `RouteOptions.maximumHeight` and `RouteOptions.maximumWidth` properties for ensuring that the resulting routes can accommodate a vehicle of a certain size. ([#623](https://github.com/mapbox/mapbox-directions-swift/pull/623)) * The `DirectionsPriority` struct now conforms to the `Codable` protocol. ([#623](https://github.com/mapbox/mapbox-directions-swift/pull/623)) * Fixed an issue where the `RouteOptions.alleyPriority`, `RouteOptions.walkwayPriority`, and `RouteOptions.speed` properties were excluded from the encoded representation of a `RouteOptions` object. ([#623](https://github.com/mapbox/mapbox-directions-swift/pull/623)) -* Added the `RouteResponse.roadClassViolations` property, which indicates any requested `RouteOptions.roadClassesToAvoid` values that could not be satisfied when calculating the routes. You can use convenience `RouteResponse.exclusionViolations(routeIndex:legIndex:stepIndex:intersectionIndex:)` method to search for a specific item. ([#627](https://github.com/mapbox/mapbox-directions-swift/pull/627)) + ## v2.0.0 From acce10bed5c902c8aec80c8cf7968707ba3526da Mon Sep 17 00:00:00 2001 From: Alexander Pristavko Date: Fri, 10 Dec 2021 14:02:19 +0300 Subject: [PATCH 2/2] v2.2.0 --- Directions Example/Info.plist | 4 +-- MapboxDirections.podspec | 2 +- MapboxDirections.xcodeproj/project.pbxproj | 32 +++++++++++----------- README.md | 6 ++-- Sources/MapboxDirections/Info.plist | 4 +-- Tests/MapboxDirectionsTests/Info.plist | 4 +-- 6 files changed, 26 insertions(+), 26 deletions(-) diff --git a/Directions Example/Info.plist b/Directions Example/Info.plist index 2f000ef37..acf31576f 100644 --- a/Directions Example/Info.plist +++ b/Directions Example/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 2.1.0 + 2.2.0 CFBundleSignature ???? CFBundleVersion - 80 + 81 LSRequiresIPhoneOS NSLocationWhenInUseUsageDescription diff --git a/MapboxDirections.podspec b/MapboxDirections.podspec index b0ec7d0cc..410685015 100644 --- a/MapboxDirections.podspec +++ b/MapboxDirections.podspec @@ -3,7 +3,7 @@ Pod::Spec.new do |s| # ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # s.name = "MapboxDirections" - s.version = "2.1.0" + s.version = "2.2.0-alpha.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 235ba1241..71a013156 100644 --- a/MapboxDirections.xcodeproj/project.pbxproj +++ b/MapboxDirections.xcodeproj/project.pbxproj @@ -1841,11 +1841,11 @@ CLANG_ANALYZER_NONNULL = YES; CODE_SIGN_IDENTITY = ""; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 80; + CURRENT_PROJECT_VERSION = 81; DEBUG_INFORMATION_FORMAT = dwarf; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 80; + DYLIB_CURRENT_VERSION = 81; DYLIB_INSTALL_NAME_BASE = "@rpath"; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; FRAMEWORK_VERSION = A; @@ -1871,10 +1871,10 @@ CLANG_ANALYZER_NONNULL = YES; CODE_SIGN_IDENTITY = ""; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 80; + CURRENT_PROJECT_VERSION = 81; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 80; + DYLIB_CURRENT_VERSION = 81; DYLIB_INSTALL_NAME_BASE = "@rpath"; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; FRAMEWORK_VERSION = A; @@ -1945,11 +1945,11 @@ buildSettings = { CLANG_ANALYZER_NONNULL = YES; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - CURRENT_PROJECT_VERSION = 80; + CURRENT_PROJECT_VERSION = 81; DEBUG_INFORMATION_FORMAT = dwarf; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 80; + DYLIB_CURRENT_VERSION = 81; DYLIB_INSTALL_NAME_BASE = "@rpath"; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; INFOPLIST_FILE = Sources/MapboxDirections/Info.plist; @@ -1975,10 +1975,10 @@ buildSettings = { CLANG_ANALYZER_NONNULL = YES; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - CURRENT_PROJECT_VERSION = 80; + CURRENT_PROJECT_VERSION = 81; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 80; + DYLIB_CURRENT_VERSION = 81; DYLIB_INSTALL_NAME_BASE = "@rpath"; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; INFOPLIST_FILE = Sources/MapboxDirections/Info.plist; @@ -2051,11 +2051,11 @@ APPLICATION_EXTENSION_API_ONLY = YES; CLANG_ANALYZER_NONNULL = YES; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 80; + CURRENT_PROJECT_VERSION = 81; DEBUG_INFORMATION_FORMAT = dwarf; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 80; + DYLIB_CURRENT_VERSION = 81; DYLIB_INSTALL_NAME_BASE = "@rpath"; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; INFOPLIST_FILE = Sources/MapboxDirections/Info.plist; @@ -2082,10 +2082,10 @@ APPLICATION_EXTENSION_API_ONLY = YES; CLANG_ANALYZER_NONNULL = YES; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 80; + CURRENT_PROJECT_VERSION = 81; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 80; + DYLIB_CURRENT_VERSION = 81; DYLIB_INSTALL_NAME_BASE = "@rpath"; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; INFOPLIST_FILE = Sources/MapboxDirections/Info.plist; @@ -2111,12 +2111,12 @@ buildSettings = { CLANG_ANALYZER_NONNULL = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - CURRENT_PROJECT_VERSION = 80; + CURRENT_PROJECT_VERSION = 81; DEBUG_INFORMATION_FORMAT = dwarf; DEFINES_MODULE = YES; DEVELOPMENT_TEAM = ""; DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 80; + DYLIB_CURRENT_VERSION = 81; DYLIB_INSTALL_NAME_BASE = "@rpath"; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; INFOPLIST_FILE = Sources/MapboxDirections/Info.plist; @@ -2140,11 +2140,11 @@ buildSettings = { CLANG_ANALYZER_NONNULL = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - CURRENT_PROJECT_VERSION = 80; + CURRENT_PROJECT_VERSION = 81; DEFINES_MODULE = YES; DEVELOPMENT_TEAM = ""; DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 80; + DYLIB_CURRENT_VERSION = 81; DYLIB_INSTALL_NAME_BASE = "@rpath"; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; INFOPLIST_FILE = Sources/MapboxDirections/Info.plist; diff --git a/README.md b/README.md index 2bcad52bb..e8604bb8a 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.1 # Latest prerelease -github "mapbox/mapbox-directions-swift" "v2.1.0-rc.1" +github "mapbox/mapbox-directions-swift" "v2.2.0-alpha.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.1' # Latest prerelease -pod 'MapboxDirections', :git => 'https://github.com/mapbox/mapbox-directions-swift.git', :tag => 'v2.1.0-rc.1' +pod 'MapboxDirections', :git => 'https://github.com/mapbox/mapbox-directions-swift.git', :tag => 'v2.2.0-alpha.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.1.0") // Latest prerelease -.package(name: "MapboxDirections", url: "https://github.com/mapbox/mapbox-directions-swift.git", .exact("2.1.0-rc.1")) +.package(name: "MapboxDirections", url: "https://github.com/mapbox/mapbox-directions-swift.git", .exact("2.2.0-alpha.1")) ``` Then `import MapboxDirections`. diff --git a/Sources/MapboxDirections/Info.plist b/Sources/MapboxDirections/Info.plist index 0ed01a928..66c69124b 100644 --- a/Sources/MapboxDirections/Info.plist +++ b/Sources/MapboxDirections/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 2.1.0 + 2.2.0 CFBundleSignature ???? CFBundleVersion - 80 + 81 NSHumanReadableCopyright Copyright © 2014–2021 Mapbox. All rights reserved. NSPrincipalClass diff --git a/Tests/MapboxDirectionsTests/Info.plist b/Tests/MapboxDirectionsTests/Info.plist index d239614bc..2bf527c50 100644 --- a/Tests/MapboxDirectionsTests/Info.plist +++ b/Tests/MapboxDirectionsTests/Info.plist @@ -15,10 +15,10 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 2.1.0 + 2.2.0 CFBundleSignature ???? CFBundleVersion - 80 + 81