Skip to content

Releases: mapbox/mapbox-search-android

v2.0.0-rc.1

01 May 23:59
720aef6
Compare
Choose a tag to compare
v2.0.0-rc.1 Pre-release
Pre-release

New features

  • [Online search] Add method to retrieve a POI by Mapbox ID
  • [Offline search] Add optional language parameter to OfflineSearchEngine.createTilesetDescriptor and OfflineSearchEngine.createPlacesTilesetDescriptor functions.
  • [UI] Added supports to select a single map feature to support map click events

Breaking changes

  • [CORE] Undo renaming of all Discover-related terms to Category
  • [Address Autofill, Place Autocomplete] Added a separate function reverse for coordinate-based searches.

v1.2.0

01 Apr 23:13
6c46070
Compare
Choose a tag to compare

New features

  • [CORE] We have added support for Mapbox IDs in search results. A new field called mapboxId is added to BaseSearchResult, SearchResult, CategoryResult, and OfflineSearchResult. Mapbox ID is stable, and developers can store it for lookup purposes.
  • [Offline search] We have added POI (Points of Interest) support to offline search. Developers can now use POIs in offline search in addition to Addresses and Places.
  • [Offline search] We have added a bounding box filter for offline search. Developers can now use the bounding box to limit the searchable area in the offline mode, increasing search response time for offline queries.

Breaking changes

  • [Address Autofill, Place Autocomplete] Search is now a two-step action. It returns Suggestions (without the geo coordinate and routable points) at the first step and Result (with the geo coordinate and routable points) after the suggestion is selected. Thus, the coordinate field is no longer available in Suggestion.
  • [Address Autofill, Place Autocomplete] Added a separate function reverse for coordinate-based searches.

Bug fixes

  • [Offline search] Don't return results with the empty name

v1.2.0-rc.1

26 Mar 17:38
5776692
Compare
Choose a tag to compare
v1.2.0-rc.1 Pre-release
Pre-release

New features

  • [CORE] We have added support for Mapbox IDs in search results. A new field called mapboxId is added to BaseSearchResult, SearchResult, CategoryResult, and OfflineSearchResult. Mapbox ID is stable, and developers can store it for lookup purposes.
  • [Offline search] We have added a bounding box filter for offline search. Developers can now use the bounding box to limit the searchable area in the offline mode, increasing search response time for offline queries.

Breaking changes

  • [Address Autofill, Place Autocomplete] Search is now a two-step action. It returns' Suggestions' (without the geo coordinate and routable points) at the first step and Result (with the geo coordinate and routable points) after the suggestion is selected. Thus, the coordinate field is no longer available in Suggestion.
  • [Address Autofill] suggestions() is renamed to reverseGeocoding().

v2.0.0-beta.4: Bump to 2.0.0-beta.4 (#205)

22 Mar 17:45
c54c539
Compare
Choose a tag to compare
* Bump to 2.0.0-beta.4

v2.0.0-beta

01 Mar 04:32
Compare
Choose a tag to compare
v2.0.0-beta Pre-release
Pre-release

New features:

  • Offline support for Points of Interest (POIs). Search SDK now supports offline search for POIs, in addition to addresses. Please note that this is a premium feature that needs to be enabled on your Mapbox account.
  • Added MapboxID (stable ID) related to search features in search results. MapboxID attribute is available in all relevant classes.
  • Performance improvement when displaying search suggestions
  • Support for Maps SDK v11 and latest Mapbox Core SDK
  • Country search support
  • Better formatting for address descriptions in offline search mode
  • Improved search engine performance and tracing

Breaking changes

  • Renamed Discover class to Category. The 'Category' class can be used for category searches, e.g., 'Coffee Shop.'
  • [CORE] Access token now needs to be assigned via MapboxOptions.accessToken
  • [CORE] Added a new field called mapboxId to BaseSearchResult, SearchResult, CategoryResult, and OfflineSearchResult
  • [Address Autofill, Place Autocomplete] Added new fields called id and mapboxId to AddressAutofillResult and PlaceAutocompleteResult
  • [Address Autofill, Place Autocomplete] Search is a two-step action now; it returns Suggestions (without the geo coordinates) and later returns 'Retrieved data' that includes coordinates and additional metadata.

Mapbox dependencies

  • Bump Search Native SDK to 2.0.0-alpha.13

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