Skip to content

v2.0.0-beta

Pre-release
Pre-release
Compare
Choose a tag to compare
released this 01 Mar 04:32
· 80 commits to main since this 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