Skip to content

Commit 22e49a2

Browse files
committed
release v3.1.0
1 parent 0dcc4d0 commit 22e49a2

File tree

4 files changed

+26
-3
lines changed

4 files changed

+26
-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.0.0"
25+
__version__ = "3.1.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.0.0'
18+
release = '3.1.0'
1919

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

docs/miscellaneous/changelog.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,29 @@ 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.1.0
11+
------
12+
13+
Additions:
14+
~~~~~~~~~~
15+
- Added support for Hero Equipment:
16+
17+
- an :class:`Equipment` class
18+
- a cached :func:`Player.equipment` property and :func:`Player.get_equipment` method. Equipment obtained this way
19+
will be enriched with game data if enabled
20+
- a :attr:`Hero.equipment` attribute to return the currently active equipment for a hero. Equipment obtained this
21+
way will never be enriched with game data and only have the basic ``name``, ``level``, ``max_level`` and ``village``
22+
attributes
23+
- Added the new Root Rider troop
24+
- Added the new Spirit Fox pet
25+
- The :class:`ClanMember` class now has a :attr:``town_hall`` attribute that will also be present in
26+
:attr:`Clan.members` and :meth:`Clan.get_members`
27+
28+
Bugs Fixed:
29+
~~~~~~~~~~~
30+
- Fixed an issue that would cause troop and hero change events to fire even when no upgrades were detected
31+
- Fixed the army link parser
32+
1033
v3.0.0
1134
------
1235
Please see :ref:`migrating_to_v3_0` for more info, as changes are described more in-depth there.

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.0.0"
10+
version = "3.1.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)