Skip to content

Commit

Permalink
deps: bump ver and update changelog [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
null8626 committed Mar 18, 2024
1 parent 3bdaad6 commit 0843b21
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ changelog:
changes:
- add: Add an official project documentation in https://python-weather.readthedocs.io/en/latest/.
- version: 2.0.0
release-date: March 2024
release-date: 18 March 2024
changes:
- rem: Rename the main forecast's class name from ``Weather`` to :class:`Forecast`.
- rem: Merge ``CurrentForecast`` class' properties with :class:`Forecast`'s. Therefore the ``current`` property is removed.
Expand All @@ -131,7 +131,7 @@ changelog:
- rem: Rename ``CurrentForecast.date`` to ``Forecast.datetime``.
- rem: Rename ``DailyForecast.hourly`` to ``DailyForecast.hourly_forecasts``.
- rem: Rename ``Ultraviolet`` to :class:`UltraViolet`.
- add: ``HourlyForecast.heat_index`` now returns a convenience enum called :class:`HeatIndex`.
- add: '``HourlyForecast.heat_index`` now returns a convenience enum called :class:`HeatIndex`.'
- rem: Merge ``Astronomy`` class' properties with :class:`DailyForecast`.
- rem: Rename ``Astronomy.sun_rise`` to ``DailyForecast.sunrise``.
- rem: Rename ``Astronomy.sun_set`` to ``DailyForecast.sunset``.
Expand Down
4 changes: 3 additions & 1 deletion docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Changelog
+---------+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 1.1.2 | 25 February 2024 | - 🟩 Add an official project documentation in https://python-weather.readthedocs.io/en/latest/. |
+---------+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 2.0.0 | March 2024 | - 🟥 Rename the main forecast's class name from ``Weather`` to :class:`Forecast`. |
| 2.0.0 | 18 March 2024 | - 🟥 Rename the main forecast's class name from ``Weather`` to :class:`Forecast`. |
| | | - 🟥 Merge ``CurrentForecast`` class' properties with :class:`Forecast`'s. Therefore the ``current`` property is removed. |
| | | - 🟥 Merge ``Area`` class' properties with :class:`Forecast`. |
| | | - 🟥 Rename ``Weather.forecasts`` to ``Forecast.daily_forecasts``. |
Expand All @@ -92,6 +92,8 @@ Changelog
| | | - 🟥 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 :class:`UltraViolet`. |
| | | - 🟩 ``HourlyForecast.heat_index`` now returns a convenience enum called :class:`HeatIndex`. |
| | | - 🟥 Merge ``Astronomy`` class' properties with :class:`DailyForecast`. |
| | | - 🟥 Rename ``Astronomy.sun_rise`` to ``DailyForecast.sunrise``. |
| | | - 🟥 Rename ``Astronomy.sun_set`` to ``DailyForecast.sunset``. |
Expand Down
2 changes: 1 addition & 1 deletion python_weather/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from .client import Client
from .errors import Error

__version__ = '1.0.3'
__version__ = '2.0.0'
__all__ = (
'METRIC', 'IMPERIAL', 'Client', 'Error', 'HeatIndex', 'Kind', 'Locale',
'Phase', 'UltraViolet', 'WindDirection'
Expand Down

0 comments on commit 0843b21

Please sign in to comment.