Skip to content

Releases: null8626/python-weather

python-weather-2.0.7

14 Oct 10:14
de7e92d
Compare
Choose a tag to compare

python-weather version 2.0.7 is here!

This is a quick bug-squishing update after the previous update yesterday!
Changelog:

  • 🟦 Fix AttributeError upon calling WindDirection helper functions.
  • 🟩 Add __int__ helper implementation for the WindDirection enum.
  • 🟩 Add optional max_retries keyword argument to the Client constructor.
  • 🟦 Refactor the Kind enum to make its code more readable.
  • 🟦 Documentation fixes.

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

python-weather-2.0.5

13 Oct 08:18
10ef1b4
Compare
Choose a tag to compare

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 Forecast object.
  • 🟦 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 ClientSession objects.
  • 🟦 The test workflow now also tests the example code in the README.
  • 🟩 Add __len__ helper implementations for the forecast classes.
  • 🟦 Bump the aiohttp dependency to be at least version 3.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

02 Oct 14:46
53a5e8a
Compare
Choose a tag to compare

python-weather version 2.0.4 is here!

Changelog:

  • 🟦 The Client.close method now no longer closes the ClientSession if an existing ClientSession was provided in the constructor.
  • 🟩 HTTP exceptions are now wrapped under RequestError.
  • 🟩 Add __iter__ and __list__ helper implementations for the forecast classes.
  • 🟦 Bump the aiohttp dependency to be at least version 3.10.8.
  • 🟩 Add an additional raise_for_status argument to the default ClientSession.
  • 🟦 Refactor the regex retrieval for the Forecast.local_population property.

As always, thank you SO much for supporting python-weather! Much love! ❤️

python-weather-2.0.3

05 May 08:23
1723e71
Compare
Choose a tag to compare

python-weather version 2.0.3 is here!

A quick bug fix update!

Changelog:

  • 🟦 Fix potential NameError while accessing the Phase.emoji property.
  • 🟦 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

25 Apr 16:43
5fb6a66
Compare
Choose a tag to compare

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

24 Mar 22:11
Compare
Choose a tag to compare

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 yapf to ruff.
  • 🟦 Fix potential NameError while modifying forecast unit or locale.
  • 🟦 Remove several unused imports.
  • 🟦 Fix potential NameError on some typings.

As always, thank you all for supporting python-weather! Much love ❤️❤️❤️

python-weather-2.0.0

18 Mar 09:07
Compare
Choose a tag to compare

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 ❤️❤️

python-weather-1.1.2

25 Feb 08:56
Compare
Choose a tag to compare

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 ❤️❤️

python-weather-1.1.1

19 Feb 17:04
Compare
Choose a tag to compare

python-weather v1.1.1 is here!

changelog:

  • refactor: renamed chances_of_remdry to chances_of_remaining_dry in order to reduce confusion, the former is now deprecated (#53)
  • deps: bump aiohttp dependency from v3.9.0 to v3.9.3

python-weather-1.1.0

23 Nov 14:16
Compare
Choose a tag to compare

python-weather v1.1.0 is here!

changelog:

  • fix: added support for Python 3.12 by upgrading the aiohttp dependency to v3.9.0! this also means that the library no longer supports Python 3.7, which was discontinued this June. (#50)
  • refactor: removed several instances of copy-pasted code.