From de947384dc4fc9325627ed379fc410ab2002e90b Mon Sep 17 00:00:00 2001 From: Jack Alto <384288+aokj4ck@users.noreply.github.com> Date: Thu, 23 May 2024 09:27:56 -0400 Subject: [PATCH] Prepare 2.1.0 release (#242) ### Description - Update MapboxCoreSearch to v2.1.0 - Prepare next release v2.1.0. ### Checklist - [x] Update `CHANGELOG` --- CHANGELOG.md | 6 ++++-- Cartfile | 2 +- Cartfile.resolved | 2 +- MapboxSearch.podspec | 2 +- MapboxSearchUI.podspec | 4 ++-- Package.swift | 2 +- README.md | 8 ++++---- Search Documentation.docc/Installation.md | 4 ++-- Sources/MapboxSearch/PublicAPI/MapboxSearchVersion.swift | 2 +- 9 files changed, 17 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 44491e237..1b960e8ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,12 +8,14 @@ Guide: https://keepachangelog.com/en/1.0.0/ -- [Offline] Expose selectTileset function for offline mode +## 2.1.0 +- [Offline] Expose selectTileset function for offline mode - [Address] Change Country.ISO3166_1_alpha2 enum to public +- [Core] Update MapboxCommon and MapboxCoreSearch package dependencies **MapboxCommon**: v24.4.0 -**MapboxCoreSearch**: v2.0.3 +**MapboxCoreSearch**: v2.1.0 ## 2.0.3 diff --git a/Cartfile b/Cartfile index 1cd776678..988884ee9 100644 --- a/Cartfile +++ b/Cartfile @@ -1,2 +1,2 @@ -binary "https://api.mapbox.com/downloads/v2/carthage/search-core-sdk/MapboxCoreSearch.xcframework.json" == 2.0.3 +binary "https://api.mapbox.com/downloads/v2/carthage/search-core-sdk/MapboxCoreSearch.xcframework.json" == 2.1.0 binary "https://api.mapbox.com/downloads/v2/carthage/mapbox-common/MapboxCommon.json" == 24.4.0 \ No newline at end of file diff --git a/Cartfile.resolved b/Cartfile.resolved index 90c4f88cc..fe392067e 100644 --- a/Cartfile.resolved +++ b/Cartfile.resolved @@ -1,2 +1,2 @@ binary "https://api.mapbox.com/downloads/v2/carthage/mapbox-common/MapboxCommon.json" "24.4.0" -binary "https://api.mapbox.com/downloads/v2/carthage/search-core-sdk/MapboxCoreSearch.xcframework.json" "2.0.3" +binary "https://api.mapbox.com/downloads/v2/carthage/search-core-sdk/MapboxCoreSearch.xcframework.json" "2.1.0" diff --git a/MapboxSearch.podspec b/MapboxSearch.podspec index f26c63154..9dcc1651f 100644 --- a/MapboxSearch.podspec +++ b/MapboxSearch.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'MapboxSearch' - s.version = '2.0.3' + s.version = '2.1.0' s.summary = 'Search SDK for Mapbox Search API' # This description is used to generate tags and improve search results. diff --git a/MapboxSearchUI.podspec b/MapboxSearchUI.podspec index 242ea35db..db9a65be2 100644 --- a/MapboxSearchUI.podspec +++ b/MapboxSearchUI.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'MapboxSearchUI' - s.version = '2.0.3' + s.version = '2.1.0' s.summary = 'Search UI for Mapbox Search API' # This description is used to generate tags and improve search results. @@ -23,5 +23,5 @@ Card style custom UI with full search functionality powered by Mapbox Search API s.vendored_frameworks = "**/#{s.name}.xcframework" - s.dependency 'MapboxSearch', "2.0.3" + s.dependency 'MapboxSearch', "2.1.0" end diff --git a/Package.swift b/Package.swift index cdba923fe..eca1b766d 100644 --- a/Package.swift +++ b/Package.swift @@ -4,7 +4,7 @@ import PackageDescription import Foundation -let (coreSearchVersion, coreSearchVersionHash) = ("2.0.3", "c6e9c8cc37439e11fdc0742f053f7bdbf3c10297ed2a197fd550240435db2b39") +let (coreSearchVersion, coreSearchVersionHash) = ("2.1.0", "adbcf5456e384a0313f65459a86600e10cc9a9837c08f5273fbef43de31bf8f4") let mapboxCommonSDKVersion = Version("24.4.0") diff --git a/README.md b/README.md index 7d20b9c3f..48cdcc212 100644 --- a/README.md +++ b/README.md @@ -82,8 +82,8 @@ Once you've installed the prerequisites, no additional steps are needed: Open th You can find the following documentation pages helpful: - [Search SDK for iOS guide](https://docs.mapbox.com/ios/search/guides/) -- [MapboxSearch reference](https://docs.mapbox.com/ios/search/api/core/2.0.3/) -- [MapboxSearchUI reference](https://docs.mapbox.com/ios/search/api/ui/2.0.3/) +- [MapboxSearch reference](https://docs.mapbox.com/ios/search/api/core/2.1.0/) +- [MapboxSearchUI reference](https://docs.mapbox.com/ios/search/api/ui/2.1.0/) ## Project structure overview @@ -108,13 +108,13 @@ MapboxSearchDemoApplication provides a Demo app wih MapboxSearchUI.framework pre ##### MapboxSearch To integrate latest preview version of `MapboxSearch` into your Xcode project using CocoaPods, specify it in your `Podfile`: ``` -pod 'MapboxSearch', ">= 2.0.3", "< 3.0" +pod 'MapboxSearch', ">= 2.1.0", "< 3.0" ``` ##### MapboxSearchUI To integrate latest preview version of `MapboxSearchUI` into your Xcode project using CocoaPods, specify it in your `Podfile`: ``` -pod 'MapboxSearchUI', ">= 2.0.3", "< 3.0" +pod 'MapboxSearchUI', ">= 2.1.0", "< 3.0" ``` ### Swift Package Manager diff --git a/Search Documentation.docc/Installation.md b/Search Documentation.docc/Installation.md index 29271941e..0a1968ddf 100644 --- a/Search Documentation.docc/Installation.md +++ b/Search Documentation.docc/Installation.md @@ -59,7 +59,7 @@ To add the Mapbox Search SDK dependency with CocoaPods, you will need to configu ```ruby use_frameworks! target "TargetNameForYourApp" do - pod 'MapboxSearchUI', ">= 2.0.3", "< 3.0" + pod 'MapboxSearchUI', ">= 2.1.0", "< 3.0" end ``` @@ -68,7 +68,7 @@ To add the Mapbox Search SDK dependency with CocoaPods, you will need to configu ```ruby use_frameworks! target "TargetNameForYourApp" do - pod 'MapboxSearch', ">= 2.0.3", "< 3.0" + pod 'MapboxSearch', ">= 2.1.0", "< 3.0" end ``` diff --git a/Sources/MapboxSearch/PublicAPI/MapboxSearchVersion.swift b/Sources/MapboxSearch/PublicAPI/MapboxSearchVersion.swift index 27df9494a..b88f0d615 100644 --- a/Sources/MapboxSearch/PublicAPI/MapboxSearchVersion.swift +++ b/Sources/MapboxSearch/PublicAPI/MapboxSearchVersion.swift @@ -1,2 +1,2 @@ /// Mapbox Search SDK version variable -public let mapboxSearchSDKVersion = "2.0.3" +public let mapboxSearchSDKVersion = "2.1.0"