Skip to content

v1.5.28

Choose a tag to compare

@github-actions github-actions released this 04 Nov 09:09
· 3 commits to main since this release

Improve the widget's USD/CNY exchange-rate availability. This release includes #154 by @cahthuranag.

Fixed

  • Widget exchange-rate refresh failed when its only host was unavailable (#154 by @cahthuranag) — the widget now tries jsDelivr, currency-api.pages.dev, and allratestoday.com in order. Network errors, HTTP failures, and missing or invalid CNY rates advance to the next source; successful responses retain the source URL in the exchange-rate cache.
  • A stalled exchange-rate source blocked the remaining fallbacks — each source now has a five-second timeout covering both response headers and the full JSON body. A timed-out request is cancelled before trying the next source. Regression tests cover stalled headers and bodies, all sources timing out, and timer cleanup.