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+staticicon 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_KEYinstead of showing a generic error. - Invalid
unitsvalue: falls back tometricinstead 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 ascs,ko,sq,nb/nnandzhnow map to OpenWeatherMap's codes, and regional locales likede_ATfall back tode. - 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 ismph(wasMPH).
Full Changelog: v1.6.1...v1.7.0