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.