Skip to content

Commit

Permalink
release v3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasthaler committed Dec 19, 2023
1 parent e4bfbb4 commit e56fbec
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion coc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
SOFTWARE.
"""

__version__ = "3.1.0"
__version__ = "3.2.0"

from .abc import BasePlayer, BaseClan
from .clans import RankedClan, Clan
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
project = 'coc'
copyright = '2022, mathsman5133'
author = 'mathsman5133'
release = '3.1.0'
release = '3.2.0'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
15 changes: 15 additions & 0 deletions docs/miscellaneous/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@ Changelog
This page keeps a fairly detailed, human readable version
of what has changed, and whats new for each version of the lib.

v3.2.0
------

Additions:
~~~~~~~~~~
- Added custom class support to a few more classes:

- :class:`ClanWarMember` now supports the :attr:`attack_cls` attribute to customize the type returned in
:func:`ClanWarMember.attacks` (and, by extension also :func:`WarClan.attacks` and :func:`ClanWar.attacks`)
- :class:`WarClan` now supports the :attr:`member_cls` attribute to customize the type returned in
:func:`WarClan.members` (and, by extension also :func:`ClanWar.members`)
- :class:`ClanWar` now supports the :attr:`clan_cls` attribute to customize the types of
:func:`ClanWar.clan` and :func:`ClanWar.opponent`
- the :class:`Equipment` class can now be imported as ``coc.Equipment``

v3.1.0
------

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "coc.py"
authors = [{ name = "mathsman5133" }]
maintainers = [{ name = "majordoobie" }, { name = "MagicTheDev" }, { name = "Kuchenmampfer" },
{ name = "lukasthaler"}, { name = "doluk"}]
version = "3.1.0"
version = "3.2.0"
description = "A python wrapper for the Clash of Clans API"
requires-python = ">=3.7.3"
readme = "README.rst"
Expand Down

0 comments on commit e56fbec

Please sign in to comment.