0.2.1 |
10 January 2021 |
|
0.2.3 |
11 January 2021 |
|
0.3.0 |
24 May 2021 |
π¦ Use properties instead of directly storing attributes.
π© Add built-in caching capabilities.
π₯ Rename Weather.forecast to Weather.forecasts .
π© Add an exception class HTTPException .
π© Add __slots__ to class definitions.
π© Add example.py in the project root directory.
π¦ Use pythonβs walrus operator to clean up repetitive code.
π¦ Implement Pythonβs inheritance rather than keeping everything in one class.
π¦ Separate Client from HTTPClient .
π¦ Improve the example in README.
|
0.3.3 |
18 June 2021 |
π© Add a bundled-in CLI.
π© Add Weather.format property.
π© Add Weather.locale property.
π¦ Improve the projectβs typings.
π© Add .gitignore in the projectβs root to remove __pycache__ from appearing.
π¦ Tweaks to the projectβs documentation.
|
0.3.4 |
27 June 2021 |
|
0.3.5 |
29 June 2021 |
|
0.3.6 |
26 July 2021 |
|
0.3.7 |
5 November 2021 |
π¦ Fix bug that raises an exception when calling HTTPException.__repr__ .
π¦ HTTPException now derives from the Exception class.
π© Add __slots__ to the class definition for HTTPException .
|
0.3.8 |
28 June 2022 |
π₯ Remove the bundled-in CLI.
π¦ Fix potential NameError bug.
π₯ Remove all built-in caching capabilities.
π¦ Update the example with a fix for all Windows systems.
π© Add GitHub workflows for testing.
|
0.4.0 |
6 August 2022 |
π¦ Migrate from using Microsoftβs MSN API to wttr.in .
π¦ Fix dependabot alerts.
π© Add async with support for the client instance.
π© Add additional installation instructions for debian users.
|
0.4.1 |
8 August 2022 |
|
0.4.2 |
9 September 2022 |
π₯ Rename DailyForecast.average_temperature to DailyForecast.temperature .
π¦ Printing the forecast result should no longer raise an AttributeError .
π¦ Weather.location should not return None now, and should return floats insead of ints. (making it consistent to the type-hint)
π© Add Mist property to the WeatherType enum.
π© Add an additional TCPConnector argument to the default aiohttp ClientSession .
π₯ Remove unused __slots__ tuple member in the BaseForecast abstract class.
|
0.4.3 |
23 October 2022 |
|
1.0.0 |
28 April 2023 |
π© Add custom locale support.
π© Add lots of new classes and enums, and improve inheritance use.
π© Add code testing workflow on every commit.
π© Add code formatting workflow with yapf .
π© Add dependabot to automatically bump dependencies weekly.
|
1.0.1 |
29 April 2023 |
|
1.0.2 |
18 May 2023 |
|
1.0.3 |
20 June 2023 |
π© Add missing index property in the UltraViolet enum.
π© Add more helper methods.
π¦ Improve docstrings of several properties.
|
1.1.0 |
23 November 2023 |
π© Add support for Python 3.12 by upgrading the aiohttp dependency to v3.9.0.
π₯ The library no longer supports Python 3.7, which was discontinued in June 2023.
π¦ Removed several instances of copy-pasted code.
|
1.1.1 |
20 February 2024 |
|
1.1.2 |
25 February 2024 |
|
2.0.0 |
18 March 2024 |
π₯ 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 .
|
2.0.1 |
25 March 2024 |
π¦ Migrate from yapf to ruff .
π¦ Fix potential NameError while modifying forecast unit or locale.
π¦ Remove several unused imports.
π¦ Fix potential NameError on some typings.
|
2.0.2 |
25 April 2024 |
π© 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.
|
2.0.3 |
5 May 2024 |
π¦ Fix potential NameError while accessing the Phase.emoji property.
π¦ Refactors on the request delay calculation.
π¦ Fix broken donations redirect in the documentation page.
|