Skip to content

Releases: mapbox/mapbox-search-android

1.0.0-beta.41

25 Nov 09:37
16c7072
Compare
Choose a tag to compare
1.0.0-beta.41 Pre-release
Pre-release

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 to com.mapbox.mapboxsdk:mapbox-android-core:<version> from the project to avoid duplicated class definition errors related to location APIs.

1.0.0-beta.40

11 Nov 15:41
42b1ba0
Compare
Choose a tag to compare
1.0.0-beta.40 Pre-release
Pre-release

1.0.0-beta.40

Mapbox dependencies

  • Search Native SDK 0.63.0
  • Common SDK 23.2.0-beta.1
  • Kotlin 1.5.31

1.0.0-beta.39

21 Oct 19:33
15a8586
Compare
Choose a tag to compare
1.0.0-beta.39 Pre-release
Pre-release

1.0.0-beta.39

New features

  • [Autofill] Now AutofillSuggestion provides a new property name.
  • [Autofill] Minimal allowed query name has been changed from 3 to 2.

Mapbox dependencies

  • Search Native SDK 0.62.0
  • Common SDK 23.1.0
  • Kotlin 1.5.31

1.0.0-beta.38.1

17 Oct 13:46
e2d8554
Compare
Choose a tag to compare
1.0.0-beta.38.1 Pre-release
Pre-release

1.0.0-beta.38.1

Bug fixes

  • [UI] Fixed a bug in SearchEngineUiAdapter where SearchListener.onPopulateQueryClick() was not called when user clicked the query populate button.

Mapbox dependencies

  • Search Native SDK 0.61.0
  • Common SDK 23.1.0-rc.1
  • Kotlin 1.5.31

1.0.0-beta.38

14 Oct 13:53
cf8d56d
Compare
Choose a tag to compare
1.0.0-beta.38 Pre-release
Pre-release

1.0.0-beta.38

Breaking changes

  • [UI] SearchResultsView became a generic view that can work with any SearchEngine or Use case. Its API has been changed. Use SearchEngineUiAdapter to adapt search engines for the view. See MainActivity for usage sample.

New features

  • [UI] Now UI module provides AddressAutofillUiAdapter that helps to display AddressAutofill suggestions on the SearchResultsView.
  • [Autofill] Now customers can provide own implementation of the LocationEngine.
  • [Autofill] AddressAutofill returns up to 10 suggestions instead of 5.
  • [Search SDK COMMON] AsyncOperationTask provides AsyncOperationTask.COMPLETED field which represents completed task.

Mapbox dependencies

  • Search Native SDK 0.61.0
  • Common SDK 23.1.0-rc.1
  • Kotlin 1.5.31

1.0.0-beta.37

03 Oct 15:05
cc93e0d
Compare
Choose a tag to compare
1.0.0-beta.37 Pre-release
Pre-release

1.0.0-beta.37

Breaking changes

  • [OFFLINE] OfflineSearchEngine's functions createTilesetDescriptor() and createPlacesTilesetDescriptor() are static now.
  • [CORE] SearchSuggestion.categories, and SearchResult.categories are nullable properties now. These properties are null for non-POI search results.
  • [CORE] ApiType.AUTOFILL has been removed. Use Autofill SDK instead.
  • [CORE] MapboxSearcSdk.createSearchEngine(), and MapboxSearcSdk.createSearchEngineWithBuiltInDataProviders() functions have been moved to SearchEngine.createSearchEngine(), and SearchEngine.createSearchEngineWithBuiltInDataProviders().
  • [CORE] MapboxSearcSdk.serviceProvider property has been removed, call ServiceProvider.INSTANCE instead.
  • [CORE] MapboxSearchSdk class is not publicly available anymore.
  • [CORE] IndexableRecord.coordinate is a non-null property now. Accordingly, HistoryRecord.coordinate is also a non-null property. This also makes SearchResult.coordinate a non-null property.
  • [CORE] SearchResult is a class now. Functions signature of SearchCallback, SearchSelectionCallback, SearchMultipleSelectionCallback have been changed for Java users.
  • [CORE] Subtypes ServerSearchResult, IndexableRecordSearchResult have been removed. Call SearchResult.IndexableRecord to check if a SearchResult is based on a IndexableRecord and access the record.
  • [UI] Function signature of SearchResultsView.SearchListener have been changed for Java users.
  • [UI] SearchPlace factory functions createFromSearchResult(), createFromIndexableRecord() no longer accept coordinate: Point arguments. Instead, coordinate will be taken from provided SearchResult, and IndexableRecord objects.

