Skip to content

Releases: Tairesh/rustormy

v0.4.1

14 Sep 22:50
v0.4.1
1b298ed

Choose a tag to compare

Fixed

  • Fixed incorrect wind direction arrows #8.
    Now these arrows are pointed in the direction the wind blows to, not where it comes from.
    Thanks to @necromeo for the issue and this fix!
  • Fixed incorrect path to config file on Windows in README.
    Thanks to @showhwa for this fix!

v0.4.0

10 Sep 16:28
v0.4.0
dedd737

Choose a tag to compare

Added

  • Added Weatherbit.io as a new weather data provider option
    (weather_bit or wb in config/CLI, api_keys.weather_bit for API key in config file).
  • Added Tomorrow.io as a new weather data provider option
    (tomorrow_io or ti in config/CLI, api_keys.tomorrow_io for API key in config file).
  • Added OpenUV as a new UV index data provider option
    (api_keys.open_uv for 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

08 Sep 15:04
v0.3.4
2b99420

Choose a tag to compare

Added

  • Added new weather data provider: WeatherAPI.com (weather_api or wa in config/CLI).
  • Added api_key_wa option 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

06 Sep 23:55
v0.3.3
a541073

Choose a tag to compare

Added

  • Added option connect_timeout to 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

04 Sep 06:53
v0.3.2
6bd7693

Choose a tag to compare

Added

  • Added wind info in one-line mode.

Fixed

  • Fixed minor bugs and improved code quality.

v0.3.1

01 Sep 13:09
v0.3.1
9abd986

Choose a tag to compare

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-right CLI option to align labels to the right in text output (as align_right config 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

31 Aug 16:55
v0.3.0
edf85a3

Choose a tag to compare

Added

  • Now rustormy will try to get data from other providers if the first one fails.
  • Added providers option to config file to specify a list of providers in order of preference.
  • Added -v/--verbose option 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_cache option to config file to enable/disable caching (disabled for default).
  • Added --no-cache CLI option to disable caching for current run (overrides config file).
  • Added --clear-cache CLI option to clear cache directory and exit.

Changed

  • Deprecated config file option provider in favor of providers which accepts a list of providers in order of
    preference. Old name is still supported for backward compatibility. Also --provider CLI option is still supported
    and will override config file providers list with a single provider.

Fixed

  • Improved code quality and maintainability.

v0.2.2

30 Aug 11:04
v0.2.2
17eb63b

Choose a tag to compare

Added

  • Add World Weather Online as a new weather data provider option (--provider wwo or provider = "wwo" in config).
  • Support for multiple API keys via config file (api_key_owm for OpenWeatherMap and api_key_wwo for World Weather Online).
  • More unit tests for better coverage.

Changed

  • Config file option use_degrees_for_wind renamed to wind_in_degrees for 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_key removed due to introduction of multiple providers. Use api_key_owm for OpenWeatherMap and api_key_wwo for World Weather Online instead. Old name is still supported for backward compatibility. Each provider will check for its own API key first, then fallback to api_key if not found.

v0.2.1

29 Aug 10:31
v0.2.1
da5bb4d

Choose a tag to compare

Added

  • Add option align_right to 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_dispatch for weather providers.

Fixed

  • Fix negative coordinates being parsed as unexpected arguments.

v0.2.0

28 Aug 13:53

Choose a tag to compare

Added

  • Add --one-line option to display weather information in a single line.
  • Add --text-mode option to CLI and text_mode option to config file to choose between full (default), compact
    and one_line modes.
  • Implement automatic config file migration for compact_mode to text_mode.

Changed

  • Temperature now shows only one decimal place for better readability.

Removed

  • 💥 Config file option compact_mode removed due to introduction of multiple text modes. Use
    text_mode = "compact"
    instead. --compact CLI option is still supported though.