Releases: Tairesh/rustormy
Releases · Tairesh/rustormy
v0.5.1
Added
- Tiered diagnostic logging via
-v/-vv/-vvv(orverbose = 0..=3in the config file). All logs go to stderr,
so they don't pollute--format=jsonoutput piped throughjqor similar tools.-vshows warnings: when a provider fails and we fall back to the next one, when OpenUV is unavailable, or when
a translation key is missing.-vvadds one-line summaries of every HTTP request (provider, operation, status, latency) and geocoding cache
hits/misses. URLs and API keys are not shown at this level.-vvvadds full request URLs and truncated response bodies for debugging. URLs at this level include API keys —
don't share captured output verbatim.
- In live mode, log lines produced inside the alternate screen are buffered and flushed to stderr after you exit, so
the UI stays clean during the session and you still see what happened on quit. - Distinct night-time icons and ASCII art for Light Showers and Heavy Showers, completing the day/night icon set
started in 0.5.0.
Fixed
- A transient OpenUV failure no longer aborts the weather fetch. UV index is silently omitted (with a
-vwarning if
enabled) and the rest of the data still displays normally.
v0.5.0
Added
- Live mode key bindings:
q/Esc/Ctrl+Cquit immediately,rforces an immediate refresh. - Optional one-line footer in live mode showing key hints and the last-update timestamp.
Toggle vialive_mode_footer = true|falsein the config file or--no-footeron the CLI. - Distinct night-time icons and ASCII art for Clear and Partly Cloudy conditions. The moon (🌙) replaces the sun
(☀️) at night, and Partly Cloudy switches to a moon-and-cloud combination. Day/night is detected automatically
per location and updates live as the sun crosses the horizon
(#29). is_day,latitude, andlongitudefields in JSON output.
Changed
- JSON output:
location_nameis now nested aslocation.name, alongsidelocation.latitudeand
location.longitude. Scripts parsing JSON output should switch fromlocation_nametolocation.name.
Fixed
- Live mode now uses the terminal's alternate screen buffer, so your existing terminal contents are preserved on exit
(#28). - World Weather Online: trailing whitespace in weather descriptions (e.g.
"Cloudy ") is now trimmed.
v0.4.4
Fixed
- Fixed a crash that could occur when all providers had been exhausted.
- OpenUV rate limit and quota errors no longer cause a failure — UV index is simply omitted when the API quota is exceeded.
v0.4.3
Changed
- UV index is now displayed with one decimal place of precision.
Fixed
- Improve code quality and maintainability by refactoring and adding prehooks with correct clippy --all-targets check.
- Fixed Yr.no provider showing "Unknown" for many valid weather conditions (sleet, thunderstorms, showers, fair weather,
etc.).
v0.4.2
Added
- Added Yr.no as a new weather data provider option (
yrin config/CLI, no API key required). - Added naive Korean translations (mostly machine-generated, so may contain errors)
Changed
- Updated dependencies to their latest versions.
v0.4.1
v0.4.0
Added
- Added Weatherbit.io as a new weather data provider option
(weather_bitorwbin config/CLI,api_keys.weather_bitfor API key in config file). - Added Tomorrow.io as a new weather data provider option
(tomorrow_ioortiin config/CLI,api_keys.tomorrow_iofor API key in config file). - Added OpenUV as a new UV index data provider option
(api_keys.open_uvfor API key in config file). If API key is provided, UV index will be fetched
and displayed along with other weather data even if the main weather provider does not provide UV index.
Changed
- Changed config file structure to use sections for better organization.
API keys and text formatting are now grouped under their respective sections.
Old config file structure is still supported for backward compatibility.
If you encounter any migration issues (from config file v0.3.4 or older),
please report them.
Fixed
- Refactored config file handling to support backward compatibility and easier future changes.
- Added more unit tests for checking config file parsing and migration.
- Improved code quality and maintainability.
v0.3.4
Added
- Added new weather data provider: WeatherAPI.com (
weather_apiorwain config/CLI). - Added
api_key_waoption to config file for WeatherAPI.com API key.
Fixed
- Fixed incorrect icon detection for weather conditions provided by World Weather Online provider.
- Improved code quality and maintainability.
v0.3.3
Added
- Added option
connect_timeoutto config file to set providers' APIs connection timeout in seconds (default is 10
seconds).
Changed
- Slightly changed default colors for better readability.
- Improved code quality and maintainability.
v0.3.2
Added
- Added wind info in one-line mode.
Fixed
- Fixed minor bugs and improved code quality.