Skip to content

Releases: petert82/country-query

2.0.0

11 Mar 16:53
a10a19a
Compare
Choose a tag to compare

This updates the world-countries dependency to v4.0.0, and means a few breaking changes have been introduced.

Added

  • Added findByIdd() function (this replaces findByCallingCode()).
  • Added 'currencies', 'idd' and 'demonyms' as possible values of the by param to find().

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 the callingCode field no longer exists in the world-countries data.
  • Removed 'currency', 'callingCode' and 'demonym' as possible values of the by param to find().

1.1.2

30 Aug 19:16
Compare
Choose a tag to compare

Changed

  • Upgraded to latest version of lodash.

1.0.1

21 May 16:11
Compare
Choose a tag to compare

Changed

  • Added findByCioc() to the docs in the readme.

1.0.0

21 May 16:00
Compare
Choose a tag to compare

Changed

  • find() and all findByX() functions are now case-insensitive.

0.3.0

02 Jun 18:13
Compare
Choose a tag to compare

Added

  • Added findByCioc() function (Thanks zakjan!).

Changed

  • Updated to version 1.7.8 of the world-countries data.

Removed

  • Removed findByRelevance() function as the relevance parameter no longer exists in the world-countries data.