Skip to content

Releases: mapbox/mapbox-search-android

v2.0.0-alpha: Remove TwoStepsToOneStepSearchEngineAdapter

21 Feb 18:03
Compare
Choose a tag to compare
Making multiple subsequent calls to /retrieve turned out
to be undesired for billing and performance reasons, so this
code change only calls /retrieve for the final selection.

1.0.0-rc.7

28 Jun 12:37
9a03a25
Compare
Choose a tag to compare
1.0.0-rc.7 Pre-release
Pre-release

1.0.0-rc.7

Bug fixes

  • [ALL] Fixed street name capitalization for names with numbers.
  • [ALL] Fixed indexable records matching where a record with lower cased street wasn't matched correctly.

Mapbox dependencies

  • Search Native SDK 0.71.0
  • Common SDK 23.6.0
  • Kotlin 1.5.31

1.0.0-rc.6

22 Jun 15:18
d2971cf
Compare
Choose a tag to compare
1.0.0-rc.6 Pre-release
Pre-release

1.0.0-rc.6

Breaking changes

  • [CORE] SearchSuggestionType.IndexableRecordItem.type field has been replaced with record field which provides IndexableRecord instance.

Bug fixes

  • [CORE] Now search suggestions and search results that are matched with IndexableRecords provide data from the backend which is likely to be up-to-date than data from IndexableRecord. Original IndexableRecord instance can be obtained from SearchSuggestionType.IndexableRecordItem.record and SearchResult.indexableRecord.
  • [ALL] Fixed an issue where SBS backend doesn't always capitilized street names for POI results.
  • [ALL] Fixed an issue where some POI results from SBS backend were missing "Ave/St/Avenue/Street" words in street names.

Mapbox dependencies

  • Search Native SDK 0.70.0
  • Common SDK 23.6.0
  • Kotlin 1.5.31

1.0.0-rc.5

07 Jun 21:13
f9b6d5a
Compare
Choose a tag to compare
1.0.0-rc.5 Pre-release
Pre-release

1.0.0-rc.5

New features

  • [CORE] Now SearchSuggestion might return suggestions with type SearchSuggestionType.Brand.

Breaking changes

  • [CORE] Function SearchSelectionCallback.onCategoryResult() has been renamed to onResults(). Now this function is called when brand search suggestion is resolved.
  • [UI] Similarly, function SearchEngineUiAdapter.onCategoryResultsShown() has been renamed to onSearchResultsShown().

Bug fixes

  • [ALL] Fixed an issue with truncated formatted address.
  • [ALL] Fixed an issue with excessive normalization of category names in request's url.

Mapbox dependencies

  • Search Native SDK 0.69.0
  • Common SDK 23.6.0-rc.1
  • Kotlin 1.5.31

1.0.0-rc.4

10 May 19:58
b6778b3
Compare
Choose a tag to compare
1.0.0-rc.4 Pre-release
Pre-release

1.0.0-rc.4

New features

  • [Place Autocomplete] Now PlaceAutocompleteSuggestion and PlaceAutocompleteResult provide new property etaMinutes.
  • [Place Autocomplete] Now PlaceAutocompleteOptions accepts an additional parameter navigationProfile that determines how the distance and time of arrival (ETA) will be calculated.

Breaking changes

  • [CORE] SearchNavigationProfile type has been renamed to NavigationProfile and moved to com.mapbox.search.common package.
  • [Address Autofill] AddressAutofillSuggestion.result() function has been removed. Use AddressAutofill.select(AddressAutofillSuggestion) instead. Note that developers must call this function when user selects a search suggestion in the UI.

Bug fixes

  • [Place Autocomplete] Fixed a bug with missing PlaceAutocompleteSuggestion.distanceMeters.

Mapbox dependencies

  • Search Native SDK 0.68.0
  • Common SDK 23.3.1
  • Kotlin 1.5.31

1.0.0-rc.3

14 Apr 07:59
606c609
Compare
Choose a tag to compare
1.0.0-rc.3 Pre-release
Pre-release

1.0.0-rc.3

New features

  • [Place Autocomplete] Now PlaceAutocompleteSuggestion provides additional property PlaceAutocompleteSuggestion.routablePoints.

Breaking changes

  • [Place Autocomplete] PlaceAutocompleteSuggestion.result() function has been removed. Use PlaceAutocomplete.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

15 Mar 15:51
4c30bb0
Compare
Choose a tag to compare
1.0.0-rc.2 Pre-release
Pre-release

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

22 Feb 14:32
3581827
Compare
Choose a tag to compare
1.0.0-rc.1 Pre-release
Pre-release

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

16 Feb 14:36
c70f6e1
Compare
Choose a tag to compare
1.0.0-beta.46 Pre-release
Pre-release

1.0.0-beta.46

New features

  • [CORE] Now SearchSuggestion and SearchResult types provide a new field fullAddress 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 field formattedAddress.
  • [PLACE AUTOCOMPLETE] Place Autocomplete SDK is available now. See docs for more information.
  • [UI] PlaceAutocompleteUiAdapter type is available. It's a helper class for connecting Place Autocomple SDK with the SearchResultsView.
  • [UI] A new SearchPlace.createFromPlaceAutocompleteResult() function is available.

Breaking changes

  • [CORE] com.mapbox.search.CompletionCallback has been moved to com.mapbox.search.common.CompletionCallback.
  • [CORE] com.mapbox.search.ImageInfo has been moved to com.mapbox.search.common.metadata.ImageInfo.

Bug fixes

  • [CORE] Fixed SearchSuggestion.name and SearchResult.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

06 Feb 18:15
22433b5
Compare
Choose a tag to compare
1.0.0-beta.45 Pre-release
Pre-release

1.0.0-beta.45

New features

  • [UI] Now SearchResultsView will use mapboxSearchSdkBackgroundColor as a background color if background is not specified explicitly.

Breaking changes

  • [Discover] Discover API has been renamed to Discover. Also, DiscoverApiAddress, DiscoverApiOptions, DiscoverApiQuery, DiscoverApiResult have been renamed to DiscoverAddress, 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