Skip to content

Commit

Permalink
[SSDK-595] Prepare 2.0.0-rc.3 release (#190)
Browse files Browse the repository at this point in the history
### Description
Fixes https://mapbox.atlassian.net/browse/SSDK-595

- [Core] Add `SearchResultAccuracy.proximate` case, which signifies that the result is a known address point but does not intersect a known rooftop/parcel.
- [UI] Add Right-to-Left language support for Categories/Favorites segment control and fix xib errors.
- [UI] Add Preview file for CategoriesFavoritesSegmentControl to fix compiler problems.
- [Core] Add SearchError.owningObjectDeallocated when network responses fail to unwrap guard-let-self. If you encounter this error you must own the reference to the search engine.
- [Tests] Add UnownedObjectError tests to validate the behavior of SearchError.owningObjectDeallocated.
- [Privacy] Add Search history data collected for the purpose of product personalization (used for displaying the search history)
- [Discover, Category] Discover API to query categories remains available and compatible with 1.0.0 series.
- [Core] Default API engine type remains SBS (/search/v1), and the new Search Box API (search/searchbox/v1) is available by opt-in.
- [License] Update license to reflect 2024 usage
- [Tests] Change MockResponse into a protocol, create separate enums conforming to MockResponse for each API type (geocoding, SBS, autofill), and add MockResponse as generic to each test base class and MockWebServer.
- [Tests] Reorganize tests based on API type
- [Core] Update MapboxCoreSearch to the version built with Xcode 15.3

**MapboxCoreSearch**: v2.0.0-alpha.14

### Checklist
- [X] Update `CHANGELOG`
  • Loading branch information
aokj4ck authored Mar 28, 2024
1 parent eee15e6 commit 5e56456
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 18 deletions.
11 changes: 3 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,19 @@ Guide: https://keepachangelog.com/en/1.0.0/

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

- [Core] Add `SearchResultAccuracy.proximate` case which "is a known address point but does not intersect a known rooftop/parcel."
## 2.0.0-rc.3

- [Core] Add `SearchResultAccuracy.proximate` case which "is a known address point but does not intersect a known rooftop/parcel."
- [UI] Add Right-to-Left language support for Categories/Favorites segment control and fix xib errors.
- [UI] Add Preview file for CategoriesFavoritesSegmentControl to fix compiler problems.

- [Core] Add SearchError.owningObjectDeallocated when network responses fail to unwrap guard-let-self. If you encounter this error you must own the reference to the search engine.
- [Tests] Add UnownedObjectError tests to validate behavior of SearchError.owningObjectDeallocated.

- [Tests] Reorganize tests based on API type

- [Privacy] Add Search history collected data for the purpose of product personalization (used for displaying the search history)

- [Discover, Category] Discover API to query categories remains available and compatible with 1.0.0 series.
- [Core] Default API engine type remains SBS and search-box is available by opt-in.

- [License] Update license to reflect 2024 usage

- [Tests] Change MockResponse into a protocol, create separate enums conforming to MockResponse for each API type (geocoding, sbs, autofill), add MockResponse as generic to each test base class and MockWebServer.
- [Tests] Reorganize tests based on API type

**MapboxCoreSearch**: v2.0.0-alpha.14

Expand Down
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.0.0-rc.2
Mapbox Search for iOS version 2.0.0-rc.3
Mapbox Search iOS SDK

Copyright © 2021 - 2024 Mapbox, Inc. All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion 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.0.0-rc.2'
s.version = '2.0.0-rc.3'
s.summary = 'Search SDK for Mapbox Search API '

# This description is used to generate tags and improve search results.
Expand Down
2 changes: 1 addition & 1 deletion 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.0.0-rc.2'
s.version = '2.0.0-rc.3'
s.summary = 'Search UI for Mapbox Search API'

# This description is used to generate tags and improve search results.
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.0.0-rc.2/)
- [MapboxSearchUI reference](https://docs.mapbox.com/ios/search/api/ui/2.0.0-rc.2/)
- [MapboxSearch reference](https://docs.mapbox.com/ios/search/api/core/2.0.0-rc.3/)
- [MapboxSearchUI reference](https://docs.mapbox.com/ios/search/api/ui/2.0.0-rc.3/)
## 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.0.0-rc.2", "< 3.0"
pod 'MapboxSearch', ">= 2.0.0-rc.3", "< 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.0-rc.2", "< 3.0"
pod 'MapboxSearchUI', ">= 2.0.0-rc.3", "< 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.0.0-rc.2", "< 3.0"
pod 'MapboxSearchUI', ">= 2.0.0-rc.3", "< 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.0.0-rc.2", "< 3.0"
pod 'MapboxSearch', ">= 2.0.0-rc.3", "< 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.0.0-rc.2"
public let mapboxSearchSDKVersion = "2.0.0-rc.3"

0 comments on commit 5e56456

Please sign in to comment.