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 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 3.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 |
|
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.
|
2.0.4 |
2 October 2024 |
π¦ 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.
|
2.0.5 |
13 October 2024 |
π¦ 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.
|
2.0.7 |
14 October 2024 |
π¦ 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.
|
2.1.0 |
30 May 2025 |
π¦ RequestError is now based on an HTTP status code instead of an Exception source.
π¦ Replace several uses of deprecated Python type hints.
π¦ Bump aiohttp dependency to 3.12.4.
|
2.1.1 |
12 December 2025 |
π₯ Drop support for Python 3.9.
π© Add cloud_cover property to the BaseForecast class.
π© Add a proper message and a reason property to the RequestError class.
π¦ Add proper unit tests with a 100% coverage guarantee.
π¦ Fix the default ClientSession from using a deprecated keyword argument.
π¦ Gate imports purely for type checking under typing.TYPE_CHECKING.
π¦ Bump aiohttp dependency to 3.13.2.
π¦ Fix incorrect return type annotation for __iter__ methods.
π¦ Refactor typings in accordance with Python 3.10βs standards.
π¦ Improve documentation CSS.
|
2.1.2 |
23 January 2026 |
π¦ Remove redundant repetitive if-statements in enum declarations.
π¦ Fix incorrect VERSION constant.
π¦ Bump aiohttp dependency to 3.13.3.
|
2.2.0 |
21 April 2026 |
π¦ Fix mismatched content-type bug.
π¦ Raise ValueError instead of TypeError when the specified value(s) are invalid.
π¦ Merge CustomizableBase with Client.
π¦ Bump aiohttp dependency to 3.13.5.
|
2.2.1 |
29 April 2026 |
|
2.2.2 |
21 May 2026 |
|