Skip to content

Releases: mapbox/mapbox-search-android

v2.8.0

13 Feb 09:34
788f24a
Compare
Choose a tag to compare

2.8.0

New features

  • OfflineSearchResult can now be of a POI type. OfflineSearchResultType has been deprecated, along with the OfflineSearchResult.type property. Use OfflineSearchResult.newType instead.
  • OfflineSearchEngine.searchAlongRoute(String, Point, List<Point>, OfflineSearchCallback) has been deprecated. Use an overloaded function that accepts OfflineSearchAlongRouteOptions as a parameter instead.

Experimental API breaking changes

  • Properties EvConnector.id, EVSE.uid are nullable now.
  • Property EvLocation.images has been removed.
  • Now OfflineSearchAlongRouteOptions doesn't accept proximity as a parameter, search will be performed along the whole route.

Mapbox dependencies

  • Search Native SDK 2.8.0
  • Common SDK 24.10.0

v2.8.0-rc.2

05 Feb 12:44
9c20183
Compare
Choose a tag to compare

2.8.0-rc.2

New features

  • Added new type OfflineSearchAlongRouteOptions that accepts OfflineEvSearchOptions and allows to search for EV stations along the route.

Bug fixes

  • Search along route functionality in offline has been improved.

Mapbox dependencies

  • Search Native SDK 2.8.0-rc.1
  • Common SDK 24.10.0-rc.1

v2.8.0-rc.1

03 Feb 08:44
eafe8f3
Compare
Choose a tag to compare

2.8.0-rc.1

New features

  • Added experimental support for the EV search in offline, see OfflineSearchOptions.evSearchOptions and OfflineSearchResult.metadata.
  • Added experimental support for worldviews. Note that only selected worldviews are supported. To specify worldview, create Tileset Descriptor with required language and worldview, for example, OfflineSearchEngine.createTilesetDescriptor(language = IsoLanguageCode.ENGLISH, worldview = IsoCountryCode.MOROCCO).

Experimental API breaking changes

  • Annotation ExperimentalMapboxSearchAPI has been replaced with Mapbox common annotation MapboxExperimental.

Known issues

  • OfflineSearchEngine.OnIndexChangeListener is not called when expected. Workaround is to listen for TileStore.loadTileRegion onFinish event and allow some time (few seconds) for the OfflineSearchEngine to initialize the downloaded tiles.

Mapbox dependencies

  • Search Native SDK 2.8.0-rc.1
  • Common SDK 24.10.0-rc.1

v2.8.0-beta.1

22 Jan 07:24
0b4c6f1
Compare
Choose a tag to compare

2.8.0-beta.1

New features

  • New property SearchSuggestion.namePreferred is available. It provides the official name of the suggestion.

Bug fixes

  • Fixed SearchResult.etaMinutes parsing for the Search Box api type.

Other

  • SearchOptions.routeOptions has been deprecated as not supported for the forward geocoding.

Mapbox dependencies

  • Search Native SDK 2.8.0-beta.2
  • Common SDK 24.10.0-beta.2

v2.7.1

02 Jan 18:36
deec317
Compare
Choose a tag to compare

2.7.1

New features

  • New option ForwardSearchOptions.attributeSets is available. It allows to request additional metadata attributes besides the basic ones.

Mapbox dependencies

  • Search Native SDK 2.7.0
  • Common SDK 24.9.0

v2.6.4

02 Jan 17:39
088e12f
Compare
Choose a tag to compare

2.6.4

New features

  • New option ForwardSearchOptions.attributeSets is available. It allows to request additional metadata attributes besides the basic ones.

Mapbox dependencies

  • Search Native SDK 2.6.3
  • Common SDK 24.8.0

v2.7.0

18 Dec 18:40
5506df1
Compare
Choose a tag to compare

2.7.0

New features

  • New option CategorySearchOptions.attributeSets is available. It allows to request additional metadata attributes besides the basic ones.

Mapbox dependencies

  • Search Native SDK 2.7.0
  • Common SDK 24.9.0

v2.6.3

10 Dec 22:12
7e9c960
Compare
Choose a tag to compare

2.6.3

New features

  • Added new function to search for multiple categories, e.g., SearchEngine.search(listOf("coffee_shop", "hotel"), ...),
  • New option CategorySearchOptions.ensureResultsPerCategory is available. It allows to request category search results to include at least one POI for each category, provided a POI is available in a nearby location.
  • New option CategorySearchOptions.attributeSets is available. It allows to request additional metadata attributes besides the basic ones.

Bug fixes

  • Fixed photos metadata parsing for the ApiType.SEARCH_BOX.

Mapbox dependencies

  • Search Native SDK 2.6.3
  • Common SDK 24.8.0

v2.7.0-rc.1

08 Dec 15:59
b7240b1
Compare
Choose a tag to compare

2.7.0-rc.1

New features

  • Added new function to search for multiple categories, e.g., SearchEngine.search(listOf("coffee_shop", "hotel"), ...),
  • New option CategorySearchOptions.ensureResultsPerCategory is available. It allows to request category search results to include at least one POI for each category, provided a POI is available in a nearby location.

Bug fixes

  • Fixed photos metadata parsing for the ApiType.SEARCH_BOX.

Mapbox dependencies

  • Search Native SDK 2.7.0-rc.1
  • Common SDK 24.9.0-rc.1

v2.7.0-beta.1

29 Nov 08:07
f796d45
Compare
Choose a tag to compare

2.7.0-beta.1

New features

  • New option OfflineSearchOptions.searchPlacesOutsideBoundingBox is available. It allows to search for places outside of the bounding box, if boundingBox option is specified.

Mapbox dependencies

  • Search Native SDK 2.7.0-beta.1
  • Common SDK 24.9.0-beta.1