Skip to content

Releases: mapbox/mapbox-search-android

1.0.0-beta.27

23 Feb 13:20
1638150
Compare
Choose a tag to compare
1.0.0-beta.27 Pre-release
Pre-release

1.0.0-beta.27

New features

  • [CORE] Now SearchSuggestion has a new categories property.
  • [UI] SearchBottomSheetView has a new callback SearchBottomSheetView.OnSearchViewStateChangeListener that notifies subscribers when the "Main search view" changes it's state.

Breaking changes

  • [CORE] Search SDK doesn't implicitly request android.permission.ACCESS_COARSE_LOCATION permission anymore. Default LocationEngine that's passed to MapboxSearchSdk.initialize() needs location access in order to work properly.
  • [UI] SearchResultsView.SearchListener now has more callback functions: SearchListener.onSuggestions(), SearchListener.onCategoryResult(), and SearchListener.onError().

Mapbox dependencies

  • Search Native SDK 0.50.0
  • Common SDK 21.2.0-beta.1
  • Telemetry SDK 8.1.1
  • Kotlin 1.5.31

1.0.0-beta.26

29 Jan 10:04
4d65a88
Compare
Choose a tag to compare
1.0.0-beta.26 Pre-release
Pre-release

1.0.0-beta.26

New features

  • [CORE] New properties are available SearchSuggestion.matchingName, SearchSuggestion.serverIndex, SearchResult.matchingName, SearchResult.serverIndex, ResponseInfo.responseUuid.
  • [CORE] Now customers can provide their own feedback IDs in FeedbackEvent.feedbackId and MissingResultFeedbackEvent.feedbackId.
  • [CORE] Now SearchSuggestion provides optional metadata property.
  • [CORE] Now SearchResultMetadata provides optional countryIso1 and countryIso2 properties that provide country codes in ISO 3166-1 and ISO 3166-2. These properties are available for both SearchResult and SearchSuggestion types, in SBS and V5 APIs.

Bug fixes

  • [CORE] Fixed GSON serialization for SearchResult and SearchSuggestion

Mapbox dependencies

  • Search Native SDK 0.49.0
  • Common SDK 21.1.0
  • Telemetry SDK 8.1.1
  • Kotlin 1.5.31

1.0.0-beta.25

14 Jan 19:15
5804657
Compare
Choose a tag to compare
1.0.0-beta.25 Pre-release
Pre-release

1.0.0-beta.25

Breaking changes

  • [CORE] Public interfaces SearchResult, ServerSearchResult, IndexableRecordSearchResult, SearchSuggestion have been marked as sealed as they were not supposed to be implemented by external code.
  • [UI] Now SearchCategoriesBottomSheetView.CategoryLoadingStateListener.onLoadingError() callback provides one more parameter - Exception occurred during the request.
  • [UI] Now SearchCategoriesBottomSheetView.CategoryLoadingStateListener.onCategoryResultsLoaded() callback provides one more parameter - ResponseInfo which contains response information.

New features

  • [CORE, UI] Now Search SDK documentation and source code is visible in Android Studio.

Bug fixes

  • [CORE] Now SearchRequestException contains original detail error message returned from the backend.

Mapbox dependencies

  • Search Native SDK 0.47.0
  • Common SDK 21.1.0-rc.1
  • Telemetry SDK 8.1.1
  • Kotlin 1.5.31

1.0.0-beta.24

16 Dec 14:08
fb6e572
Compare
Choose a tag to compare
1.0.0-beta.24 Pre-release
Pre-release

1.0.0-beta.24

Breaking changes

  • [UI] Now initialization methods SearchPlaceBottomSheetView.initialize(), SearchCategoriesBottomSheetView.initialize(), SearchResultsView.initialize() have to be called in order to make these views work properly.

New features

  • [UI] Now you can provide distance unit type (imperial or metric) used for views visual information via initialization methods of the views: SearchBottomSheetView.initializeSearch(), SearchPlaceBottomSheetView.initialize(), SearchCategoriesBottomSheetView.initialize(), SearchResultsView.initialize().

Bug fixes

  • [UI] Fixed a bug with uninitialized properties in created from SearchBottomSheetView favorite record.

Mapbox dependencies

  • Search Native SDK 0.46.1
  • Common SDK 21.0.1
  • Telemetry SDK 8.1.0