Skip to content

Releases: mapbox/mapbox-search-android

1.0.0-beta.32

16 Jun 12:27
67bfd1f
Compare
Choose a tag to compare
1.0.0-beta.32 Pre-release
Pre-release

1.0.0-beta.32

Same release as 1.0.0-beta.31 but with Common SDK 22.0.0.

Mapbox dependencies

  • Search Native SDK 0.56.0
  • Common SDK 22.0.0
  • Kotlin 1.5.31

1.0.0-beta.31

15 Jun 11:41
c68127d
Compare
Choose a tag to compare
1.0.0-beta.31 Pre-release
Pre-release

1.0.0-beta.31

Breaking changes

  • [CORE] OfflineSearchEngine is a 1-step search now, which means that SearchResult's returned in the first step without SearchSuggestion selection. OfflineSearchEngine.select() function has been removed. OfflineSearchEngine.search() accepts SearchCallback callback type.
  • [CORE] Now automatically cancelled by the Search SDK search requests made to the SearchEngine and OfflineSearchEngine will be passing SearchCancellationException to the corresponding callbacks of SearchCallback, SearchSuggestionsCallback, and SearchSelectionCallback.
  • [UI] Now SearchResultsView.SearchListener has a new function onOfflineSearchResults().

New features

  • [CORE] Autofill SDK prototype is available now.
  • [CORE] Now SearchResult provides a new accuracy field which is a point accuracy metric for the returned address.

Bug fixes

  • [CORE] Fixed a bug in the previous version of the Search SDK which didn't include http service implementation by default.

Mapbox dependencies

  • Search Native SDK 0.55.0
  • Common SDK 21.3.0
  • Kotlin 1.5.31

1.0.0-beta.30

27 May 11:32
a13fac8
Compare
Choose a tag to compare
1.0.0-beta.30 Pre-release
Pre-release

1.0.0-beta.30

Breaking changes

  • [CORE] IndexableDataProvider.add(), and IndexableDataProvider.update() have been replaced with a new function IndexableDataProvider.upsert().
  • [CORE] IndexableDataProvider.addAll() has been renamed to IndexableDataProvider.upsertAll().
  • [CORE] IndexableDataProviderEngine.add(), and IndexableDataProviderEngine.update() have been replaced with a new function IndexableDataProviderEngine.upsert().
  • [CORE] IndexableDataProviderEngine.addAll() has been renamed to IndexableDataProviderEngine.upsertAll().
  • [CORE] IndexableDataProviderEngine.executeBatchUpdate() has been removed along with IndexableDataProviderEngine.BatchUpdateOperation. Now IndexableDataProviderEngine is a thread-safe entity. If you need multiple operations to be executed one after another, call them in a needed order on the same thread.
  • [CORE] AnalyticsService.sendRawFeedbackEvent() has been removed. Events should be sent immediately.
  • [CORE] AnalyticsService.createRawFeedbackEvent() functions have been made asynchronous and marked as deprecated. These functions return raw events in a very specific format and should not be used.

Mapbox dependencies

  • Search Native SDK 0.54.1
  • Common SDK 21.3.0
  • Kotlin 1.5.31

1.0.0-beta.29.1

13 May 07:26
4c86f97
Compare
Choose a tag to compare
1.0.0-beta.29.1 Pre-release
Pre-release

1.0.0-beta.29.1

New features

  • [CORE] SearchResult and SearchSuggestion now provide externalIDs property.

Mapbox dependencies

  • Search Native SDK 0.52.0
  • Common SDK 21.3.0-rc.2
  • Telemetry SDK 8.1.1
  • Kotlin 1.5.31

1.0.0-beta.29

22 Apr 18:52
69a683a
Compare
Choose a tag to compare
1.0.0-beta.29 Pre-release
Pre-release

1.0.0-beta.29

