python-weather-2.0.0
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
toForecast
. - 🟥 Merge
CurrentForecast
class' properties withForecast
's. Therefore thecurrent
property is removed. - 🟥 Merge
Area
class' properties withForecast
. - 🟥 Rename
Weather.forecasts
toForecast.daily_forecasts
. - 🟥 Rename
Weather.location
toForecast.coordinates
. The former now returns the forecast location's name and the latter is no longer an optional type. - 🟥 Rename
CurrentForecast.chances_of_hightemp
toForecast.chances_of_high_temperature
. - 🟥 Rename
CurrentForecast.chances_of_remdry
toForecast.chances_of_remaining_dry
. - 🟥 Rename
CurrentForecast.date
toForecast.datetime
. - 🟥 Rename
DailyForecast.hourly
toDailyForecast.hourly_forecasts
. - 🟥 Rename
Ultraviolet
toUltraViolet
. - 🟩
HourlyForecast.heat_index
now returns a convenience enum calledHeatIndex
. - 🟥 Merge
Astronomy
class' properties withDailyForecast
. - 🟥 Rename
Astronomy.sun_rise
toDailyForecast.sunrise
. - 🟥 Rename
Astronomy.sun_set
toDailyForecast.sunset
. - 🟥 Rename
Astronomy.moon_rise
toDailyForecast.moonrise
. - 🟥 Rename
Astronomy.moon_set
toDailyForecast.moonset
.
Thank you all for supporting python-weather! Much love ❤️❤️