1.0.0-beta.36
Pre-release
Pre-release
DzmitryFomchyn
released this
08 Sep 17:19
·
189 commits
to main
since this release
1.0.0-beta.36
Breaking changes
- [CORE]
AsyncOperationTask
,SearchCancellationException
,SearchRequestException
,RoutablePoint
have been moved tocom.mapbox.search.common
package.MainThreadWorker
, andSearchSdkMainThreadWorker
have been moved tocom.mapbox.search.common.concurrent
. - [CORE]
SearchRequestTask
has been replaced withAsyncOperationTask
- [CORE]
SearchSuggestion
is a class now. Functions signature ofSearchSuggestionsCallback
,SearchSelectionCallback
,SearchMultipleSelectionCallback
have been changed for Java users. - [CORE, UI] Offline functionality has been moved to a separate dependency which can be resolved via
com.mapbox.search:offline:$version
. Package name for offline functionality iscom.mapbox.search.offline
. At the moment Offline SDK version is the same as the main Search SDK version.OfflineSearchEngine
instance can be retrieved viaOfflineSearchEngine.create(OfflineSearchEngineSettings)
. - [UI]
SearchResultsView.SearchListener.onOfflineSearchResults()
signature has been changed toonOfflineSearchResults(List<OfflineSearchResult>m OfflineResponseInfo)
. Also, a new functionSearchResultsView.SearchListener.onOfflineSearchResult()
has been added.
New features
- [CORE]
FeedbackEvent.FeedbackReason
now has few more reasons that can be used in the feedback:INCORRECT_PHONE_NUMBER
, andINCORRECT_RESULT_RANK
. - [UI] A new function
SearchPlace.createFromOfflineSearchResult()
is available.
Bug fixes
- [UI] Now created in the
SearchPlaceBottomSheetView
FavoriteRecord
will be saved with id fromSearchPlace.id
Mapbox dependencies
- Search Native SDK
0.59.0
- Common SDK
23.0.0
- Kotlin
1.5.31