New Features
.MapBox
: addreferer
param to allow restricted api_keys.
Contributed by Dennis Stritzke. (#501).MapBox
: addlanguage
param togeocode
.
Contributed by Dennis Stritzke. (#503).Distance
: add floor division + right multiplication
operators. (#485).Distance
: make hashable. (#485).Nominatim
: addnamedetails
param toreverse
. (#525).Pelias
: addcountries
param togeocode
. (#504).GoogleV3
: pass the originalerror_message
to exceptions.
(#398)
Packaging Changes
- Drop support for Python 3.5 and 3.6.
- Add support for Python 3.10 and 3.11.
- Relax geographiclib upper version constraint to allow 2.x.
Contributed by David Hotham. (#520) - Raise geographiclib lower version constraint to 1.52 to fix possible
ValueError
in.distance.geodesic
due to
the floating point inaccuracy. (#466) - Move static metadata from
setup.py
tosetup.cfg
.
Deprecations
.Pelias
: deprecatecountry_bias
param, usecountries
instead. (#504).IGNFrance
: authentication is no longer accepted by the API,
so passing any credentials to the geocoder class has been deprecated.
These arguments should be removed. (#496)
Bugfixes
- Fix possible
TypeError
thrown by.RequestsAdapter
on destruction. Contributed by Philip Kahn. (#488) .ArcGIS
: get address from LongLabel if Address is empty.- All geocoders: fix unexpected scientific point format for coordinates
near zero in reverse geocoding. (#511) .BANFrance
: fix broken reverse (it looks like their API has
changed in a backwards-incompatible way: thelng
query arg has
been renamed tolon
)..IGNFrance
: fix broken geocoder due to removal of
authentication in their API. (#496)