Skip to content

Releases: mapbox/mapbox-search-android

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

1.0.0-beta.44

19 Jan 11:54
ea58678
Compare
Choose a tag to compare
1.0.0-beta.44 Pre-release
Pre-release

1.0.0-beta.44

New features

  • [Discover API] Discover API preview is available.
  • [Autofill] Now AddressComponents provides new properties AddressComponents.countryIso1 and AddressComponents.countryIso2.

Breaking changes

  • [CORE] OpenHours, OpenPeriod, WeekDay, WeekTimestamp, ParkingData classes have been moved to com.mapbox.search.common.metadata package.
  • [CORE] Language has been renamed to IsoLanguageCode and moved to com.mapbox.search.common package.
  • [CORE] Country has been renamed to IsoCountryCode and moved to com.mapbox.search.common package.
  • [CORE] DistanceCalculator has been moved to com.mapbox.search.common package. ServiceProvider.distanceCalculator(latitude: Double) function is not available anymore, instead use DistanceCalculator.instance(latitude: Double).
  • [CORE] HighlightsCalculator has been moved to com.mapbox.search.common package. ServiceProvider.higlightsCalculator() function is not available anymore, instead use HighlightsCalculator.INSTANCE.
  • [Autofill] AddressAutofillOptions.Country and AddressAutofillOptions.Language have been removed and replaced by IsoCountryCode and IsoLanguageCode.
  • [Autofill] AddressAutofillResponse type has been removed. Now AddressAutofill functions return Expected<Exception, List<AddressAutofillSuggestion>>.

Mapbox dependencies

  • Search Native SDK 0.66.0
  • Common SDK 23.2.1
  • Kotlin 1.5.31

1.0.0-beta.43

19 Dec 17:33
cf9c67f
Compare
Choose a tag to compare
1.0.0-beta.43 Pre-release
Pre-release

1.0.0-beta.43

Bug fixes

  • [CORE] Search SDK does not longer implicitly set origin and proximity points in SearchOptions and CategorySearchOptions for SBS Api Type if either origin or proximity point is provided by a user.

Mapbox dependencies

  • Search Native SDK 0.66.0
  • Common SDK 23.2.1
  • Kotlin 1.5.31

1.0.0-beta.42

02 Dec 12:41
b087d7a
Compare
Choose a tag to compare
1.0.0-beta.42 Pre-release
Pre-release

1.0.0-beta.42

Bug fixes

  • [AUTOFILL] Fixed a bug in address autofill reverse geocoding.

Mapbox dependencies

  • Search Native SDK 0.65.0
  • Common SDK 23.2.0
  • Kotlin 1.5.31

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