Releases: petert82/country-query
Releases · petert82/country-query
2.0.0
This updates the world-countries
dependency to v4.0.0, and means a few breaking changes have been introduced.
Added
- Added
findByIdd()
function (this replacesfindByCallingCode()
). - Added 'currencies', 'idd' and 'demonyms' as possible values of the
by
param tofind()
.
Changed
- Updated to version 4.0.0 of world-countries data.
- Structure of the country objects returned by
find()
has been updated due to the above.
Removed
- Removed
findByCallingCode()
as thecallingCode
field no longer exists in the world-countries data. - Removed 'currency', 'callingCode' and 'demonym' as possible values of the
by
param tofind()
.