Skip to content

Commit

Permalink
Release v2.6.0, update dependencies (#342) (#343)
Browse files Browse the repository at this point in the history
Co-authored-by: Dmitry Volk <[email protected]>
  • Loading branch information
kried and volkdmitri authored Nov 12, 2024
1 parent 5dbdaee commit 66e6076
Show file tree
Hide file tree
Showing 13 changed files with 33 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ playground.xcworkspace
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
# Package.pins
# Package.resolved
Package.resolved
.build/
# Add this line if you want to avoid checking in Xcode SPM integration.
# .swiftpm/xcode
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ Guide: https://keepachangelog.com/en/1.0.0/

- [ResultChildMetadata] Add ResultChildMetadata.init(category:coordinate:mapboxId:name)

## 2.6.0

- [Core] Update dependencies

**MapboxCommon**: v24.8.0
**MapboxCoreSearch**: v2.6.0

## 2.6.0-rc.1

- [Core] Update dependencies
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.6.0-rc.1
binary "https://api.mapbox.com/downloads/v2/carthage/mapbox-common/MapboxCommon.json" == 24.8.0-rc.1
binary "https://api.mapbox.com/downloads/v2/carthage/search-core-sdk/MapboxCoreSearch.xcframework.json" == 2.6.0
binary "https://api.mapbox.com/downloads/v2/carthage/mapbox-common/MapboxCommon.json" == 24.8.0
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.8.0-rc.1"
binary "https://api.mapbox.com/downloads/v2/carthage/search-core-sdk/MapboxCoreSearch.xcframework.json" "2.6.0-rc.1"
binary "https://api.mapbox.com/downloads/v2/carthage/mapbox-common/MapboxCommon.json" "24.8.0"
binary "https://api.mapbox.com/downloads/v2/carthage/search-core-sdk/MapboxCoreSearch.xcframework.json" "2.6.0"
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## License

Mapbox Search for iOS version 2.6.0-rc.1
Mapbox Search for iOS version 2.6.0
Mapbox Search iOS SDK

Copyright © 2021 - 2024 Mapbox, Inc. All rights reserved.
Expand Down
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.6.0-rc.1'
s.version = '2.6.0'
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.6.0-rc.1'
s.dependency "MapboxCommon", '24.8.0-rc.1'
s.dependency "MapboxCoreSearch", '2.6.0'
s.dependency "MapboxCommon", '24.8.0'
end
4 changes: 2 additions & 2 deletions MapboxSearch.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3660,15 +3660,15 @@
repositoryURL = "https://github.com/mapbox/mapbox-common-ios.git";
requirement = {
kind = exactVersion;
version = "24.8.0-rc.1";
version = 24.8.0;
};
};
042BEB182C2DE30E0004CD7B /* XCRemoteSwiftPackageReference "mapbox-maps-ios" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/mapbox/mapbox-maps-ios.git";
requirement = {
kind = exactVersion;
version = "11.8.0-rc.1";
version = 11.8.0;
};
};
043339CB2C61295D001650FA /* XCRemoteSwiftPackageReference "atlantis" */ = {
Expand Down
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.6.0-rc.1'
s.version = '2.6.0'
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.6.0-rc.1"
s.dependency 'MapboxSearch', "2.6.0"
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.6.0-rc.1", "c59170343520ecbb3ff104e1a85b8d242c8e5784219e569137ea6812c713e077")
let (coreSearchVersion, coreSearchVersionHash) = ("2.6.0", "44c8215e1b0e33b5ea6ce1f2147dd918f2d53a908992f5eed80c4577b36faf00")

let mapboxCommonSDKVersion = Version("24.8.0-rc.1")
let mapboxCommonSDKVersion = Version("24.8.0")

let package = Package(
name: "MapboxSearch",
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ dependencies: [
##### MapboxSearch
To integrate latest pre-release version of `MapboxSearch` into your Xcode project using CocoaPods, specify it in your `Podfile`:
```
pod 'MapboxSearch', ">= 2.6.0-rc.1", "< 3.0"
pod 'MapboxSearch', ">= 2.6.0", "< 3.0"
```
##### MapboxSearchUI
To integrate latest pre-release version of `MapboxSearchUI` into your Xcode project using CocoaPods, specify it in your `Podfile`:
```
pod 'MapboxSearchUI', ">= 2.6.0-rc.1", "< 3.0"
pod 'MapboxSearchUI', ">= 2.6.0", "< 3.0"
```
### Carthage
Expand All @@ -109,7 +109,7 @@ pod 'MapboxSearchUI', ">= 2.6.0-rc.1", "< 3.0"
2. Follow the [Carthage Quick Start](https://github.com/Carthage/Carthage?tab=readme-ov-file#quick-start) and specificy the MapboxSearch dependency in your `Cartfile`:
```
github "Mapbox/mapbox-search-ios" ~> 2.6.0-rc.1
github "Mapbox/mapbox-search-ios" ~> 2.6.0
```
## Contributing
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.6.0-rc.1", "< 3.0"
pod 'MapboxSearchUI', ">= 2.6.0", "< 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.6.0-rc.1", "< 3.0"
pod 'MapboxSearch', ">= 2.6.0", "< 3.0"
end
```

Expand Down
6 changes: 5 additions & 1 deletion Sources/Demo/MapRootController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ class MapRootController: UIViewController {
annotationsManager.annotations = results.map { result in
var point = PointAnnotation(coordinate: result.coordinate)
point.textField = result.name
UIImage(named: "pin").map { point.image = .init(image: $0, name: "pin") }
UIImage(named: "pin").map {
point.iconAnchor = .bottom
point.textAnchor = .top
point.image = .init(image: $0, name: "pin")
}

// Present a detail view upon annotation tap
point.tapHandler = { [weak self] _ in
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.6.0-rc.1"
public let mapboxSearchSDKVersion = "2.6.0"

0 comments on commit 66e6076

Please sign in to comment.