Skip to content

Support more currencies via the Frankfurter v2 API (#449) - #679

Merged
quintushr merged 3 commits into
mainfrom
feat/frankfurter-v2-currencies
Oct 19, 2026
Merged

quintushr merged 3 commits into
mainfrom
feat/frankfurter-v2-currencies

Conversation

@quintushr

@quintushr quintushr commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

Frankfurter v2 covers 166 currencies instead of v1's ~30, including the ones requested in #418 (TWD), #431 (MOP), #438 (NPR) and #544 (JOD).

  • useCurrencyRate queries /v2/rates?date=…&base=…&quotes=… and reads the rate from the returned array. Future dates still come back with the latest available date, so the date-mismatch warning keeps working.
  • Add the 77 v2 currencies that currency-list has localized data for (the others, e.g. precious metals or currencies without CLDR names, are left out). Existing entries in currency-data.json are kept as they were, so the hand-edited MAD translations from Add moroccan dirham (MAD) to supported currencies #659 are not overwritten.
  • Update the e2e Frankfurter mock to the v2 request and response shape.

Closes #449
Closes #418
Closes #431
Closes #438

Testing :

Screenshot from 2026-10-13 21-52-37

Frankfurter v2 covers 166 currencies instead of v1's ~30, including the
ones requested in #418 (TWD), #431 (MOP), #438 (NPR) and #544 (JOD).

- useCurrencyRate queries /v2/rates?date=…&base=…&quotes=… and reads the
  rate from the returned array. Future dates still come back with the latest
  available date, so the date-mismatch warning keeps working.
- Add the 77 v2 currencies that currency-list has localized data for
  (the others, e.g. precious metals or currencies without CLDR names, are
  left out). Existing entries in currency-data.json are kept as they were,
  so the hand-edited MAD translations from #659 are not overwritten.
- Update the e2e Frankfurter mock to the v2 request and response shape.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@quintushr
quintushr marked this pull request as ready for review October 14, 2026 01:54
@quintushr
quintushr merged commit 73478ed into main Oct 19, 2026
1 check passed
@quintushr
quintushr deleted the feat/frankfurter-v2-currencies branch October 19, 2026 04:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant