Releases: Tairesh/rustormy
Releases · Tairesh/rustormy
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.
v0.3.1
Added
- Added UV index to weather information display (only supported by World Weather Online provider for now).
- Added dew point to weather information (calculated from temperature and humidity by Magnus formula).
- Added
--align-rightCLI option to align labels to the right in text output (asalign_rightconfig option).
Changed
- Changed default layout, now precipitation is shown in separate line, humidity and dew point are shown together.
Fixed
- Fixed bug with World Weather Online not working in different languages.
- Minor code improvements and optimizations.
v0.3.0
Added
- Now
rustormywill try to get data from other providers if the first one fails. - Added
providersoption to config file to specify a list of providers in order of preference. - Added
-v/--verboseoption to show error details when a provider fails. - Implemented simple file cache for getting coordinates from city names to reduce API calls.
- Added
use_geocoding_cacheoption to config file to enable/disable caching (disabled for default). - Added
--no-cacheCLI option to disable caching for current run (overrides config file). - Added
--clear-cacheCLI option to clear cache directory and exit.
Changed
- Deprecated config file option
providerin favor ofproviderswhich accepts a list of providers in order of
preference. Old name is still supported for backward compatibility. Also--providerCLI option is still supported
and will override config file providers list with a single provider.
Fixed
- Improved code quality and maintainability.
v0.2.2
Added
- Add World Weather Online as a new weather data provider option (
--provider wwoorprovider = "wwo"in config). - Support for multiple API keys via config file (
api_key_owmfor OpenWeatherMap andapi_key_wwofor World Weather Online). - More unit tests for better coverage.
Changed
- Config file option
use_degrees_for_windrenamed towind_in_degreesfor clarity. Old name is still supported for backward compatibility. - Removed some dependencies to reduce binary size.
- Improved error handling and messages.
Fixed
- Wind speed now displays one decimal place.
Removed
- Config file option
api_keyremoved due to introduction of multiple providers. Useapi_key_owmfor OpenWeatherMap andapi_key_wwofor World Weather Online instead. Old name is still supported for backward compatibility. Each provider will check for its own API key first, then fallback toapi_keyif not found.
v0.2.1
Added
- Add option
align_rightto config file for aligning labels to the right in text output. By default,
labels are left-aligned.
Changed
- Improved code quality and maintainability by using
enum_dispatchfor weather providers.
Fixed
- Fix negative coordinates being parsed as unexpected arguments.
v0.2.0
Added
- Add
--one-lineoption to display weather information in a single line. - Add
--text-modeoption to CLI andtext_modeoption to config file to choose betweenfull(default),compact
andone_linemodes. - Implement automatic config file migration for
compact_modetotext_mode.
Changed
- Temperature now shows only one decimal place for better readability.
Removed
- 💥 Config file option
compact_moderemoved due to introduction of multiple text modes. Use
text_mode = "compact"
instead.--compactCLI option is still supported though.