1.0.0-beta.29
Pre-release
Pre-release
DzmitryFomchyn
released this
22 Apr 18:52
·
218 commits
to main
since this release
1.0.0-beta.29
Breaking changes
- [CORE]
ServiceProvider.globalDataProvidersRegistry()
has been removed. Now customers should useSearchEngine.registerDataProvider()
for the data providers registration. InterfaceIndexableDataProvidersRegistry
and its internal classes are not available anymore either. - [CORE] Now
IndexableDataProvider
s should providepriority
field which affectsIndexableRecord
's ranking in case of multiple data providers added to a search engine. - [CORE]
IndexableDataProviderEngineLayer
has been renamed toIndexableDataProviderEngine
. Also, functionsregisterIndexableDataProviderEngineLayer()
andunregisterIndexableDataProviderEngineLayer()
ofIndexableDataProvider
have been renamed toregisterIndexableDataProviderEngine()
andunregisterIndexableDataProviderEngine()
. - [CORE] Functionality of
CategorySearchEngine
, andReverseGeocodingSearchEngine
have been merged intoSearchEngine
. Also, functionsMapboxSearchSdk.getCategorySearchEngine()
,MapboxSearchSdk.getReverseGeocodingSearchEngine()
have been removed, callMapboxSearchSdk.getSearchEngine()
orMapboxSearchSdk.createSearchEngine()
instead. - [CORE] Constants
MapboxSearchSdk.LAYER_PRIORITY_HISTORY
,MapboxSearchSdk.LAYER_PRIORITY_FAVORITES
have been movedHistoryDataProvider.PROVIDER_PRIORITY
, andFavoritesDataProvider.PROVIDER_PRIORITY
. - [CORE]
MapboxSearchSdk.addDataProviderInitializationCallback()
andMapboxSearchSdk.removeDataProviderInitializationCallback()
have been removed along withDataProviderInitializationCallback
interface. UseHistoryDataProvider.OnDataProviderEngineRegisterListener()
, andFavoritesDataProvider.OnDataProviderEngineRegisterListener()
instead. - [CORE] Fields
SearchSdkSettings.geocodingEndpointBaseUrl
, andSearchSdkSettings.singleBoxSearchBaseUrl
have been removed. Now you can configure search engine endpoints withSearchEngineSettings
.SearchSdkSettings.Builder
and corresponding functions have also been removed.MapboxSearchSdk.initialize()
now can acceptSearchEngineSettings
. - [CORE] Class
OfflineSearchSettings
has been renamed toOfflineSearchEngineSettings
.MapboxSearchSdk.initialize()
argumentofflineSearchSettings
has also been renamed toofflineSearchEngineSettings
.
New features
- [CORE] Now customers can create several independent from each other
SearchEngine
s. SeeMapboxSearchSdk.createSearchEngine()
. - [CORE] Now
SearchRequestTask
providesisDone
, andisCancelled
properties.
Mapbox dependencies
- Search Native SDK
0.52.0
- Common SDK
21.3.0-rc.2
- Telemetry SDK
8.1.1
- Kotlin
1.5.31