Releases: mapbox/mapbox-search-android
Releases · mapbox/mapbox-search-android
1.0.0-beta.28
1.0.0-beta.28
New features
- [UI] Now
SearchBottomSheetView
shows all the available search history records along with their addresses. - [UI] Now users can swipe history records left to remove a record from the the recent searches.
Bug fixes
- [UI] Now keyboard is hidden automatically when user navigates back from the feedback card or closes it.
Mapbox dependencies
- Search Native SDK
0.51.0
- Common SDK
21.2.0
- Telemetry SDK
8.1.1
- Kotlin
1.5.31
1.0.0-beta.27
1.0.0-beta.27
New features
- [CORE] Now
SearchSuggestion
has a newcategories
property. - [UI]
SearchBottomSheetView
has a new callbackSearchBottomSheetView.OnSearchViewStateChangeListener
that notifies subscribers when the "Main search view" changes it's state.
Breaking changes
- [CORE] Search SDK doesn't implicitly request
android.permission.ACCESS_COARSE_LOCATION
permission anymore. DefaultLocationEngine
that's passed toMapboxSearchSdk.initialize()
needs location access in order to work properly. - [UI]
SearchResultsView.SearchListener
now has more callback functions:SearchListener.onSuggestions()
,SearchListener.onCategoryResult()
, andSearchListener.onError()
.
Mapbox dependencies
- Search Native SDK
0.50.0
- Common SDK
21.2.0-beta.1
- Telemetry SDK
8.1.1
- Kotlin
1.5.31
1.0.0-beta.26
1.0.0-beta.26
New features
- [CORE] New properties are available
SearchSuggestion.matchingName
,SearchSuggestion.serverIndex
,SearchResult.matchingName
,SearchResult.serverIndex
,ResponseInfo.responseUuid
. - [CORE] Now customers can provide their own feedback IDs in
FeedbackEvent.feedbackId
andMissingResultFeedbackEvent.feedbackId
. - [CORE] Now
SearchSuggestion
provides optionalmetadata
property. - [CORE] Now
SearchResultMetadata
provides optionalcountryIso1
andcountryIso2
properties that provide country codes inISO 3166-1
andISO 3166-2
. These properties are available for bothSearchResult
andSearchSuggestion
types, in SBS and V5 APIs.
Bug fixes
- [CORE] Fixed GSON serialization for
SearchResult
andSearchSuggestion
Mapbox dependencies
- Search Native SDK
0.49.0
- Common SDK
21.1.0
- Telemetry SDK
8.1.1
- Kotlin
1.5.31
1.0.0-beta.25
1.0.0-beta.25
Breaking changes
- [CORE] Public interfaces
SearchResult
,ServerSearchResult
,IndexableRecordSearchResult
,SearchSuggestion
have been marked assealed
as they were not supposed to be implemented by external code. - [UI] Now
SearchCategoriesBottomSheetView.CategoryLoadingStateListener.onLoadingError()
callback provides one more parameter -Exception
occurred during the request. - [UI] Now
SearchCategoriesBottomSheetView.CategoryLoadingStateListener.onCategoryResultsLoaded()
callback provides one more parameter -ResponseInfo
which contains response information.
New features
- [CORE, UI] Now Search SDK documentation and source code is visible in Android Studio.
Bug fixes
- [CORE] Now
SearchRequestException
contains original detail error message returned from the backend.
Mapbox dependencies
- Search Native SDK
0.47.0
- Common SDK
21.1.0-rc.1
- Telemetry SDK
8.1.1
- Kotlin
1.5.31
1.0.0-beta.24
1.0.0-beta.24
Breaking changes
- [UI] Now initialization methods
SearchPlaceBottomSheetView.initialize()
,SearchCategoriesBottomSheetView.initialize()
,SearchResultsView.initialize()
have to be called in order to make these views work properly.
New features
- [UI] Now you can provide distance unit type (imperial or metric) used for views visual information via initialization methods of the views:
SearchBottomSheetView.initializeSearch()
,SearchPlaceBottomSheetView.initialize()
,SearchCategoriesBottomSheetView.initialize()
,SearchResultsView.initialize()
.
Bug fixes
- [UI] Fixed a bug with uninitialized properties in created from
SearchBottomSheetView
favorite record.
Mapbox dependencies
- Search Native SDK
0.46.1
- Common SDK
21.0.1
- Telemetry SDK
8.1.0