Releases: null8626/python-weather
python-weather-2.1.1
python-weather version 2.1.1 is here!
After yet another seven-month long hiatus, python-weather is finally back for another quick update!
Changelog:
- 🟥 Drop support for Python 3.9.
- 🟩 Add
cloud_coverproperty to theBaseForecastclass. - 🟩 Add a proper message and a
reasonproperty to theRequestErrorclass. - 🟦 Add proper unit tests with a 100% coverage guarantee.
- 🟦 Fix the default
aiohttp.ClientSessionfrom using a deprecated keyword argument. - 🟦 Gate imports purely for type checking under
typing.TYPE_CHECKING. - 🟦 Bump
aiohttpdependency to3.13.2. - 🟦 Fix incorrect return type annotation for
__iter__methods. - 🟦 Refactor typings in accordance with Python 3.10's standards.
- 🟦 Improve documentation CSS.
Thank you everyone for supporting python-weather! Much love! ❤️
Full changelog: 2.1.0...2.1.1
python-weather-2.1.0
python-weather version 2.1.0 is here!
After a seven-month long hiatus, python-weather is finally back for another quick update!
Changelog:
- 🟦
RequestErroris now based on an HTTP status code instead of anExceptionsource. - 🟦 Replace several uses of deprecated Python type hints.
- 🟦 Bump aiohttp dependency to 3.12.4.
Thank you everyone for supporting python-weather! Much love! ❤️
python-weather-2.0.7
python-weather version 2.0.7 is here!
This is a quick bug-squishing update after the previous update yesterday!
Changelog:
- 🟦 Fix
AttributeErrorupon callingWindDirectionhelper functions. - 🟩 Add
__int__helper implementation for theWindDirectionenum. - 🟩 Add optional
max_retrieskeyword argument to theClientconstructor. - 🟦 Refactor the
Kindenum to make its code more readable. - 🟦 Documentation fixes.
Thank you everyone for supporting python-weather! Much love! ❤️
python-weather-2.0.5
python-weather version 2.0.5 is here!
This is a pretty BIG update with NO breaking changes!
Changelog:
- 🟦 Migrate from using Python properties to raw Python attributes, this should save 50 KB in the size of the
Forecastobject. - 🟦 Fix infinite loop while calling the
__iter__or__list__helper implementations of the forecast objects. - 🟦 Fix no status code error checking on clients using pre-existing
ClientSessionobjects. - 🟦 The test workflow now also tests the example code in the README.
- 🟩 Add
__len__helper implementations for the forecast classes. - 🟦 Bump the
aiohttpdependency to be at least version3.10.10.
Thank you so much for 100 stars! I cannot express how much i am thankful for this! ❤️
I am not in the best mood mentally for the past few months and certainly not active in maintaining these open source GitHub projects anymore because of uni -- but my heart is very grateful that lots of people appreciate my little side project from 2021! ❤️
Thank you everyone for supporting python-weather! Much love! ❤️❤️
python-weather-2.0.4
python-weather version 2.0.4 is here!
Changelog:
- 🟦 The
Client.closemethod now no longer closes theClientSessionif an existingClientSessionwas provided in the constructor. - 🟩 HTTP exceptions are now wrapped under
RequestError. - 🟩 Add
__iter__and__list__helper implementations for the forecast classes. - 🟦 Bump the
aiohttpdependency to be at least version3.10.8. - 🟩 Add an additional
raise_for_statusargument to the defaultClientSession. - 🟦 Refactor the regex retrieval for the
Forecast.local_populationproperty.
As always, thank you SO much for supporting python-weather! Much love! ❤️
python-weather-2.0.3
python-weather version 2.0.3 is here!
A quick bug fix update!
Changelog:
- 🟦 Fix potential
NameErrorwhile accessing thePhase.emojiproperty. - 🟦 Refactors on the request delay calculation.
- 🟦 Fix broken donations redirect in the documentation page.
As always, thank you so much for supporting python-weather! Happy coding! ❤️
python-weather-2.0.2
python-weather version 2.0.2 is here!
A quick minor update!
Changelog:
- 🟩 Add a donation link over at https://ko-fi.com/null8626.
- 🟦 As of 19 April 2024, all GitHub commits sent to the repository (both manual and automated) will be GPG-signed.
As always, thank you so much for using and supporting python-weather! Happy coding! ❤️
python-weather-2.0.1
python-weather version 2.0.1 is here!
This update brings in lots of bugfixes and refactors thanks to the migration from using yapf to ruff!
Changelog:
- 🟦 Migrate from
yapftoruff. - 🟦 Fix potential
NameErrorwhile modifying forecast unit or locale. - 🟦 Remove several unused imports.
- 🟦 Fix potential
NameErroron some typings.
As always, thank you all for supporting python-weather! Much love ❤️❤️❤️
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
WeathertoForecast. - 🟥 Merge
CurrentForecastclass' properties withForecast's. Therefore thecurrentproperty is removed. - 🟥 Merge
Areaclass' properties withForecast. - 🟥 Rename
Weather.forecaststoForecast.daily_forecasts. - 🟥 Rename
Weather.locationtoForecast.coordinates. The former now returns the forecast location's name and the latter is no longer an optional type. - 🟥 Rename
CurrentForecast.chances_of_hightemptoForecast.chances_of_high_temperature. - 🟥 Rename
CurrentForecast.chances_of_remdrytoForecast.chances_of_remaining_dry. - 🟥 Rename
CurrentForecast.datetoForecast.datetime. - 🟥 Rename
DailyForecast.hourlytoDailyForecast.hourly_forecasts. - 🟥 Rename
UltraviolettoUltraViolet. - 🟩
HourlyForecast.heat_indexnow returns a convenience enum calledHeatIndex. - 🟥 Merge
Astronomyclass' properties withDailyForecast. - 🟥 Rename
Astronomy.sun_risetoDailyForecast.sunrise. - 🟥 Rename
Astronomy.sun_settoDailyForecast.sunset. - 🟥 Rename
Astronomy.moon_risetoDailyForecast.moonrise. - 🟥 Rename
Astronomy.moon_settoDailyForecast.moonset.
Thank you all for supporting python-weather! Much love ❤️❤️
python-weather-1.1.2
python-weather version 1.1.2 is here!
Changelog:
🟩 Add an official project documentation in https://python-weather.readthedocs.io/en/latest/.
Thank you all for supporting python-weather! Happy coding! Much love ❤️❤️