Skip to content

Commit

Permalink
Prepare v2.2.0-beta.1 release (#246)
Browse files Browse the repository at this point in the history
### Description

Update frameworks that Search iOS depends on
**MapboxCommon**: v24.5.0-beta.4
**MapboxCoreSearch**: v2.2.0-beta.1

### Checklist
- [x] Update `CHANGELOG`
- [x] Publish MapboxCoreSearch [v2.2.0-beta.1 podspec](https://github.com/CocoaPods/Specs/blob/master/Specs/6/8/5/MapboxCoreSearch/2.2.0-beta.1/MapboxCoreSearch.podspec.json)
  • Loading branch information
aokj4ck authored Jun 13, 2024
1 parent ea51701 commit 1a50691
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 20 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ Guide: https://keepachangelog.com/en/1.0.0/

<!-- Add changes for active work here -->

## 2.2.0-beta.1

- [Core] Update MapboxCommon and MapboxCoreSearch package dependencies

**MapboxCommon**: v24.5.0-beta.4
**MapboxCoreSearch**: v2.2.0-beta.1

## 2.1.1

- [Core] Fix MapboxCoreSearch dependency when using cocoapods
Expand Down
4 changes: 2 additions & 2 deletions Cartfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
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
binary "https://api.mapbox.com/downloads/v2/carthage/search-core-sdk/MapboxCoreSearch.xcframework.json" == 2.2.0-beta.1
binary "https://api.mapbox.com/downloads/v2/carthage/mapbox-common/MapboxCommon.json" == 24.5.0-beta.4
4 changes: 2 additions & 2 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -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.1.0"
binary "https://api.mapbox.com/downloads/v2/carthage/mapbox-common/MapboxCommon.json" "24.5.0-beta.4"
binary "https://api.mapbox.com/downloads/v2/carthage/search-core-sdk/MapboxCoreSearch.xcframework.json" "2.2.0-beta.1"
4 changes: 2 additions & 2 deletions MapboxCoreSearch.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'MapboxCoreSearch'
s.version = '2.1.0'
s.version = '2.2.0-beta.1'
s.summary = 'Search Core SDK for Mapbox Search API'

s.description = <<-DESC
Expand Down Expand Up @@ -31,5 +31,5 @@ Some iOS platfrom specifics applies.
}

s.vendored_frameworks = "**/#{s.name}.xcframework"
s.dependency "MapboxCommon", "24.4.0"
s.dependency "MapboxCommon", "24.5.0-beta.4"
end
6 changes: 3 additions & 3 deletions MapboxSearch.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'MapboxSearch'
s.version = '2.1.1'
s.version = '2.2.0-beta.1'
s.summary = 'Search SDK for Mapbox Search API'

# This description is used to generate tags and improve search results.
Expand All @@ -24,6 +24,6 @@ Some iOS platform specifics applies.

s.vendored_frameworks = "**/#{s.name}.xcframework"

s.dependency "MapboxCoreSearch", '2.1.0'
s.dependency "MapboxCommon", '24.4.0'
s.dependency "MapboxCoreSearch", '2.2.0-beta.1'
s.dependency "MapboxCommon", '24.5.0-beta.4'
end
4 changes: 2 additions & 2 deletions MapboxSearchUI.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'MapboxSearchUI'
s.version = '2.1.1'
s.version = '2.2.0-beta.1'
s.summary = 'Search UI for Mapbox Search API'

# This description is used to generate tags and improve search results.
Expand All @@ -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.1.1"
s.dependency 'MapboxSearch', "2.2.0-beta.1"
end
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
import PackageDescription
import Foundation

let (coreSearchVersion, coreSearchVersionHash) = ("2.1.0", "adbcf5456e384a0313f65459a86600e10cc9a9837c08f5273fbef43de31bf8f4")
let (coreSearchVersion, coreSearchVersionHash) = ("2.2.0-beta.1", "e32bc6d639a45de31b1c820d2668d5d356c690c7fa6e25421272b8d0d6db8ec1")

let mapboxCommonSDKVersion = Version("24.4.0")
let mapboxCommonSDKVersion = Version("24.5.0-beta.4")

let package = Package(
name: "MapboxSearch",
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.1/)
- [MapboxSearchUI reference](https://docs.mapbox.com/ios/search/api/ui/2.1.1/)
- [MapboxSearch reference](https://docs.mapbox.com/ios/search/api/core/2.2.0-beta.1/)
- [MapboxSearchUI reference](https://docs.mapbox.com/ios/search/api/ui/2.2.0-beta.1/)
## Project structure overview
Expand All @@ -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.1.1", "< 3.0"
pod 'MapboxSearch', ">= 2.2.0-beta.1", "< 3.0"
```
##### MapboxSearchUI
To integrate latest preview version of `MapboxSearchUI` into your Xcode project using CocoaPods, specify it in your `Podfile`:
```
pod 'MapboxSearchUI', ">= 2.1.1", "< 3.0"
pod 'MapboxSearchUI', ">= 2.2.0-beta.1", "< 3.0"
```
### Swift Package Manager
Expand Down
4 changes: 2 additions & 2 deletions Search Documentation.docc/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.1", "< 3.0"
pod 'MapboxSearchUI', ">= 2.2.0-beta.1", "< 3.0"
end
```

Expand All @@ -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.1.1", "< 3.0"
pod 'MapboxSearch', ">= 2.2.0-beta.1", "< 3.0"
end
```

Expand Down
2 changes: 1 addition & 1 deletion Sources/MapboxSearch/PublicAPI/MapboxSearchVersion.swift
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/// Mapbox Search SDK version variable
public let mapboxSearchSDKVersion = "2.1.1"
public let mapboxSearchSDKVersion = "2.2.0-beta.1"

0 comments on commit 1a50691

Please sign in to comment.