Releases: mapbox/mapbox-search-android
Releases · mapbox/mapbox-search-android
1.0.0-rc.3
1.0.0-rc.3
New features
- [Place Autocomplete] Now
PlaceAutocompleteSuggestion
provides additional propertyPlaceAutocompleteSuggestion.routablePoints
.
Breaking changes
- [Place Autocomplete]
PlaceAutocompleteSuggestion.result()
function has been removed. UsePlaceAutocomplete.select(PlaceAutocompleteSuggestion)
instead. Note that developers must call this function when user selects a search suggestion in the UI.
Mapbox dependencies
- Search Native SDK
0.68.0
- Common SDK
23.3.1
- Kotlin
1.5.31
1.0.0-rc.2
1.0.0-rc.2
Bug fixes
- [CORE] Partially fixed a bug when indexable records couldn't be matched with corresponding search results which caused duplicated search results.
- [UI] Fixed a crash in
SearchEngineUiAdapter
that could happen during history records removing.
Mapbox dependencies
- Search Native SDK
0.67.2
- Common SDK
23.3.1
- Kotlin
1.5.31
1.0.0-rc.1
1.0.0-rc.1
Breaking changes
- [CORE] Deprecated functions
AnalyticsService.createRawFeedbackEvent()
have been removed.
Mapbox dependencies
- Search Native SDK
0.67.1
- Common SDK
23.3.1
- Kotlin
1.5.31
1.0.0-beta.46
1.0.0-beta.46
New features
- [CORE] Now
SearchSuggestion
andSearchResult
types provide a new fieldfullAddress
which contains formatted text address from backend. - [DISCOVER] Now
Discover
SDK provides callback-based alternatives for Kotlin suspend functions. - [DISCOVER] Now
DiscoverResult
provides a new fieldformattedAddress
. - [PLACE AUTOCOMPLETE] Place Autocomplete SDK is available now. See docs for more information.
- [UI]
PlaceAutocompleteUiAdapter
type is available. It's a helper class for connectingPlace Autocomple SDK
with theSearchResultsView
. - [UI] A new
SearchPlace.createFromPlaceAutocompleteResult()
function is available.
Breaking changes
- [CORE]
com.mapbox.search.CompletionCallback
has been moved tocom.mapbox.search.common.CompletionCallback
. - [CORE]
com.mapbox.search.ImageInfo
has been moved tocom.mapbox.search.common.metadata.ImageInfo
.
Bug fixes
- [CORE] Fixed
SearchSuggestion.name
andSearchResult.name
formatting for address types. - [AUTOFILL] Fixed address formatting for
AddressAutofillSuggestion.formattedAddress
.
Mapbox dependencies
- Search Native SDK
0.67.1
- Common SDK
23.3.1
- Kotlin
1.5.31
1.0.0-beta.45
1.0.0-beta.45
New features
- [UI] Now
SearchResultsView
will usemapboxSearchSdkBackgroundColor
as a background color if background is not specified explicitly.
Breaking changes
- [Discover]
Discover API
has been renamed toDiscover
. Also,DiscoverApiAddress
,DiscoverApiOptions
,DiscoverApiQuery
,DiscoverApiResult
have been renamed toDiscoverAddress
,DiscoverOptions
,DiscoverQuery
,DiscoverResult
respectively.
Bug fixes
- [CORE] Fix a crash that could happen during unexpected backend metadata response.
- [OFFLINE] Update default tiles dataset name.
Mapbox dependencies
- Search Native SDK
0.66.0
- Common SDK
23.2.1
- Kotlin
1.5.31
1.0.0-beta.44
1.0.0-beta.44
New features
- [Discover API] Discover API preview is available.
- [Autofill] Now
AddressComponents
provides new propertiesAddressComponents.countryIso1
andAddressComponents.countryIso2
.
Breaking changes
- [CORE]
OpenHours
,OpenPeriod
,WeekDay
,WeekTimestamp
,ParkingData
classes have been moved tocom.mapbox.search.common.metadata
package. - [CORE]
Language
has been renamed toIsoLanguageCode
and moved tocom.mapbox.search.common
package. - [CORE]
Country
has been renamed toIsoCountryCode
and moved tocom.mapbox.search.common
package. - [CORE]
DistanceCalculator
has been moved tocom.mapbox.search.common
package.ServiceProvider.distanceCalculator(latitude: Double)
function is not available anymore, instead useDistanceCalculator.instance(latitude: Double)
. - [CORE]
HighlightsCalculator
has been moved tocom.mapbox.search.common
package.ServiceProvider.higlightsCalculator()
function is not available anymore, instead useHighlightsCalculator.INSTANCE
. - [Autofill]
AddressAutofillOptions.Country
andAddressAutofillOptions.Language
have been removed and replaced byIsoCountryCode
andIsoLanguageCode
. - [Autofill]
AddressAutofillResponse
type has been removed. NowAddressAutofill
functions returnExpected<Exception, List<AddressAutofillSuggestion>>
.
Mapbox dependencies
- Search Native SDK
0.66.0
- Common SDK
23.2.1
- Kotlin
1.5.31
1.0.0-beta.43
1.0.0-beta.43
Bug fixes
- [CORE] Search SDK does not longer implicitly set
origin
andproximity
points inSearchOptions
andCategorySearchOptions
forSBS
Api Type if eitherorigin
orproximity
point is provided by a user.
Mapbox dependencies
- Search Native SDK
0.66.0
- Common SDK
23.2.1
- Kotlin
1.5.31
1.0.0-beta.42
1.0.0-beta.42
Bug fixes
- [AUTOFILL] Fixed a bug in address autofill reverse geocoding.
Mapbox dependencies
- Search Native SDK
0.65.0
- Common SDK
23.2.0
- Kotlin
1.5.31
1.0.0-beta.41
1.0.0-beta.41
Breaking changes
- [CORE]
SearchAddress.FormatStyle.Custom
has been removed because it can't guarantee correct formatting behavior.SearchAddress
provides all the address components with the existing public API and customers still can format address according to needed formatting rules. - [UI]
SearchResultsView.defaultSearchOptions
was not used and was removed from the API.
Bug fixes
- [CORE] Fixed a bug with
SearchAddress
formatting when address house number is empty. - [CORE] Added a proguard rule that prevents DAO classes constructors from being removed.
- [UI] Fixed a bug in
SearchResultsView
when incorrect search options was used for request retry.
Mapbox dependencies
- Search Native SDK
0.64.0
- Common SDK
23.2.0-rc.3
- Kotlin
1.5.31
- Removed
mapbox-android-core
dependency, it is now part of Mapbox Common library.
NOTE: You need to remove any explicit dependency declaration tocom.mapbox.mapboxsdk:mapbox-android-core:<version>
from the project to avoid duplicated class definition errors related to location APIs.
1.0.0-beta.40
1.0.0-beta.40
Mapbox dependencies
- Search Native SDK
0.63.0
- Common SDK
23.2.0-beta.1
- Kotlin
1.5.31