Breaking changes

  • [CORE] ServiceProvider.globalDataProvidersRegistry() has been removed. Now customers should use SearchEngine.registerDataProvider() for the data providers registration. Interface IndexableDataProvidersRegistry and its internal classes are not available anymore either.
  • [CORE] Now IndexableDataProviders should provide priority field which affects IndexableRecord's ranking in case of multiple data providers added to a search engine.
  • [CORE] IndexableDataProviderEngineLayer has been renamed to IndexableDataProviderEngine. Also, functions registerIndexableDataProviderEngineLayer() and unregisterIndexableDataProviderEngineLayer() of IndexableDataProvider have been renamed to registerIndexableDataProviderEngine() and unregisterIndexableDataProviderEngine().
  • [CORE] Functionality of CategorySearchEngine, and ReverseGeocodingSearchEngine have been merged into SearchEngine. Also, functions MapboxSearchSdk.getCategorySearchEngine(), MapboxSearchSdk.getReverseGeocodingSearchEngine() have been removed, call MapboxSearchSdk.getSearchEngine() or MapboxSearchSdk.createSearchEngine() instead.
  • [CORE] Constants MapboxSearchSdk.LAYER_PRIORITY_HISTORY, MapboxSearchSdk.LAYER_PRIORITY_FAVORITES have been moved HistoryDataProvider.PROVIDER_PRIORITY, and FavoritesDataProvider.PROVIDER_PRIORITY.
  • [CORE] MapboxSearchSdk.addDataProviderInitializationCallback() and MapboxSearchSdk.removeDataProviderInitializationCallback() have been removed along with DataProviderInitializationCallback interface. Use HistoryDataProvider.OnDataProviderEngineRegisterListener(), and FavoritesDataProvider.OnDataProviderEngineRegisterListener() instead.
  • [CORE] Fields SearchSdkSettings.geocodingEndpointBaseUrl, and SearchSdkSettings.singleBoxSearchBaseUrl have been removed. Now you can configure search engine endpoints with SearchEngineSettings. SearchSdkSettings.Builder and corresponding functions have also been removed. MapboxSearchSdk.initialize() now can accept SearchEngineSettings.
  • [CORE] Class OfflineSearchSettings has been renamed to OfflineSearchEngineSettings. MapboxSearchSdk.initialize() argument offlineSearchSettings has also been renamed to offlineSearchEngineSettings.

New features

  • [CORE] Now customers can create several independent from each other SearchEngines. See MapboxSearchSdk.createSearchEngine().
  • [CORE] Now SearchRequestTask provides isDone, and isCancelled 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

1.0.0-beta.28

24 Mar 13:02
d00220b
Compare
Choose a tag to compare
1.0.0-beta.28 Pre-release
Pre-release

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

23 Feb 13:20
1638150
Compare
Choose a tag to compare
1.0.0-beta.27 Pre-release
Pre-release

1.0.0-beta.27

New features

  • [CORE] Now SearchSuggestion has a new categories property.
  • [UI] SearchBottomSheetView has a new callback SearchBottomSheetView.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. Default LocationEngine that's passed to MapboxSearchSdk.initialize() needs location access in order to work properly.
  • [UI] SearchResultsView.SearchListener now has more callback functions: SearchListener.onSuggestions(), SearchListener.onCategoryResult(), and SearchListener.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

29 Jan 10:04
4d65a88
Compare
Choose a tag to compare
1.0.0-beta.26 Pre-release
Pre-release

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 and MissingResultFeedbackEvent.feedbackId.
  • [CORE] Now SearchSuggestion provides optional metadata property.
  • [CORE] Now SearchResultMetadata provides optional countryIso1 and countryIso2 properties that provide country codes in ISO 3166-1 and ISO 3166-2. These properties are available for both SearchResult and SearchSuggestion types, in SBS and V5 APIs.

Bug fixes

  • [CORE] Fixed GSON serialization for SearchResult and SearchSuggestion

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

14 Jan 19:15
5804657
Compare
Choose a tag to compare
1.0.0-beta.25 Pre-release
Pre-release

1.0.0-beta.25

Breaking changes

  • [CORE] Public interfaces SearchResult, ServerSearchResult, IndexableRecordSearchResult, SearchSuggestion have been marked as sealed 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

16 Dec 14:08
fb6e572
Compare
Choose a tag to compare
1.0.0-beta.24 Pre-release
Pre-release

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