Skip to content

Commit e56fbec

Browse files
committed
release v3.2.0
1 parent e4bfbb4 commit e56fbec

File tree

4 files changed

+18
-3
lines changed

4 files changed

+18
-3
lines changed

coc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
SOFTWARE.
2323
"""
2424

25-
__version__ = "3.1.0"
25+
__version__ = "3.2.0"
2626

2727
from .abc import BasePlayer, BaseClan
2828
from .clans import RankedClan, Clan

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
project = 'coc'
1616
copyright = '2022, mathsman5133'
1717
author = 'mathsman5133'
18-
release = '3.1.0'
18+
release = '3.2.0'
1919

2020
# -- General configuration ---------------------------------------------------
2121
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

docs/miscellaneous/changelog.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,21 @@ Changelog
77
This page keeps a fairly detailed, human readable version
88
of what has changed, and whats new for each version of the lib.
99

10+
v3.2.0
11+
------
12+
13+
Additions:
14+
~~~~~~~~~~
15+
- Added custom class support to a few more classes:
16+
17+
- :class:`ClanWarMember` now supports the :attr:`attack_cls` attribute to customize the type returned in
18+
:func:`ClanWarMember.attacks` (and, by extension also :func:`WarClan.attacks` and :func:`ClanWar.attacks`)
19+
- :class:`WarClan` now supports the :attr:`member_cls` attribute to customize the type returned in
20+
:func:`WarClan.members` (and, by extension also :func:`ClanWar.members`)
21+
- :class:`ClanWar` now supports the :attr:`clan_cls` attribute to customize the types of
22+
:func:`ClanWar.clan` and :func:`ClanWar.opponent`
23+
- the :class:`Equipment` class can now be imported as ``coc.Equipment``
24+
1025
v3.1.0
1126
------
1227

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "coc.py"
77
authors = [{ name = "mathsman5133" }]
88
maintainers = [{ name = "majordoobie" }, { name = "MagicTheDev" }, { name = "Kuchenmampfer" },
99
{ name = "lukasthaler"}, { name = "doluk"}]
10-
version = "3.1.0"
10+
version = "3.2.0"
1111
description = "A python wrapper for the Clash of Clans API"
1212
requires-python = ">=3.7.3"
1313
readme = "README.rst"

0 commit comments

Comments
 (0)