Mapbox dependencies

  • Search Native SDK 0.60.0
  • Common SDK 23.1.0-beta.1
  • Kotlin 1.5.31

1.0.0-beta.36

08 Sep 17:19
dc44757
Compare
Choose a tag to compare
1.0.0-beta.36 Pre-release
Pre-release

1.0.0-beta.36

Breaking changes

  • [CORE] AsyncOperationTask, SearchCancellationException, SearchRequestException, RoutablePoint have been moved to com.mapbox.search.common package. MainThreadWorker, and SearchSdkMainThreadWorker have been moved to com.mapbox.search.common.concurrent.
  • [CORE] SearchRequestTask has been replaced with AsyncOperationTask
  • [CORE] SearchSuggestion is a class now. Functions signature of SearchSuggestionsCallback, 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 is com.mapbox.search.offline. At the moment Offline SDK version is the same as the main Search SDK version. OfflineSearchEngine instance can be retrieved via OfflineSearchEngine.create(OfflineSearchEngineSettings).
  • [UI] SearchResultsView.SearchListener.onOfflineSearchResults() signature has been changed to onOfflineSearchResults(List<OfflineSearchResult>m OfflineResponseInfo). Also, a new function SearchResultsView.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, and INCORRECT_RESULT_RANK.
  • [UI] A new function SearchPlace.createFromOfflineSearchResult() is available.

Bug fixes

  • [UI] Now created in the SearchPlaceBottomSheetView FavoriteRecord will be saved with id from SearchPlace.id

Mapbox dependencies

  • Search Native SDK 0.59.0
  • Common SDK 23.0.0
  • Kotlin 1.5.31

1.0.0-beta.35

16 Aug 14:32
246141a
Compare
Choose a tag to compare
1.0.0-beta.35 Pre-release
Pre-release

1.0.0-beta.35

Breaking changes

  • [UI] Now SearchPlace constructor requires additional property id. copy() function's signature has also been changed.

New features

  • [CORE] SearchResultType provides a new value - BLOCK which represents the block number. Available specifically for Japan.

Mapbox dependencies

  • Search Native SDK 0.58.0
  • Common SDK 23.0.0-beta.1
  • Kotlin 1.5.31

1.0.0-beta.34

14 Jul 15:31
937c32d
Compare
Choose a tag to compare
1.0.0-beta.34 Pre-release
Pre-release

1.0.0-beta.34

Breaking changes

  • [CORE] Undocumented system property used to enable SBS API Type is deprecated. Use MapboxSearchSdk.createSearchEngine(ApiType, SearchEngineSettings), and MapboxSearchSdk.createSearchEngineWithBuiltInDataProviders(ApiType, SearchEngineSettings) instead. Note that SBS Api Type is still in beta and not available publicly.
  • [AUTOFILL] AddressAutofill.suggestions(String, AddressAutofillOptions) has been replaced with AddressAutofill.suggestions(Query, AddressAutofillOptions). Call Query.create() to create an instance of Query.

New features

  • [CORE] MapboxSearchSdk.createSearchEngine(ApiType, SearchEngineSettings), and MapboxSearchSdk.createSearchEngineWithBuiltInDataProviders(ApiType, SearchEngineSettings) functions are available that allow to choose API Type. Note that ApiType.GEOCODING is the only API Type available publicly.
  • [UI] SearchResultsView.Configuration accepts a new optional argument apiType used for the SearchEngine initialization.

Mapbox dependencies

  • Search Native SDK 0.57.0
  • Common SDK 22.1.0-beta.1
  • Kotlin 1.5.31

1.0.0-beta.33.1

13 Jul 08:13
4fb6f05
Compare
Choose a tag to compare
1.0.0-beta.33.1 Pre-release
Pre-release

1.0.0-beta.33.1

New features

  • [CORE] Now RequestOptions provides new fields endpoint and sessionID.

Bug fixes

  • [CORE] Now SearchAddress.formattedAddress(FormatStyle.Medium) for address with country United States includes region.

Mapbox dependencies

  • Search Native SDK 0.57.0
  • Common SDK 22.1.0-beta.1
  • Kotlin 1.5.31