github arshaviras/weather-widget v1.7.0

one hour ago

What's Changed

Fixes

  • Forecast times: the hourly forecast now shows the right upcoming slots in every timezone. Before, cities east of UTC could show past slots and cities west of UTC could hide upcoming ones.
  • No more dead end on errors: when weather data can't be loaded, the city selector stays visible and the widget retries automatically, so a wrong city or a short outage no longer leaves it stuck.
  • Missing icons: added the icons that were missing from the line + static icon set (barometer, humidity, not-available, sunrise, sunset). Before this, that set crashed the page.
  • Clear message when the API key is missing: the widget tells you to set OPENWEATHER_API_KEY instead of showing a generic error.
  • Invalid units value: falls back to metric instead of throwing an error.
  • City check: only cities from the list (or your configured default) are used, so unexpected values can't use up your API quota.

Improvements

  • Languages: added Spanish (es). Laravel locales such as cs, ko, sq, nb/nn and zh now map to OpenWeatherMap's codes, and regional locales like de_AT fall back to de.
  • Min / Max temperature: now uses today's forecast as well as the current reading, so it's closer to the day's actual low and high.

Visible changes

  • The wind arrow now points in the direction the wind is blowing to (before, it pointed where the wind came from).
  • The Kelvin symbol is now K (was °K) and the imperial wind unit is mph (was MPH).

Full Changelog: v1.6.1...v1.7.0

Don't miss a new weather-widget release

NewReleases is sending notifications on new releases.