Skip to content

python-weather-2.0.0

Compare
Choose a tag to compare
@null8626 null8626 released this 18 Mar 09:07
· 225 commits to main since this release

python-weather version 2.0.0 is here!

Lots of major breaking changes are done in this update for consistency!

Changelog:

  • 🟥 Rename the main forecast's class name from Weather to Forecast.
  • 🟥 Merge CurrentForecast class' properties with Forecast's. Therefore the current property is removed.
  • 🟥 Merge Area class' properties with Forecast.
  • 🟥 Rename Weather.forecasts to Forecast.daily_forecasts.
  • 🟥 Rename Weather.location to Forecast.coordinates. The former now returns the forecast location's name and the latter is no longer an optional type.
  • 🟥 Rename CurrentForecast.chances_of_hightemp to Forecast.chances_of_high_temperature.
  • 🟥 Rename CurrentForecast.chances_of_remdry to Forecast.chances_of_remaining_dry.
  • 🟥 Rename CurrentForecast.date to Forecast.datetime.
  • 🟥 Rename DailyForecast.hourly to DailyForecast.hourly_forecasts.
  • 🟥 Rename Ultraviolet to UltraViolet.
  • 🟩 HourlyForecast.heat_index now returns a convenience enum called HeatIndex.
  • 🟥 Merge Astronomy class' properties with DailyForecast.
  • 🟥 Rename Astronomy.sun_rise to DailyForecast.sunrise.
  • 🟥 Rename Astronomy.sun_set to DailyForecast.sunset.
  • 🟥 Rename Astronomy.moon_rise to DailyForecast.moonrise.
  • 🟥 Rename Astronomy.moon_set to DailyForecast.moonset.

Thank you all for supporting python-weather! Much love ❤️❤️