Skip to content

Releases: mapbox/mapbox-gl-geocoder

v5.0.3

13 Sep 19:42
66c236f
Compare
Choose a tag to compare

5.0.3

Features / Improvements 🚀

  • Updates event service to latest schema

Dependency update

  • Bumps mapbox-sdk-js to v0.16.1

v5.0.2

15 Dec 10:49
01ccfc5
Compare
Choose a tag to compare
  • Fix setPlaceholder so that when setPlaceholder is called afterwards it return updated placeholder string #502
  • Fixed support of mapbox-gl@3 #520

5.1.0-beta.0

18 May 09:09
Compare
Choose a tag to compare
5.1.0-beta.0 Pre-release
Pre-release

From the changelog:

Features / Improvements 🚀

  • Added version="v5"|"v6" flag to the options of the MapboxGeocoder class which makes it possible to use v6 endpoint instead of v5 by default for geocoding. #485. For more details please refer to v6 API documentation.

v5.0.0

23 Mar 15:10
Compare
Choose a tag to compare

From the changelog:

Breaking Changes ⚠️

  • Adds Mapbox attribution footer. As we synthesize data sources in the future, based on data results there may be more lines. The footer is pretty small and unobtrusive, but if this is an issue for your product please reach out to your Technical Account Management (TAM) representative #438

Features / Improvements 🚀

  • Enables use of the value 'ip' for proximity to bias around a user's location #453
  • Adds setAccessToken method to update the accessToken after the Geocoder has been initialized #449
  • Added geolocate functionality to find user's location via the Browser API #444
  • Upgraded system font stack to include Apple fonts. This is used for text if Open Sans is not available #438
  • Adds flipCoordinates boolean option to support lon,lat coordinate order for reverse geocodes #435

Dependency update

  • Bumps nanoid to v3.1.31 to resolve security vulnerability warning.
  • Adds babelify to build process to ensure mapbox-gl-geocoder remains ES5-compatible.
  • Adds events dependency to resolve a Node emulation issue for use in packagers such as Vite #451

Bug fixes 🐛

  • Remove IE11-specific security vulnerability in createIcon method #446
  • Resolve with empty results response when the externalGeocoder method returns null #446

v4.0.0

09 Apr 16:46
1a25d05
Compare
Choose a tag to compare

This is the full GA release for the v4.0.0 changes described in #197.

From the changelog:

Breaking Changes ⚠️

  • Support for the Mapbox GL JS 0.47.0 API. This is compatible with 0.47.0 and later, and may not be compatible with earlier versions #219.
  • Obtain language from user's browser settings #195
  • Localize placeholder based on language set in constructor options #150
  • trackProximity turned on by default #195

Features / Improvements 🚀

  • Mapbox events upgraded to v0.2.0 for better handling #212
  • Pass flyTo options to the map on result selection on both map#flyTo and map#fitBounds operations #214 and #227
  • Bump suggestions dependency to v1.4.x
  • Adds the marker constructor option that allows adding the selected result to the map as a marker. Adding the marker to the map is now the default behavior. #219.
  • Add get and set methods for constructor options #226
  • Add collapsed option to collapse the geocoder controller into a button until hovered or focused #222
  • Expose clear as public method #115

Bug Fixes 🐛

  • Upgrade dev dependencies #216
  • Remove hardcoded IDs in bounding box exception list #217
  • Fix double map moveend event #229
  • Fix duplicate result event bug #218
  • Fix trapped focus bug #220

v4.0.0-beta.0

27 Mar 23:26
Compare
Choose a tag to compare
v4.0.0-beta.0 Pre-release
Pre-release
prepare v4.0.0-beta.0 release