Skip to content

v0.5.5

Latest

Choose a tag to compare

@AstrOOnauta AstrOOnauta released this 15 Nov 18:08
· 1 commit to main since this release

0.5.5

  • Updated the withdrawn ISO 4217 currencies in the country data (#15): BG now lists EUR (was BGN), SL lists SLE (was SLL), CW and SX list XCG (was ANG), CU lists only CUP (CUC removed) and ZW lists ZWG (was ZWB). Synced with mledoze/countries; only the currencies field changed and the types are unchanged. If your app reads one of the old codes (e.g. country.currencies.BGN), it now gets undefined;
  • Fixed the South African rand symbol in ZW: it showed Rs, the rupee symbol, instead of R, the symbol ZA, LS, NA and SZ already use;
  • Fixed the class component example in the README: it stored country in state but rendered selectedCountry, so it always showed undefined (undefined) (#14);
  • Added tests for both data fixes: one fails if a withdrawn currency code comes back, the other if any country lists the rand with a symbol other than R. 54 tests.