Skip to content

Commit 0c83742

Browse files
committed
improve migration guide and include it in the docs
1 parent abc2a95 commit 0c83742

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ coc.py: A Clash of Clans API Wrapper
6464

6565
miscellaneous/index
6666
miscellaneous/changelog
67+
miscellaneous/migrating_to_v3
6768
miscellaneous/migrating_to_v2
6869
miscellaneous/migrating_to_v1
6970
miscellaneous/acknowledgements

docs/miscellaneous/migrating_to_v3.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,14 @@ but there were some additions and a removal as well:
4141
Game Objects
4242
------------
4343

44-
The latest game updates brought some troop changes which are reflected in the following changes in coc.py game data:
44+
coc.py game data was updated and now includes all the recently added troops and heros.
45+
This is also reflected in the following enumerations:
4546

4647
- :class:`coc.HOME_TROOP_ORDER` now knows the "Apprentice Warden"
4748
- :class:`coc.SUPER_TROOP_ORDER` now knows the "Super Hog Rider"
4849
- in the :class:`coc.BUILDER_TROOPS_ORDER`, "Super P.E.K.K.A" got renamed to "Power P.E.K.K.A"
4950
- :class:`coc.BUILDER_TROOPS_ORDER` now knows the "Electrofire Wizard"
51+
- :class:`coc.HERO_ORDER` now knows the "Battle Copter"
5052

5153
Furthermore
5254
-----------
@@ -57,4 +59,5 @@ In order to get more in line with our coding style, the following methods were r
5759
- :func:`coc.Client.get_raidlog` -> :func:`coc.Client.get_raid_log`
5860

5961
:class:`coc.ClanMember` has a new cached property: :func:`player_house_elements`
62+
6063
:class:`coc.RaidDistrict` has a new `stars` attribute

0 commit comments

Comments
 (0)